// GENERATED CODE - DO NOT MODIFY BY HAND import 'package:artemis/artemis.dart'; import 'package:json_annotation/json_annotation.dart'; import 'package:equatable/equatable.dart'; import 'package:gql/ast.dart'; part 'github_users.g.dart'; @JsonSerializable(explicitToJson: true) class GithubUsers with EquatableMixin { GithubUsers(); factory GithubUsers.fromJson(Map json) => _$GithubUsersFromJson(json); GithubUsersUser user; GithubUsersOrganization organization; GithubUsersRepository repository; @override List get props => [user, organization, repository]; Map toJson() => _$GithubUsersToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersUser extends GithubUsersAuditEntryActor with EquatableMixin implements GithubUsersNode, GithubUsersActor, GithubUsersRegistryPackageOwner, GithubUsersRegistryPackageSearch, GithubUsersProjectOwner, GithubUsersRepositoryOwner, GithubUsersUniformResourceLocatable, GithubUsersProfileOwner, GithubUsersSponsorable { GithubUsersUser(); factory GithubUsersUser.fromJson(Map json) => _$GithubUsersUserFromJson(json); @override String login; @override String name; @override String avatarUrl; String bio; GithubUsersFollowerConnection followers; GithubUsersFollowingConnection following; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [login, name, avatarUrl, bio, followers, following, resolveType]; Map toJson() => _$GithubUsersUserToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersFollowerConnection with EquatableMixin { GithubUsersFollowerConnection(); factory GithubUsersFollowerConnection.fromJson(Map json) => _$GithubUsersFollowerConnectionFromJson(json); GithubUsersPageInfo pageInfo; List nodes; @override List get props => [pageInfo, nodes]; Map toJson() => _$GithubUsersFollowerConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersPageInfo with EquatableMixin { GithubUsersPageInfo(); factory GithubUsersPageInfo.fromJson(Map json) => _$GithubUsersPageInfoFromJson(json); bool hasNextPage; String endCursor; @override List get props => [hasNextPage, endCursor]; Map toJson() => _$GithubUsersPageInfoToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersAuditEntryActor with EquatableMixin { GithubUsersAuditEntryActor(); factory GithubUsersAuditEntryActor.fromJson(Map json) => _$GithubUsersAuditEntryActorFromJson(json); @override List get props => []; Map toJson() => _$GithubUsersAuditEntryActorToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersNode with EquatableMixin { GithubUsersNode(); factory GithubUsersNode.fromJson(Map json) => _$GithubUsersNodeFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GithubUsersNodeToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersActor with EquatableMixin { GithubUsersActor(); factory GithubUsersActor.fromJson(Map json) => _$GithubUsersActorFromJson(json); String login; String avatarUrl; @JsonKey(name: '__typename') String resolveType; @override List get props => [login, avatarUrl, resolveType]; Map toJson() => _$GithubUsersActorToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersRegistryPackageOwner with EquatableMixin { GithubUsersRegistryPackageOwner(); factory GithubUsersRegistryPackageOwner.fromJson(Map json) => _$GithubUsersRegistryPackageOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GithubUsersRegistryPackageOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersRegistryPackageSearch with EquatableMixin { GithubUsersRegistryPackageSearch(); factory GithubUsersRegistryPackageSearch.fromJson( Map json) => _$GithubUsersRegistryPackageSearchFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GithubUsersRegistryPackageSearchToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersProjectOwner with EquatableMixin { GithubUsersProjectOwner(); factory GithubUsersProjectOwner.fromJson(Map json) => _$GithubUsersProjectOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GithubUsersProjectOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersRepositoryOwner with EquatableMixin { GithubUsersRepositoryOwner(); factory GithubUsersRepositoryOwner.fromJson(Map json) => _$GithubUsersRepositoryOwnerFromJson(json); String login; String avatarUrl; @JsonKey(name: '__typename') String resolveType; @override List get props => [login, avatarUrl, resolveType]; Map toJson() => _$GithubUsersRepositoryOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersUniformResourceLocatable with EquatableMixin { GithubUsersUniformResourceLocatable(); factory GithubUsersUniformResourceLocatable.fromJson( Map json) => _$GithubUsersUniformResourceLocatableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GithubUsersUniformResourceLocatableToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersProfileOwner with EquatableMixin { GithubUsersProfileOwner(); factory GithubUsersProfileOwner.fromJson(Map json) => _$GithubUsersProfileOwnerFromJson(json); String login; String name; @JsonKey(name: '__typename') String resolveType; @override List get props => [login, name, resolveType]; Map toJson() => _$GithubUsersProfileOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersSponsorable with EquatableMixin { GithubUsersSponsorable(); factory GithubUsersSponsorable.fromJson(Map json) => _$GithubUsersSponsorableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GithubUsersSponsorableToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersFollowingConnection with EquatableMixin { GithubUsersFollowingConnection(); factory GithubUsersFollowingConnection.fromJson(Map json) => _$GithubUsersFollowingConnectionFromJson(json); GithubUsersPageInfo pageInfo; List nodes; @override List get props => [pageInfo, nodes]; Map toJson() => _$GithubUsersFollowingConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersOrganization extends GithubUsersAuditEntryActor with EquatableMixin implements GithubUsersNode, GithubUsersActor, GithubUsersRegistryPackageOwner, GithubUsersRegistryPackageSearch, GithubUsersProjectOwner, GithubUsersRepositoryOwner, GithubUsersUniformResourceLocatable, GithubUsersMemberStatusable, GithubUsersProfileOwner, GithubUsersSponsorable { GithubUsersOrganization(); factory GithubUsersOrganization.fromJson(Map json) => _$GithubUsersOrganizationFromJson(json); @override String login; @override String name; @override String avatarUrl; GithubUsersOrganizationMemberConnection membersWithRole; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [login, name, avatarUrl, membersWithRole, resolveType]; Map toJson() => _$GithubUsersOrganizationToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersOrganizationMemberConnection with EquatableMixin { GithubUsersOrganizationMemberConnection(); factory GithubUsersOrganizationMemberConnection.fromJson( Map json) => _$GithubUsersOrganizationMemberConnectionFromJson(json); GithubUsersPageInfo pageInfo; List nodes; @override List get props => [pageInfo, nodes]; Map toJson() => _$GithubUsersOrganizationMemberConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersMemberStatusable with EquatableMixin { GithubUsersMemberStatusable(); factory GithubUsersMemberStatusable.fromJson(Map json) => _$GithubUsersMemberStatusableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GithubUsersMemberStatusableToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersRepository extends GithubUsersPinnableItem with EquatableMixin implements GithubUsersNode, GithubUsersProjectOwner, GithubUsersRegistryPackageOwner, GithubUsersRegistryPackageSearch, GithubUsersSubscribable, GithubUsersStarrable, GithubUsersUniformResourceLocatable, GithubUsersRepositoryInfo { GithubUsersRepository(); factory GithubUsersRepository.fromJson(Map json) => _$GithubUsersRepositoryFromJson(json); GithubUsersUserConnection watchers; @override GithubUsersStargazerConnection stargazers; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [watchers, stargazers, resolveType]; Map toJson() => _$GithubUsersRepositoryToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersUserConnection with EquatableMixin { GithubUsersUserConnection(); factory GithubUsersUserConnection.fromJson(Map json) => _$GithubUsersUserConnectionFromJson(json); GithubUsersPageInfo pageInfo; List nodes; @override List get props => [pageInfo, nodes]; Map toJson() => _$GithubUsersUserConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersStargazerConnection with EquatableMixin { GithubUsersStargazerConnection(); factory GithubUsersStargazerConnection.fromJson(Map json) => _$GithubUsersStargazerConnectionFromJson(json); GithubUsersPageInfo pageInfo; List nodes; @override List get props => [pageInfo, nodes]; Map toJson() => _$GithubUsersStargazerConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersPinnableItem with EquatableMixin { GithubUsersPinnableItem(); factory GithubUsersPinnableItem.fromJson(Map json) => _$GithubUsersPinnableItemFromJson(json); @override List get props => []; Map toJson() => _$GithubUsersPinnableItemToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersSubscribable with EquatableMixin { GithubUsersSubscribable(); factory GithubUsersSubscribable.fromJson(Map json) => _$GithubUsersSubscribableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GithubUsersSubscribableToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersStarrable with EquatableMixin { GithubUsersStarrable(); factory GithubUsersStarrable.fromJson(Map json) => _$GithubUsersStarrableFromJson(json); GithubUsersStargazerConnection stargazers; @JsonKey(name: '__typename') String resolveType; @override List get props => [stargazers, resolveType]; Map toJson() => _$GithubUsersStarrableToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersRepositoryInfo with EquatableMixin { GithubUsersRepositoryInfo(); factory GithubUsersRepositoryInfo.fromJson(Map json) => _$GithubUsersRepositoryInfoFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GithubUsersRepositoryInfoToJson(this); } @JsonSerializable(explicitToJson: true) class GithubUsersArguments extends JsonSerializable with EquatableMixin { GithubUsersArguments( {this.login, this.repoName, this.after, this.isFollowers, this.isFollowing, this.isMember, this.isStar, this.isWatch}); factory GithubUsersArguments.fromJson(Map json) => _$GithubUsersArgumentsFromJson(json); final String login; final String repoName; final String after; final bool isFollowers; final bool isFollowing; final bool isMember; final bool isStar; final bool isWatch; @override List get props => [ login, repoName, after, isFollowers, isFollowing, isMember, isStar, isWatch ]; Map toJson() => _$GithubUsersArgumentsToJson(this); } class GithubUsersQuery extends GraphQLQuery { GithubUsersQuery({this.variables}); @override final DocumentNode document = DocumentNode(definitions: [ OperationDefinitionNode( type: OperationType.query, name: null, variableDefinitions: [ VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'login')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'repoName')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'after')), type: NamedTypeNode( name: NameNode(value: 'String'), isNonNull: false), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'isFollowers')), type: NamedTypeNode( name: NameNode(value: 'Boolean'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'isFollowing')), type: NamedTypeNode( name: NameNode(value: 'Boolean'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'isMember')), type: NamedTypeNode( name: NameNode(value: 'Boolean'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'isStar')), type: NamedTypeNode( name: NameNode(value: 'Boolean'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []), VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'isWatch')), type: NamedTypeNode( name: NameNode(value: 'Boolean'), isNonNull: true), defaultValue: DefaultValueNode(value: null), directives: []) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'user'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'login'), value: VariableNode(name: NameNode(value: 'login'))) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'bio'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'followers'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '30')), ArgumentNode( name: NameNode(value: 'after'), value: VariableNode(name: NameNode(value: 'after'))) ], directives: [ DirectiveNode( name: NameNode(value: 'include'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode( name: NameNode(value: 'isFollowers'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'pageInfo'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'hasNextPage'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'endCursor'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'bio'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])), FieldNode( name: NameNode(value: 'following'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '30')), ArgumentNode( name: NameNode(value: 'after'), value: VariableNode(name: NameNode(value: 'after'))) ], directives: [ DirectiveNode( name: NameNode(value: 'include'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode( name: NameNode(value: 'isFollowing'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'pageInfo'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'hasNextPage'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'endCursor'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'bio'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])), FieldNode( name: NameNode(value: 'organization'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'login'), value: VariableNode(name: NameNode(value: 'login'))) ], directives: [ DirectiveNode(name: NameNode(value: 'include'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode(name: NameNode(value: 'isMember'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'membersWithRole'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '30')), ArgumentNode( name: NameNode(value: 'after'), value: VariableNode(name: NameNode(value: 'after'))) ], directives: [ DirectiveNode( name: NameNode(value: 'include'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode( name: NameNode(value: 'isFollowing'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'pageInfo'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'hasNextPage'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'endCursor'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'bio'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])), FieldNode( name: NameNode(value: 'repository'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'owner'), value: VariableNode(name: NameNode(value: 'login'))), ArgumentNode( name: NameNode(value: 'name'), value: VariableNode(name: NameNode(value: 'repoName'))) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'watchers'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '30')), ArgumentNode( name: NameNode(value: 'after'), value: VariableNode(name: NameNode(value: 'after'))) ], directives: [ DirectiveNode( name: NameNode(value: 'include'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode( name: NameNode(value: 'isWatch'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'pageInfo'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'hasNextPage'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'endCursor'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'bio'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])), FieldNode( name: NameNode(value: 'stargazers'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'first'), value: IntValueNode(value: '30')), ArgumentNode( name: NameNode(value: 'after'), value: VariableNode(name: NameNode(value: 'after'))) ], directives: [ DirectiveNode( name: NameNode(value: 'include'), arguments: [ ArgumentNode( name: NameNode(value: 'if'), value: VariableNode( name: NameNode(value: 'isStar'))) ]) ], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'pageInfo'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'hasNextPage'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'endCursor'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'nodes'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'bio'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ])) ]); @override final String operationName = 'github_users'; @override final GithubUsersArguments variables; @override List get props => [document, operationName, variables]; @override GithubUsers parse(Map json) => GithubUsers.fromJson(json); }