#![allow(clippy::all, warnings)]
pub struct CreateBoards;
pub mod create_boards {
#![allow(dead_code)]
use std::result::Result;
pub const OPERATION_NAME: &str = "CreateBoards";
pub const QUERY : & str = "mutation CreateBoards($names: [String!]!) {\n createBoards(names: $names) {\n ...Board\n }\n}\n\nfragment Board on Board {\n __typename\n archivedAt\n emoji\n id\n lastViewedAt\n name\n projectCompletedProjectColumnId\n taskCompletedProjectColumnId\n}" ;
use super::*;
use serde::{Deserialize, Serialize};
#[allow(dead_code)]
type Boolean = bool;
#[allow(dead_code)]
type Float = f64;
#[allow(dead_code)]
type Int = i64;
#[allow(dead_code)]
type ID = String;
type DateTime = crate::graphql::custom_scalars::DateTime;
#[derive(Serialize)]
pub struct Variables {
pub names: Vec<String>,
}
impl Variables {}
#[derive(Deserialize, Debug)]
pub struct Board {
#[serde(rename = "archivedAt")]
pub archived_at: Option<DateTime>,
pub emoji: Option<String>,
pub id: ID,
#[serde(rename = "lastViewedAt")]
pub last_viewed_at: Option<DateTime>,
pub name: String,
#[serde(rename = "projectCompletedProjectColumnId")]
pub project_completed_project_column_id: Option<ID>,
#[serde(rename = "taskCompletedProjectColumnId")]
pub task_completed_project_column_id: Option<ID>,
}
#[derive(Deserialize, Debug)]
pub struct ResponseData {
#[serde(rename = "createBoards")]
pub create_boards: Vec<CreateBoardsCreateBoards>,
}
pub type CreateBoardsCreateBoards = Board;
}
impl graphql_client::GraphQLQuery for CreateBoards {
type Variables = create_boards::Variables;
type ResponseData = create_boards::ResponseData;
fn build_query(variables: Self::Variables) -> ::graphql_client::QueryBody<Self::Variables> {
graphql_client::QueryBody {
variables,
query: create_boards::QUERY,
operation_name: create_boards::OPERATION_NAME,
}
}
}