// 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_me.g.dart'; @JsonSerializable(explicitToJson: true) class GithubMe with EquatableMixin { GithubMe(); factory GithubMe.fromJson(Map json) => _$GithubMeFromJson(json); GithubMeUser viewer; @override List get props => [viewer]; Map toJson() => _$GithubMeToJson(this); } @JsonSerializable(explicitToJson: true) class GithubMeUser extends GithubMeAuditEntryActor with EquatableMixin implements GithubMeNode, GithubMeActor, GithubMeRegistryPackageOwner, GithubMeRegistryPackageSearch, GithubMeProjectOwner, GithubMeRepositoryOwner, GithubMeUniformResourceLocatable, GithubMeProfileOwner, GithubMeSponsorable { GithubMeUser(); factory GithubMeUser.fromJson(Map json) => _$GithubMeUserFromJson(json); @override String login; @override String avatarUrl; @override String url; @override String name; String bio; String company; @override String location; @override String email; @override String websiteUrl; GithubMeStarredRepositoryConnection starredRepositories; GithubMeFollowerConnection followers; GithubMeFollowingConnection following; @override GithubMeRepositoryConnection repositories; @override @JsonKey(name: '__typename') String resolveType; @override List get props => [ login, avatarUrl, url, name, bio, company, location, email, websiteUrl, starredRepositories, followers, following, repositories, resolveType ]; Map toJson() => _$GithubMeUserToJson(this); } @JsonSerializable(explicitToJson: true) class GithubMeStarredRepositoryConnection with EquatableMixin { GithubMeStarredRepositoryConnection(); factory GithubMeStarredRepositoryConnection.fromJson( Map json) => _$GithubMeStarredRepositoryConnectionFromJson(json); int totalCount; @override List get props => [totalCount]; Map toJson() => _$GithubMeStarredRepositoryConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GithubMeFollowerConnection with EquatableMixin { GithubMeFollowerConnection(); factory GithubMeFollowerConnection.fromJson(Map json) => _$GithubMeFollowerConnectionFromJson(json); int totalCount; @override List get props => [totalCount]; Map toJson() => _$GithubMeFollowerConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GithubMeFollowingConnection with EquatableMixin { GithubMeFollowingConnection(); factory GithubMeFollowingConnection.fromJson(Map json) => _$GithubMeFollowingConnectionFromJson(json); int totalCount; @override List get props => [totalCount]; Map toJson() => _$GithubMeFollowingConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GithubMeRepositoryConnection with EquatableMixin { GithubMeRepositoryConnection(); factory GithubMeRepositoryConnection.fromJson(Map json) => _$GithubMeRepositoryConnectionFromJson(json); int totalCount; @override List get props => [totalCount]; Map toJson() => _$GithubMeRepositoryConnectionToJson(this); } @JsonSerializable(explicitToJson: true) class GithubMeAuditEntryActor with EquatableMixin { GithubMeAuditEntryActor(); factory GithubMeAuditEntryActor.fromJson(Map json) => _$GithubMeAuditEntryActorFromJson(json); @override List get props => []; Map toJson() => _$GithubMeAuditEntryActorToJson(this); } @JsonSerializable(explicitToJson: true) class GithubMeNode with EquatableMixin { GithubMeNode(); factory GithubMeNode.fromJson(Map json) => _$GithubMeNodeFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GithubMeNodeToJson(this); } @JsonSerializable(explicitToJson: true) class GithubMeActor with EquatableMixin { GithubMeActor(); factory GithubMeActor.fromJson(Map json) => _$GithubMeActorFromJson(json); String login; String avatarUrl; String url; @JsonKey(name: '__typename') String resolveType; @override List get props => [login, avatarUrl, url, resolveType]; Map toJson() => _$GithubMeActorToJson(this); } @JsonSerializable(explicitToJson: true) class GithubMeRegistryPackageOwner with EquatableMixin { GithubMeRegistryPackageOwner(); factory GithubMeRegistryPackageOwner.fromJson(Map json) => _$GithubMeRegistryPackageOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GithubMeRegistryPackageOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GithubMeRegistryPackageSearch with EquatableMixin { GithubMeRegistryPackageSearch(); factory GithubMeRegistryPackageSearch.fromJson(Map json) => _$GithubMeRegistryPackageSearchFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GithubMeRegistryPackageSearchToJson(this); } @JsonSerializable(explicitToJson: true) class GithubMeProjectOwner with EquatableMixin { GithubMeProjectOwner(); factory GithubMeProjectOwner.fromJson(Map json) => _$GithubMeProjectOwnerFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GithubMeProjectOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GithubMeRepositoryOwner with EquatableMixin { GithubMeRepositoryOwner(); factory GithubMeRepositoryOwner.fromJson(Map json) => _$GithubMeRepositoryOwnerFromJson(json); String login; String avatarUrl; String url; GithubMeRepositoryConnection repositories; @JsonKey(name: '__typename') String resolveType; @override List get props => [login, avatarUrl, url, repositories, resolveType]; Map toJson() => _$GithubMeRepositoryOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GithubMeUniformResourceLocatable with EquatableMixin { GithubMeUniformResourceLocatable(); factory GithubMeUniformResourceLocatable.fromJson( Map json) => _$GithubMeUniformResourceLocatableFromJson(json); String url; @JsonKey(name: '__typename') String resolveType; @override List get props => [url, resolveType]; Map toJson() => _$GithubMeUniformResourceLocatableToJson(this); } @JsonSerializable(explicitToJson: true) class GithubMeProfileOwner with EquatableMixin { GithubMeProfileOwner(); factory GithubMeProfileOwner.fromJson(Map json) => _$GithubMeProfileOwnerFromJson(json); String login; String name; String location; String email; String websiteUrl; @JsonKey(name: '__typename') String resolveType; @override List get props => [login, name, location, email, websiteUrl, resolveType]; Map toJson() => _$GithubMeProfileOwnerToJson(this); } @JsonSerializable(explicitToJson: true) class GithubMeSponsorable with EquatableMixin { GithubMeSponsorable(); factory GithubMeSponsorable.fromJson(Map json) => _$GithubMeSponsorableFromJson(json); @JsonKey(name: '__typename') String resolveType; @override List get props => [resolveType]; Map toJson() => _$GithubMeSponsorableToJson(this); } class GithubMeQuery extends GraphQLQuery { GithubMeQuery(); @override final DocumentNode document = DocumentNode(definitions: [ OperationDefinitionNode( type: OperationType.query, name: null, variableDefinitions: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'viewer'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'login'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'avatarUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'url'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'name'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'bio'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'company'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'location'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'email'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'websiteUrl'), alias: null, arguments: [], directives: [], selectionSet: null), FieldNode( name: NameNode(value: 'starredRepositories'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'followers'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'following'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])), FieldNode( name: NameNode(value: 'repositories'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'totalCount'), alias: null, arguments: [], directives: [], selectionSet: null) ])) ])) ])) ]); @override final String operationName = 'github_me'; @override List get props => [document, operationName]; @override GithubMe parse(Map json) => GithubMe.fromJson(json); }