Example #1
0
        private void InitializeProperties(AniListQueryType queryType)
        {
            Id = new GraphQueryArgument <int>("id", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
                AniListQueryType.Review
            }));
            MediaId = new GraphQueryArgument <int>("mediaId", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
                AniListQueryType.Review
            }));
            UserId = new GraphQueryArgument <int>("userId", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
                AniListQueryType.Review
            }));
            MediaType = new GraphQueryArgument <MediaType>("mediaType", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
                AniListQueryType.Review
            }));
            Search = new GraphQueryArgument <string>("search", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
                AniListQueryType.Review
            }));
            Sort = new GraphQueryArgument <IEnumerable <ReviewSort> >("sort", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
                AniListQueryType.Review
            }));

            Limit = new GraphQueryArgument <int>("limit", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
                AniListQueryType.Media, AniListQueryType.Page
            }));
            Page = new GraphQueryArgument <int>("page", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
                AniListQueryType.Media, AniListQueryType.Page
            }));
            PerPage = new GraphQueryArgument <int>("perPage", GetType(), queryType, new QueryArgumentRules(false, 25, null, new List <AniListQueryType> {
                AniListQueryType.Media, AniListQueryType.Page
            }));
        }
Example #2
0
        private void InitializeProperties(AniListQueryType queryType)
        {
            Id = new GraphQueryArgument <int>("id", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
                AniListQueryType.Staff
            }));
            Search = new GraphQueryArgument <string>("search", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
                AniListQueryType.Staff
            }));
            IdNot = new GraphQueryArgument <int>("id_not", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
                AniListQueryType.Staff
            }));
            IdIn = new GraphQueryArgument <IEnumerable <int> >("id_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
                AniListQueryType.Staff
            }));
            IdNotIn = new GraphQueryArgument <IEnumerable <int> >("id_not_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
                AniListQueryType.Staff
            }));
            Sort = new GraphQueryArgument <IEnumerable <int> >("sort", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
                AniListQueryType.Staff
            }));

            Page = new GraphQueryArgument <int>("page", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
                AniListQueryType.Media, AniListQueryType.Page
            }));
            PerPage = new GraphQueryArgument <int>("perPage", GetType(), queryType, new QueryArgumentRules(false, 25, null, new List <AniListQueryType> {
                AniListQueryType.Media, AniListQueryType.Page
            }));
        }
Example #3
0
 private void InitializeProperties(AniListQueryType queryType)
 {
     Id = new GraphQueryArgument <int>("id", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Thread
     }));
     UserId = new GraphQueryArgument <int>("userId", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Thread
     }));
     ReplyUserId = new GraphQueryArgument <int>("replyUserId", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Thread
     }));
     Subscribed = new GraphQueryArgument <bool>("subscribed", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Thread
     }));
     CategoryId = new GraphQueryArgument <int>("categoryId", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Thread
     }));
     MediaCategoryId = new GraphQueryArgument <int>("mediaCategoryId", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Thread
     }));
     Search = new GraphQueryArgument <string>("search", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Thread
     }));
     IdIn = new GraphQueryArgument <IEnumerable <int> >("id_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Thread
     }));
     Sort = new GraphQueryArgument <IEnumerable <ThreadSort> >("sort", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Thread
     }));
 }
Example #4
0
 private void InitializeProperties(AniListQueryType queryType)
 {
     UserId = new GraphQueryArgument <int?>("userId", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Following
     }));
     Sort = new GraphQueryArgument <IEnumerable <UserSort> >("sort", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Following
     }));
 }
 private void InitializeProperties(AniListQueryType queryType)
 {
     Id = new GraphQueryArgument <int>("id", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.ActivityReply
     }));
     ActivityId = new GraphQueryArgument <int>("activityId", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.ActivityReply
     }));
 }
Example #6
0
 private void InitializeProperties(AniListQueryType queryType)
 {
     Type = new GraphQueryArgument <NotificationType>("type", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Notification
     }));
     ResetNotificationCount = new GraphQueryArgument <bool>("resetNotificationCount", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Notification
     }));
 }
