use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SearchRepos200Response {
#[serde(rename = "total_count")]
pub total_count: i32,
#[serde(rename = "incomplete_results")]
pub incomplete_results: bool,
#[serde(rename = "items")]
pub items: Vec<models::RepoSearchResultItem>,
}
impl SearchRepos200Response {
pub fn new(total_count: i32, incomplete_results: bool, items: Vec<models::RepoSearchResultItem>) -> SearchRepos200Response {
SearchRepos200Response {
total_count,
incomplete_results,
items,
}
}
}