Example #7
0
 private void InitializeProperties(AniListQueryType queryType)
 {
     Page = new GraphQueryArgument <int>("page", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Page
     }));
     PerPage = new GraphQueryArgument <int>("perPage", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Page
     }));
 }
 private void InitializeProperties(AniListQueryType queryType)
 {
     Id = new GraphQueryArgument <int>("id", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.MediaList
     }));
     UserId = new GraphQueryArgument <int>("userId", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.MediaList
     }));
     UserName = new GraphQueryArgument <string>("userName", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.MediaList
     }));
     Type = new GraphQueryArgument <MediaType>("type", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.MediaList
     }));
     Status = new GraphQueryArgument <MediaListStatus>("status", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.MediaList
     }));
     MediaId = new GraphQueryArgument <int>("mediaId", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.MediaList
     }));
     Notes = new GraphQueryArgument <string>("notes", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.MediaList
     }));
     StartedAt = new GraphQueryArgument <FuzzyDateInt>("startedAt", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.MediaList
     }));
     CompletedAt = new GraphQueryArgument <FuzzyDateInt>("completedAt", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.MediaList
     }));
     NotesLike = new GraphQueryArgument <string>("notes_like", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.MediaList
     }));
     StartedAtGreater = new GraphQueryArgument <FuzzyDateInt>("startedAt_greater", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.MediaList
     }));
     StartedAtLesser = new GraphQueryArgument <FuzzyDateInt>("startedAt_lesser", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.MediaList
     }));
     StartedAtLike = new GraphQueryArgument <string>("startedAt_like", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.MediaList
     }));
     CompletedAtGreater = new GraphQueryArgument <FuzzyDateInt>("completedAt_greater", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.MediaList
     }));
     CompletedAtLesser = new GraphQueryArgument <FuzzyDateInt>("completedAt_lesser", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.MediaList
     }));
     CompletedAtLike = new GraphQueryArgument <string>("completedAt_like", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.MediaList
     }));
     Sort = new GraphQueryArgument <IEnumerable <MediaListSort> >("sort", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.MediaList
     }));
 }
 private void InitializeProperties(AniListQueryType queryType)
 {
     NotYetAired = new GraphQueryArgument <bool>("notYetAired", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     Page = new GraphQueryArgument <int>("page", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     PerPage = new GraphQueryArgument <int>("perPage", GetType(), queryType, new QueryArgumentRules(false, 25, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
 }
Example #10
0
 private void InitializeProperties(AniListQueryType queryType)
 {
     Sort = new GraphQueryArgument <IEnumerable <MediaSort> >("sort", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     Page = new GraphQueryArgument <int>("page", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     PerPage = new GraphQueryArgument <int>("perPage", GetType(), queryType, new QueryArgumentRules(false, 25, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
 }
Example #11
0
 private void InitializeProperties(AniListQueryType queryType)
 {
     Id = new GraphQueryArgument <int>("id", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.ThreadComment
     }));
     ThreadId = new GraphQueryArgument <int>("threadId", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.ThreadComment
     }));
     UserId = new GraphQueryArgument <int>("userId", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.ThreadComment
     }));
 }
Example #12
0
 private void InitializeProperties(AniListQueryType queryType)
 {
     Id = new GraphQueryArgument <int>("id", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.User
     }));
     Name = new GraphQueryArgument <string>("name", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.User
     }));
     Search = new GraphQueryArgument <string>("search", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.User
     }));
     Sort = new GraphQueryArgument <IEnumerable <UserSort> >("sort", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.User
     }));
 }
Example #13
0
 private void InitializeProperties(AniListQueryType queryType)
 {
     Markdown = new GraphQueryArgument <string>("markdown", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Markdown
     }));
 }
 private void InitializeProperties(AniListQueryType queryType)
 {
     Id = new GraphQueryArgument <int>("id", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     IdMyAnimeList = new GraphQueryArgument <int>("idMal", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     StartDate = new GraphQueryArgument <FuzzyDateInt>("startDate", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     EndDate = new GraphQueryArgument <FuzzyDateInt>("endDate", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     Season = new GraphQueryArgument <MediaSeason>("season", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     SeasonYear = new GraphQueryArgument <int>("seasonYear", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     Type = new GraphQueryArgument <MediaType>("type", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     Format = new GraphQueryArgument <MediaFormat>("format", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     Status = new GraphQueryArgument <MediaStatus>("status", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     Episodes = new GraphQueryArgument <int>("episodes", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     Duration = new GraphQueryArgument <int>("duration", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     Chapters = new GraphQueryArgument <int>("chapters", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     Volumes = new GraphQueryArgument <int>("volumes", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     IsAdult = new GraphQueryArgument <bool>("isAdult", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     Genre = new GraphQueryArgument <string>("genre", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     Tag = new GraphQueryArgument <string>("tag", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     TagCategory = new GraphQueryArgument <string>("tagCategory", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     OnList = new GraphQueryArgument <bool>("onList", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     AverageScore = new GraphQueryArgument <int>("averageScore", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     Popularity = new GraphQueryArgument <int>("popularity", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     Search = new GraphQueryArgument <string>("search", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     IdNot = new GraphQueryArgument <int>("id_not", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     IdIn = new GraphQueryArgument <IEnumerable <int> >("id_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     IdNotIn = new GraphQueryArgument <IEnumerable <int> >("id_not_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     IdMyAnimeListNot = new GraphQueryArgument <int>("idMal_not", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     IdMyAnimeListIn = new GraphQueryArgument <IEnumerable <int> >("idMal_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     IdMyAnimeListNotIn = new GraphQueryArgument <IEnumerable <int> >("idMal_not_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     StartDateGreater = new GraphQueryArgument <FuzzyDateInt>("startDate_greater", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     StartDateLesser = new GraphQueryArgument <FuzzyDateInt>("startDate_lesser", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     StartDateLike = new GraphQueryArgument <string>("startDate_like", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     EndDateGreater = new GraphQueryArgument <FuzzyDateInt>("endDate_greater", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     EndDateLesser = new GraphQueryArgument <FuzzyDateInt>("endDate_lesser", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     EndDateLike = new GraphQueryArgument <string>("endDate_like", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     EpisodesGreater = new GraphQueryArgument <int>("episodes_greater", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     EpisodesLesser = new GraphQueryArgument <int>("episodes_lesser", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     DurationGreater = new GraphQueryArgument <int>("duration_greater", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     DurationLesser = new GraphQueryArgument <int>("duration_lesser", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     ChaptersGreater = new GraphQueryArgument <int>("chapters_greater", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     ChaptersLesser = new GraphQueryArgument <int>("chapters_lesser", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     VolumesGreater = new GraphQueryArgument <int>("volumes_greater", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     VolumesLesser = new GraphQueryArgument <int>("volumes_lesser", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     GenreIn = new GraphQueryArgument <IEnumerable <string> >("genre_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     GenreNotIn = new GraphQueryArgument <IEnumerable <string> >("genre_not_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     TagIn = new GraphQueryArgument <IEnumerable <string> >("tag_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     TagNotIn = new GraphQueryArgument <IEnumerable <string> >("tag_not_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     TagCategoryIn = new GraphQueryArgument <IEnumerable <string> >("tagCategory_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     TagCategoryNotIn = new GraphQueryArgument <IEnumerable <string> >("tagCategory_not_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     AverageScoreNot = new GraphQueryArgument <int>("averageScore_not", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     AverageScoreGreater = new GraphQueryArgument <int>("averageScore_greater", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     AverageScoreLesser = new GraphQueryArgument <int>("averageScore_lesser", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     PopularityNot = new GraphQueryArgument <int>("popularity_not", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     PopularityGreater = new GraphQueryArgument <int>("popularity_greater", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     PopularityLesser = new GraphQueryArgument <int>("popularity_lesser", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
     Sort = new GraphQueryArgument <IEnumerable <MediaSort> >("sort", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Media, AniListQueryType.Page
     }));
 }
Example #15
0
 private void InitializeProperties(AniListQueryType queryType)
 {
     Id = new GraphQueryArgument <int>("id", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     UserId = new GraphQueryArgument <int>("userId", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     MessengerId = new GraphQueryArgument <int>("messangerId", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     Type = new GraphQueryArgument <ActivityType>("type", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     IsFollowing = new GraphQueryArgument <bool>("isFollowing", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     HasReplies = new GraphQueryArgument <bool>("hasReplies", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     HasRepliesOrTypeText = new GraphQueryArgument <bool>("hasRepliesOrTypeText", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     CreatedAt = new GraphQueryArgument <int>("createdAt", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     IdNot = new GraphQueryArgument <int>("id_not", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     IdIn = new GraphQueryArgument <IEnumerable <int> >("id_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     IdNotIn = new GraphQueryArgument <IEnumerable <int> >("id_not_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     UserIdNot = new GraphQueryArgument <int>("userId_not", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     UserIdIn = new GraphQueryArgument <IEnumerable <int> >("userId_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     UserIdNotIn = new GraphQueryArgument <IEnumerable <int> >("userId_not_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     MessengerIdNot = new GraphQueryArgument <int>("messengerId_not", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     MessengerIdIn = new GraphQueryArgument <IEnumerable <int> >("messengerId_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     MessengerIdNotIn = new GraphQueryArgument <IEnumerable <int> >("messengerId_not_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     TypeNot = new GraphQueryArgument <ActivityType>("type_not", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     TypeIn = new GraphQueryArgument <IEnumerable <ActivityType> >("type_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     TypeNotIn = new GraphQueryArgument <IEnumerable <ActivityType> >("type_not_in", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     CreatedAtGreater = new GraphQueryArgument <int>("createdAt_greater", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     CreatedAtLesser = new GraphQueryArgument <int>("createdAt_lesser", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
     Sort = new GraphQueryArgument <IEnumerable <ActivitySort> >("sort", GetType(), queryType, new QueryArgumentRules(false, null, null, new List <AniListQueryType> {
         AniListQueryType.Activity
     }));
 }