From d13ce464f93cfab2040547ff2a7ef73962860186 Mon Sep 17 00:00:00 2001 From: vjrj <vjrj@comunes.org> Date: Fri, 6 Dec 2024 15:56:49 +0100 Subject: [PATCH] New duniter indexer queries --- .../duniter-indexer-queries.ast.gql.dart | 1680 +- .../duniter-indexer-queries.data.gql.dart | 15651 ++- .../duniter-indexer-queries.data.gql.g.dart | 81255 +++++++++++++++- .../duniter-indexer-queries.req.gql.dart | 815 +- .../duniter-indexer-queries.req.gql.g.dart | 5047 +- .../duniter-indexer-queries.var.gql.dart | 354 +- .../duniter-indexer-queries.var.gql.g.dart | 1837 +- .../schema/__generated__/serializers.gql.dart | 696 +- .../__generated__/serializers.gql.g.dart | 935 +- .../schema/duniter-indexer-queries.graphql | 300 +- 10 files changed, 104892 insertions(+), 3678 deletions(-) diff --git a/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.ast.gql.dart b/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.ast.gql.dart index e476f74e..fcd5b773 100644 --- a/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.ast.gql.dart +++ b/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.ast.gql.dart @@ -4,9 +4,1184 @@ // ignore_for_file: no_leading_underscores_for_library_prefixes import 'package:gql/ast.dart' as _i1; -const AccountsByNameOrPk = _i1.OperationDefinitionNode( +const CertFields = _i1.FragmentDefinitionNode( + name: _i1.NameNode(value: 'CertFields'), + typeCondition: _i1.TypeConditionNode( + on: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Cert'), + isNonNull: false, + )), + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'issuerId'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'issuer'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'IdentityBasicFields'), + directives: [], + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'receiverId'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'receiver'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'IdentityBasicFields'), + directives: [], + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'createdOn'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'expireOn'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'isActive'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'updatedOn'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ]), +); +const SmithCertFields = _i1.FragmentDefinitionNode( + name: _i1.NameNode(value: 'SmithCertFields'), + typeCondition: _i1.TypeConditionNode( + on: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'SmithCert'), + isNonNull: false, + )), + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'issuerId'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'receiverId'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'createdOn'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ]), +); +const SmithFields = _i1.FragmentDefinitionNode( + name: _i1.NameNode(value: 'SmithFields'), + typeCondition: _i1.TypeConditionNode( + on: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Smith'), + isNonNull: false, + )), + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'forged'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'index'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'lastChanged'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'lastForged'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'smithCertIssued'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'SmithCertFields'), + directives: [], + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'smithCertReceived'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'SmithCertFields'), + directives: [], + ) + ]), + ), + ]), +); +const OwnerKeyChangeFields = _i1.FragmentDefinitionNode( + name: _i1.NameNode(value: 'OwnerKeyChangeFields'), + typeCondition: _i1.TypeConditionNode( + on: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ChangeOwnerKey'), + isNonNull: false, + )), + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'blockNumber'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'identityId'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'nextId'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'previousId'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ]), +); +const IdentityBasicFields = _i1.FragmentDefinitionNode( + name: _i1.NameNode(value: 'IdentityBasicFields'), + typeCondition: _i1.TypeConditionNode( + on: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Identity'), + isNonNull: false, + )), + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'accountId'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'isMember'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'status'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'name'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'status'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ]), +); +const IdentityFields = _i1.FragmentDefinitionNode( + name: _i1.NameNode(value: 'IdentityFields'), + typeCondition: _i1.TypeConditionNode( + on: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Identity'), + isNonNull: false, + )), + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'accountId'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'accountRemovedId'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'certIssued'), + alias: null, + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'where'), + value: _i1.ObjectValueNode(fields: [ + _i1.ObjectFieldNode( + name: _i1.NameNode(value: 'isActive'), + value: _i1.ObjectValueNode(fields: [ + _i1.ObjectFieldNode( + name: _i1.NameNode(value: '_eq'), + value: _i1.BooleanValueNode(value: true), + ) + ]), + ) + ]), + ) + ], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'CertFields'), + directives: [], + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'certIssuedAggregate'), + alias: null, + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'where'), + value: _i1.ObjectValueNode(fields: [ + _i1.ObjectFieldNode( + name: _i1.NameNode(value: 'isActive'), + value: _i1.ObjectValueNode(fields: [ + _i1.ObjectFieldNode( + name: _i1.NameNode(value: '_eq'), + value: _i1.BooleanValueNode(value: true), + ) + ]), + ) + ]), + ) + ], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'aggregate'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'count'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ) + ]), + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'certReceived'), + alias: null, + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'where'), + value: _i1.ObjectValueNode(fields: [ + _i1.ObjectFieldNode( + name: _i1.NameNode(value: 'isActive'), + value: _i1.ObjectValueNode(fields: [ + _i1.ObjectFieldNode( + name: _i1.NameNode(value: '_eq'), + value: _i1.BooleanValueNode(value: true), + ) + ]), + ) + ]), + ) + ], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'CertFields'), + directives: [], + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'certReceivedAggregate'), + alias: null, + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'where'), + value: _i1.ObjectValueNode(fields: [ + _i1.ObjectFieldNode( + name: _i1.NameNode(value: 'isActive'), + value: _i1.ObjectValueNode(fields: [ + _i1.ObjectFieldNode( + name: _i1.NameNode(value: '_eq'), + value: _i1.BooleanValueNode(value: true), + ) + ]), + ) + ]), + ) + ], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'aggregate'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'count'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ) + ]), + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'createdInId'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'createdOn'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'expireOn'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'index'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'isMember'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'lastChangeOn'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'linkedAccount'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'linkedAccountAggregate'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'aggregate'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'count'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ) + ]), + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'status'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'membershipHistory'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'blockNumber'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'eventId'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'eventType'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'identityId'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'membershipHistoryAggregate'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'aggregate'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'count'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ) + ]), + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'name'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'ownerKeyChange'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'OwnerKeyChangeFields'), + directives: [], + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'ownerKeyChangeAggregate'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'aggregate'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'count'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ) + ]), + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'status'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'smith'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'SmithFields'), + directives: [], + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'udHistory'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'amount'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'timestamp'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ]), + ), + ]), +); +const CommentsIssued = _i1.FragmentDefinitionNode( + name: _i1.NameNode(value: 'CommentsIssued'), + typeCondition: _i1.TypeConditionNode( + on: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'TxComment'), + isNonNull: false, + )), + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'authorId'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'blockNumber'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'eventId'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'hash'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'remark'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'type'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ]), +); +const AccountBasicFields = _i1.FragmentDefinitionNode( + name: _i1.NameNode(value: 'AccountBasicFields'), + typeCondition: _i1.TypeConditionNode( + on: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Account'), + isNonNull: false, + )), + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'createdOn'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'identity'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'IdentityBasicFields'), + directives: [], + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'isActive'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ]), +); +const AccountFields = _i1.FragmentDefinitionNode( + name: _i1.NameNode(value: 'AccountFields'), + typeCondition: _i1.TypeConditionNode( + on: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Account'), + isNonNull: false, + )), + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'commentsIssued'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'CommentsIssued'), + directives: [], + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'commentsIssuedAggregate'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'aggregate'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'count'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ) + ]), + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'createdOn'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'identity'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'IdentityFields'), + directives: [], + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'isActive'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'linkedIdentity'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'IdentityBasicFields'), + directives: [], + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'removedIdentities'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'IdentityBasicFields'), + directives: [], + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'removedIdentitiesAggregate'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'aggregate'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'count'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ) + ]), + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'transfersIssued'), + alias: null, + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'limit'), + value: _i1.VariableNode(name: _i1.NameNode(value: 'limit')), + ), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'offset'), + value: _i1.VariableNode(name: _i1.NameNode(value: 'offset')), + ), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'orderBy'), + value: _i1.ObjectValueNode(fields: [ + _i1.ObjectFieldNode( + name: _i1.NameNode(value: 'timestamp'), + value: _i1.EnumValueNode(name: _i1.NameNode(value: 'DESC')), + ) + ]), + ), + ], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'TransferFields'), + directives: [], + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'transfersIssuedAggregate'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'aggregate'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'sum'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'amount'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'count'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ]), + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'transfersReceived'), + alias: null, + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'limit'), + value: _i1.VariableNode(name: _i1.NameNode(value: 'limit')), + ), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'offset'), + value: _i1.VariableNode(name: _i1.NameNode(value: 'offset')), + ), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'orderBy'), + value: _i1.ObjectValueNode(fields: [ + _i1.ObjectFieldNode( + name: _i1.NameNode(value: 'timestamp'), + value: _i1.EnumValueNode(name: _i1.NameNode(value: 'DESC')), + ) + ]), + ), + ], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'TransferFields'), + directives: [], + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'transfersReceivedAggregate'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'aggregate'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'sum'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'amount'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'count'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + ]), + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'wasIdentity'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'OwnerKeyChangeFields'), + directives: [], + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'wasIdentityAggregate'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'aggregate'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'count'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ) + ]), + ) + ]), + ), + ]), +); +const TransferFields = _i1.FragmentDefinitionNode( + name: _i1.NameNode(value: 'TransferFields'), + typeCondition: _i1.TypeConditionNode( + on: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Transfer'), + isNonNull: false, + )), + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'blockNumber'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'timestamp'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'amount'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'to'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'from'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'id'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ) + ]), + ), + _i1.FieldNode( + name: _i1.NameNode(value: 'comment'), + alias: null, + arguments: [], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'remark'), + alias: null, + arguments: [], + directives: [], + selectionSet: null, + ) + ]), + ), + ]), +); +const IdentitiesByNameOrPk = _i1.OperationDefinitionNode( type: _i1.OperationType.query, - name: _i1.NameNode(value: 'AccountsByNameOrPk'), + name: _i1.NameNode(value: 'IdentitiesByNameOrPk'), variableDefinitions: [ _i1.VariableDefinitionNode( variable: _i1.VariableNode(name: _i1.NameNode(value: 'pattern')), @@ -61,70 +1236,65 @@ const AccountsByNameOrPk = _i1.OperationDefinitionNode( ], directives: [], selectionSet: _i1.SelectionSetNode(selections: [ - _i1.FieldNode( - name: _i1.NameNode(value: 'isMember'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'name'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'accountId'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'status'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'createdOn'), - alias: null, - arguments: [], + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'IdentityFields'), directives: [], - selectionSet: null, + ) + ]), + ) + ]), +); +const IdentitiesByPk = _i1.OperationDefinitionNode( + type: _i1.OperationType.query, + name: _i1.NameNode(value: 'IdentitiesByPk'), + variableDefinitions: [ + _i1.VariableDefinitionNode( + variable: _i1.VariableNode(name: _i1.NameNode(value: 'pubKeys')), + type: _i1.ListTypeNode( + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), + isNonNull: true, ), - _i1.FieldNode( - name: _i1.NameNode(value: 'account'), - alias: null, - arguments: [], - directives: [], - selectionSet: _i1.SelectionSetNode(selections: [ - _i1.FieldNode( - name: _i1.NameNode(value: 'isActive'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, + isNonNull: true, + ), + defaultValue: _i1.DefaultValueNode(value: null), + directives: [], + ) + ], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'identity'), + alias: null, + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'where'), + value: _i1.ObjectValueNode(fields: [ + _i1.ObjectFieldNode( + name: _i1.NameNode(value: 'accountId'), + value: _i1.ObjectValueNode(fields: [ + _i1.ObjectFieldNode( + name: _i1.NameNode(value: '_in'), + value: _i1.VariableNode(name: _i1.NameNode(value: 'pubKeys')), + ) + ]), ) ]), - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'index'), - alias: null, - arguments: [], + ) + ], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'IdentityFields'), directives: [], - selectionSet: null, - ), + ) ]), ) ]), ); -const AccountsByName = _i1.OperationDefinitionNode( +const IdentitiesByName = _i1.OperationDefinitionNode( type: _i1.OperationType.query, - name: _i1.NameNode(value: 'AccountsByName'), + name: _i1.NameNode(value: 'IdentitiesByName'), variableDefinitions: [ _i1.VariableDefinitionNode( variable: _i1.VariableNode(name: _i1.NameNode(value: 'pattern')), @@ -159,70 +1329,70 @@ const AccountsByName = _i1.OperationDefinitionNode( ], directives: [], selectionSet: _i1.SelectionSetNode(selections: [ - _i1.FieldNode( - name: _i1.NameNode(value: 'isMember'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'name'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'accountId'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'status'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'createdOn'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'account'), - alias: null, - arguments: [], + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'IdentityFields'), directives: [], - selectionSet: _i1.SelectionSetNode(selections: [ - _i1.FieldNode( - name: _i1.NameNode(value: 'isActive'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ) - ]), - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'index'), - alias: null, - arguments: [], + ) + ]), + ) + ]), +); +const AccountByPk = _i1.OperationDefinitionNode( + type: _i1.OperationType.query, + name: _i1.NameNode(value: 'AccountByPk'), + variableDefinitions: [ + _i1.VariableDefinitionNode( + variable: _i1.VariableNode(name: _i1.NameNode(value: 'id')), + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), + isNonNull: true, + ), + defaultValue: _i1.DefaultValueNode(value: null), + directives: [], + ), + _i1.VariableDefinitionNode( + variable: _i1.VariableNode(name: _i1.NameNode(value: 'limit')), + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), + isNonNull: false, + ), + defaultValue: _i1.DefaultValueNode(value: null), + directives: [], + ), + _i1.VariableDefinitionNode( + variable: _i1.VariableNode(name: _i1.NameNode(value: 'offset')), + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), + isNonNull: false, + ), + defaultValue: _i1.DefaultValueNode(value: null), + directives: [], + ), + ], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'accountByPk'), + alias: null, + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'id'), + value: _i1.VariableNode(name: _i1.NameNode(value: 'id')), + ) + ], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'AccountFields'), directives: [], - selectionSet: null, - ), + ) ]), ) ]), ); -const AccountByPk = _i1.OperationDefinitionNode( +const AccountBasicByPk = _i1.OperationDefinitionNode( type: _i1.OperationType.query, - name: _i1.NameNode(value: 'AccountByPk'), + name: _i1.NameNode(value: 'AccountBasicByPk'), variableDefinitions: [ _i1.VariableDefinitionNode( variable: _i1.VariableNode(name: _i1.NameNode(value: 'id')), @@ -247,12 +1417,76 @@ const AccountByPk = _i1.OperationDefinitionNode( ], directives: [], selectionSet: _i1.SelectionSetNode(selections: [ - _i1.FieldNode( - name: _i1.NameNode(value: 'isActive'), - alias: null, - arguments: [], + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'AccountBasicFields'), + directives: [], + ) + ]), + ) + ]), +); +const AccountsByPk = _i1.OperationDefinitionNode( + type: _i1.OperationType.query, + name: _i1.NameNode(value: 'AccountsByPk'), + variableDefinitions: [ + _i1.VariableDefinitionNode( + variable: _i1.VariableNode(name: _i1.NameNode(value: 'accountIds')), + type: _i1.ListTypeNode( + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), + isNonNull: true, + ), + isNonNull: true, + ), + defaultValue: _i1.DefaultValueNode(value: null), + directives: [], + ), + _i1.VariableDefinitionNode( + variable: _i1.VariableNode(name: _i1.NameNode(value: 'limit')), + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), + isNonNull: false, + ), + defaultValue: _i1.DefaultValueNode(value: null), + directives: [], + ), + _i1.VariableDefinitionNode( + variable: _i1.VariableNode(name: _i1.NameNode(value: 'offset')), + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), + isNonNull: false, + ), + defaultValue: _i1.DefaultValueNode(value: null), + directives: [], + ), + ], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FieldNode( + name: _i1.NameNode(value: 'account'), + alias: null, + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'where'), + value: _i1.ObjectValueNode(fields: [ + _i1.ObjectFieldNode( + name: _i1.NameNode(value: 'id'), + value: _i1.ObjectValueNode(fields: [ + _i1.ObjectFieldNode( + name: _i1.NameNode(value: '_in'), + value: + _i1.VariableNode(name: _i1.NameNode(value: 'accountIds')), + ) + ]), + ) + ]), + ) + ], + directives: [], + selectionSet: _i1.SelectionSetNode(selections: [ + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'AccountFields'), directives: [], - selectionSet: null, ) ]), ) @@ -351,205 +1585,31 @@ const GetHistoryAndBalance = _i1.OperationDefinitionNode( ], directives: [], selectionSet: _i1.SelectionSetNode(selections: [ - _i1.FieldNode( - name: _i1.NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'transfersIssued'), - alias: null, - arguments: [ - _i1.ArgumentNode( - name: _i1.NameNode(value: 'limit'), - value: _i1.VariableNode(name: _i1.NameNode(value: 'limit')), - ), - _i1.ArgumentNode( - name: _i1.NameNode(value: 'offset'), - value: _i1.VariableNode(name: _i1.NameNode(value: 'offset')), - ), - _i1.ArgumentNode( - name: _i1.NameNode(value: 'orderBy'), - value: _i1.ObjectValueNode(fields: [ - _i1.ObjectFieldNode( - name: _i1.NameNode(value: 'timestamp'), - value: _i1.EnumValueNode(name: _i1.NameNode(value: 'DESC')), - ) - ]), - ), - ], - directives: [], - selectionSet: _i1.SelectionSetNode(selections: [ - _i1.FieldNode( - name: _i1.NameNode(value: 'blockNumber'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'timestamp'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'amount'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'to'), - alias: null, - arguments: [], - directives: [], - selectionSet: _i1.SelectionSetNode(selections: [ - _i1.FieldNode( - name: _i1.NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ) - ]), - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'from'), - alias: null, - arguments: [], - directives: [], - selectionSet: _i1.SelectionSetNode(selections: [ - _i1.FieldNode( - name: _i1.NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ) - ]), - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'comment'), - alias: null, - arguments: [], - directives: [], - selectionSet: _i1.SelectionSetNode(selections: [ - _i1.FieldNode( - name: _i1.NameNode(value: 'remark'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ) - ]), - ), - ]), - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'transfersReceived'), - alias: null, - arguments: [ - _i1.ArgumentNode( - name: _i1.NameNode(value: 'limit'), - value: _i1.VariableNode(name: _i1.NameNode(value: 'limit')), - ), - _i1.ArgumentNode( - name: _i1.NameNode(value: 'offset'), - value: _i1.VariableNode(name: _i1.NameNode(value: 'offset')), - ), - _i1.ArgumentNode( - name: _i1.NameNode(value: 'orderBy'), - value: _i1.ObjectValueNode(fields: [ - _i1.ObjectFieldNode( - name: _i1.NameNode(value: 'timestamp'), - value: _i1.EnumValueNode(name: _i1.NameNode(value: 'DESC')), - ) - ]), - ), - ], + _i1.FragmentSpreadNode( + name: _i1.NameNode(value: 'AccountFields'), directives: [], - selectionSet: _i1.SelectionSetNode(selections: [ - _i1.FieldNode( - name: _i1.NameNode(value: 'blockNumber'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'timestamp'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'amount'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'from'), - alias: null, - arguments: [], - directives: [], - selectionSet: _i1.SelectionSetNode(selections: [ - _i1.FieldNode( - name: _i1.NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ) - ]), - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'to'), - alias: null, - arguments: [], - directives: [], - selectionSet: _i1.SelectionSetNode(selections: [ - _i1.FieldNode( - name: _i1.NameNode(value: 'id'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ) - ]), - ), - _i1.FieldNode( - name: _i1.NameNode(value: 'comment'), - alias: null, - arguments: [], - directives: [], - selectionSet: _i1.SelectionSetNode(selections: [ - _i1.FieldNode( - name: _i1.NameNode(value: 'remark'), - alias: null, - arguments: [], - directives: [], - selectionSet: null, - ) - ]), - ), - ]), - ), + ) ]), ) ]), ); const document = _i1.DocumentNode(definitions: [ - AccountsByNameOrPk, - AccountsByName, + CertFields, + SmithCertFields, + SmithFields, + OwnerKeyChangeFields, + IdentityBasicFields, + IdentityFields, + CommentsIssued, + AccountBasicFields, + AccountFields, + TransferFields, + IdentitiesByNameOrPk, + IdentitiesByPk, + IdentitiesByName, AccountByPk, + AccountBasicByPk, + AccountsByPk, LastBlock, GetHistoryAndBalance, ]); diff --git a/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.data.gql.dart b/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.data.gql.dart index 6ee34e6e..1a26660a 100644 --- a/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.data.gql.dart +++ b/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.data.gql.dart @@ -12,675 +12,15684 @@ import 'package:duniter_indexer/graphql/schema/__generated__/serializers.gql.dar part 'duniter-indexer-queries.data.gql.g.dart'; -abstract class GAccountsByNameOrPkData - implements Built<GAccountsByNameOrPkData, GAccountsByNameOrPkDataBuilder> { - GAccountsByNameOrPkData._(); +abstract class GIdentitiesByNameOrPkData + implements + Built<GIdentitiesByNameOrPkData, GIdentitiesByNameOrPkDataBuilder> { + GIdentitiesByNameOrPkData._(); - factory GAccountsByNameOrPkData( - [void Function(GAccountsByNameOrPkDataBuilder b) updates]) = - _$GAccountsByNameOrPkData; + factory GIdentitiesByNameOrPkData( + [void Function(GIdentitiesByNameOrPkDataBuilder b) updates]) = + _$GIdentitiesByNameOrPkData; - static void _initializeBuilder(GAccountsByNameOrPkDataBuilder b) => + static void _initializeBuilder(GIdentitiesByNameOrPkDataBuilder b) => b..G__typename = 'query_root'; @BuiltValueField(wireName: '__typename') String get G__typename; - BuiltList<GAccountsByNameOrPkData_identity> get identity; - static Serializer<GAccountsByNameOrPkData> get serializer => - _$gAccountsByNameOrPkDataSerializer; + BuiltList<GIdentitiesByNameOrPkData_identity> get identity; + static Serializer<GIdentitiesByNameOrPkData> get serializer => + _$gIdentitiesByNameOrPkDataSerializer; Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GAccountsByNameOrPkData.serializer, + GIdentitiesByNameOrPkData.serializer, this, ) as Map<String, dynamic>); - static GAccountsByNameOrPkData? fromJson(Map<String, dynamic> json) => + static GIdentitiesByNameOrPkData? fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( - GAccountsByNameOrPkData.serializer, + GIdentitiesByNameOrPkData.serializer, json, ); } -abstract class GAccountsByNameOrPkData_identity +abstract class GIdentitiesByNameOrPkData_identity implements - Built<GAccountsByNameOrPkData_identity, - GAccountsByNameOrPkData_identityBuilder> { - GAccountsByNameOrPkData_identity._(); + Built<GIdentitiesByNameOrPkData_identity, + GIdentitiesByNameOrPkData_identityBuilder>, + GIdentityFields { + GIdentitiesByNameOrPkData_identity._(); - factory GAccountsByNameOrPkData_identity( - [void Function(GAccountsByNameOrPkData_identityBuilder b) updates]) = - _$GAccountsByNameOrPkData_identity; + factory GIdentitiesByNameOrPkData_identity( + [void Function(GIdentitiesByNameOrPkData_identityBuilder b) + updates]) = _$GIdentitiesByNameOrPkData_identity; - static void _initializeBuilder(GAccountsByNameOrPkData_identityBuilder b) => + static void _initializeBuilder(GIdentitiesByNameOrPkData_identityBuilder b) => b..G__typename = 'Identity'; + @override @BuiltValueField(wireName: '__typename') String get G__typename; - bool get isMember; - String get name; + @override String? get accountId; - _i2.GIdentityStatusEnum? get status; + @override + String? get accountRemovedId; + @override + BuiltList<GIdentitiesByNameOrPkData_identity_certIssued> get certIssued; + @override + GIdentitiesByNameOrPkData_identity_certIssuedAggregate + get certIssuedAggregate; + @override + BuiltList<GIdentitiesByNameOrPkData_identity_certReceived> get certReceived; + @override + GIdentitiesByNameOrPkData_identity_certReceivedAggregate + get certReceivedAggregate; + @override + String? get createdInId; + @override int get createdOn; - GAccountsByNameOrPkData_identity_account? get account; + @override + int get expireOn; + @override + String get id; + @override int get index; - static Serializer<GAccountsByNameOrPkData_identity> get serializer => - _$gAccountsByNameOrPkDataIdentitySerializer; + @override + bool get isMember; + @override + int get lastChangeOn; + @override + BuiltList<GIdentitiesByNameOrPkData_identity_linkedAccount> get linkedAccount; + @override + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate + get linkedAccountAggregate; + @override + _i2.GIdentityStatusEnum? get status; + @override + BuiltList<GIdentitiesByNameOrPkData_identity_membershipHistory> + get membershipHistory; + @override + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate + get membershipHistoryAggregate; + @override + String get name; + @override + BuiltList<GIdentitiesByNameOrPkData_identity_ownerKeyChange> + get ownerKeyChange; + @override + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate + get ownerKeyChangeAggregate; + @override + GIdentitiesByNameOrPkData_identity_smith? get smith; + @override + BuiltList<GIdentitiesByNameOrPkData_identity_udHistory>? get udHistory; + static Serializer<GIdentitiesByNameOrPkData_identity> get serializer => + _$gIdentitiesByNameOrPkDataIdentitySerializer; + @override Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GAccountsByNameOrPkData_identity.serializer, + GIdentitiesByNameOrPkData_identity.serializer, this, ) as Map<String, dynamic>); - static GAccountsByNameOrPkData_identity? fromJson( + static GIdentitiesByNameOrPkData_identity? fromJson( Map<String, dynamic> json) => _i1.serializers.deserializeWith( - GAccountsByNameOrPkData_identity.serializer, + GIdentitiesByNameOrPkData_identity.serializer, json, ); } -abstract class GAccountsByNameOrPkData_identity_account +abstract class GIdentitiesByNameOrPkData_identity_certIssued implements - Built<GAccountsByNameOrPkData_identity_account, - GAccountsByNameOrPkData_identity_accountBuilder> { - GAccountsByNameOrPkData_identity_account._(); + Built<GIdentitiesByNameOrPkData_identity_certIssued, + GIdentitiesByNameOrPkData_identity_certIssuedBuilder>, + GIdentityFields_certIssued, + GCertFields { + GIdentitiesByNameOrPkData_identity_certIssued._(); - factory GAccountsByNameOrPkData_identity_account( - [void Function(GAccountsByNameOrPkData_identity_accountBuilder b) - updates]) = _$GAccountsByNameOrPkData_identity_account; + factory GIdentitiesByNameOrPkData_identity_certIssued( + [void Function(GIdentitiesByNameOrPkData_identity_certIssuedBuilder b) + updates]) = _$GIdentitiesByNameOrPkData_identity_certIssued; static void _initializeBuilder( - GAccountsByNameOrPkData_identity_accountBuilder b) => - b..G__typename = 'Account'; + GIdentitiesByNameOrPkData_identity_certIssuedBuilder b) => + b..G__typename = 'Cert'; + @override @BuiltValueField(wireName: '__typename') String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GIdentitiesByNameOrPkData_identity_certIssued_issuer? get issuer; + @override + String? get receiverId; + @override + GIdentitiesByNameOrPkData_identity_certIssued_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override bool get isActive; - static Serializer<GAccountsByNameOrPkData_identity_account> get serializer => - _$gAccountsByNameOrPkDataIdentityAccountSerializer; + @override + int get updatedOn; + static Serializer<GIdentitiesByNameOrPkData_identity_certIssued> + get serializer => _$gIdentitiesByNameOrPkDataIdentityCertIssuedSerializer; + @override Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GAccountsByNameOrPkData_identity_account.serializer, + GIdentitiesByNameOrPkData_identity_certIssued.serializer, this, ) as Map<String, dynamic>); - static GAccountsByNameOrPkData_identity_account? fromJson( + static GIdentitiesByNameOrPkData_identity_certIssued? fromJson( Map<String, dynamic> json) => _i1.serializers.deserializeWith( - GAccountsByNameOrPkData_identity_account.serializer, + GIdentitiesByNameOrPkData_identity_certIssued.serializer, json, ); } -abstract class GAccountsByNameData - implements Built<GAccountsByNameData, GAccountsByNameDataBuilder> { - GAccountsByNameData._(); +abstract class GIdentitiesByNameOrPkData_identity_certIssued_issuer + implements + Built<GIdentitiesByNameOrPkData_identity_certIssued_issuer, + GIdentitiesByNameOrPkData_identity_certIssued_issuerBuilder>, + GIdentityFields_certIssued_issuer, + GCertFields_issuer, + GIdentityBasicFields { + GIdentitiesByNameOrPkData_identity_certIssued_issuer._(); - factory GAccountsByNameData( - [void Function(GAccountsByNameDataBuilder b) updates]) = - _$GAccountsByNameData; + factory GIdentitiesByNameOrPkData_identity_certIssued_issuer( + [void Function( + GIdentitiesByNameOrPkData_identity_certIssued_issuerBuilder b) + updates]) = _$GIdentitiesByNameOrPkData_identity_certIssued_issuer; - static void _initializeBuilder(GAccountsByNameDataBuilder b) => - b..G__typename = 'query_root'; + static void _initializeBuilder( + GIdentitiesByNameOrPkData_identity_certIssued_issuerBuilder b) => + b..G__typename = 'Identity'; + @override @BuiltValueField(wireName: '__typename') String get G__typename; - BuiltList<GAccountsByNameData_identity> get identity; - static Serializer<GAccountsByNameData> get serializer => - _$gAccountsByNameDataSerializer; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GIdentitiesByNameOrPkData_identity_certIssued_issuer> + get serializer => + _$gIdentitiesByNameOrPkDataIdentityCertIssuedIssuerSerializer; + @override Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GAccountsByNameData.serializer, + GIdentitiesByNameOrPkData_identity_certIssued_issuer.serializer, this, ) as Map<String, dynamic>); - static GAccountsByNameData? fromJson(Map<String, dynamic> json) => + static GIdentitiesByNameOrPkData_identity_certIssued_issuer? fromJson( + Map<String, dynamic> json) => _i1.serializers.deserializeWith( - GAccountsByNameData.serializer, + GIdentitiesByNameOrPkData_identity_certIssued_issuer.serializer, json, ); } -abstract class GAccountsByNameData_identity +abstract class GIdentitiesByNameOrPkData_identity_certIssued_receiver implements - Built<GAccountsByNameData_identity, - GAccountsByNameData_identityBuilder> { - GAccountsByNameData_identity._(); + Built<GIdentitiesByNameOrPkData_identity_certIssued_receiver, + GIdentitiesByNameOrPkData_identity_certIssued_receiverBuilder>, + GIdentityFields_certIssued_receiver, + GCertFields_receiver, + GIdentityBasicFields { + GIdentitiesByNameOrPkData_identity_certIssued_receiver._(); - factory GAccountsByNameData_identity( - [void Function(GAccountsByNameData_identityBuilder b) updates]) = - _$GAccountsByNameData_identity; + factory GIdentitiesByNameOrPkData_identity_certIssued_receiver( + [void Function( + GIdentitiesByNameOrPkData_identity_certIssued_receiverBuilder b) + updates]) = _$GIdentitiesByNameOrPkData_identity_certIssued_receiver; - static void _initializeBuilder(GAccountsByNameData_identityBuilder b) => + static void _initializeBuilder( + GIdentitiesByNameOrPkData_identity_certIssued_receiverBuilder b) => b..G__typename = 'Identity'; + @override @BuiltValueField(wireName: '__typename') String get G__typename; - bool get isMember; - String get name; + @override String? get accountId; + @override + String get id; + @override + bool get isMember; + @override _i2.GIdentityStatusEnum? get status; - int get createdOn; - GAccountsByNameData_identity_account? get account; - int get index; - static Serializer<GAccountsByNameData_identity> get serializer => - _$gAccountsByNameDataIdentitySerializer; + @override + String get name; + static Serializer<GIdentitiesByNameOrPkData_identity_certIssued_receiver> + get serializer => + _$gIdentitiesByNameOrPkDataIdentityCertIssuedReceiverSerializer; + @override Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GAccountsByNameData_identity.serializer, + GIdentitiesByNameOrPkData_identity_certIssued_receiver.serializer, this, ) as Map<String, dynamic>); - static GAccountsByNameData_identity? fromJson(Map<String, dynamic> json) => + static GIdentitiesByNameOrPkData_identity_certIssued_receiver? fromJson( + Map<String, dynamic> json) => _i1.serializers.deserializeWith( - GAccountsByNameData_identity.serializer, + GIdentitiesByNameOrPkData_identity_certIssued_receiver.serializer, json, ); } -abstract class GAccountsByNameData_identity_account +abstract class GIdentitiesByNameOrPkData_identity_certIssuedAggregate implements - Built<GAccountsByNameData_identity_account, - GAccountsByNameData_identity_accountBuilder> { - GAccountsByNameData_identity_account._(); + Built<GIdentitiesByNameOrPkData_identity_certIssuedAggregate, + GIdentitiesByNameOrPkData_identity_certIssuedAggregateBuilder>, + GIdentityFields_certIssuedAggregate { + GIdentitiesByNameOrPkData_identity_certIssuedAggregate._(); - factory GAccountsByNameData_identity_account( - [void Function(GAccountsByNameData_identity_accountBuilder b) - updates]) = _$GAccountsByNameData_identity_account; + factory GIdentitiesByNameOrPkData_identity_certIssuedAggregate( + [void Function( + GIdentitiesByNameOrPkData_identity_certIssuedAggregateBuilder b) + updates]) = _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate; static void _initializeBuilder( - GAccountsByNameData_identity_accountBuilder b) => - b..G__typename = 'Account'; + GIdentitiesByNameOrPkData_identity_certIssuedAggregateBuilder b) => + b..G__typename = 'CertAggregate'; + @override @BuiltValueField(wireName: '__typename') String get G__typename; - bool get isActive; - static Serializer<GAccountsByNameData_identity_account> get serializer => - _$gAccountsByNameDataIdentityAccountSerializer; + @override + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate? + get aggregate; + static Serializer<GIdentitiesByNameOrPkData_identity_certIssuedAggregate> + get serializer => + _$gIdentitiesByNameOrPkDataIdentityCertIssuedAggregateSerializer; + @override Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GAccountsByNameData_identity_account.serializer, + GIdentitiesByNameOrPkData_identity_certIssuedAggregate.serializer, this, ) as Map<String, dynamic>); - static GAccountsByNameData_identity_account? fromJson( + static GIdentitiesByNameOrPkData_identity_certIssuedAggregate? fromJson( Map<String, dynamic> json) => _i1.serializers.deserializeWith( - GAccountsByNameData_identity_account.serializer, + GIdentitiesByNameOrPkData_identity_certIssuedAggregate.serializer, json, ); } -abstract class GAccountByPkData - implements Built<GAccountByPkData, GAccountByPkDataBuilder> { - GAccountByPkData._(); +abstract class GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate + implements + Built<GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateBuilder>, + GIdentityFields_certIssuedAggregate_aggregate { + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate._(); - factory GAccountByPkData([void Function(GAccountByPkDataBuilder b) updates]) = - _$GAccountByPkData; + factory GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate( + [void Function( + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateBuilder + b) + updates]) = + _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate; - static void _initializeBuilder(GAccountByPkDataBuilder b) => - b..G__typename = 'query_root'; + static void _initializeBuilder( + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateBuilder + b) => + b..G__typename = 'CertAggregateFields'; + @override @BuiltValueField(wireName: '__typename') String get G__typename; - GAccountByPkData_accountByPk? get accountByPk; - static Serializer<GAccountByPkData> get serializer => - _$gAccountByPkDataSerializer; + @override + int get count; + static Serializer< + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate> + get serializer => + _$gIdentitiesByNameOrPkDataIdentityCertIssuedAggregateAggregateSerializer; + @override Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GAccountByPkData.serializer, + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate + .serializer, this, ) as Map<String, dynamic>); - static GAccountByPkData? fromJson(Map<String, dynamic> json) => - _i1.serializers.deserializeWith( - GAccountByPkData.serializer, - json, - ); + static GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate + .serializer, + json, + ); } -abstract class GAccountByPkData_accountByPk +abstract class GIdentitiesByNameOrPkData_identity_certReceived implements - Built<GAccountByPkData_accountByPk, - GAccountByPkData_accountByPkBuilder> { - GAccountByPkData_accountByPk._(); + Built<GIdentitiesByNameOrPkData_identity_certReceived, + GIdentitiesByNameOrPkData_identity_certReceivedBuilder>, + GIdentityFields_certReceived, + GCertFields { + GIdentitiesByNameOrPkData_identity_certReceived._(); - factory GAccountByPkData_accountByPk( - [void Function(GAccountByPkData_accountByPkBuilder b) updates]) = - _$GAccountByPkData_accountByPk; + factory GIdentitiesByNameOrPkData_identity_certReceived( + [void Function(GIdentitiesByNameOrPkData_identity_certReceivedBuilder b) + updates]) = _$GIdentitiesByNameOrPkData_identity_certReceived; - static void _initializeBuilder(GAccountByPkData_accountByPkBuilder b) => - b..G__typename = 'Account'; + static void _initializeBuilder( + GIdentitiesByNameOrPkData_identity_certReceivedBuilder b) => + b..G__typename = 'Cert'; + @override @BuiltValueField(wireName: '__typename') String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GIdentitiesByNameOrPkData_identity_certReceived_issuer? get issuer; + @override + String? get receiverId; + @override + GIdentitiesByNameOrPkData_identity_certReceived_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override bool get isActive; - static Serializer<GAccountByPkData_accountByPk> get serializer => - _$gAccountByPkDataAccountByPkSerializer; + @override + int get updatedOn; + static Serializer<GIdentitiesByNameOrPkData_identity_certReceived> + get serializer => + _$gIdentitiesByNameOrPkDataIdentityCertReceivedSerializer; + @override Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GAccountByPkData_accountByPk.serializer, + GIdentitiesByNameOrPkData_identity_certReceived.serializer, this, ) as Map<String, dynamic>); - static GAccountByPkData_accountByPk? fromJson(Map<String, dynamic> json) => + static GIdentitiesByNameOrPkData_identity_certReceived? fromJson( + Map<String, dynamic> json) => _i1.serializers.deserializeWith( - GAccountByPkData_accountByPk.serializer, + GIdentitiesByNameOrPkData_identity_certReceived.serializer, json, ); } -abstract class GLastBlockData - implements Built<GLastBlockData, GLastBlockDataBuilder> { - GLastBlockData._(); +abstract class GIdentitiesByNameOrPkData_identity_certReceived_issuer + implements + Built<GIdentitiesByNameOrPkData_identity_certReceived_issuer, + GIdentitiesByNameOrPkData_identity_certReceived_issuerBuilder>, + GIdentityFields_certReceived_issuer, + GCertFields_issuer, + GIdentityBasicFields { + GIdentitiesByNameOrPkData_identity_certReceived_issuer._(); - factory GLastBlockData([void Function(GLastBlockDataBuilder b) updates]) = - _$GLastBlockData; + factory GIdentitiesByNameOrPkData_identity_certReceived_issuer( + [void Function( + GIdentitiesByNameOrPkData_identity_certReceived_issuerBuilder b) + updates]) = _$GIdentitiesByNameOrPkData_identity_certReceived_issuer; - static void _initializeBuilder(GLastBlockDataBuilder b) => - b..G__typename = 'query_root'; + static void _initializeBuilder( + GIdentitiesByNameOrPkData_identity_certReceived_issuerBuilder b) => + b..G__typename = 'Identity'; + @override @BuiltValueField(wireName: '__typename') String get G__typename; - BuiltList<GLastBlockData_block> get block; - static Serializer<GLastBlockData> get serializer => - _$gLastBlockDataSerializer; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GIdentitiesByNameOrPkData_identity_certReceived_issuer> + get serializer => + _$gIdentitiesByNameOrPkDataIdentityCertReceivedIssuerSerializer; + @override Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GLastBlockData.serializer, + GIdentitiesByNameOrPkData_identity_certReceived_issuer.serializer, this, ) as Map<String, dynamic>); - static GLastBlockData? fromJson(Map<String, dynamic> json) => + static GIdentitiesByNameOrPkData_identity_certReceived_issuer? fromJson( + Map<String, dynamic> json) => _i1.serializers.deserializeWith( - GLastBlockData.serializer, + GIdentitiesByNameOrPkData_identity_certReceived_issuer.serializer, json, ); } -abstract class GLastBlockData_block - implements Built<GLastBlockData_block, GLastBlockData_blockBuilder> { - GLastBlockData_block._(); +abstract class GIdentitiesByNameOrPkData_identity_certReceived_receiver + implements + Built<GIdentitiesByNameOrPkData_identity_certReceived_receiver, + GIdentitiesByNameOrPkData_identity_certReceived_receiverBuilder>, + GIdentityFields_certReceived_receiver, + GCertFields_receiver, + GIdentityBasicFields { + GIdentitiesByNameOrPkData_identity_certReceived_receiver._(); - factory GLastBlockData_block( - [void Function(GLastBlockData_blockBuilder b) updates]) = - _$GLastBlockData_block; + factory GIdentitiesByNameOrPkData_identity_certReceived_receiver( + [void Function( + GIdentitiesByNameOrPkData_identity_certReceived_receiverBuilder b) + updates]) = _$GIdentitiesByNameOrPkData_identity_certReceived_receiver; - static void _initializeBuilder(GLastBlockData_blockBuilder b) => - b..G__typename = 'Block'; + static void _initializeBuilder( + GIdentitiesByNameOrPkData_identity_certReceived_receiverBuilder b) => + b..G__typename = 'Identity'; + @override @BuiltValueField(wireName: '__typename') String get G__typename; - int get height; - static Serializer<GLastBlockData_block> get serializer => - _$gLastBlockDataBlockSerializer; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GIdentitiesByNameOrPkData_identity_certReceived_receiver> + get serializer => + _$gIdentitiesByNameOrPkDataIdentityCertReceivedReceiverSerializer; + @override Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GLastBlockData_block.serializer, + GIdentitiesByNameOrPkData_identity_certReceived_receiver.serializer, this, ) as Map<String, dynamic>); - static GLastBlockData_block? fromJson(Map<String, dynamic> json) => + static GIdentitiesByNameOrPkData_identity_certReceived_receiver? fromJson( + Map<String, dynamic> json) => _i1.serializers.deserializeWith( - GLastBlockData_block.serializer, + GIdentitiesByNameOrPkData_identity_certReceived_receiver.serializer, json, ); } -abstract class GGetHistoryAndBalanceData +abstract class GIdentitiesByNameOrPkData_identity_certReceivedAggregate implements - Built<GGetHistoryAndBalanceData, GGetHistoryAndBalanceDataBuilder> { - GGetHistoryAndBalanceData._(); + Built<GIdentitiesByNameOrPkData_identity_certReceivedAggregate, + GIdentitiesByNameOrPkData_identity_certReceivedAggregateBuilder>, + GIdentityFields_certReceivedAggregate { + GIdentitiesByNameOrPkData_identity_certReceivedAggregate._(); - factory GGetHistoryAndBalanceData( - [void Function(GGetHistoryAndBalanceDataBuilder b) updates]) = - _$GGetHistoryAndBalanceData; + factory GIdentitiesByNameOrPkData_identity_certReceivedAggregate( + [void Function( + GIdentitiesByNameOrPkData_identity_certReceivedAggregateBuilder b) + updates]) = _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate; - static void _initializeBuilder(GGetHistoryAndBalanceDataBuilder b) => - b..G__typename = 'query_root'; + static void _initializeBuilder( + GIdentitiesByNameOrPkData_identity_certReceivedAggregateBuilder b) => + b..G__typename = 'CertAggregate'; + @override @BuiltValueField(wireName: '__typename') String get G__typename; - BuiltList<GGetHistoryAndBalanceData_account> get account; - static Serializer<GGetHistoryAndBalanceData> get serializer => - _$gGetHistoryAndBalanceDataSerializer; + @override + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate? + get aggregate; + static Serializer<GIdentitiesByNameOrPkData_identity_certReceivedAggregate> + get serializer => + _$gIdentitiesByNameOrPkDataIdentityCertReceivedAggregateSerializer; + @override Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GGetHistoryAndBalanceData.serializer, + GIdentitiesByNameOrPkData_identity_certReceivedAggregate.serializer, this, ) as Map<String, dynamic>); - static GGetHistoryAndBalanceData? fromJson(Map<String, dynamic> json) => + static GIdentitiesByNameOrPkData_identity_certReceivedAggregate? fromJson( + Map<String, dynamic> json) => _i1.serializers.deserializeWith( - GGetHistoryAndBalanceData.serializer, + GIdentitiesByNameOrPkData_identity_certReceivedAggregate.serializer, json, ); } -abstract class GGetHistoryAndBalanceData_account +abstract class GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate implements - Built<GGetHistoryAndBalanceData_account, - GGetHistoryAndBalanceData_accountBuilder> { - GGetHistoryAndBalanceData_account._(); + Built< + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateBuilder>, + GIdentityFields_certReceivedAggregate_aggregate { + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate._(); - factory GGetHistoryAndBalanceData_account( - [void Function(GGetHistoryAndBalanceData_accountBuilder b) updates]) = - _$GGetHistoryAndBalanceData_account; + factory GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate( + [void Function( + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateBuilder + b) + updates]) = + _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate; - static void _initializeBuilder(GGetHistoryAndBalanceData_accountBuilder b) => - b..G__typename = 'Account'; + static void _initializeBuilder( + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateBuilder + b) => + b..G__typename = 'CertAggregateFields'; + @override @BuiltValueField(wireName: '__typename') String get G__typename; - String get id; - BuiltList<GGetHistoryAndBalanceData_account_transfersIssued> - get transfersIssued; - BuiltList<GGetHistoryAndBalanceData_account_transfersReceived> - get transfersReceived; - static Serializer<GGetHistoryAndBalanceData_account> get serializer => - _$gGetHistoryAndBalanceDataAccountSerializer; + @override + int get count; + static Serializer< + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate> + get serializer => + _$gIdentitiesByNameOrPkDataIdentityCertReceivedAggregateAggregateSerializer; + @override Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GGetHistoryAndBalanceData_account.serializer, + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate + .serializer, this, ) as Map<String, dynamic>); - static GGetHistoryAndBalanceData_account? fromJson( - Map<String, dynamic> json) => - _i1.serializers.deserializeWith( - GGetHistoryAndBalanceData_account.serializer, - json, - ); + static GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate + .serializer, + json, + ); } -abstract class GGetHistoryAndBalanceData_account_transfersIssued +abstract class GIdentitiesByNameOrPkData_identity_linkedAccount implements - Built<GGetHistoryAndBalanceData_account_transfersIssued, - GGetHistoryAndBalanceData_account_transfersIssuedBuilder> { - GGetHistoryAndBalanceData_account_transfersIssued._(); + Built<GIdentitiesByNameOrPkData_identity_linkedAccount, + GIdentitiesByNameOrPkData_identity_linkedAccountBuilder>, + GIdentityFields_linkedAccount { + GIdentitiesByNameOrPkData_identity_linkedAccount._(); - factory GGetHistoryAndBalanceData_account_transfersIssued( - [void Function(GGetHistoryAndBalanceData_account_transfersIssuedBuilder b) - updates]) = _$GGetHistoryAndBalanceData_account_transfersIssued; + factory GIdentitiesByNameOrPkData_identity_linkedAccount( + [void Function(GIdentitiesByNameOrPkData_identity_linkedAccountBuilder b) + updates]) = _$GIdentitiesByNameOrPkData_identity_linkedAccount; static void _initializeBuilder( - GGetHistoryAndBalanceData_account_transfersIssuedBuilder b) => - b..G__typename = 'Transfer'; + GIdentitiesByNameOrPkData_identity_linkedAccountBuilder b) => + b..G__typename = 'Account'; + @override @BuiltValueField(wireName: '__typename') String get G__typename; - int get blockNumber; - _i2.Gtimestamptz get timestamp; - int get amount; - GGetHistoryAndBalanceData_account_transfersIssued_to? get to; - GGetHistoryAndBalanceData_account_transfersIssued_from? get from; - GGetHistoryAndBalanceData_account_transfersIssued_comment? get comment; - static Serializer<GGetHistoryAndBalanceData_account_transfersIssued> + @override + String get id; + static Serializer<GIdentitiesByNameOrPkData_identity_linkedAccount> get serializer => - _$gGetHistoryAndBalanceDataAccountTransfersIssuedSerializer; + _$gIdentitiesByNameOrPkDataIdentityLinkedAccountSerializer; + @override Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GGetHistoryAndBalanceData_account_transfersIssued.serializer, + GIdentitiesByNameOrPkData_identity_linkedAccount.serializer, this, ) as Map<String, dynamic>); - static GGetHistoryAndBalanceData_account_transfersIssued? fromJson( + static GIdentitiesByNameOrPkData_identity_linkedAccount? fromJson( Map<String, dynamic> json) => _i1.serializers.deserializeWith( - GGetHistoryAndBalanceData_account_transfersIssued.serializer, + GIdentitiesByNameOrPkData_identity_linkedAccount.serializer, json, ); } -abstract class GGetHistoryAndBalanceData_account_transfersIssued_to +abstract class GIdentitiesByNameOrPkData_identity_linkedAccountAggregate implements - Built<GGetHistoryAndBalanceData_account_transfersIssued_to, - GGetHistoryAndBalanceData_account_transfersIssued_toBuilder> { - GGetHistoryAndBalanceData_account_transfersIssued_to._(); + Built<GIdentitiesByNameOrPkData_identity_linkedAccountAggregate, + GIdentitiesByNameOrPkData_identity_linkedAccountAggregateBuilder>, + GIdentityFields_linkedAccountAggregate { + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate._(); - factory GGetHistoryAndBalanceData_account_transfersIssued_to( + factory GIdentitiesByNameOrPkData_identity_linkedAccountAggregate( [void Function( - GGetHistoryAndBalanceData_account_transfersIssued_toBuilder b) - updates]) = _$GGetHistoryAndBalanceData_account_transfersIssued_to; + GIdentitiesByNameOrPkData_identity_linkedAccountAggregateBuilder + b) + updates]) = _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate; static void _initializeBuilder( - GGetHistoryAndBalanceData_account_transfersIssued_toBuilder b) => - b..G__typename = 'Account'; + GIdentitiesByNameOrPkData_identity_linkedAccountAggregateBuilder b) => + b..G__typename = 'AccountAggregate'; + @override @BuiltValueField(wireName: '__typename') String get G__typename; - String get id; - static Serializer<GGetHistoryAndBalanceData_account_transfersIssued_to> + @override + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate? + get aggregate; + static Serializer<GIdentitiesByNameOrPkData_identity_linkedAccountAggregate> get serializer => - _$gGetHistoryAndBalanceDataAccountTransfersIssuedToSerializer; + _$gIdentitiesByNameOrPkDataIdentityLinkedAccountAggregateSerializer; + @override Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GGetHistoryAndBalanceData_account_transfersIssued_to.serializer, + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate.serializer, this, ) as Map<String, dynamic>); - static GGetHistoryAndBalanceData_account_transfersIssued_to? fromJson( + static GIdentitiesByNameOrPkData_identity_linkedAccountAggregate? fromJson( Map<String, dynamic> json) => _i1.serializers.deserializeWith( - GGetHistoryAndBalanceData_account_transfersIssued_to.serializer, + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate.serializer, json, ); } -abstract class GGetHistoryAndBalanceData_account_transfersIssued_from +abstract class GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate implements - Built<GGetHistoryAndBalanceData_account_transfersIssued_from, - GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder> { - GGetHistoryAndBalanceData_account_transfersIssued_from._(); + Built< + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateBuilder>, + GIdentityFields_linkedAccountAggregate_aggregate { + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate._(); - factory GGetHistoryAndBalanceData_account_transfersIssued_from( - [void Function( - GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder b) - updates]) = _$GGetHistoryAndBalanceData_account_transfersIssued_from; + factory GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate( + [void Function( + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateBuilder + b) + updates]) = + _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate; static void _initializeBuilder( - GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder b) => - b..G__typename = 'Account'; + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateBuilder + b) => + b..G__typename = 'AccountAggregateFields'; + @override @BuiltValueField(wireName: '__typename') String get G__typename; - String get id; - static Serializer<GGetHistoryAndBalanceData_account_transfersIssued_from> + @override + int get count; + static Serializer< + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate> get serializer => - _$gGetHistoryAndBalanceDataAccountTransfersIssuedFromSerializer; + _$gIdentitiesByNameOrPkDataIdentityLinkedAccountAggregateAggregateSerializer; + @override Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GGetHistoryAndBalanceData_account_transfersIssued_from.serializer, + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate + .serializer, this, ) as Map<String, dynamic>); - static GGetHistoryAndBalanceData_account_transfersIssued_from? fromJson( - Map<String, dynamic> json) => - _i1.serializers.deserializeWith( - GGetHistoryAndBalanceData_account_transfersIssued_from.serializer, - json, - ); + static GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate + .serializer, + json, + ); } -abstract class GGetHistoryAndBalanceData_account_transfersIssued_comment +abstract class GIdentitiesByNameOrPkData_identity_membershipHistory implements - Built<GGetHistoryAndBalanceData_account_transfersIssued_comment, - GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder> { - GGetHistoryAndBalanceData_account_transfersIssued_comment._(); + Built<GIdentitiesByNameOrPkData_identity_membershipHistory, + GIdentitiesByNameOrPkData_identity_membershipHistoryBuilder>, + GIdentityFields_membershipHistory { + GIdentitiesByNameOrPkData_identity_membershipHistory._(); - factory GGetHistoryAndBalanceData_account_transfersIssued_comment( + factory GIdentitiesByNameOrPkData_identity_membershipHistory( [void Function( - GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder - b) - updates]) = _$GGetHistoryAndBalanceData_account_transfersIssued_comment; + GIdentitiesByNameOrPkData_identity_membershipHistoryBuilder b) + updates]) = _$GIdentitiesByNameOrPkData_identity_membershipHistory; static void _initializeBuilder( - GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder b) => - b..G__typename = 'TxComment'; + GIdentitiesByNameOrPkData_identity_membershipHistoryBuilder b) => + b..G__typename = 'MembershipEvent'; + @override @BuiltValueField(wireName: '__typename') String get G__typename; - String get remark; - static Serializer<GGetHistoryAndBalanceData_account_transfersIssued_comment> + @override + int get blockNumber; + @override + String? get eventId; + @override + _i2.GEventTypeEnum? get eventType; + @override + String get id; + @override + String? get identityId; + static Serializer<GIdentitiesByNameOrPkData_identity_membershipHistory> get serializer => - _$gGetHistoryAndBalanceDataAccountTransfersIssuedCommentSerializer; + _$gIdentitiesByNameOrPkDataIdentityMembershipHistorySerializer; + @override Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GGetHistoryAndBalanceData_account_transfersIssued_comment.serializer, + GIdentitiesByNameOrPkData_identity_membershipHistory.serializer, this, ) as Map<String, dynamic>); - static GGetHistoryAndBalanceData_account_transfersIssued_comment? fromJson( + static GIdentitiesByNameOrPkData_identity_membershipHistory? fromJson( Map<String, dynamic> json) => _i1.serializers.deserializeWith( - GGetHistoryAndBalanceData_account_transfersIssued_comment.serializer, + GIdentitiesByNameOrPkData_identity_membershipHistory.serializer, json, ); } -abstract class GGetHistoryAndBalanceData_account_transfersReceived +abstract class GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate implements - Built<GGetHistoryAndBalanceData_account_transfersReceived, - GGetHistoryAndBalanceData_account_transfersReceivedBuilder> { - GGetHistoryAndBalanceData_account_transfersReceived._(); + Built<GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate, + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateBuilder>, + GIdentityFields_membershipHistoryAggregate { + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate._(); - factory GGetHistoryAndBalanceData_account_transfersReceived( - [void Function( - GGetHistoryAndBalanceData_account_transfersReceivedBuilder b) - updates]) = _$GGetHistoryAndBalanceData_account_transfersReceived; + factory GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate( + [void Function( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateBuilder + b) + updates]) = + _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate; static void _initializeBuilder( - GGetHistoryAndBalanceData_account_transfersReceivedBuilder b) => - b..G__typename = 'Transfer'; + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateBuilder + b) => + b..G__typename = 'MembershipEventAggregate'; + @override @BuiltValueField(wireName: '__typename') String get G__typename; - int get blockNumber; - _i2.Gtimestamptz get timestamp; - int get amount; - GGetHistoryAndBalanceData_account_transfersReceived_from? get from; - GGetHistoryAndBalanceData_account_transfersReceived_to? get to; - GGetHistoryAndBalanceData_account_transfersReceived_comment? get comment; - static Serializer<GGetHistoryAndBalanceData_account_transfersReceived> + @override + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate? + get aggregate; + static Serializer< + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate> get serializer => - _$gGetHistoryAndBalanceDataAccountTransfersReceivedSerializer; + _$gIdentitiesByNameOrPkDataIdentityMembershipHistoryAggregateSerializer; + @override Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GGetHistoryAndBalanceData_account_transfersReceived.serializer, + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate + .serializer, this, ) as Map<String, dynamic>); - static GGetHistoryAndBalanceData_account_transfersReceived? fromJson( + static GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate + .serializer, + json, + ); +} + +abstract class GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate + implements + Built< + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateBuilder>, + GIdentityFields_membershipHistoryAggregate_aggregate { + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate._(); + + factory GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate( + [void Function( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateBuilder + b) + updates]) = + _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate; + + static void _initializeBuilder( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateBuilder + b) => + b..G__typename = 'MembershipEventAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate> + get serializer => + _$gIdentitiesByNameOrPkDataIdentityMembershipHistoryAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GIdentitiesByNameOrPkData_identity_ownerKeyChange + implements + Built<GIdentitiesByNameOrPkData_identity_ownerKeyChange, + GIdentitiesByNameOrPkData_identity_ownerKeyChangeBuilder>, + GIdentityFields_ownerKeyChange, + GOwnerKeyChangeFields { + GIdentitiesByNameOrPkData_identity_ownerKeyChange._(); + + factory GIdentitiesByNameOrPkData_identity_ownerKeyChange( + [void Function(GIdentitiesByNameOrPkData_identity_ownerKeyChangeBuilder b) + updates]) = _$GIdentitiesByNameOrPkData_identity_ownerKeyChange; + + static void _initializeBuilder( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeBuilder b) => + b..G__typename = 'ChangeOwnerKey'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get blockNumber; + @override + String? get identityId; + @override + String? get nextId; + @override + String? get previousId; + static Serializer<GIdentitiesByNameOrPkData_identity_ownerKeyChange> + get serializer => + _$gIdentitiesByNameOrPkDataIdentityOwnerKeyChangeSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameOrPkData_identity_ownerKeyChange.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameOrPkData_identity_ownerKeyChange? fromJson( Map<String, dynamic> json) => _i1.serializers.deserializeWith( - GGetHistoryAndBalanceData_account_transfersReceived.serializer, + GIdentitiesByNameOrPkData_identity_ownerKeyChange.serializer, json, ); } -abstract class GGetHistoryAndBalanceData_account_transfersReceived_from +abstract class GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate implements - Built<GGetHistoryAndBalanceData_account_transfersReceived_from, - GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder> { - GGetHistoryAndBalanceData_account_transfersReceived_from._(); + Built<GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate, + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateBuilder>, + GIdentityFields_ownerKeyChangeAggregate { + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate._(); - factory GGetHistoryAndBalanceData_account_transfersReceived_from( + factory GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate( [void Function( - GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder b) - updates]) = _$GGetHistoryAndBalanceData_account_transfersReceived_from; + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateBuilder + b) + updates]) = _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate; static void _initializeBuilder( - GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder b) => - b..G__typename = 'Account'; + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateBuilder + b) => + b..G__typename = 'ChangeOwnerKeyAggregate'; + @override @BuiltValueField(wireName: '__typename') String get G__typename; - String get id; - static Serializer<GGetHistoryAndBalanceData_account_transfersReceived_from> + @override + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate? + get aggregate; + static Serializer<GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate> get serializer => - _$gGetHistoryAndBalanceDataAccountTransfersReceivedFromSerializer; + _$gIdentitiesByNameOrPkDataIdentityOwnerKeyChangeAggregateSerializer; + @override Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GGetHistoryAndBalanceData_account_transfersReceived_from.serializer, + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate.serializer, this, ) as Map<String, dynamic>); - static GGetHistoryAndBalanceData_account_transfersReceived_from? fromJson( + static GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate? fromJson( Map<String, dynamic> json) => _i1.serializers.deserializeWith( - GGetHistoryAndBalanceData_account_transfersReceived_from.serializer, + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate.serializer, json, ); } -abstract class GGetHistoryAndBalanceData_account_transfersReceived_to +abstract class GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate implements - Built<GGetHistoryAndBalanceData_account_transfersReceived_to, - GGetHistoryAndBalanceData_account_transfersReceived_toBuilder> { - GGetHistoryAndBalanceData_account_transfersReceived_to._(); + Built< + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateBuilder>, + GIdentityFields_ownerKeyChangeAggregate_aggregate { + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate._(); - factory GGetHistoryAndBalanceData_account_transfersReceived_to( + factory GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate( + [void Function( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateBuilder + b) + updates]) = + _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate; + + static void _initializeBuilder( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateBuilder + b) => + b..G__typename = 'ChangeOwnerKeyAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate> + get serializer => + _$gIdentitiesByNameOrPkDataIdentityOwnerKeyChangeAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GIdentitiesByNameOrPkData_identity_smith + implements + Built<GIdentitiesByNameOrPkData_identity_smith, + GIdentitiesByNameOrPkData_identity_smithBuilder>, + GIdentityFields_smith, + GSmithFields { + GIdentitiesByNameOrPkData_identity_smith._(); + + factory GIdentitiesByNameOrPkData_identity_smith( + [void Function(GIdentitiesByNameOrPkData_identity_smithBuilder b) + updates]) = _$GIdentitiesByNameOrPkData_identity_smith; + + static void _initializeBuilder( + GIdentitiesByNameOrPkData_identity_smithBuilder b) => + b..G__typename = 'Smith'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get forged; + @override + int get index; + @override + int? get lastChanged; + @override + int? get lastForged; + @override + BuiltList<GIdentitiesByNameOrPkData_identity_smith_smithCertIssued> + get smithCertIssued; + @override + BuiltList<GIdentitiesByNameOrPkData_identity_smith_smithCertReceived> + get smithCertReceived; + static Serializer<GIdentitiesByNameOrPkData_identity_smith> get serializer => + _$gIdentitiesByNameOrPkDataIdentitySmithSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameOrPkData_identity_smith.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameOrPkData_identity_smith? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameOrPkData_identity_smith.serializer, + json, + ); +} + +abstract class GIdentitiesByNameOrPkData_identity_smith_smithCertIssued + implements + Built<GIdentitiesByNameOrPkData_identity_smith_smithCertIssued, + GIdentitiesByNameOrPkData_identity_smith_smithCertIssuedBuilder>, + GIdentityFields_smith_smithCertIssued, + GSmithFields_smithCertIssued, + GSmithCertFields { + GIdentitiesByNameOrPkData_identity_smith_smithCertIssued._(); + + factory GIdentitiesByNameOrPkData_identity_smith_smithCertIssued( [void Function( - GGetHistoryAndBalanceData_account_transfersReceived_toBuilder b) - updates]) = _$GGetHistoryAndBalanceData_account_transfersReceived_to; + GIdentitiesByNameOrPkData_identity_smith_smithCertIssuedBuilder b) + updates]) = _$GIdentitiesByNameOrPkData_identity_smith_smithCertIssued; static void _initializeBuilder( - GGetHistoryAndBalanceData_account_transfersReceived_toBuilder b) => - b..G__typename = 'Account'; + GIdentitiesByNameOrPkData_identity_smith_smithCertIssuedBuilder b) => + b..G__typename = 'SmithCert'; + @override @BuiltValueField(wireName: '__typename') String get G__typename; + @override String get id; - static Serializer<GGetHistoryAndBalanceData_account_transfersReceived_to> + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + static Serializer<GIdentitiesByNameOrPkData_identity_smith_smithCertIssued> get serializer => - _$gGetHistoryAndBalanceDataAccountTransfersReceivedToSerializer; + _$gIdentitiesByNameOrPkDataIdentitySmithSmithCertIssuedSerializer; + @override Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GGetHistoryAndBalanceData_account_transfersReceived_to.serializer, + GIdentitiesByNameOrPkData_identity_smith_smithCertIssued.serializer, this, ) as Map<String, dynamic>); - static GGetHistoryAndBalanceData_account_transfersReceived_to? fromJson( + static GIdentitiesByNameOrPkData_identity_smith_smithCertIssued? fromJson( Map<String, dynamic> json) => _i1.serializers.deserializeWith( - GGetHistoryAndBalanceData_account_transfersReceived_to.serializer, + GIdentitiesByNameOrPkData_identity_smith_smithCertIssued.serializer, json, ); } -abstract class GGetHistoryAndBalanceData_account_transfersReceived_comment +abstract class GIdentitiesByNameOrPkData_identity_smith_smithCertReceived implements - Built<GGetHistoryAndBalanceData_account_transfersReceived_comment, - GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder> { - GGetHistoryAndBalanceData_account_transfersReceived_comment._(); + Built<GIdentitiesByNameOrPkData_identity_smith_smithCertReceived, + GIdentitiesByNameOrPkData_identity_smith_smithCertReceivedBuilder>, + GIdentityFields_smith_smithCertReceived, + GSmithFields_smithCertReceived, + GSmithCertFields { + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived._(); - factory GGetHistoryAndBalanceData_account_transfersReceived_comment( + factory GIdentitiesByNameOrPkData_identity_smith_smithCertReceived( [void Function( - GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder + GIdentitiesByNameOrPkData_identity_smith_smithCertReceivedBuilder b) - updates]) = _$GGetHistoryAndBalanceData_account_transfersReceived_comment; + updates]) = _$GIdentitiesByNameOrPkData_identity_smith_smithCertReceived; static void _initializeBuilder( - GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder + GIdentitiesByNameOrPkData_identity_smith_smithCertReceivedBuilder b) => - b..G__typename = 'TxComment'; + b..G__typename = 'SmithCert'; + @override @BuiltValueField(wireName: '__typename') String get G__typename; - String get remark; - static Serializer<GGetHistoryAndBalanceData_account_transfersReceived_comment> + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + static Serializer<GIdentitiesByNameOrPkData_identity_smith_smithCertReceived> get serializer => - _$gGetHistoryAndBalanceDataAccountTransfersReceivedCommentSerializer; + _$gIdentitiesByNameOrPkDataIdentitySmithSmithCertReceivedSerializer; + @override Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GGetHistoryAndBalanceData_account_transfersReceived_comment.serializer, + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived.serializer, this, ) as Map<String, dynamic>); - static GGetHistoryAndBalanceData_account_transfersReceived_comment? fromJson( + static GIdentitiesByNameOrPkData_identity_smith_smithCertReceived? fromJson( Map<String, dynamic> json) => _i1.serializers.deserializeWith( - GGetHistoryAndBalanceData_account_transfersReceived_comment.serializer, + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived.serializer, + json, + ); +} + +abstract class GIdentitiesByNameOrPkData_identity_udHistory + implements + Built<GIdentitiesByNameOrPkData_identity_udHistory, + GIdentitiesByNameOrPkData_identity_udHistoryBuilder>, + GIdentityFields_udHistory { + GIdentitiesByNameOrPkData_identity_udHistory._(); + + factory GIdentitiesByNameOrPkData_identity_udHistory( + [void Function(GIdentitiesByNameOrPkData_identity_udHistoryBuilder b) + updates]) = _$GIdentitiesByNameOrPkData_identity_udHistory; + + static void _initializeBuilder( + GIdentitiesByNameOrPkData_identity_udHistoryBuilder b) => + b..G__typename = 'UdHistory'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get amount; + @override + _i2.Gtimestamptz get timestamp; + static Serializer<GIdentitiesByNameOrPkData_identity_udHistory> + get serializer => _$gIdentitiesByNameOrPkDataIdentityUdHistorySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameOrPkData_identity_udHistory.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameOrPkData_identity_udHistory? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameOrPkData_identity_udHistory.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData + implements Built<GIdentitiesByPkData, GIdentitiesByPkDataBuilder> { + GIdentitiesByPkData._(); + + factory GIdentitiesByPkData( + [void Function(GIdentitiesByPkDataBuilder b) updates]) = + _$GIdentitiesByPkData; + + static void _initializeBuilder(GIdentitiesByPkDataBuilder b) => + b..G__typename = 'query_root'; + + @BuiltValueField(wireName: '__typename') + String get G__typename; + BuiltList<GIdentitiesByPkData_identity> get identity; + static Serializer<GIdentitiesByPkData> get serializer => + _$gIdentitiesByPkDataSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity + implements + Built<GIdentitiesByPkData_identity, + GIdentitiesByPkData_identityBuilder>, + GIdentityFields { + GIdentitiesByPkData_identity._(); + + factory GIdentitiesByPkData_identity( + [void Function(GIdentitiesByPkData_identityBuilder b) updates]) = + _$GIdentitiesByPkData_identity; + + static void _initializeBuilder(GIdentitiesByPkData_identityBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String? get accountRemovedId; + @override + BuiltList<GIdentitiesByPkData_identity_certIssued> get certIssued; + @override + GIdentitiesByPkData_identity_certIssuedAggregate get certIssuedAggregate; + @override + BuiltList<GIdentitiesByPkData_identity_certReceived> get certReceived; + @override + GIdentitiesByPkData_identity_certReceivedAggregate get certReceivedAggregate; + @override + String? get createdInId; + @override + int get createdOn; + @override + int get expireOn; + @override + String get id; + @override + int get index; + @override + bool get isMember; + @override + int get lastChangeOn; + @override + BuiltList<GIdentitiesByPkData_identity_linkedAccount> get linkedAccount; + @override + GIdentitiesByPkData_identity_linkedAccountAggregate + get linkedAccountAggregate; + @override + _i2.GIdentityStatusEnum? get status; + @override + BuiltList<GIdentitiesByPkData_identity_membershipHistory> + get membershipHistory; + @override + GIdentitiesByPkData_identity_membershipHistoryAggregate + get membershipHistoryAggregate; + @override + String get name; + @override + BuiltList<GIdentitiesByPkData_identity_ownerKeyChange> get ownerKeyChange; + @override + GIdentitiesByPkData_identity_ownerKeyChangeAggregate + get ownerKeyChangeAggregate; + @override + GIdentitiesByPkData_identity_smith? get smith; + @override + BuiltList<GIdentitiesByPkData_identity_udHistory>? get udHistory; + static Serializer<GIdentitiesByPkData_identity> get serializer => + _$gIdentitiesByPkDataIdentitySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_certIssued + implements + Built<GIdentitiesByPkData_identity_certIssued, + GIdentitiesByPkData_identity_certIssuedBuilder>, + GIdentityFields_certIssued, + GCertFields { + GIdentitiesByPkData_identity_certIssued._(); + + factory GIdentitiesByPkData_identity_certIssued( + [void Function(GIdentitiesByPkData_identity_certIssuedBuilder b) + updates]) = _$GIdentitiesByPkData_identity_certIssued; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_certIssuedBuilder b) => + b..G__typename = 'Cert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GIdentitiesByPkData_identity_certIssued_issuer? get issuer; + @override + String? get receiverId; + @override + GIdentitiesByPkData_identity_certIssued_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override + bool get isActive; + @override + int get updatedOn; + static Serializer<GIdentitiesByPkData_identity_certIssued> get serializer => + _$gIdentitiesByPkDataIdentityCertIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_certIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_certIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_certIssued.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_certIssued_issuer + implements + Built<GIdentitiesByPkData_identity_certIssued_issuer, + GIdentitiesByPkData_identity_certIssued_issuerBuilder>, + GIdentityFields_certIssued_issuer, + GCertFields_issuer, + GIdentityBasicFields { + GIdentitiesByPkData_identity_certIssued_issuer._(); + + factory GIdentitiesByPkData_identity_certIssued_issuer( + [void Function(GIdentitiesByPkData_identity_certIssued_issuerBuilder b) + updates]) = _$GIdentitiesByPkData_identity_certIssued_issuer; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_certIssued_issuerBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GIdentitiesByPkData_identity_certIssued_issuer> + get serializer => _$gIdentitiesByPkDataIdentityCertIssuedIssuerSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_certIssued_issuer.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_certIssued_issuer? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_certIssued_issuer.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_certIssued_receiver + implements + Built<GIdentitiesByPkData_identity_certIssued_receiver, + GIdentitiesByPkData_identity_certIssued_receiverBuilder>, + GIdentityFields_certIssued_receiver, + GCertFields_receiver, + GIdentityBasicFields { + GIdentitiesByPkData_identity_certIssued_receiver._(); + + factory GIdentitiesByPkData_identity_certIssued_receiver( + [void Function(GIdentitiesByPkData_identity_certIssued_receiverBuilder b) + updates]) = _$GIdentitiesByPkData_identity_certIssued_receiver; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_certIssued_receiverBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GIdentitiesByPkData_identity_certIssued_receiver> + get serializer => + _$gIdentitiesByPkDataIdentityCertIssuedReceiverSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_certIssued_receiver.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_certIssued_receiver? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_certIssued_receiver.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_certIssuedAggregate + implements + Built<GIdentitiesByPkData_identity_certIssuedAggregate, + GIdentitiesByPkData_identity_certIssuedAggregateBuilder>, + GIdentityFields_certIssuedAggregate { + GIdentitiesByPkData_identity_certIssuedAggregate._(); + + factory GIdentitiesByPkData_identity_certIssuedAggregate( + [void Function(GIdentitiesByPkData_identity_certIssuedAggregateBuilder b) + updates]) = _$GIdentitiesByPkData_identity_certIssuedAggregate; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_certIssuedAggregateBuilder b) => + b..G__typename = 'CertAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GIdentitiesByPkData_identity_certIssuedAggregate_aggregate? get aggregate; + static Serializer<GIdentitiesByPkData_identity_certIssuedAggregate> + get serializer => + _$gIdentitiesByPkDataIdentityCertIssuedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_certIssuedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_certIssuedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_certIssuedAggregate.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_certIssuedAggregate_aggregate + implements + Built<GIdentitiesByPkData_identity_certIssuedAggregate_aggregate, + GIdentitiesByPkData_identity_certIssuedAggregate_aggregateBuilder>, + GIdentityFields_certIssuedAggregate_aggregate { + GIdentitiesByPkData_identity_certIssuedAggregate_aggregate._(); + + factory GIdentitiesByPkData_identity_certIssuedAggregate_aggregate( + [void Function( + GIdentitiesByPkData_identity_certIssuedAggregate_aggregateBuilder + b) + updates]) = _$GIdentitiesByPkData_identity_certIssuedAggregate_aggregate; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_certIssuedAggregate_aggregateBuilder + b) => + b..G__typename = 'CertAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer<GIdentitiesByPkData_identity_certIssuedAggregate_aggregate> + get serializer => + _$gIdentitiesByPkDataIdentityCertIssuedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_certIssuedAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_certIssuedAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_certIssuedAggregate_aggregate.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_certReceived + implements + Built<GIdentitiesByPkData_identity_certReceived, + GIdentitiesByPkData_identity_certReceivedBuilder>, + GIdentityFields_certReceived, + GCertFields { + GIdentitiesByPkData_identity_certReceived._(); + + factory GIdentitiesByPkData_identity_certReceived( + [void Function(GIdentitiesByPkData_identity_certReceivedBuilder b) + updates]) = _$GIdentitiesByPkData_identity_certReceived; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_certReceivedBuilder b) => + b..G__typename = 'Cert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GIdentitiesByPkData_identity_certReceived_issuer? get issuer; + @override + String? get receiverId; + @override + GIdentitiesByPkData_identity_certReceived_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override + bool get isActive; + @override + int get updatedOn; + static Serializer<GIdentitiesByPkData_identity_certReceived> get serializer => + _$gIdentitiesByPkDataIdentityCertReceivedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_certReceived.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_certReceived? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_certReceived.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_certReceived_issuer + implements + Built<GIdentitiesByPkData_identity_certReceived_issuer, + GIdentitiesByPkData_identity_certReceived_issuerBuilder>, + GIdentityFields_certReceived_issuer, + GCertFields_issuer, + GIdentityBasicFields { + GIdentitiesByPkData_identity_certReceived_issuer._(); + + factory GIdentitiesByPkData_identity_certReceived_issuer( + [void Function(GIdentitiesByPkData_identity_certReceived_issuerBuilder b) + updates]) = _$GIdentitiesByPkData_identity_certReceived_issuer; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_certReceived_issuerBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GIdentitiesByPkData_identity_certReceived_issuer> + get serializer => + _$gIdentitiesByPkDataIdentityCertReceivedIssuerSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_certReceived_issuer.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_certReceived_issuer? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_certReceived_issuer.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_certReceived_receiver + implements + Built<GIdentitiesByPkData_identity_certReceived_receiver, + GIdentitiesByPkData_identity_certReceived_receiverBuilder>, + GIdentityFields_certReceived_receiver, + GCertFields_receiver, + GIdentityBasicFields { + GIdentitiesByPkData_identity_certReceived_receiver._(); + + factory GIdentitiesByPkData_identity_certReceived_receiver( + [void Function( + GIdentitiesByPkData_identity_certReceived_receiverBuilder b) + updates]) = _$GIdentitiesByPkData_identity_certReceived_receiver; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_certReceived_receiverBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GIdentitiesByPkData_identity_certReceived_receiver> + get serializer => + _$gIdentitiesByPkDataIdentityCertReceivedReceiverSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_certReceived_receiver.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_certReceived_receiver? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_certReceived_receiver.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_certReceivedAggregate + implements + Built<GIdentitiesByPkData_identity_certReceivedAggregate, + GIdentitiesByPkData_identity_certReceivedAggregateBuilder>, + GIdentityFields_certReceivedAggregate { + GIdentitiesByPkData_identity_certReceivedAggregate._(); + + factory GIdentitiesByPkData_identity_certReceivedAggregate( + [void Function( + GIdentitiesByPkData_identity_certReceivedAggregateBuilder b) + updates]) = _$GIdentitiesByPkData_identity_certReceivedAggregate; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_certReceivedAggregateBuilder b) => + b..G__typename = 'CertAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GIdentitiesByPkData_identity_certReceivedAggregate_aggregate? get aggregate; + static Serializer<GIdentitiesByPkData_identity_certReceivedAggregate> + get serializer => + _$gIdentitiesByPkDataIdentityCertReceivedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_certReceivedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_certReceivedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_certReceivedAggregate.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_certReceivedAggregate_aggregate + implements + Built<GIdentitiesByPkData_identity_certReceivedAggregate_aggregate, + GIdentitiesByPkData_identity_certReceivedAggregate_aggregateBuilder>, + GIdentityFields_certReceivedAggregate_aggregate { + GIdentitiesByPkData_identity_certReceivedAggregate_aggregate._(); + + factory GIdentitiesByPkData_identity_certReceivedAggregate_aggregate( + [void Function( + GIdentitiesByPkData_identity_certReceivedAggregate_aggregateBuilder + b) + updates]) = + _$GIdentitiesByPkData_identity_certReceivedAggregate_aggregate; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_certReceivedAggregate_aggregateBuilder + b) => + b..G__typename = 'CertAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GIdentitiesByPkData_identity_certReceivedAggregate_aggregate> + get serializer => + _$gIdentitiesByPkDataIdentityCertReceivedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_certReceivedAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_certReceivedAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_certReceivedAggregate_aggregate.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_linkedAccount + implements + Built<GIdentitiesByPkData_identity_linkedAccount, + GIdentitiesByPkData_identity_linkedAccountBuilder>, + GIdentityFields_linkedAccount { + GIdentitiesByPkData_identity_linkedAccount._(); + + factory GIdentitiesByPkData_identity_linkedAccount( + [void Function(GIdentitiesByPkData_identity_linkedAccountBuilder b) + updates]) = _$GIdentitiesByPkData_identity_linkedAccount; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_linkedAccountBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GIdentitiesByPkData_identity_linkedAccount> + get serializer => _$gIdentitiesByPkDataIdentityLinkedAccountSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_linkedAccount.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_linkedAccount? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_linkedAccount.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_linkedAccountAggregate + implements + Built<GIdentitiesByPkData_identity_linkedAccountAggregate, + GIdentitiesByPkData_identity_linkedAccountAggregateBuilder>, + GIdentityFields_linkedAccountAggregate { + GIdentitiesByPkData_identity_linkedAccountAggregate._(); + + factory GIdentitiesByPkData_identity_linkedAccountAggregate( + [void Function( + GIdentitiesByPkData_identity_linkedAccountAggregateBuilder b) + updates]) = _$GIdentitiesByPkData_identity_linkedAccountAggregate; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_linkedAccountAggregateBuilder b) => + b..G__typename = 'AccountAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate? get aggregate; + static Serializer<GIdentitiesByPkData_identity_linkedAccountAggregate> + get serializer => + _$gIdentitiesByPkDataIdentityLinkedAccountAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_linkedAccountAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_linkedAccountAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_linkedAccountAggregate.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate + implements + Built<GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate, + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateBuilder>, + GIdentityFields_linkedAccountAggregate_aggregate { + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate._(); + + factory GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate( + [void Function( + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateBuilder + b) + updates]) = + _$GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateBuilder + b) => + b..G__typename = 'AccountAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate> + get serializer => + _$gIdentitiesByPkDataIdentityLinkedAccountAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_membershipHistory + implements + Built<GIdentitiesByPkData_identity_membershipHistory, + GIdentitiesByPkData_identity_membershipHistoryBuilder>, + GIdentityFields_membershipHistory { + GIdentitiesByPkData_identity_membershipHistory._(); + + factory GIdentitiesByPkData_identity_membershipHistory( + [void Function(GIdentitiesByPkData_identity_membershipHistoryBuilder b) + updates]) = _$GIdentitiesByPkData_identity_membershipHistory; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_membershipHistoryBuilder b) => + b..G__typename = 'MembershipEvent'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get blockNumber; + @override + String? get eventId; + @override + _i2.GEventTypeEnum? get eventType; + @override + String get id; + @override + String? get identityId; + static Serializer<GIdentitiesByPkData_identity_membershipHistory> + get serializer => + _$gIdentitiesByPkDataIdentityMembershipHistorySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_membershipHistory.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_membershipHistory? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_membershipHistory.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_membershipHistoryAggregate + implements + Built<GIdentitiesByPkData_identity_membershipHistoryAggregate, + GIdentitiesByPkData_identity_membershipHistoryAggregateBuilder>, + GIdentityFields_membershipHistoryAggregate { + GIdentitiesByPkData_identity_membershipHistoryAggregate._(); + + factory GIdentitiesByPkData_identity_membershipHistoryAggregate( + [void Function( + GIdentitiesByPkData_identity_membershipHistoryAggregateBuilder b) + updates]) = _$GIdentitiesByPkData_identity_membershipHistoryAggregate; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_membershipHistoryAggregateBuilder b) => + b..G__typename = 'MembershipEventAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate? + get aggregate; + static Serializer<GIdentitiesByPkData_identity_membershipHistoryAggregate> + get serializer => + _$gIdentitiesByPkDataIdentityMembershipHistoryAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_membershipHistoryAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_membershipHistoryAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_membershipHistoryAggregate.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate + implements + Built<GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate, + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateBuilder>, + GIdentityFields_membershipHistoryAggregate_aggregate { + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate._(); + + factory GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate( + [void Function( + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateBuilder + b) + updates]) = + _$GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateBuilder + b) => + b..G__typename = 'MembershipEventAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate> + get serializer => + _$gIdentitiesByPkDataIdentityMembershipHistoryAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_ownerKeyChange + implements + Built<GIdentitiesByPkData_identity_ownerKeyChange, + GIdentitiesByPkData_identity_ownerKeyChangeBuilder>, + GIdentityFields_ownerKeyChange, + GOwnerKeyChangeFields { + GIdentitiesByPkData_identity_ownerKeyChange._(); + + factory GIdentitiesByPkData_identity_ownerKeyChange( + [void Function(GIdentitiesByPkData_identity_ownerKeyChangeBuilder b) + updates]) = _$GIdentitiesByPkData_identity_ownerKeyChange; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_ownerKeyChangeBuilder b) => + b..G__typename = 'ChangeOwnerKey'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get blockNumber; + @override + String? get identityId; + @override + String? get nextId; + @override + String? get previousId; + static Serializer<GIdentitiesByPkData_identity_ownerKeyChange> + get serializer => _$gIdentitiesByPkDataIdentityOwnerKeyChangeSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_ownerKeyChange.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_ownerKeyChange? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_ownerKeyChange.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_ownerKeyChangeAggregate + implements + Built<GIdentitiesByPkData_identity_ownerKeyChangeAggregate, + GIdentitiesByPkData_identity_ownerKeyChangeAggregateBuilder>, + GIdentityFields_ownerKeyChangeAggregate { + GIdentitiesByPkData_identity_ownerKeyChangeAggregate._(); + + factory GIdentitiesByPkData_identity_ownerKeyChangeAggregate( + [void Function( + GIdentitiesByPkData_identity_ownerKeyChangeAggregateBuilder b) + updates]) = _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_ownerKeyChangeAggregateBuilder b) => + b..G__typename = 'ChangeOwnerKeyAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate? get aggregate; + static Serializer<GIdentitiesByPkData_identity_ownerKeyChangeAggregate> + get serializer => + _$gIdentitiesByPkDataIdentityOwnerKeyChangeAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_ownerKeyChangeAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_ownerKeyChangeAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_ownerKeyChangeAggregate.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate + implements + Built<GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate, + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateBuilder>, + GIdentityFields_ownerKeyChangeAggregate_aggregate { + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate._(); + + factory GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate( + [void Function( + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateBuilder + b) + updates]) = + _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateBuilder + b) => + b..G__typename = 'ChangeOwnerKeyAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate> + get serializer => + _$gIdentitiesByPkDataIdentityOwnerKeyChangeAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_smith + implements + Built<GIdentitiesByPkData_identity_smith, + GIdentitiesByPkData_identity_smithBuilder>, + GIdentityFields_smith, + GSmithFields { + GIdentitiesByPkData_identity_smith._(); + + factory GIdentitiesByPkData_identity_smith( + [void Function(GIdentitiesByPkData_identity_smithBuilder b) + updates]) = _$GIdentitiesByPkData_identity_smith; + + static void _initializeBuilder(GIdentitiesByPkData_identity_smithBuilder b) => + b..G__typename = 'Smith'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get forged; + @override + int get index; + @override + int? get lastChanged; + @override + int? get lastForged; + @override + BuiltList<GIdentitiesByPkData_identity_smith_smithCertIssued> + get smithCertIssued; + @override + BuiltList<GIdentitiesByPkData_identity_smith_smithCertReceived> + get smithCertReceived; + static Serializer<GIdentitiesByPkData_identity_smith> get serializer => + _$gIdentitiesByPkDataIdentitySmithSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_smith.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_smith? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_smith.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_smith_smithCertIssued + implements + Built<GIdentitiesByPkData_identity_smith_smithCertIssued, + GIdentitiesByPkData_identity_smith_smithCertIssuedBuilder>, + GIdentityFields_smith_smithCertIssued, + GSmithFields_smithCertIssued, + GSmithCertFields { + GIdentitiesByPkData_identity_smith_smithCertIssued._(); + + factory GIdentitiesByPkData_identity_smith_smithCertIssued( + [void Function( + GIdentitiesByPkData_identity_smith_smithCertIssuedBuilder b) + updates]) = _$GIdentitiesByPkData_identity_smith_smithCertIssued; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_smith_smithCertIssuedBuilder b) => + b..G__typename = 'SmithCert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + static Serializer<GIdentitiesByPkData_identity_smith_smithCertIssued> + get serializer => + _$gIdentitiesByPkDataIdentitySmithSmithCertIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_smith_smithCertIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_smith_smithCertIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_smith_smithCertIssued.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_smith_smithCertReceived + implements + Built<GIdentitiesByPkData_identity_smith_smithCertReceived, + GIdentitiesByPkData_identity_smith_smithCertReceivedBuilder>, + GIdentityFields_smith_smithCertReceived, + GSmithFields_smithCertReceived, + GSmithCertFields { + GIdentitiesByPkData_identity_smith_smithCertReceived._(); + + factory GIdentitiesByPkData_identity_smith_smithCertReceived( + [void Function( + GIdentitiesByPkData_identity_smith_smithCertReceivedBuilder b) + updates]) = _$GIdentitiesByPkData_identity_smith_smithCertReceived; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_smith_smithCertReceivedBuilder b) => + b..G__typename = 'SmithCert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + static Serializer<GIdentitiesByPkData_identity_smith_smithCertReceived> + get serializer => + _$gIdentitiesByPkDataIdentitySmithSmithCertReceivedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_smith_smithCertReceived.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_smith_smithCertReceived? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_smith_smithCertReceived.serializer, + json, + ); +} + +abstract class GIdentitiesByPkData_identity_udHistory + implements + Built<GIdentitiesByPkData_identity_udHistory, + GIdentitiesByPkData_identity_udHistoryBuilder>, + GIdentityFields_udHistory { + GIdentitiesByPkData_identity_udHistory._(); + + factory GIdentitiesByPkData_identity_udHistory( + [void Function(GIdentitiesByPkData_identity_udHistoryBuilder b) + updates]) = _$GIdentitiesByPkData_identity_udHistory; + + static void _initializeBuilder( + GIdentitiesByPkData_identity_udHistoryBuilder b) => + b..G__typename = 'UdHistory'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get amount; + @override + _i2.Gtimestamptz get timestamp; + static Serializer<GIdentitiesByPkData_identity_udHistory> get serializer => + _$gIdentitiesByPkDataIdentityUdHistorySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkData_identity_udHistory.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkData_identity_udHistory? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkData_identity_udHistory.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData + implements Built<GIdentitiesByNameData, GIdentitiesByNameDataBuilder> { + GIdentitiesByNameData._(); + + factory GIdentitiesByNameData( + [void Function(GIdentitiesByNameDataBuilder b) updates]) = + _$GIdentitiesByNameData; + + static void _initializeBuilder(GIdentitiesByNameDataBuilder b) => + b..G__typename = 'query_root'; + + @BuiltValueField(wireName: '__typename') + String get G__typename; + BuiltList<GIdentitiesByNameData_identity> get identity; + static Serializer<GIdentitiesByNameData> get serializer => + _$gIdentitiesByNameDataSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity + implements + Built<GIdentitiesByNameData_identity, + GIdentitiesByNameData_identityBuilder>, + GIdentityFields { + GIdentitiesByNameData_identity._(); + + factory GIdentitiesByNameData_identity( + [void Function(GIdentitiesByNameData_identityBuilder b) updates]) = + _$GIdentitiesByNameData_identity; + + static void _initializeBuilder(GIdentitiesByNameData_identityBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String? get accountRemovedId; + @override + BuiltList<GIdentitiesByNameData_identity_certIssued> get certIssued; + @override + GIdentitiesByNameData_identity_certIssuedAggregate get certIssuedAggregate; + @override + BuiltList<GIdentitiesByNameData_identity_certReceived> get certReceived; + @override + GIdentitiesByNameData_identity_certReceivedAggregate + get certReceivedAggregate; + @override + String? get createdInId; + @override + int get createdOn; + @override + int get expireOn; + @override + String get id; + @override + int get index; + @override + bool get isMember; + @override + int get lastChangeOn; + @override + BuiltList<GIdentitiesByNameData_identity_linkedAccount> get linkedAccount; + @override + GIdentitiesByNameData_identity_linkedAccountAggregate + get linkedAccountAggregate; + @override + _i2.GIdentityStatusEnum? get status; + @override + BuiltList<GIdentitiesByNameData_identity_membershipHistory> + get membershipHistory; + @override + GIdentitiesByNameData_identity_membershipHistoryAggregate + get membershipHistoryAggregate; + @override + String get name; + @override + BuiltList<GIdentitiesByNameData_identity_ownerKeyChange> get ownerKeyChange; + @override + GIdentitiesByNameData_identity_ownerKeyChangeAggregate + get ownerKeyChangeAggregate; + @override + GIdentitiesByNameData_identity_smith? get smith; + @override + BuiltList<GIdentitiesByNameData_identity_udHistory>? get udHistory; + static Serializer<GIdentitiesByNameData_identity> get serializer => + _$gIdentitiesByNameDataIdentitySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_certIssued + implements + Built<GIdentitiesByNameData_identity_certIssued, + GIdentitiesByNameData_identity_certIssuedBuilder>, + GIdentityFields_certIssued, + GCertFields { + GIdentitiesByNameData_identity_certIssued._(); + + factory GIdentitiesByNameData_identity_certIssued( + [void Function(GIdentitiesByNameData_identity_certIssuedBuilder b) + updates]) = _$GIdentitiesByNameData_identity_certIssued; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_certIssuedBuilder b) => + b..G__typename = 'Cert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GIdentitiesByNameData_identity_certIssued_issuer? get issuer; + @override + String? get receiverId; + @override + GIdentitiesByNameData_identity_certIssued_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override + bool get isActive; + @override + int get updatedOn; + static Serializer<GIdentitiesByNameData_identity_certIssued> get serializer => + _$gIdentitiesByNameDataIdentityCertIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_certIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_certIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_certIssued.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_certIssued_issuer + implements + Built<GIdentitiesByNameData_identity_certIssued_issuer, + GIdentitiesByNameData_identity_certIssued_issuerBuilder>, + GIdentityFields_certIssued_issuer, + GCertFields_issuer, + GIdentityBasicFields { + GIdentitiesByNameData_identity_certIssued_issuer._(); + + factory GIdentitiesByNameData_identity_certIssued_issuer( + [void Function(GIdentitiesByNameData_identity_certIssued_issuerBuilder b) + updates]) = _$GIdentitiesByNameData_identity_certIssued_issuer; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_certIssued_issuerBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GIdentitiesByNameData_identity_certIssued_issuer> + get serializer => + _$gIdentitiesByNameDataIdentityCertIssuedIssuerSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_certIssued_issuer.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_certIssued_issuer? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_certIssued_issuer.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_certIssued_receiver + implements + Built<GIdentitiesByNameData_identity_certIssued_receiver, + GIdentitiesByNameData_identity_certIssued_receiverBuilder>, + GIdentityFields_certIssued_receiver, + GCertFields_receiver, + GIdentityBasicFields { + GIdentitiesByNameData_identity_certIssued_receiver._(); + + factory GIdentitiesByNameData_identity_certIssued_receiver( + [void Function( + GIdentitiesByNameData_identity_certIssued_receiverBuilder b) + updates]) = _$GIdentitiesByNameData_identity_certIssued_receiver; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_certIssued_receiverBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GIdentitiesByNameData_identity_certIssued_receiver> + get serializer => + _$gIdentitiesByNameDataIdentityCertIssuedReceiverSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_certIssued_receiver.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_certIssued_receiver? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_certIssued_receiver.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_certIssuedAggregate + implements + Built<GIdentitiesByNameData_identity_certIssuedAggregate, + GIdentitiesByNameData_identity_certIssuedAggregateBuilder>, + GIdentityFields_certIssuedAggregate { + GIdentitiesByNameData_identity_certIssuedAggregate._(); + + factory GIdentitiesByNameData_identity_certIssuedAggregate( + [void Function( + GIdentitiesByNameData_identity_certIssuedAggregateBuilder b) + updates]) = _$GIdentitiesByNameData_identity_certIssuedAggregate; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_certIssuedAggregateBuilder b) => + b..G__typename = 'CertAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GIdentitiesByNameData_identity_certIssuedAggregate_aggregate? get aggregate; + static Serializer<GIdentitiesByNameData_identity_certIssuedAggregate> + get serializer => + _$gIdentitiesByNameDataIdentityCertIssuedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_certIssuedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_certIssuedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_certIssuedAggregate.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_certIssuedAggregate_aggregate + implements + Built<GIdentitiesByNameData_identity_certIssuedAggregate_aggregate, + GIdentitiesByNameData_identity_certIssuedAggregate_aggregateBuilder>, + GIdentityFields_certIssuedAggregate_aggregate { + GIdentitiesByNameData_identity_certIssuedAggregate_aggregate._(); + + factory GIdentitiesByNameData_identity_certIssuedAggregate_aggregate( + [void Function( + GIdentitiesByNameData_identity_certIssuedAggregate_aggregateBuilder + b) + updates]) = + _$GIdentitiesByNameData_identity_certIssuedAggregate_aggregate; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_certIssuedAggregate_aggregateBuilder + b) => + b..G__typename = 'CertAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GIdentitiesByNameData_identity_certIssuedAggregate_aggregate> + get serializer => + _$gIdentitiesByNameDataIdentityCertIssuedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_certIssuedAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_certIssuedAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_certIssuedAggregate_aggregate.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_certReceived + implements + Built<GIdentitiesByNameData_identity_certReceived, + GIdentitiesByNameData_identity_certReceivedBuilder>, + GIdentityFields_certReceived, + GCertFields { + GIdentitiesByNameData_identity_certReceived._(); + + factory GIdentitiesByNameData_identity_certReceived( + [void Function(GIdentitiesByNameData_identity_certReceivedBuilder b) + updates]) = _$GIdentitiesByNameData_identity_certReceived; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_certReceivedBuilder b) => + b..G__typename = 'Cert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GIdentitiesByNameData_identity_certReceived_issuer? get issuer; + @override + String? get receiverId; + @override + GIdentitiesByNameData_identity_certReceived_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override + bool get isActive; + @override + int get updatedOn; + static Serializer<GIdentitiesByNameData_identity_certReceived> + get serializer => _$gIdentitiesByNameDataIdentityCertReceivedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_certReceived.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_certReceived? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_certReceived.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_certReceived_issuer + implements + Built<GIdentitiesByNameData_identity_certReceived_issuer, + GIdentitiesByNameData_identity_certReceived_issuerBuilder>, + GIdentityFields_certReceived_issuer, + GCertFields_issuer, + GIdentityBasicFields { + GIdentitiesByNameData_identity_certReceived_issuer._(); + + factory GIdentitiesByNameData_identity_certReceived_issuer( + [void Function( + GIdentitiesByNameData_identity_certReceived_issuerBuilder b) + updates]) = _$GIdentitiesByNameData_identity_certReceived_issuer; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_certReceived_issuerBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GIdentitiesByNameData_identity_certReceived_issuer> + get serializer => + _$gIdentitiesByNameDataIdentityCertReceivedIssuerSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_certReceived_issuer.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_certReceived_issuer? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_certReceived_issuer.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_certReceived_receiver + implements + Built<GIdentitiesByNameData_identity_certReceived_receiver, + GIdentitiesByNameData_identity_certReceived_receiverBuilder>, + GIdentityFields_certReceived_receiver, + GCertFields_receiver, + GIdentityBasicFields { + GIdentitiesByNameData_identity_certReceived_receiver._(); + + factory GIdentitiesByNameData_identity_certReceived_receiver( + [void Function( + GIdentitiesByNameData_identity_certReceived_receiverBuilder b) + updates]) = _$GIdentitiesByNameData_identity_certReceived_receiver; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_certReceived_receiverBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GIdentitiesByNameData_identity_certReceived_receiver> + get serializer => + _$gIdentitiesByNameDataIdentityCertReceivedReceiverSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_certReceived_receiver.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_certReceived_receiver? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_certReceived_receiver.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_certReceivedAggregate + implements + Built<GIdentitiesByNameData_identity_certReceivedAggregate, + GIdentitiesByNameData_identity_certReceivedAggregateBuilder>, + GIdentityFields_certReceivedAggregate { + GIdentitiesByNameData_identity_certReceivedAggregate._(); + + factory GIdentitiesByNameData_identity_certReceivedAggregate( + [void Function( + GIdentitiesByNameData_identity_certReceivedAggregateBuilder b) + updates]) = _$GIdentitiesByNameData_identity_certReceivedAggregate; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_certReceivedAggregateBuilder b) => + b..G__typename = 'CertAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GIdentitiesByNameData_identity_certReceivedAggregate_aggregate? get aggregate; + static Serializer<GIdentitiesByNameData_identity_certReceivedAggregate> + get serializer => + _$gIdentitiesByNameDataIdentityCertReceivedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_certReceivedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_certReceivedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_certReceivedAggregate.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_certReceivedAggregate_aggregate + implements + Built<GIdentitiesByNameData_identity_certReceivedAggregate_aggregate, + GIdentitiesByNameData_identity_certReceivedAggregate_aggregateBuilder>, + GIdentityFields_certReceivedAggregate_aggregate { + GIdentitiesByNameData_identity_certReceivedAggregate_aggregate._(); + + factory GIdentitiesByNameData_identity_certReceivedAggregate_aggregate( + [void Function( + GIdentitiesByNameData_identity_certReceivedAggregate_aggregateBuilder + b) + updates]) = + _$GIdentitiesByNameData_identity_certReceivedAggregate_aggregate; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_certReceivedAggregate_aggregateBuilder + b) => + b..G__typename = 'CertAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GIdentitiesByNameData_identity_certReceivedAggregate_aggregate> + get serializer => + _$gIdentitiesByNameDataIdentityCertReceivedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_certReceivedAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_certReceivedAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_certReceivedAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_linkedAccount + implements + Built<GIdentitiesByNameData_identity_linkedAccount, + GIdentitiesByNameData_identity_linkedAccountBuilder>, + GIdentityFields_linkedAccount { + GIdentitiesByNameData_identity_linkedAccount._(); + + factory GIdentitiesByNameData_identity_linkedAccount( + [void Function(GIdentitiesByNameData_identity_linkedAccountBuilder b) + updates]) = _$GIdentitiesByNameData_identity_linkedAccount; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_linkedAccountBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GIdentitiesByNameData_identity_linkedAccount> + get serializer => _$gIdentitiesByNameDataIdentityLinkedAccountSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_linkedAccount.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_linkedAccount? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_linkedAccount.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_linkedAccountAggregate + implements + Built<GIdentitiesByNameData_identity_linkedAccountAggregate, + GIdentitiesByNameData_identity_linkedAccountAggregateBuilder>, + GIdentityFields_linkedAccountAggregate { + GIdentitiesByNameData_identity_linkedAccountAggregate._(); + + factory GIdentitiesByNameData_identity_linkedAccountAggregate( + [void Function( + GIdentitiesByNameData_identity_linkedAccountAggregateBuilder b) + updates]) = _$GIdentitiesByNameData_identity_linkedAccountAggregate; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_linkedAccountAggregateBuilder b) => + b..G__typename = 'AccountAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate? + get aggregate; + static Serializer<GIdentitiesByNameData_identity_linkedAccountAggregate> + get serializer => + _$gIdentitiesByNameDataIdentityLinkedAccountAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_linkedAccountAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_linkedAccountAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_linkedAccountAggregate.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate + implements + Built<GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate, + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateBuilder>, + GIdentityFields_linkedAccountAggregate_aggregate { + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate._(); + + factory GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate( + [void Function( + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateBuilder + b) + updates]) = + _$GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateBuilder + b) => + b..G__typename = 'AccountAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate> + get serializer => + _$gIdentitiesByNameDataIdentityLinkedAccountAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_membershipHistory + implements + Built<GIdentitiesByNameData_identity_membershipHistory, + GIdentitiesByNameData_identity_membershipHistoryBuilder>, + GIdentityFields_membershipHistory { + GIdentitiesByNameData_identity_membershipHistory._(); + + factory GIdentitiesByNameData_identity_membershipHistory( + [void Function(GIdentitiesByNameData_identity_membershipHistoryBuilder b) + updates]) = _$GIdentitiesByNameData_identity_membershipHistory; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_membershipHistoryBuilder b) => + b..G__typename = 'MembershipEvent'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get blockNumber; + @override + String? get eventId; + @override + _i2.GEventTypeEnum? get eventType; + @override + String get id; + @override + String? get identityId; + static Serializer<GIdentitiesByNameData_identity_membershipHistory> + get serializer => + _$gIdentitiesByNameDataIdentityMembershipHistorySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_membershipHistory.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_membershipHistory? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_membershipHistory.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_membershipHistoryAggregate + implements + Built<GIdentitiesByNameData_identity_membershipHistoryAggregate, + GIdentitiesByNameData_identity_membershipHistoryAggregateBuilder>, + GIdentityFields_membershipHistoryAggregate { + GIdentitiesByNameData_identity_membershipHistoryAggregate._(); + + factory GIdentitiesByNameData_identity_membershipHistoryAggregate( + [void Function( + GIdentitiesByNameData_identity_membershipHistoryAggregateBuilder + b) + updates]) = _$GIdentitiesByNameData_identity_membershipHistoryAggregate; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_membershipHistoryAggregateBuilder b) => + b..G__typename = 'MembershipEventAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate? + get aggregate; + static Serializer<GIdentitiesByNameData_identity_membershipHistoryAggregate> + get serializer => + _$gIdentitiesByNameDataIdentityMembershipHistoryAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_membershipHistoryAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_membershipHistoryAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_membershipHistoryAggregate.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate + implements + Built< + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate, + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateBuilder>, + GIdentityFields_membershipHistoryAggregate_aggregate { + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate._(); + + factory GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate( + [void Function( + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateBuilder + b) + updates]) = + _$GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateBuilder + b) => + b..G__typename = 'MembershipEventAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate> + get serializer => + _$gIdentitiesByNameDataIdentityMembershipHistoryAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_ownerKeyChange + implements + Built<GIdentitiesByNameData_identity_ownerKeyChange, + GIdentitiesByNameData_identity_ownerKeyChangeBuilder>, + GIdentityFields_ownerKeyChange, + GOwnerKeyChangeFields { + GIdentitiesByNameData_identity_ownerKeyChange._(); + + factory GIdentitiesByNameData_identity_ownerKeyChange( + [void Function(GIdentitiesByNameData_identity_ownerKeyChangeBuilder b) + updates]) = _$GIdentitiesByNameData_identity_ownerKeyChange; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_ownerKeyChangeBuilder b) => + b..G__typename = 'ChangeOwnerKey'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get blockNumber; + @override + String? get identityId; + @override + String? get nextId; + @override + String? get previousId; + static Serializer<GIdentitiesByNameData_identity_ownerKeyChange> + get serializer => _$gIdentitiesByNameDataIdentityOwnerKeyChangeSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_ownerKeyChange.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_ownerKeyChange? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_ownerKeyChange.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_ownerKeyChangeAggregate + implements + Built<GIdentitiesByNameData_identity_ownerKeyChangeAggregate, + GIdentitiesByNameData_identity_ownerKeyChangeAggregateBuilder>, + GIdentityFields_ownerKeyChangeAggregate { + GIdentitiesByNameData_identity_ownerKeyChangeAggregate._(); + + factory GIdentitiesByNameData_identity_ownerKeyChangeAggregate( + [void Function( + GIdentitiesByNameData_identity_ownerKeyChangeAggregateBuilder b) + updates]) = _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_ownerKeyChangeAggregateBuilder b) => + b..G__typename = 'ChangeOwnerKeyAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate? + get aggregate; + static Serializer<GIdentitiesByNameData_identity_ownerKeyChangeAggregate> + get serializer => + _$gIdentitiesByNameDataIdentityOwnerKeyChangeAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_ownerKeyChangeAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_ownerKeyChangeAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_ownerKeyChangeAggregate.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate + implements + Built<GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate, + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateBuilder>, + GIdentityFields_ownerKeyChangeAggregate_aggregate { + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate._(); + + factory GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate( + [void Function( + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateBuilder + b) + updates]) = + _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateBuilder + b) => + b..G__typename = 'ChangeOwnerKeyAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate> + get serializer => + _$gIdentitiesByNameDataIdentityOwnerKeyChangeAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_smith + implements + Built<GIdentitiesByNameData_identity_smith, + GIdentitiesByNameData_identity_smithBuilder>, + GIdentityFields_smith, + GSmithFields { + GIdentitiesByNameData_identity_smith._(); + + factory GIdentitiesByNameData_identity_smith( + [void Function(GIdentitiesByNameData_identity_smithBuilder b) + updates]) = _$GIdentitiesByNameData_identity_smith; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_smithBuilder b) => + b..G__typename = 'Smith'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get forged; + @override + int get index; + @override + int? get lastChanged; + @override + int? get lastForged; + @override + BuiltList<GIdentitiesByNameData_identity_smith_smithCertIssued> + get smithCertIssued; + @override + BuiltList<GIdentitiesByNameData_identity_smith_smithCertReceived> + get smithCertReceived; + static Serializer<GIdentitiesByNameData_identity_smith> get serializer => + _$gIdentitiesByNameDataIdentitySmithSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_smith.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_smith? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_smith.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_smith_smithCertIssued + implements + Built<GIdentitiesByNameData_identity_smith_smithCertIssued, + GIdentitiesByNameData_identity_smith_smithCertIssuedBuilder>, + GIdentityFields_smith_smithCertIssued, + GSmithFields_smithCertIssued, + GSmithCertFields { + GIdentitiesByNameData_identity_smith_smithCertIssued._(); + + factory GIdentitiesByNameData_identity_smith_smithCertIssued( + [void Function( + GIdentitiesByNameData_identity_smith_smithCertIssuedBuilder b) + updates]) = _$GIdentitiesByNameData_identity_smith_smithCertIssued; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_smith_smithCertIssuedBuilder b) => + b..G__typename = 'SmithCert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + static Serializer<GIdentitiesByNameData_identity_smith_smithCertIssued> + get serializer => + _$gIdentitiesByNameDataIdentitySmithSmithCertIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_smith_smithCertIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_smith_smithCertIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_smith_smithCertIssued.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_smith_smithCertReceived + implements + Built<GIdentitiesByNameData_identity_smith_smithCertReceived, + GIdentitiesByNameData_identity_smith_smithCertReceivedBuilder>, + GIdentityFields_smith_smithCertReceived, + GSmithFields_smithCertReceived, + GSmithCertFields { + GIdentitiesByNameData_identity_smith_smithCertReceived._(); + + factory GIdentitiesByNameData_identity_smith_smithCertReceived( + [void Function( + GIdentitiesByNameData_identity_smith_smithCertReceivedBuilder b) + updates]) = _$GIdentitiesByNameData_identity_smith_smithCertReceived; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_smith_smithCertReceivedBuilder b) => + b..G__typename = 'SmithCert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + static Serializer<GIdentitiesByNameData_identity_smith_smithCertReceived> + get serializer => + _$gIdentitiesByNameDataIdentitySmithSmithCertReceivedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_smith_smithCertReceived.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_smith_smithCertReceived? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_smith_smithCertReceived.serializer, + json, + ); +} + +abstract class GIdentitiesByNameData_identity_udHistory + implements + Built<GIdentitiesByNameData_identity_udHistory, + GIdentitiesByNameData_identity_udHistoryBuilder>, + GIdentityFields_udHistory { + GIdentitiesByNameData_identity_udHistory._(); + + factory GIdentitiesByNameData_identity_udHistory( + [void Function(GIdentitiesByNameData_identity_udHistoryBuilder b) + updates]) = _$GIdentitiesByNameData_identity_udHistory; + + static void _initializeBuilder( + GIdentitiesByNameData_identity_udHistoryBuilder b) => + b..G__typename = 'UdHistory'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get amount; + @override + _i2.Gtimestamptz get timestamp; + static Serializer<GIdentitiesByNameData_identity_udHistory> get serializer => + _$gIdentitiesByNameDataIdentityUdHistorySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByNameData_identity_udHistory.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameData_identity_udHistory? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByNameData_identity_udHistory.serializer, + json, + ); +} + +abstract class GAccountByPkData + implements Built<GAccountByPkData, GAccountByPkDataBuilder> { + GAccountByPkData._(); + + factory GAccountByPkData([void Function(GAccountByPkDataBuilder b) updates]) = + _$GAccountByPkData; + + static void _initializeBuilder(GAccountByPkDataBuilder b) => + b..G__typename = 'query_root'; + + @BuiltValueField(wireName: '__typename') + String get G__typename; + GAccountByPkData_accountByPk? get accountByPk; + static Serializer<GAccountByPkData> get serializer => + _$gAccountByPkDataSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk + implements + Built<GAccountByPkData_accountByPk, + GAccountByPkData_accountByPkBuilder>, + GAccountFields { + GAccountByPkData_accountByPk._(); + + factory GAccountByPkData_accountByPk( + [void Function(GAccountByPkData_accountByPkBuilder b) updates]) = + _$GAccountByPkData_accountByPk; + + static void _initializeBuilder(GAccountByPkData_accountByPkBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + BuiltList<GAccountByPkData_accountByPk_commentsIssued> get commentsIssued; + @override + GAccountByPkData_accountByPk_commentsIssuedAggregate + get commentsIssuedAggregate; + @override + int get createdOn; + @override + String get id; + @override + GAccountByPkData_accountByPk_identity? get identity; + @override + bool get isActive; + @override + GAccountByPkData_accountByPk_linkedIdentity? get linkedIdentity; + @override + BuiltList<GAccountByPkData_accountByPk_removedIdentities> + get removedIdentities; + @override + GAccountByPkData_accountByPk_removedIdentitiesAggregate + get removedIdentitiesAggregate; + @override + BuiltList<GAccountByPkData_accountByPk_transfersIssued> get transfersIssued; + @override + GAccountByPkData_accountByPk_transfersIssuedAggregate + get transfersIssuedAggregate; + @override + BuiltList<GAccountByPkData_accountByPk_transfersReceived> + get transfersReceived; + @override + GAccountByPkData_accountByPk_transfersReceivedAggregate + get transfersReceivedAggregate; + @override + BuiltList<GAccountByPkData_accountByPk_wasIdentity> get wasIdentity; + @override + GAccountByPkData_accountByPk_wasIdentityAggregate get wasIdentityAggregate; + static Serializer<GAccountByPkData_accountByPk> get serializer => + _$gAccountByPkDataAccountByPkSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_commentsIssued + implements + Built<GAccountByPkData_accountByPk_commentsIssued, + GAccountByPkData_accountByPk_commentsIssuedBuilder>, + GAccountFields_commentsIssued, + GCommentsIssued { + GAccountByPkData_accountByPk_commentsIssued._(); + + factory GAccountByPkData_accountByPk_commentsIssued( + [void Function(GAccountByPkData_accountByPk_commentsIssuedBuilder b) + updates]) = _$GAccountByPkData_accountByPk_commentsIssued; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_commentsIssuedBuilder b) => + b..G__typename = 'TxComment'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get authorId; + @override + int get blockNumber; + @override + String? get eventId; + @override + String get hash; + @override + String get id; + @override + String get remark; + @override + _i2.GCommentTypeEnum? get type; + static Serializer<GAccountByPkData_accountByPk_commentsIssued> + get serializer => _$gAccountByPkDataAccountByPkCommentsIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_commentsIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_commentsIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_commentsIssued.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_commentsIssuedAggregate + implements + Built<GAccountByPkData_accountByPk_commentsIssuedAggregate, + GAccountByPkData_accountByPk_commentsIssuedAggregateBuilder>, + GAccountFields_commentsIssuedAggregate { + GAccountByPkData_accountByPk_commentsIssuedAggregate._(); + + factory GAccountByPkData_accountByPk_commentsIssuedAggregate( + [void Function( + GAccountByPkData_accountByPk_commentsIssuedAggregateBuilder b) + updates]) = _$GAccountByPkData_accountByPk_commentsIssuedAggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_commentsIssuedAggregateBuilder b) => + b..G__typename = 'TxCommentAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate? get aggregate; + static Serializer<GAccountByPkData_accountByPk_commentsIssuedAggregate> + get serializer => + _$gAccountByPkDataAccountByPkCommentsIssuedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_commentsIssuedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_commentsIssuedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_commentsIssuedAggregate.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate + implements + Built<GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate, + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateBuilder>, + GAccountFields_commentsIssuedAggregate_aggregate { + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate._(); + + factory GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateBuilder + b) + updates]) = + _$GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateBuilder + b) => + b..G__typename = 'TxCommentAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate> + get serializer => + _$gAccountByPkDataAccountByPkCommentsIssuedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity + implements + Built<GAccountByPkData_accountByPk_identity, + GAccountByPkData_accountByPk_identityBuilder>, + GAccountFields_identity, + GIdentityFields { + GAccountByPkData_accountByPk_identity._(); + + factory GAccountByPkData_accountByPk_identity( + [void Function(GAccountByPkData_accountByPk_identityBuilder b) + updates]) = _$GAccountByPkData_accountByPk_identity; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identityBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String? get accountRemovedId; + @override + BuiltList<GAccountByPkData_accountByPk_identity_certIssued> get certIssued; + @override + GAccountByPkData_accountByPk_identity_certIssuedAggregate + get certIssuedAggregate; + @override + BuiltList<GAccountByPkData_accountByPk_identity_certReceived> + get certReceived; + @override + GAccountByPkData_accountByPk_identity_certReceivedAggregate + get certReceivedAggregate; + @override + String? get createdInId; + @override + int get createdOn; + @override + int get expireOn; + @override + String get id; + @override + int get index; + @override + bool get isMember; + @override + int get lastChangeOn; + @override + BuiltList<GAccountByPkData_accountByPk_identity_linkedAccount> + get linkedAccount; + @override + GAccountByPkData_accountByPk_identity_linkedAccountAggregate + get linkedAccountAggregate; + @override + _i2.GIdentityStatusEnum? get status; + @override + BuiltList<GAccountByPkData_accountByPk_identity_membershipHistory> + get membershipHistory; + @override + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate + get membershipHistoryAggregate; + @override + String get name; + @override + BuiltList<GAccountByPkData_accountByPk_identity_ownerKeyChange> + get ownerKeyChange; + @override + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate + get ownerKeyChangeAggregate; + @override + GAccountByPkData_accountByPk_identity_smith? get smith; + @override + BuiltList<GAccountByPkData_accountByPk_identity_udHistory>? get udHistory; + static Serializer<GAccountByPkData_accountByPk_identity> get serializer => + _$gAccountByPkDataAccountByPkIdentitySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_certIssued + implements + Built<GAccountByPkData_accountByPk_identity_certIssued, + GAccountByPkData_accountByPk_identity_certIssuedBuilder>, + GAccountFields_identity_certIssued, + GIdentityFields_certIssued, + GCertFields { + GAccountByPkData_accountByPk_identity_certIssued._(); + + factory GAccountByPkData_accountByPk_identity_certIssued( + [void Function(GAccountByPkData_accountByPk_identity_certIssuedBuilder b) + updates]) = _$GAccountByPkData_accountByPk_identity_certIssued; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_certIssuedBuilder b) => + b..G__typename = 'Cert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GAccountByPkData_accountByPk_identity_certIssued_issuer? get issuer; + @override + String? get receiverId; + @override + GAccountByPkData_accountByPk_identity_certIssued_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override + bool get isActive; + @override + int get updatedOn; + static Serializer<GAccountByPkData_accountByPk_identity_certIssued> + get serializer => + _$gAccountByPkDataAccountByPkIdentityCertIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_certIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_certIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_certIssued.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_certIssued_issuer + implements + Built<GAccountByPkData_accountByPk_identity_certIssued_issuer, + GAccountByPkData_accountByPk_identity_certIssued_issuerBuilder>, + GAccountFields_identity_certIssued_issuer, + GIdentityFields_certIssued_issuer, + GCertFields_issuer, + GIdentityBasicFields { + GAccountByPkData_accountByPk_identity_certIssued_issuer._(); + + factory GAccountByPkData_accountByPk_identity_certIssued_issuer( + [void Function( + GAccountByPkData_accountByPk_identity_certIssued_issuerBuilder b) + updates]) = _$GAccountByPkData_accountByPk_identity_certIssued_issuer; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_certIssued_issuerBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountByPkData_accountByPk_identity_certIssued_issuer> + get serializer => + _$gAccountByPkDataAccountByPkIdentityCertIssuedIssuerSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_certIssued_issuer.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_certIssued_issuer? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_certIssued_issuer.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_certIssued_receiver + implements + Built<GAccountByPkData_accountByPk_identity_certIssued_receiver, + GAccountByPkData_accountByPk_identity_certIssued_receiverBuilder>, + GAccountFields_identity_certIssued_receiver, + GIdentityFields_certIssued_receiver, + GCertFields_receiver, + GIdentityBasicFields { + GAccountByPkData_accountByPk_identity_certIssued_receiver._(); + + factory GAccountByPkData_accountByPk_identity_certIssued_receiver( + [void Function( + GAccountByPkData_accountByPk_identity_certIssued_receiverBuilder + b) + updates]) = _$GAccountByPkData_accountByPk_identity_certIssued_receiver; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_certIssued_receiverBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountByPkData_accountByPk_identity_certIssued_receiver> + get serializer => + _$gAccountByPkDataAccountByPkIdentityCertIssuedReceiverSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_certIssued_receiver.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_certIssued_receiver? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_certIssued_receiver.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_certIssuedAggregate + implements + Built<GAccountByPkData_accountByPk_identity_certIssuedAggregate, + GAccountByPkData_accountByPk_identity_certIssuedAggregateBuilder>, + GAccountFields_identity_certIssuedAggregate, + GIdentityFields_certIssuedAggregate { + GAccountByPkData_accountByPk_identity_certIssuedAggregate._(); + + factory GAccountByPkData_accountByPk_identity_certIssuedAggregate( + [void Function( + GAccountByPkData_accountByPk_identity_certIssuedAggregateBuilder + b) + updates]) = _$GAccountByPkData_accountByPk_identity_certIssuedAggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_certIssuedAggregateBuilder b) => + b..G__typename = 'CertAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate? + get aggregate; + static Serializer<GAccountByPkData_accountByPk_identity_certIssuedAggregate> + get serializer => + _$gAccountByPkDataAccountByPkIdentityCertIssuedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_certIssuedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_certIssuedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_certIssuedAggregate.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate + implements + Built< + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate, + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateBuilder>, + GAccountFields_identity_certIssuedAggregate_aggregate, + GIdentityFields_certIssuedAggregate_aggregate { + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate._(); + + factory GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateBuilder + b) + updates]) = + _$GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateBuilder + b) => + b..G__typename = 'CertAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate> + get serializer => + _$gAccountByPkDataAccountByPkIdentityCertIssuedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_certReceived + implements + Built<GAccountByPkData_accountByPk_identity_certReceived, + GAccountByPkData_accountByPk_identity_certReceivedBuilder>, + GAccountFields_identity_certReceived, + GIdentityFields_certReceived, + GCertFields { + GAccountByPkData_accountByPk_identity_certReceived._(); + + factory GAccountByPkData_accountByPk_identity_certReceived( + [void Function( + GAccountByPkData_accountByPk_identity_certReceivedBuilder b) + updates]) = _$GAccountByPkData_accountByPk_identity_certReceived; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_certReceivedBuilder b) => + b..G__typename = 'Cert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GAccountByPkData_accountByPk_identity_certReceived_issuer? get issuer; + @override + String? get receiverId; + @override + GAccountByPkData_accountByPk_identity_certReceived_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override + bool get isActive; + @override + int get updatedOn; + static Serializer<GAccountByPkData_accountByPk_identity_certReceived> + get serializer => + _$gAccountByPkDataAccountByPkIdentityCertReceivedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_certReceived.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_certReceived? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_certReceived.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_certReceived_issuer + implements + Built<GAccountByPkData_accountByPk_identity_certReceived_issuer, + GAccountByPkData_accountByPk_identity_certReceived_issuerBuilder>, + GAccountFields_identity_certReceived_issuer, + GIdentityFields_certReceived_issuer, + GCertFields_issuer, + GIdentityBasicFields { + GAccountByPkData_accountByPk_identity_certReceived_issuer._(); + + factory GAccountByPkData_accountByPk_identity_certReceived_issuer( + [void Function( + GAccountByPkData_accountByPk_identity_certReceived_issuerBuilder + b) + updates]) = _$GAccountByPkData_accountByPk_identity_certReceived_issuer; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_certReceived_issuerBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountByPkData_accountByPk_identity_certReceived_issuer> + get serializer => + _$gAccountByPkDataAccountByPkIdentityCertReceivedIssuerSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_certReceived_issuer.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_certReceived_issuer? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_certReceived_issuer.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_certReceived_receiver + implements + Built<GAccountByPkData_accountByPk_identity_certReceived_receiver, + GAccountByPkData_accountByPk_identity_certReceived_receiverBuilder>, + GAccountFields_identity_certReceived_receiver, + GIdentityFields_certReceived_receiver, + GCertFields_receiver, + GIdentityBasicFields { + GAccountByPkData_accountByPk_identity_certReceived_receiver._(); + + factory GAccountByPkData_accountByPk_identity_certReceived_receiver( + [void Function( + GAccountByPkData_accountByPk_identity_certReceived_receiverBuilder + b) + updates]) = _$GAccountByPkData_accountByPk_identity_certReceived_receiver; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_certReceived_receiverBuilder + b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountByPkData_accountByPk_identity_certReceived_receiver> + get serializer => + _$gAccountByPkDataAccountByPkIdentityCertReceivedReceiverSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_certReceived_receiver.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_certReceived_receiver? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_certReceived_receiver.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_certReceivedAggregate + implements + Built<GAccountByPkData_accountByPk_identity_certReceivedAggregate, + GAccountByPkData_accountByPk_identity_certReceivedAggregateBuilder>, + GAccountFields_identity_certReceivedAggregate, + GIdentityFields_certReceivedAggregate { + GAccountByPkData_accountByPk_identity_certReceivedAggregate._(); + + factory GAccountByPkData_accountByPk_identity_certReceivedAggregate( + [void Function( + GAccountByPkData_accountByPk_identity_certReceivedAggregateBuilder + b) + updates]) = _$GAccountByPkData_accountByPk_identity_certReceivedAggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_certReceivedAggregateBuilder + b) => + b..G__typename = 'CertAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate? + get aggregate; + static Serializer<GAccountByPkData_accountByPk_identity_certReceivedAggregate> + get serializer => + _$gAccountByPkDataAccountByPkIdentityCertReceivedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_certReceivedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_certReceivedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_certReceivedAggregate.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate + implements + Built< + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate, + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateBuilder>, + GAccountFields_identity_certReceivedAggregate_aggregate, + GIdentityFields_certReceivedAggregate_aggregate { + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate._(); + + factory GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateBuilder + b) + updates]) = + _$GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateBuilder + b) => + b..G__typename = 'CertAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate> + get serializer => + _$gAccountByPkDataAccountByPkIdentityCertReceivedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_linkedAccount + implements + Built<GAccountByPkData_accountByPk_identity_linkedAccount, + GAccountByPkData_accountByPk_identity_linkedAccountBuilder>, + GAccountFields_identity_linkedAccount, + GIdentityFields_linkedAccount { + GAccountByPkData_accountByPk_identity_linkedAccount._(); + + factory GAccountByPkData_accountByPk_identity_linkedAccount( + [void Function( + GAccountByPkData_accountByPk_identity_linkedAccountBuilder b) + updates]) = _$GAccountByPkData_accountByPk_identity_linkedAccount; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_linkedAccountBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GAccountByPkData_accountByPk_identity_linkedAccount> + get serializer => + _$gAccountByPkDataAccountByPkIdentityLinkedAccountSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_linkedAccount.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_linkedAccount? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_linkedAccount.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_linkedAccountAggregate + implements + Built<GAccountByPkData_accountByPk_identity_linkedAccountAggregate, + GAccountByPkData_accountByPk_identity_linkedAccountAggregateBuilder>, + GAccountFields_identity_linkedAccountAggregate, + GIdentityFields_linkedAccountAggregate { + GAccountByPkData_accountByPk_identity_linkedAccountAggregate._(); + + factory GAccountByPkData_accountByPk_identity_linkedAccountAggregate( + [void Function( + GAccountByPkData_accountByPk_identity_linkedAccountAggregateBuilder + b) + updates]) = + _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_linkedAccountAggregateBuilder + b) => + b..G__typename = 'AccountAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate? + get aggregate; + static Serializer< + GAccountByPkData_accountByPk_identity_linkedAccountAggregate> + get serializer => + _$gAccountByPkDataAccountByPkIdentityLinkedAccountAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_linkedAccountAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_linkedAccountAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_linkedAccountAggregate.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate + implements + Built< + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate, + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateBuilder>, + GAccountFields_identity_linkedAccountAggregate_aggregate, + GIdentityFields_linkedAccountAggregate_aggregate { + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate._(); + + factory GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateBuilder + b) + updates]) = + _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateBuilder + b) => + b..G__typename = 'AccountAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate> + get serializer => + _$gAccountByPkDataAccountByPkIdentityLinkedAccountAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_membershipHistory + implements + Built<GAccountByPkData_accountByPk_identity_membershipHistory, + GAccountByPkData_accountByPk_identity_membershipHistoryBuilder>, + GAccountFields_identity_membershipHistory, + GIdentityFields_membershipHistory { + GAccountByPkData_accountByPk_identity_membershipHistory._(); + + factory GAccountByPkData_accountByPk_identity_membershipHistory( + [void Function( + GAccountByPkData_accountByPk_identity_membershipHistoryBuilder b) + updates]) = _$GAccountByPkData_accountByPk_identity_membershipHistory; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_membershipHistoryBuilder b) => + b..G__typename = 'MembershipEvent'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get blockNumber; + @override + String? get eventId; + @override + _i2.GEventTypeEnum? get eventType; + @override + String get id; + @override + String? get identityId; + static Serializer<GAccountByPkData_accountByPk_identity_membershipHistory> + get serializer => + _$gAccountByPkDataAccountByPkIdentityMembershipHistorySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_membershipHistory.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_membershipHistory? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_membershipHistory.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_membershipHistoryAggregate + implements + Built<GAccountByPkData_accountByPk_identity_membershipHistoryAggregate, + GAccountByPkData_accountByPk_identity_membershipHistoryAggregateBuilder>, + GAccountFields_identity_membershipHistoryAggregate, + GIdentityFields_membershipHistoryAggregate { + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate._(); + + factory GAccountByPkData_accountByPk_identity_membershipHistoryAggregate( + [void Function( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregateBuilder + b) + updates]) = + _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregateBuilder + b) => + b..G__typename = 'MembershipEventAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate? + get aggregate; + static Serializer< + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate> + get serializer => + _$gAccountByPkDataAccountByPkIdentityMembershipHistoryAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_membershipHistoryAggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate + .serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate + implements + Built< + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate, + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateBuilder>, + GAccountFields_identity_membershipHistoryAggregate_aggregate, + GIdentityFields_membershipHistoryAggregate_aggregate { + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate._(); + + factory GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateBuilder + b) + updates]) = + _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateBuilder + b) => + b..G__typename = 'MembershipEventAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate> + get serializer => + _$gAccountByPkDataAccountByPkIdentityMembershipHistoryAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_ownerKeyChange + implements + Built<GAccountByPkData_accountByPk_identity_ownerKeyChange, + GAccountByPkData_accountByPk_identity_ownerKeyChangeBuilder>, + GAccountFields_identity_ownerKeyChange, + GIdentityFields_ownerKeyChange, + GOwnerKeyChangeFields { + GAccountByPkData_accountByPk_identity_ownerKeyChange._(); + + factory GAccountByPkData_accountByPk_identity_ownerKeyChange( + [void Function( + GAccountByPkData_accountByPk_identity_ownerKeyChangeBuilder b) + updates]) = _$GAccountByPkData_accountByPk_identity_ownerKeyChange; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_ownerKeyChangeBuilder b) => + b..G__typename = 'ChangeOwnerKey'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get blockNumber; + @override + String? get identityId; + @override + String? get nextId; + @override + String? get previousId; + static Serializer<GAccountByPkData_accountByPk_identity_ownerKeyChange> + get serializer => + _$gAccountByPkDataAccountByPkIdentityOwnerKeyChangeSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_ownerKeyChange.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_ownerKeyChange? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_ownerKeyChange.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate + implements + Built<GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate, + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateBuilder>, + GAccountFields_identity_ownerKeyChangeAggregate, + GIdentityFields_ownerKeyChangeAggregate { + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate._(); + + factory GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate( + [void Function( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateBuilder + b) + updates]) = + _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateBuilder + b) => + b..G__typename = 'ChangeOwnerKeyAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate? + get aggregate; + static Serializer< + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate> + get serializer => + _$gAccountByPkDataAccountByPkIdentityOwnerKeyChangeAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate + .serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate + implements + Built< + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate, + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateBuilder>, + GAccountFields_identity_ownerKeyChangeAggregate_aggregate, + GIdentityFields_ownerKeyChangeAggregate_aggregate { + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate._(); + + factory GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateBuilder + b) + updates]) = + _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateBuilder + b) => + b..G__typename = 'ChangeOwnerKeyAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate> + get serializer => + _$gAccountByPkDataAccountByPkIdentityOwnerKeyChangeAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_smith + implements + Built<GAccountByPkData_accountByPk_identity_smith, + GAccountByPkData_accountByPk_identity_smithBuilder>, + GAccountFields_identity_smith, + GIdentityFields_smith, + GSmithFields { + GAccountByPkData_accountByPk_identity_smith._(); + + factory GAccountByPkData_accountByPk_identity_smith( + [void Function(GAccountByPkData_accountByPk_identity_smithBuilder b) + updates]) = _$GAccountByPkData_accountByPk_identity_smith; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_smithBuilder b) => + b..G__typename = 'Smith'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get forged; + @override + int get index; + @override + int? get lastChanged; + @override + int? get lastForged; + @override + BuiltList<GAccountByPkData_accountByPk_identity_smith_smithCertIssued> + get smithCertIssued; + @override + BuiltList<GAccountByPkData_accountByPk_identity_smith_smithCertReceived> + get smithCertReceived; + static Serializer<GAccountByPkData_accountByPk_identity_smith> + get serializer => _$gAccountByPkDataAccountByPkIdentitySmithSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_smith.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_smith? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_smith.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_smith_smithCertIssued + implements + Built<GAccountByPkData_accountByPk_identity_smith_smithCertIssued, + GAccountByPkData_accountByPk_identity_smith_smithCertIssuedBuilder>, + GAccountFields_identity_smith_smithCertIssued, + GIdentityFields_smith_smithCertIssued, + GSmithFields_smithCertIssued, + GSmithCertFields { + GAccountByPkData_accountByPk_identity_smith_smithCertIssued._(); + + factory GAccountByPkData_accountByPk_identity_smith_smithCertIssued( + [void Function( + GAccountByPkData_accountByPk_identity_smith_smithCertIssuedBuilder + b) + updates]) = _$GAccountByPkData_accountByPk_identity_smith_smithCertIssued; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_smith_smithCertIssuedBuilder + b) => + b..G__typename = 'SmithCert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + static Serializer<GAccountByPkData_accountByPk_identity_smith_smithCertIssued> + get serializer => + _$gAccountByPkDataAccountByPkIdentitySmithSmithCertIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_smith_smithCertIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_smith_smithCertIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_smith_smithCertIssued.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_smith_smithCertReceived + implements + Built<GAccountByPkData_accountByPk_identity_smith_smithCertReceived, + GAccountByPkData_accountByPk_identity_smith_smithCertReceivedBuilder>, + GAccountFields_identity_smith_smithCertReceived, + GIdentityFields_smith_smithCertReceived, + GSmithFields_smithCertReceived, + GSmithCertFields { + GAccountByPkData_accountByPk_identity_smith_smithCertReceived._(); + + factory GAccountByPkData_accountByPk_identity_smith_smithCertReceived( + [void Function( + GAccountByPkData_accountByPk_identity_smith_smithCertReceivedBuilder + b) + updates]) = + _$GAccountByPkData_accountByPk_identity_smith_smithCertReceived; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_smith_smithCertReceivedBuilder + b) => + b..G__typename = 'SmithCert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + static Serializer< + GAccountByPkData_accountByPk_identity_smith_smithCertReceived> + get serializer => + _$gAccountByPkDataAccountByPkIdentitySmithSmithCertReceivedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_smith_smithCertReceived + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_smith_smithCertReceived? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_smith_smithCertReceived + .serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_identity_udHistory + implements + Built<GAccountByPkData_accountByPk_identity_udHistory, + GAccountByPkData_accountByPk_identity_udHistoryBuilder>, + GAccountFields_identity_udHistory, + GIdentityFields_udHistory { + GAccountByPkData_accountByPk_identity_udHistory._(); + + factory GAccountByPkData_accountByPk_identity_udHistory( + [void Function(GAccountByPkData_accountByPk_identity_udHistoryBuilder b) + updates]) = _$GAccountByPkData_accountByPk_identity_udHistory; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_identity_udHistoryBuilder b) => + b..G__typename = 'UdHistory'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get amount; + @override + _i2.Gtimestamptz get timestamp; + static Serializer<GAccountByPkData_accountByPk_identity_udHistory> + get serializer => + _$gAccountByPkDataAccountByPkIdentityUdHistorySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_identity_udHistory.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_identity_udHistory? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_identity_udHistory.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_linkedIdentity + implements + Built<GAccountByPkData_accountByPk_linkedIdentity, + GAccountByPkData_accountByPk_linkedIdentityBuilder>, + GAccountFields_linkedIdentity, + GIdentityBasicFields { + GAccountByPkData_accountByPk_linkedIdentity._(); + + factory GAccountByPkData_accountByPk_linkedIdentity( + [void Function(GAccountByPkData_accountByPk_linkedIdentityBuilder b) + updates]) = _$GAccountByPkData_accountByPk_linkedIdentity; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_linkedIdentityBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountByPkData_accountByPk_linkedIdentity> + get serializer => _$gAccountByPkDataAccountByPkLinkedIdentitySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_linkedIdentity.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_linkedIdentity? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_linkedIdentity.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_removedIdentities + implements + Built<GAccountByPkData_accountByPk_removedIdentities, + GAccountByPkData_accountByPk_removedIdentitiesBuilder>, + GAccountFields_removedIdentities, + GIdentityBasicFields { + GAccountByPkData_accountByPk_removedIdentities._(); + + factory GAccountByPkData_accountByPk_removedIdentities( + [void Function(GAccountByPkData_accountByPk_removedIdentitiesBuilder b) + updates]) = _$GAccountByPkData_accountByPk_removedIdentities; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_removedIdentitiesBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountByPkData_accountByPk_removedIdentities> + get serializer => + _$gAccountByPkDataAccountByPkRemovedIdentitiesSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_removedIdentities.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_removedIdentities? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_removedIdentities.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_removedIdentitiesAggregate + implements + Built<GAccountByPkData_accountByPk_removedIdentitiesAggregate, + GAccountByPkData_accountByPk_removedIdentitiesAggregateBuilder>, + GAccountFields_removedIdentitiesAggregate { + GAccountByPkData_accountByPk_removedIdentitiesAggregate._(); + + factory GAccountByPkData_accountByPk_removedIdentitiesAggregate( + [void Function( + GAccountByPkData_accountByPk_removedIdentitiesAggregateBuilder b) + updates]) = _$GAccountByPkData_accountByPk_removedIdentitiesAggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_removedIdentitiesAggregateBuilder b) => + b..G__typename = 'IdentityAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate? + get aggregate; + static Serializer<GAccountByPkData_accountByPk_removedIdentitiesAggregate> + get serializer => + _$gAccountByPkDataAccountByPkRemovedIdentitiesAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_removedIdentitiesAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_removedIdentitiesAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_removedIdentitiesAggregate.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate + implements + Built<GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate, + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateBuilder>, + GAccountFields_removedIdentitiesAggregate_aggregate { + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate._(); + + factory GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateBuilder + b) + updates]) = + _$GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateBuilder + b) => + b..G__typename = 'IdentityAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate> + get serializer => + _$gAccountByPkDataAccountByPkRemovedIdentitiesAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_transfersIssued + implements + Built<GAccountByPkData_accountByPk_transfersIssued, + GAccountByPkData_accountByPk_transfersIssuedBuilder>, + GAccountFields_transfersIssued, + GTransferFields { + GAccountByPkData_accountByPk_transfersIssued._(); + + factory GAccountByPkData_accountByPk_transfersIssued( + [void Function(GAccountByPkData_accountByPk_transfersIssuedBuilder b) + updates]) = _$GAccountByPkData_accountByPk_transfersIssued; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_transfersIssuedBuilder b) => + b..G__typename = 'Transfer'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get blockNumber; + @override + _i2.Gtimestamptz get timestamp; + @override + int get amount; + @override + GAccountByPkData_accountByPk_transfersIssued_to? get to; + @override + GAccountByPkData_accountByPk_transfersIssued_from? get from; + @override + GAccountByPkData_accountByPk_transfersIssued_comment? get comment; + static Serializer<GAccountByPkData_accountByPk_transfersIssued> + get serializer => _$gAccountByPkDataAccountByPkTransfersIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_transfersIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_transfersIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_transfersIssued.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_transfersIssued_to + implements + Built<GAccountByPkData_accountByPk_transfersIssued_to, + GAccountByPkData_accountByPk_transfersIssued_toBuilder>, + GAccountFields_transfersIssued_to, + GTransferFields_to { + GAccountByPkData_accountByPk_transfersIssued_to._(); + + factory GAccountByPkData_accountByPk_transfersIssued_to( + [void Function(GAccountByPkData_accountByPk_transfersIssued_toBuilder b) + updates]) = _$GAccountByPkData_accountByPk_transfersIssued_to; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_transfersIssued_toBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GAccountByPkData_accountByPk_transfersIssued_to> + get serializer => + _$gAccountByPkDataAccountByPkTransfersIssuedToSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_transfersIssued_to.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_transfersIssued_to? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_transfersIssued_to.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_transfersIssued_from + implements + Built<GAccountByPkData_accountByPk_transfersIssued_from, + GAccountByPkData_accountByPk_transfersIssued_fromBuilder>, + GAccountFields_transfersIssued_from, + GTransferFields_from { + GAccountByPkData_accountByPk_transfersIssued_from._(); + + factory GAccountByPkData_accountByPk_transfersIssued_from( + [void Function(GAccountByPkData_accountByPk_transfersIssued_fromBuilder b) + updates]) = _$GAccountByPkData_accountByPk_transfersIssued_from; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_transfersIssued_fromBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GAccountByPkData_accountByPk_transfersIssued_from> + get serializer => + _$gAccountByPkDataAccountByPkTransfersIssuedFromSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_transfersIssued_from.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_transfersIssued_from? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_transfersIssued_from.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_transfersIssued_comment + implements + Built<GAccountByPkData_accountByPk_transfersIssued_comment, + GAccountByPkData_accountByPk_transfersIssued_commentBuilder>, + GAccountFields_transfersIssued_comment, + GTransferFields_comment { + GAccountByPkData_accountByPk_transfersIssued_comment._(); + + factory GAccountByPkData_accountByPk_transfersIssued_comment( + [void Function( + GAccountByPkData_accountByPk_transfersIssued_commentBuilder b) + updates]) = _$GAccountByPkData_accountByPk_transfersIssued_comment; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_transfersIssued_commentBuilder b) => + b..G__typename = 'TxComment'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get remark; + static Serializer<GAccountByPkData_accountByPk_transfersIssued_comment> + get serializer => + _$gAccountByPkDataAccountByPkTransfersIssuedCommentSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_transfersIssued_comment.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_transfersIssued_comment? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_transfersIssued_comment.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_transfersIssuedAggregate + implements + Built<GAccountByPkData_accountByPk_transfersIssuedAggregate, + GAccountByPkData_accountByPk_transfersIssuedAggregateBuilder>, + GAccountFields_transfersIssuedAggregate { + GAccountByPkData_accountByPk_transfersIssuedAggregate._(); + + factory GAccountByPkData_accountByPk_transfersIssuedAggregate( + [void Function( + GAccountByPkData_accountByPk_transfersIssuedAggregateBuilder b) + updates]) = _$GAccountByPkData_accountByPk_transfersIssuedAggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_transfersIssuedAggregateBuilder b) => + b..G__typename = 'TransferAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate? + get aggregate; + static Serializer<GAccountByPkData_accountByPk_transfersIssuedAggregate> + get serializer => + _$gAccountByPkDataAccountByPkTransfersIssuedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_transfersIssuedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_transfersIssuedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_transfersIssuedAggregate.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate + implements + Built<GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate, + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateBuilder>, + GAccountFields_transfersIssuedAggregate_aggregate { + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate._(); + + factory GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateBuilder + b) + updates]) = + _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateBuilder + b) => + b..G__typename = 'TransferAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum? get sum; + @override + int get count; + static Serializer< + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate> + get serializer => + _$gAccountByPkDataAccountByPkTransfersIssuedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum + implements + Built< + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum, + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumBuilder>, + GAccountFields_transfersIssuedAggregate_aggregate_sum { + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum._(); + + factory GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum( + [void Function( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumBuilder + b) + updates]) = + _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumBuilder + b) => + b..G__typename = 'TransferSumFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int? get amount; + static Serializer< + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum> + get serializer => + _$gAccountByPkDataAccountByPkTransfersIssuedAggregateAggregateSumSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum + .serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_transfersReceived + implements + Built<GAccountByPkData_accountByPk_transfersReceived, + GAccountByPkData_accountByPk_transfersReceivedBuilder>, + GAccountFields_transfersReceived, + GTransferFields { + GAccountByPkData_accountByPk_transfersReceived._(); + + factory GAccountByPkData_accountByPk_transfersReceived( + [void Function(GAccountByPkData_accountByPk_transfersReceivedBuilder b) + updates]) = _$GAccountByPkData_accountByPk_transfersReceived; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_transfersReceivedBuilder b) => + b..G__typename = 'Transfer'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get blockNumber; + @override + _i2.Gtimestamptz get timestamp; + @override + int get amount; + @override + GAccountByPkData_accountByPk_transfersReceived_to? get to; + @override + GAccountByPkData_accountByPk_transfersReceived_from? get from; + @override + GAccountByPkData_accountByPk_transfersReceived_comment? get comment; + static Serializer<GAccountByPkData_accountByPk_transfersReceived> + get serializer => + _$gAccountByPkDataAccountByPkTransfersReceivedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_transfersReceived.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_transfersReceived? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_transfersReceived.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_transfersReceived_to + implements + Built<GAccountByPkData_accountByPk_transfersReceived_to, + GAccountByPkData_accountByPk_transfersReceived_toBuilder>, + GAccountFields_transfersReceived_to, + GTransferFields_to { + GAccountByPkData_accountByPk_transfersReceived_to._(); + + factory GAccountByPkData_accountByPk_transfersReceived_to( + [void Function(GAccountByPkData_accountByPk_transfersReceived_toBuilder b) + updates]) = _$GAccountByPkData_accountByPk_transfersReceived_to; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_transfersReceived_toBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GAccountByPkData_accountByPk_transfersReceived_to> + get serializer => + _$gAccountByPkDataAccountByPkTransfersReceivedToSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_transfersReceived_to.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_transfersReceived_to? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_transfersReceived_to.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_transfersReceived_from + implements + Built<GAccountByPkData_accountByPk_transfersReceived_from, + GAccountByPkData_accountByPk_transfersReceived_fromBuilder>, + GAccountFields_transfersReceived_from, + GTransferFields_from { + GAccountByPkData_accountByPk_transfersReceived_from._(); + + factory GAccountByPkData_accountByPk_transfersReceived_from( + [void Function( + GAccountByPkData_accountByPk_transfersReceived_fromBuilder b) + updates]) = _$GAccountByPkData_accountByPk_transfersReceived_from; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_transfersReceived_fromBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GAccountByPkData_accountByPk_transfersReceived_from> + get serializer => + _$gAccountByPkDataAccountByPkTransfersReceivedFromSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_transfersReceived_from.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_transfersReceived_from? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_transfersReceived_from.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_transfersReceived_comment + implements + Built<GAccountByPkData_accountByPk_transfersReceived_comment, + GAccountByPkData_accountByPk_transfersReceived_commentBuilder>, + GAccountFields_transfersReceived_comment, + GTransferFields_comment { + GAccountByPkData_accountByPk_transfersReceived_comment._(); + + factory GAccountByPkData_accountByPk_transfersReceived_comment( + [void Function( + GAccountByPkData_accountByPk_transfersReceived_commentBuilder b) + updates]) = _$GAccountByPkData_accountByPk_transfersReceived_comment; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_transfersReceived_commentBuilder b) => + b..G__typename = 'TxComment'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get remark; + static Serializer<GAccountByPkData_accountByPk_transfersReceived_comment> + get serializer => + _$gAccountByPkDataAccountByPkTransfersReceivedCommentSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_transfersReceived_comment.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_transfersReceived_comment? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_transfersReceived_comment.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_transfersReceivedAggregate + implements + Built<GAccountByPkData_accountByPk_transfersReceivedAggregate, + GAccountByPkData_accountByPk_transfersReceivedAggregateBuilder>, + GAccountFields_transfersReceivedAggregate { + GAccountByPkData_accountByPk_transfersReceivedAggregate._(); + + factory GAccountByPkData_accountByPk_transfersReceivedAggregate( + [void Function( + GAccountByPkData_accountByPk_transfersReceivedAggregateBuilder b) + updates]) = _$GAccountByPkData_accountByPk_transfersReceivedAggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_transfersReceivedAggregateBuilder b) => + b..G__typename = 'TransferAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate? + get aggregate; + static Serializer<GAccountByPkData_accountByPk_transfersReceivedAggregate> + get serializer => + _$gAccountByPkDataAccountByPkTransfersReceivedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_transfersReceivedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_transfersReceivedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_transfersReceivedAggregate.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate + implements + Built<GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate, + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateBuilder>, + GAccountFields_transfersReceivedAggregate_aggregate { + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate._(); + + factory GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateBuilder + b) + updates]) = + _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateBuilder + b) => + b..G__typename = 'TransferAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum? + get sum; + @override + int get count; + static Serializer< + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate> + get serializer => + _$gAccountByPkDataAccountByPkTransfersReceivedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum + implements + Built< + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum, + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumBuilder>, + GAccountFields_transfersReceivedAggregate_aggregate_sum { + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum._(); + + factory GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum( + [void Function( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumBuilder + b) + updates]) = + _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumBuilder + b) => + b..G__typename = 'TransferSumFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int? get amount; + static Serializer< + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum> + get serializer => + _$gAccountByPkDataAccountByPkTransfersReceivedAggregateAggregateSumSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum + .serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_wasIdentity + implements + Built<GAccountByPkData_accountByPk_wasIdentity, + GAccountByPkData_accountByPk_wasIdentityBuilder>, + GAccountFields_wasIdentity, + GOwnerKeyChangeFields { + GAccountByPkData_accountByPk_wasIdentity._(); + + factory GAccountByPkData_accountByPk_wasIdentity( + [void Function(GAccountByPkData_accountByPk_wasIdentityBuilder b) + updates]) = _$GAccountByPkData_accountByPk_wasIdentity; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_wasIdentityBuilder b) => + b..G__typename = 'ChangeOwnerKey'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get blockNumber; + @override + String? get identityId; + @override + String? get nextId; + @override + String? get previousId; + static Serializer<GAccountByPkData_accountByPk_wasIdentity> get serializer => + _$gAccountByPkDataAccountByPkWasIdentitySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_wasIdentity.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_wasIdentity? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_wasIdentity.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_wasIdentityAggregate + implements + Built<GAccountByPkData_accountByPk_wasIdentityAggregate, + GAccountByPkData_accountByPk_wasIdentityAggregateBuilder>, + GAccountFields_wasIdentityAggregate { + GAccountByPkData_accountByPk_wasIdentityAggregate._(); + + factory GAccountByPkData_accountByPk_wasIdentityAggregate( + [void Function(GAccountByPkData_accountByPk_wasIdentityAggregateBuilder b) + updates]) = _$GAccountByPkData_accountByPk_wasIdentityAggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_wasIdentityAggregateBuilder b) => + b..G__typename = 'ChangeOwnerKeyAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate? get aggregate; + static Serializer<GAccountByPkData_accountByPk_wasIdentityAggregate> + get serializer => + _$gAccountByPkDataAccountByPkWasIdentityAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_wasIdentityAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_wasIdentityAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_wasIdentityAggregate.serializer, + json, + ); +} + +abstract class GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate + implements + Built<GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate, + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateBuilder>, + GAccountFields_wasIdentityAggregate_aggregate { + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate._(); + + factory GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateBuilder + b) + updates]) = _$GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate; + + static void _initializeBuilder( + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateBuilder + b) => + b..G__typename = 'ChangeOwnerKeyAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer<GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate> + get serializer => + _$gAccountByPkDataAccountByPkWasIdentityAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate.serializer, + json, + ); +} + +abstract class GAccountBasicByPkData + implements Built<GAccountBasicByPkData, GAccountBasicByPkDataBuilder> { + GAccountBasicByPkData._(); + + factory GAccountBasicByPkData( + [void Function(GAccountBasicByPkDataBuilder b) updates]) = + _$GAccountBasicByPkData; + + static void _initializeBuilder(GAccountBasicByPkDataBuilder b) => + b..G__typename = 'query_root'; + + @BuiltValueField(wireName: '__typename') + String get G__typename; + GAccountBasicByPkData_accountByPk? get accountByPk; + static Serializer<GAccountBasicByPkData> get serializer => + _$gAccountBasicByPkDataSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountBasicByPkData.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountBasicByPkData? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountBasicByPkData.serializer, + json, + ); +} + +abstract class GAccountBasicByPkData_accountByPk + implements + Built<GAccountBasicByPkData_accountByPk, + GAccountBasicByPkData_accountByPkBuilder>, + GAccountBasicFields { + GAccountBasicByPkData_accountByPk._(); + + factory GAccountBasicByPkData_accountByPk( + [void Function(GAccountBasicByPkData_accountByPkBuilder b) updates]) = + _$GAccountBasicByPkData_accountByPk; + + static void _initializeBuilder(GAccountBasicByPkData_accountByPkBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get createdOn; + @override + String get id; + @override + GAccountBasicByPkData_accountByPk_identity? get identity; + @override + bool get isActive; + static Serializer<GAccountBasicByPkData_accountByPk> get serializer => + _$gAccountBasicByPkDataAccountByPkSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountBasicByPkData_accountByPk.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountBasicByPkData_accountByPk? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountBasicByPkData_accountByPk.serializer, + json, + ); +} + +abstract class GAccountBasicByPkData_accountByPk_identity + implements + Built<GAccountBasicByPkData_accountByPk_identity, + GAccountBasicByPkData_accountByPk_identityBuilder>, + GAccountBasicFields_identity, + GIdentityBasicFields { + GAccountBasicByPkData_accountByPk_identity._(); + + factory GAccountBasicByPkData_accountByPk_identity( + [void Function(GAccountBasicByPkData_accountByPk_identityBuilder b) + updates]) = _$GAccountBasicByPkData_accountByPk_identity; + + static void _initializeBuilder( + GAccountBasicByPkData_accountByPk_identityBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountBasicByPkData_accountByPk_identity> + get serializer => _$gAccountBasicByPkDataAccountByPkIdentitySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountBasicByPkData_accountByPk_identity.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountBasicByPkData_accountByPk_identity? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountBasicByPkData_accountByPk_identity.serializer, + json, + ); +} + +abstract class GAccountsByPkData + implements Built<GAccountsByPkData, GAccountsByPkDataBuilder> { + GAccountsByPkData._(); + + factory GAccountsByPkData( + [void Function(GAccountsByPkDataBuilder b) updates]) = + _$GAccountsByPkData; + + static void _initializeBuilder(GAccountsByPkDataBuilder b) => + b..G__typename = 'query_root'; + + @BuiltValueField(wireName: '__typename') + String get G__typename; + BuiltList<GAccountsByPkData_account> get account; + static Serializer<GAccountsByPkData> get serializer => + _$gAccountsByPkDataSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account + implements + Built<GAccountsByPkData_account, GAccountsByPkData_accountBuilder>, + GAccountFields { + GAccountsByPkData_account._(); + + factory GAccountsByPkData_account( + [void Function(GAccountsByPkData_accountBuilder b) updates]) = + _$GAccountsByPkData_account; + + static void _initializeBuilder(GAccountsByPkData_accountBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + BuiltList<GAccountsByPkData_account_commentsIssued> get commentsIssued; + @override + GAccountsByPkData_account_commentsIssuedAggregate get commentsIssuedAggregate; + @override + int get createdOn; + @override + String get id; + @override + GAccountsByPkData_account_identity? get identity; + @override + bool get isActive; + @override + GAccountsByPkData_account_linkedIdentity? get linkedIdentity; + @override + BuiltList<GAccountsByPkData_account_removedIdentities> get removedIdentities; + @override + GAccountsByPkData_account_removedIdentitiesAggregate + get removedIdentitiesAggregate; + @override + BuiltList<GAccountsByPkData_account_transfersIssued> get transfersIssued; + @override + GAccountsByPkData_account_transfersIssuedAggregate + get transfersIssuedAggregate; + @override + BuiltList<GAccountsByPkData_account_transfersReceived> get transfersReceived; + @override + GAccountsByPkData_account_transfersReceivedAggregate + get transfersReceivedAggregate; + @override + BuiltList<GAccountsByPkData_account_wasIdentity> get wasIdentity; + @override + GAccountsByPkData_account_wasIdentityAggregate get wasIdentityAggregate; + static Serializer<GAccountsByPkData_account> get serializer => + _$gAccountsByPkDataAccountSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_commentsIssued + implements + Built<GAccountsByPkData_account_commentsIssued, + GAccountsByPkData_account_commentsIssuedBuilder>, + GAccountFields_commentsIssued, + GCommentsIssued { + GAccountsByPkData_account_commentsIssued._(); + + factory GAccountsByPkData_account_commentsIssued( + [void Function(GAccountsByPkData_account_commentsIssuedBuilder b) + updates]) = _$GAccountsByPkData_account_commentsIssued; + + static void _initializeBuilder( + GAccountsByPkData_account_commentsIssuedBuilder b) => + b..G__typename = 'TxComment'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get authorId; + @override + int get blockNumber; + @override + String? get eventId; + @override + String get hash; + @override + String get id; + @override + String get remark; + @override + _i2.GCommentTypeEnum? get type; + static Serializer<GAccountsByPkData_account_commentsIssued> get serializer => + _$gAccountsByPkDataAccountCommentsIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_commentsIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_commentsIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_commentsIssued.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_commentsIssuedAggregate + implements + Built<GAccountsByPkData_account_commentsIssuedAggregate, + GAccountsByPkData_account_commentsIssuedAggregateBuilder>, + GAccountFields_commentsIssuedAggregate { + GAccountsByPkData_account_commentsIssuedAggregate._(); + + factory GAccountsByPkData_account_commentsIssuedAggregate( + [void Function(GAccountsByPkData_account_commentsIssuedAggregateBuilder b) + updates]) = _$GAccountsByPkData_account_commentsIssuedAggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_commentsIssuedAggregateBuilder b) => + b..G__typename = 'TxCommentAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountsByPkData_account_commentsIssuedAggregate_aggregate? get aggregate; + static Serializer<GAccountsByPkData_account_commentsIssuedAggregate> + get serializer => + _$gAccountsByPkDataAccountCommentsIssuedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_commentsIssuedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_commentsIssuedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_commentsIssuedAggregate.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_commentsIssuedAggregate_aggregate + implements + Built<GAccountsByPkData_account_commentsIssuedAggregate_aggregate, + GAccountsByPkData_account_commentsIssuedAggregate_aggregateBuilder>, + GAccountFields_commentsIssuedAggregate_aggregate { + GAccountsByPkData_account_commentsIssuedAggregate_aggregate._(); + + factory GAccountsByPkData_account_commentsIssuedAggregate_aggregate( + [void Function( + GAccountsByPkData_account_commentsIssuedAggregate_aggregateBuilder + b) + updates]) = _$GAccountsByPkData_account_commentsIssuedAggregate_aggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_commentsIssuedAggregate_aggregateBuilder + b) => + b..G__typename = 'TxCommentAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer<GAccountsByPkData_account_commentsIssuedAggregate_aggregate> + get serializer => + _$gAccountsByPkDataAccountCommentsIssuedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_commentsIssuedAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_commentsIssuedAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_commentsIssuedAggregate_aggregate.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity + implements + Built<GAccountsByPkData_account_identity, + GAccountsByPkData_account_identityBuilder>, + GAccountFields_identity, + GIdentityFields { + GAccountsByPkData_account_identity._(); + + factory GAccountsByPkData_account_identity( + [void Function(GAccountsByPkData_account_identityBuilder b) + updates]) = _$GAccountsByPkData_account_identity; + + static void _initializeBuilder(GAccountsByPkData_account_identityBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String? get accountRemovedId; + @override + BuiltList<GAccountsByPkData_account_identity_certIssued> get certIssued; + @override + GAccountsByPkData_account_identity_certIssuedAggregate + get certIssuedAggregate; + @override + BuiltList<GAccountsByPkData_account_identity_certReceived> get certReceived; + @override + GAccountsByPkData_account_identity_certReceivedAggregate + get certReceivedAggregate; + @override + String? get createdInId; + @override + int get createdOn; + @override + int get expireOn; + @override + String get id; + @override + int get index; + @override + bool get isMember; + @override + int get lastChangeOn; + @override + BuiltList<GAccountsByPkData_account_identity_linkedAccount> get linkedAccount; + @override + GAccountsByPkData_account_identity_linkedAccountAggregate + get linkedAccountAggregate; + @override + _i2.GIdentityStatusEnum? get status; + @override + BuiltList<GAccountsByPkData_account_identity_membershipHistory> + get membershipHistory; + @override + GAccountsByPkData_account_identity_membershipHistoryAggregate + get membershipHistoryAggregate; + @override + String get name; + @override + BuiltList<GAccountsByPkData_account_identity_ownerKeyChange> + get ownerKeyChange; + @override + GAccountsByPkData_account_identity_ownerKeyChangeAggregate + get ownerKeyChangeAggregate; + @override + GAccountsByPkData_account_identity_smith? get smith; + @override + BuiltList<GAccountsByPkData_account_identity_udHistory>? get udHistory; + static Serializer<GAccountsByPkData_account_identity> get serializer => + _$gAccountsByPkDataAccountIdentitySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_certIssued + implements + Built<GAccountsByPkData_account_identity_certIssued, + GAccountsByPkData_account_identity_certIssuedBuilder>, + GAccountFields_identity_certIssued, + GIdentityFields_certIssued, + GCertFields { + GAccountsByPkData_account_identity_certIssued._(); + + factory GAccountsByPkData_account_identity_certIssued( + [void Function(GAccountsByPkData_account_identity_certIssuedBuilder b) + updates]) = _$GAccountsByPkData_account_identity_certIssued; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_certIssuedBuilder b) => + b..G__typename = 'Cert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GAccountsByPkData_account_identity_certIssued_issuer? get issuer; + @override + String? get receiverId; + @override + GAccountsByPkData_account_identity_certIssued_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override + bool get isActive; + @override + int get updatedOn; + static Serializer<GAccountsByPkData_account_identity_certIssued> + get serializer => _$gAccountsByPkDataAccountIdentityCertIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_certIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_certIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_certIssued.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_certIssued_issuer + implements + Built<GAccountsByPkData_account_identity_certIssued_issuer, + GAccountsByPkData_account_identity_certIssued_issuerBuilder>, + GAccountFields_identity_certIssued_issuer, + GIdentityFields_certIssued_issuer, + GCertFields_issuer, + GIdentityBasicFields { + GAccountsByPkData_account_identity_certIssued_issuer._(); + + factory GAccountsByPkData_account_identity_certIssued_issuer( + [void Function( + GAccountsByPkData_account_identity_certIssued_issuerBuilder b) + updates]) = _$GAccountsByPkData_account_identity_certIssued_issuer; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_certIssued_issuerBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountsByPkData_account_identity_certIssued_issuer> + get serializer => + _$gAccountsByPkDataAccountIdentityCertIssuedIssuerSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_certIssued_issuer.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_certIssued_issuer? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_certIssued_issuer.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_certIssued_receiver + implements + Built<GAccountsByPkData_account_identity_certIssued_receiver, + GAccountsByPkData_account_identity_certIssued_receiverBuilder>, + GAccountFields_identity_certIssued_receiver, + GIdentityFields_certIssued_receiver, + GCertFields_receiver, + GIdentityBasicFields { + GAccountsByPkData_account_identity_certIssued_receiver._(); + + factory GAccountsByPkData_account_identity_certIssued_receiver( + [void Function( + GAccountsByPkData_account_identity_certIssued_receiverBuilder b) + updates]) = _$GAccountsByPkData_account_identity_certIssued_receiver; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_certIssued_receiverBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountsByPkData_account_identity_certIssued_receiver> + get serializer => + _$gAccountsByPkDataAccountIdentityCertIssuedReceiverSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_certIssued_receiver.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_certIssued_receiver? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_certIssued_receiver.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_certIssuedAggregate + implements + Built<GAccountsByPkData_account_identity_certIssuedAggregate, + GAccountsByPkData_account_identity_certIssuedAggregateBuilder>, + GAccountFields_identity_certIssuedAggregate, + GIdentityFields_certIssuedAggregate { + GAccountsByPkData_account_identity_certIssuedAggregate._(); + + factory GAccountsByPkData_account_identity_certIssuedAggregate( + [void Function( + GAccountsByPkData_account_identity_certIssuedAggregateBuilder b) + updates]) = _$GAccountsByPkData_account_identity_certIssuedAggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_certIssuedAggregateBuilder b) => + b..G__typename = 'CertAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountsByPkData_account_identity_certIssuedAggregate_aggregate? + get aggregate; + static Serializer<GAccountsByPkData_account_identity_certIssuedAggregate> + get serializer => + _$gAccountsByPkDataAccountIdentityCertIssuedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_certIssuedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_certIssuedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_certIssuedAggregate.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_certIssuedAggregate_aggregate + implements + Built<GAccountsByPkData_account_identity_certIssuedAggregate_aggregate, + GAccountsByPkData_account_identity_certIssuedAggregate_aggregateBuilder>, + GAccountFields_identity_certIssuedAggregate_aggregate, + GIdentityFields_certIssuedAggregate_aggregate { + GAccountsByPkData_account_identity_certIssuedAggregate_aggregate._(); + + factory GAccountsByPkData_account_identity_certIssuedAggregate_aggregate( + [void Function( + GAccountsByPkData_account_identity_certIssuedAggregate_aggregateBuilder + b) + updates]) = + _$GAccountsByPkData_account_identity_certIssuedAggregate_aggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_certIssuedAggregate_aggregateBuilder + b) => + b..G__typename = 'CertAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GAccountsByPkData_account_identity_certIssuedAggregate_aggregate> + get serializer => + _$gAccountsByPkDataAccountIdentityCertIssuedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_certIssuedAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_certIssuedAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_certIssuedAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_certReceived + implements + Built<GAccountsByPkData_account_identity_certReceived, + GAccountsByPkData_account_identity_certReceivedBuilder>, + GAccountFields_identity_certReceived, + GIdentityFields_certReceived, + GCertFields { + GAccountsByPkData_account_identity_certReceived._(); + + factory GAccountsByPkData_account_identity_certReceived( + [void Function(GAccountsByPkData_account_identity_certReceivedBuilder b) + updates]) = _$GAccountsByPkData_account_identity_certReceived; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_certReceivedBuilder b) => + b..G__typename = 'Cert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GAccountsByPkData_account_identity_certReceived_issuer? get issuer; + @override + String? get receiverId; + @override + GAccountsByPkData_account_identity_certReceived_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override + bool get isActive; + @override + int get updatedOn; + static Serializer<GAccountsByPkData_account_identity_certReceived> + get serializer => + _$gAccountsByPkDataAccountIdentityCertReceivedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_certReceived.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_certReceived? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_certReceived.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_certReceived_issuer + implements + Built<GAccountsByPkData_account_identity_certReceived_issuer, + GAccountsByPkData_account_identity_certReceived_issuerBuilder>, + GAccountFields_identity_certReceived_issuer, + GIdentityFields_certReceived_issuer, + GCertFields_issuer, + GIdentityBasicFields { + GAccountsByPkData_account_identity_certReceived_issuer._(); + + factory GAccountsByPkData_account_identity_certReceived_issuer( + [void Function( + GAccountsByPkData_account_identity_certReceived_issuerBuilder b) + updates]) = _$GAccountsByPkData_account_identity_certReceived_issuer; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_certReceived_issuerBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountsByPkData_account_identity_certReceived_issuer> + get serializer => + _$gAccountsByPkDataAccountIdentityCertReceivedIssuerSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_certReceived_issuer.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_certReceived_issuer? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_certReceived_issuer.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_certReceived_receiver + implements + Built<GAccountsByPkData_account_identity_certReceived_receiver, + GAccountsByPkData_account_identity_certReceived_receiverBuilder>, + GAccountFields_identity_certReceived_receiver, + GIdentityFields_certReceived_receiver, + GCertFields_receiver, + GIdentityBasicFields { + GAccountsByPkData_account_identity_certReceived_receiver._(); + + factory GAccountsByPkData_account_identity_certReceived_receiver( + [void Function( + GAccountsByPkData_account_identity_certReceived_receiverBuilder b) + updates]) = _$GAccountsByPkData_account_identity_certReceived_receiver; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_certReceived_receiverBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountsByPkData_account_identity_certReceived_receiver> + get serializer => + _$gAccountsByPkDataAccountIdentityCertReceivedReceiverSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_certReceived_receiver.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_certReceived_receiver? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_certReceived_receiver.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_certReceivedAggregate + implements + Built<GAccountsByPkData_account_identity_certReceivedAggregate, + GAccountsByPkData_account_identity_certReceivedAggregateBuilder>, + GAccountFields_identity_certReceivedAggregate, + GIdentityFields_certReceivedAggregate { + GAccountsByPkData_account_identity_certReceivedAggregate._(); + + factory GAccountsByPkData_account_identity_certReceivedAggregate( + [void Function( + GAccountsByPkData_account_identity_certReceivedAggregateBuilder b) + updates]) = _$GAccountsByPkData_account_identity_certReceivedAggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_certReceivedAggregateBuilder b) => + b..G__typename = 'CertAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountsByPkData_account_identity_certReceivedAggregate_aggregate? + get aggregate; + static Serializer<GAccountsByPkData_account_identity_certReceivedAggregate> + get serializer => + _$gAccountsByPkDataAccountIdentityCertReceivedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_certReceivedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_certReceivedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_certReceivedAggregate.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_certReceivedAggregate_aggregate + implements + Built< + GAccountsByPkData_account_identity_certReceivedAggregate_aggregate, + GAccountsByPkData_account_identity_certReceivedAggregate_aggregateBuilder>, + GAccountFields_identity_certReceivedAggregate_aggregate, + GIdentityFields_certReceivedAggregate_aggregate { + GAccountsByPkData_account_identity_certReceivedAggregate_aggregate._(); + + factory GAccountsByPkData_account_identity_certReceivedAggregate_aggregate( + [void Function( + GAccountsByPkData_account_identity_certReceivedAggregate_aggregateBuilder + b) + updates]) = + _$GAccountsByPkData_account_identity_certReceivedAggregate_aggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_certReceivedAggregate_aggregateBuilder + b) => + b..G__typename = 'CertAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GAccountsByPkData_account_identity_certReceivedAggregate_aggregate> + get serializer => + _$gAccountsByPkDataAccountIdentityCertReceivedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_certReceivedAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_certReceivedAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_certReceivedAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_linkedAccount + implements + Built<GAccountsByPkData_account_identity_linkedAccount, + GAccountsByPkData_account_identity_linkedAccountBuilder>, + GAccountFields_identity_linkedAccount, + GIdentityFields_linkedAccount { + GAccountsByPkData_account_identity_linkedAccount._(); + + factory GAccountsByPkData_account_identity_linkedAccount( + [void Function(GAccountsByPkData_account_identity_linkedAccountBuilder b) + updates]) = _$GAccountsByPkData_account_identity_linkedAccount; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_linkedAccountBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GAccountsByPkData_account_identity_linkedAccount> + get serializer => + _$gAccountsByPkDataAccountIdentityLinkedAccountSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_linkedAccount.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_linkedAccount? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_linkedAccount.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_linkedAccountAggregate + implements + Built<GAccountsByPkData_account_identity_linkedAccountAggregate, + GAccountsByPkData_account_identity_linkedAccountAggregateBuilder>, + GAccountFields_identity_linkedAccountAggregate, + GIdentityFields_linkedAccountAggregate { + GAccountsByPkData_account_identity_linkedAccountAggregate._(); + + factory GAccountsByPkData_account_identity_linkedAccountAggregate( + [void Function( + GAccountsByPkData_account_identity_linkedAccountAggregateBuilder + b) + updates]) = _$GAccountsByPkData_account_identity_linkedAccountAggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_linkedAccountAggregateBuilder b) => + b..G__typename = 'AccountAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate? + get aggregate; + static Serializer<GAccountsByPkData_account_identity_linkedAccountAggregate> + get serializer => + _$gAccountsByPkDataAccountIdentityLinkedAccountAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_linkedAccountAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_linkedAccountAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_linkedAccountAggregate.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate + implements + Built< + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate, + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateBuilder>, + GAccountFields_identity_linkedAccountAggregate_aggregate, + GIdentityFields_linkedAccountAggregate_aggregate { + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate._(); + + factory GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate( + [void Function( + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateBuilder + b) + updates]) = + _$GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateBuilder + b) => + b..G__typename = 'AccountAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate> + get serializer => + _$gAccountsByPkDataAccountIdentityLinkedAccountAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_membershipHistory + implements + Built<GAccountsByPkData_account_identity_membershipHistory, + GAccountsByPkData_account_identity_membershipHistoryBuilder>, + GAccountFields_identity_membershipHistory, + GIdentityFields_membershipHistory { + GAccountsByPkData_account_identity_membershipHistory._(); + + factory GAccountsByPkData_account_identity_membershipHistory( + [void Function( + GAccountsByPkData_account_identity_membershipHistoryBuilder b) + updates]) = _$GAccountsByPkData_account_identity_membershipHistory; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_membershipHistoryBuilder b) => + b..G__typename = 'MembershipEvent'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get blockNumber; + @override + String? get eventId; + @override + _i2.GEventTypeEnum? get eventType; + @override + String get id; + @override + String? get identityId; + static Serializer<GAccountsByPkData_account_identity_membershipHistory> + get serializer => + _$gAccountsByPkDataAccountIdentityMembershipHistorySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_membershipHistory.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_membershipHistory? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_membershipHistory.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_membershipHistoryAggregate + implements + Built<GAccountsByPkData_account_identity_membershipHistoryAggregate, + GAccountsByPkData_account_identity_membershipHistoryAggregateBuilder>, + GAccountFields_identity_membershipHistoryAggregate, + GIdentityFields_membershipHistoryAggregate { + GAccountsByPkData_account_identity_membershipHistoryAggregate._(); + + factory GAccountsByPkData_account_identity_membershipHistoryAggregate( + [void Function( + GAccountsByPkData_account_identity_membershipHistoryAggregateBuilder + b) + updates]) = + _$GAccountsByPkData_account_identity_membershipHistoryAggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_membershipHistoryAggregateBuilder + b) => + b..G__typename = 'MembershipEventAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate? + get aggregate; + static Serializer< + GAccountsByPkData_account_identity_membershipHistoryAggregate> + get serializer => + _$gAccountsByPkDataAccountIdentityMembershipHistoryAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_membershipHistoryAggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_membershipHistoryAggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_membershipHistoryAggregate + .serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate + implements + Built< + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate, + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateBuilder>, + GAccountFields_identity_membershipHistoryAggregate_aggregate, + GIdentityFields_membershipHistoryAggregate_aggregate { + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate._(); + + factory GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate( + [void Function( + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateBuilder + b) + updates]) = + _$GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateBuilder + b) => + b..G__typename = 'MembershipEventAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate> + get serializer => + _$gAccountsByPkDataAccountIdentityMembershipHistoryAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_ownerKeyChange + implements + Built<GAccountsByPkData_account_identity_ownerKeyChange, + GAccountsByPkData_account_identity_ownerKeyChangeBuilder>, + GAccountFields_identity_ownerKeyChange, + GIdentityFields_ownerKeyChange, + GOwnerKeyChangeFields { + GAccountsByPkData_account_identity_ownerKeyChange._(); + + factory GAccountsByPkData_account_identity_ownerKeyChange( + [void Function(GAccountsByPkData_account_identity_ownerKeyChangeBuilder b) + updates]) = _$GAccountsByPkData_account_identity_ownerKeyChange; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_ownerKeyChangeBuilder b) => + b..G__typename = 'ChangeOwnerKey'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get blockNumber; + @override + String? get identityId; + @override + String? get nextId; + @override + String? get previousId; + static Serializer<GAccountsByPkData_account_identity_ownerKeyChange> + get serializer => + _$gAccountsByPkDataAccountIdentityOwnerKeyChangeSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_ownerKeyChange.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_ownerKeyChange? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_ownerKeyChange.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_ownerKeyChangeAggregate + implements + Built<GAccountsByPkData_account_identity_ownerKeyChangeAggregate, + GAccountsByPkData_account_identity_ownerKeyChangeAggregateBuilder>, + GAccountFields_identity_ownerKeyChangeAggregate, + GIdentityFields_ownerKeyChangeAggregate { + GAccountsByPkData_account_identity_ownerKeyChangeAggregate._(); + + factory GAccountsByPkData_account_identity_ownerKeyChangeAggregate( + [void Function( + GAccountsByPkData_account_identity_ownerKeyChangeAggregateBuilder + b) + updates]) = _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_ownerKeyChangeAggregateBuilder + b) => + b..G__typename = 'ChangeOwnerKeyAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate? + get aggregate; + static Serializer<GAccountsByPkData_account_identity_ownerKeyChangeAggregate> + get serializer => + _$gAccountsByPkDataAccountIdentityOwnerKeyChangeAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_ownerKeyChangeAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_ownerKeyChangeAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_ownerKeyChangeAggregate.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate + implements + Built< + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate, + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateBuilder>, + GAccountFields_identity_ownerKeyChangeAggregate_aggregate, + GIdentityFields_ownerKeyChangeAggregate_aggregate { + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate._(); + + factory GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate( + [void Function( + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateBuilder + b) + updates]) = + _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateBuilder + b) => + b..G__typename = 'ChangeOwnerKeyAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate> + get serializer => + _$gAccountsByPkDataAccountIdentityOwnerKeyChangeAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_smith + implements + Built<GAccountsByPkData_account_identity_smith, + GAccountsByPkData_account_identity_smithBuilder>, + GAccountFields_identity_smith, + GIdentityFields_smith, + GSmithFields { + GAccountsByPkData_account_identity_smith._(); + + factory GAccountsByPkData_account_identity_smith( + [void Function(GAccountsByPkData_account_identity_smithBuilder b) + updates]) = _$GAccountsByPkData_account_identity_smith; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_smithBuilder b) => + b..G__typename = 'Smith'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get forged; + @override + int get index; + @override + int? get lastChanged; + @override + int? get lastForged; + @override + BuiltList<GAccountsByPkData_account_identity_smith_smithCertIssued> + get smithCertIssued; + @override + BuiltList<GAccountsByPkData_account_identity_smith_smithCertReceived> + get smithCertReceived; + static Serializer<GAccountsByPkData_account_identity_smith> get serializer => + _$gAccountsByPkDataAccountIdentitySmithSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_smith.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_smith? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_smith.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_smith_smithCertIssued + implements + Built<GAccountsByPkData_account_identity_smith_smithCertIssued, + GAccountsByPkData_account_identity_smith_smithCertIssuedBuilder>, + GAccountFields_identity_smith_smithCertIssued, + GIdentityFields_smith_smithCertIssued, + GSmithFields_smithCertIssued, + GSmithCertFields { + GAccountsByPkData_account_identity_smith_smithCertIssued._(); + + factory GAccountsByPkData_account_identity_smith_smithCertIssued( + [void Function( + GAccountsByPkData_account_identity_smith_smithCertIssuedBuilder b) + updates]) = _$GAccountsByPkData_account_identity_smith_smithCertIssued; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_smith_smithCertIssuedBuilder b) => + b..G__typename = 'SmithCert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + static Serializer<GAccountsByPkData_account_identity_smith_smithCertIssued> + get serializer => + _$gAccountsByPkDataAccountIdentitySmithSmithCertIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_smith_smithCertIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_smith_smithCertIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_smith_smithCertIssued.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_smith_smithCertReceived + implements + Built<GAccountsByPkData_account_identity_smith_smithCertReceived, + GAccountsByPkData_account_identity_smith_smithCertReceivedBuilder>, + GAccountFields_identity_smith_smithCertReceived, + GIdentityFields_smith_smithCertReceived, + GSmithFields_smithCertReceived, + GSmithCertFields { + GAccountsByPkData_account_identity_smith_smithCertReceived._(); + + factory GAccountsByPkData_account_identity_smith_smithCertReceived( + [void Function( + GAccountsByPkData_account_identity_smith_smithCertReceivedBuilder + b) + updates]) = _$GAccountsByPkData_account_identity_smith_smithCertReceived; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_smith_smithCertReceivedBuilder + b) => + b..G__typename = 'SmithCert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + static Serializer<GAccountsByPkData_account_identity_smith_smithCertReceived> + get serializer => + _$gAccountsByPkDataAccountIdentitySmithSmithCertReceivedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_smith_smithCertReceived.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_smith_smithCertReceived? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_smith_smithCertReceived.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_identity_udHistory + implements + Built<GAccountsByPkData_account_identity_udHistory, + GAccountsByPkData_account_identity_udHistoryBuilder>, + GAccountFields_identity_udHistory, + GIdentityFields_udHistory { + GAccountsByPkData_account_identity_udHistory._(); + + factory GAccountsByPkData_account_identity_udHistory( + [void Function(GAccountsByPkData_account_identity_udHistoryBuilder b) + updates]) = _$GAccountsByPkData_account_identity_udHistory; + + static void _initializeBuilder( + GAccountsByPkData_account_identity_udHistoryBuilder b) => + b..G__typename = 'UdHistory'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get amount; + @override + _i2.Gtimestamptz get timestamp; + static Serializer<GAccountsByPkData_account_identity_udHistory> + get serializer => _$gAccountsByPkDataAccountIdentityUdHistorySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_identity_udHistory.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_identity_udHistory? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_identity_udHistory.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_linkedIdentity + implements + Built<GAccountsByPkData_account_linkedIdentity, + GAccountsByPkData_account_linkedIdentityBuilder>, + GAccountFields_linkedIdentity, + GIdentityBasicFields { + GAccountsByPkData_account_linkedIdentity._(); + + factory GAccountsByPkData_account_linkedIdentity( + [void Function(GAccountsByPkData_account_linkedIdentityBuilder b) + updates]) = _$GAccountsByPkData_account_linkedIdentity; + + static void _initializeBuilder( + GAccountsByPkData_account_linkedIdentityBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountsByPkData_account_linkedIdentity> get serializer => + _$gAccountsByPkDataAccountLinkedIdentitySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_linkedIdentity.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_linkedIdentity? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_linkedIdentity.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_removedIdentities + implements + Built<GAccountsByPkData_account_removedIdentities, + GAccountsByPkData_account_removedIdentitiesBuilder>, + GAccountFields_removedIdentities, + GIdentityBasicFields { + GAccountsByPkData_account_removedIdentities._(); + + factory GAccountsByPkData_account_removedIdentities( + [void Function(GAccountsByPkData_account_removedIdentitiesBuilder b) + updates]) = _$GAccountsByPkData_account_removedIdentities; + + static void _initializeBuilder( + GAccountsByPkData_account_removedIdentitiesBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountsByPkData_account_removedIdentities> + get serializer => _$gAccountsByPkDataAccountRemovedIdentitiesSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_removedIdentities.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_removedIdentities? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_removedIdentities.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_removedIdentitiesAggregate + implements + Built<GAccountsByPkData_account_removedIdentitiesAggregate, + GAccountsByPkData_account_removedIdentitiesAggregateBuilder>, + GAccountFields_removedIdentitiesAggregate { + GAccountsByPkData_account_removedIdentitiesAggregate._(); + + factory GAccountsByPkData_account_removedIdentitiesAggregate( + [void Function( + GAccountsByPkData_account_removedIdentitiesAggregateBuilder b) + updates]) = _$GAccountsByPkData_account_removedIdentitiesAggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_removedIdentitiesAggregateBuilder b) => + b..G__typename = 'IdentityAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountsByPkData_account_removedIdentitiesAggregate_aggregate? get aggregate; + static Serializer<GAccountsByPkData_account_removedIdentitiesAggregate> + get serializer => + _$gAccountsByPkDataAccountRemovedIdentitiesAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_removedIdentitiesAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_removedIdentitiesAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_removedIdentitiesAggregate.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_removedIdentitiesAggregate_aggregate + implements + Built<GAccountsByPkData_account_removedIdentitiesAggregate_aggregate, + GAccountsByPkData_account_removedIdentitiesAggregate_aggregateBuilder>, + GAccountFields_removedIdentitiesAggregate_aggregate { + GAccountsByPkData_account_removedIdentitiesAggregate_aggregate._(); + + factory GAccountsByPkData_account_removedIdentitiesAggregate_aggregate( + [void Function( + GAccountsByPkData_account_removedIdentitiesAggregate_aggregateBuilder + b) + updates]) = + _$GAccountsByPkData_account_removedIdentitiesAggregate_aggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_removedIdentitiesAggregate_aggregateBuilder + b) => + b..G__typename = 'IdentityAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GAccountsByPkData_account_removedIdentitiesAggregate_aggregate> + get serializer => + _$gAccountsByPkDataAccountRemovedIdentitiesAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_removedIdentitiesAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_removedIdentitiesAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountsByPkData_account_removedIdentitiesAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_transfersIssued + implements + Built<GAccountsByPkData_account_transfersIssued, + GAccountsByPkData_account_transfersIssuedBuilder>, + GAccountFields_transfersIssued, + GTransferFields { + GAccountsByPkData_account_transfersIssued._(); + + factory GAccountsByPkData_account_transfersIssued( + [void Function(GAccountsByPkData_account_transfersIssuedBuilder b) + updates]) = _$GAccountsByPkData_account_transfersIssued; + + static void _initializeBuilder( + GAccountsByPkData_account_transfersIssuedBuilder b) => + b..G__typename = 'Transfer'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get blockNumber; + @override + _i2.Gtimestamptz get timestamp; + @override + int get amount; + @override + GAccountsByPkData_account_transfersIssued_to? get to; + @override + GAccountsByPkData_account_transfersIssued_from? get from; + @override + GAccountsByPkData_account_transfersIssued_comment? get comment; + static Serializer<GAccountsByPkData_account_transfersIssued> get serializer => + _$gAccountsByPkDataAccountTransfersIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_transfersIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_transfersIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_transfersIssued.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_transfersIssued_to + implements + Built<GAccountsByPkData_account_transfersIssued_to, + GAccountsByPkData_account_transfersIssued_toBuilder>, + GAccountFields_transfersIssued_to, + GTransferFields_to { + GAccountsByPkData_account_transfersIssued_to._(); + + factory GAccountsByPkData_account_transfersIssued_to( + [void Function(GAccountsByPkData_account_transfersIssued_toBuilder b) + updates]) = _$GAccountsByPkData_account_transfersIssued_to; + + static void _initializeBuilder( + GAccountsByPkData_account_transfersIssued_toBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GAccountsByPkData_account_transfersIssued_to> + get serializer => _$gAccountsByPkDataAccountTransfersIssuedToSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_transfersIssued_to.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_transfersIssued_to? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_transfersIssued_to.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_transfersIssued_from + implements + Built<GAccountsByPkData_account_transfersIssued_from, + GAccountsByPkData_account_transfersIssued_fromBuilder>, + GAccountFields_transfersIssued_from, + GTransferFields_from { + GAccountsByPkData_account_transfersIssued_from._(); + + factory GAccountsByPkData_account_transfersIssued_from( + [void Function(GAccountsByPkData_account_transfersIssued_fromBuilder b) + updates]) = _$GAccountsByPkData_account_transfersIssued_from; + + static void _initializeBuilder( + GAccountsByPkData_account_transfersIssued_fromBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GAccountsByPkData_account_transfersIssued_from> + get serializer => _$gAccountsByPkDataAccountTransfersIssuedFromSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_transfersIssued_from.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_transfersIssued_from? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_transfersIssued_from.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_transfersIssued_comment + implements + Built<GAccountsByPkData_account_transfersIssued_comment, + GAccountsByPkData_account_transfersIssued_commentBuilder>, + GAccountFields_transfersIssued_comment, + GTransferFields_comment { + GAccountsByPkData_account_transfersIssued_comment._(); + + factory GAccountsByPkData_account_transfersIssued_comment( + [void Function(GAccountsByPkData_account_transfersIssued_commentBuilder b) + updates]) = _$GAccountsByPkData_account_transfersIssued_comment; + + static void _initializeBuilder( + GAccountsByPkData_account_transfersIssued_commentBuilder b) => + b..G__typename = 'TxComment'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get remark; + static Serializer<GAccountsByPkData_account_transfersIssued_comment> + get serializer => + _$gAccountsByPkDataAccountTransfersIssuedCommentSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_transfersIssued_comment.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_transfersIssued_comment? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_transfersIssued_comment.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_transfersIssuedAggregate + implements + Built<GAccountsByPkData_account_transfersIssuedAggregate, + GAccountsByPkData_account_transfersIssuedAggregateBuilder>, + GAccountFields_transfersIssuedAggregate { + GAccountsByPkData_account_transfersIssuedAggregate._(); + + factory GAccountsByPkData_account_transfersIssuedAggregate( + [void Function( + GAccountsByPkData_account_transfersIssuedAggregateBuilder b) + updates]) = _$GAccountsByPkData_account_transfersIssuedAggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_transfersIssuedAggregateBuilder b) => + b..G__typename = 'TransferAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountsByPkData_account_transfersIssuedAggregate_aggregate? get aggregate; + static Serializer<GAccountsByPkData_account_transfersIssuedAggregate> + get serializer => + _$gAccountsByPkDataAccountTransfersIssuedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_transfersIssuedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_transfersIssuedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_transfersIssuedAggregate.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_transfersIssuedAggregate_aggregate + implements + Built<GAccountsByPkData_account_transfersIssuedAggregate_aggregate, + GAccountsByPkData_account_transfersIssuedAggregate_aggregateBuilder>, + GAccountFields_transfersIssuedAggregate_aggregate { + GAccountsByPkData_account_transfersIssuedAggregate_aggregate._(); + + factory GAccountsByPkData_account_transfersIssuedAggregate_aggregate( + [void Function( + GAccountsByPkData_account_transfersIssuedAggregate_aggregateBuilder + b) + updates]) = + _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_transfersIssuedAggregate_aggregateBuilder + b) => + b..G__typename = 'TransferAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum? get sum; + @override + int get count; + static Serializer< + GAccountsByPkData_account_transfersIssuedAggregate_aggregate> + get serializer => + _$gAccountsByPkDataAccountTransfersIssuedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_transfersIssuedAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_transfersIssuedAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_transfersIssuedAggregate_aggregate.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum + implements + Built<GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum, + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumBuilder>, + GAccountFields_transfersIssuedAggregate_aggregate_sum { + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum._(); + + factory GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum( + [void Function( + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumBuilder + b) + updates]) = + _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum; + + static void _initializeBuilder( + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumBuilder + b) => + b..G__typename = 'TransferSumFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int? get amount; + static Serializer< + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum> + get serializer => + _$gAccountsByPkDataAccountTransfersIssuedAggregateAggregateSumSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum + .serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_transfersReceived + implements + Built<GAccountsByPkData_account_transfersReceived, + GAccountsByPkData_account_transfersReceivedBuilder>, + GAccountFields_transfersReceived, + GTransferFields { + GAccountsByPkData_account_transfersReceived._(); + + factory GAccountsByPkData_account_transfersReceived( + [void Function(GAccountsByPkData_account_transfersReceivedBuilder b) + updates]) = _$GAccountsByPkData_account_transfersReceived; + + static void _initializeBuilder( + GAccountsByPkData_account_transfersReceivedBuilder b) => + b..G__typename = 'Transfer'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get blockNumber; + @override + _i2.Gtimestamptz get timestamp; + @override + int get amount; + @override + GAccountsByPkData_account_transfersReceived_to? get to; + @override + GAccountsByPkData_account_transfersReceived_from? get from; + @override + GAccountsByPkData_account_transfersReceived_comment? get comment; + static Serializer<GAccountsByPkData_account_transfersReceived> + get serializer => _$gAccountsByPkDataAccountTransfersReceivedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_transfersReceived.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_transfersReceived? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_transfersReceived.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_transfersReceived_to + implements + Built<GAccountsByPkData_account_transfersReceived_to, + GAccountsByPkData_account_transfersReceived_toBuilder>, + GAccountFields_transfersReceived_to, + GTransferFields_to { + GAccountsByPkData_account_transfersReceived_to._(); + + factory GAccountsByPkData_account_transfersReceived_to( + [void Function(GAccountsByPkData_account_transfersReceived_toBuilder b) + updates]) = _$GAccountsByPkData_account_transfersReceived_to; + + static void _initializeBuilder( + GAccountsByPkData_account_transfersReceived_toBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GAccountsByPkData_account_transfersReceived_to> + get serializer => _$gAccountsByPkDataAccountTransfersReceivedToSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_transfersReceived_to.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_transfersReceived_to? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_transfersReceived_to.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_transfersReceived_from + implements + Built<GAccountsByPkData_account_transfersReceived_from, + GAccountsByPkData_account_transfersReceived_fromBuilder>, + GAccountFields_transfersReceived_from, + GTransferFields_from { + GAccountsByPkData_account_transfersReceived_from._(); + + factory GAccountsByPkData_account_transfersReceived_from( + [void Function(GAccountsByPkData_account_transfersReceived_fromBuilder b) + updates]) = _$GAccountsByPkData_account_transfersReceived_from; + + static void _initializeBuilder( + GAccountsByPkData_account_transfersReceived_fromBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GAccountsByPkData_account_transfersReceived_from> + get serializer => + _$gAccountsByPkDataAccountTransfersReceivedFromSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_transfersReceived_from.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_transfersReceived_from? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_transfersReceived_from.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_transfersReceived_comment + implements + Built<GAccountsByPkData_account_transfersReceived_comment, + GAccountsByPkData_account_transfersReceived_commentBuilder>, + GAccountFields_transfersReceived_comment, + GTransferFields_comment { + GAccountsByPkData_account_transfersReceived_comment._(); + + factory GAccountsByPkData_account_transfersReceived_comment( + [void Function( + GAccountsByPkData_account_transfersReceived_commentBuilder b) + updates]) = _$GAccountsByPkData_account_transfersReceived_comment; + + static void _initializeBuilder( + GAccountsByPkData_account_transfersReceived_commentBuilder b) => + b..G__typename = 'TxComment'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get remark; + static Serializer<GAccountsByPkData_account_transfersReceived_comment> + get serializer => + _$gAccountsByPkDataAccountTransfersReceivedCommentSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_transfersReceived_comment.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_transfersReceived_comment? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_transfersReceived_comment.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_transfersReceivedAggregate + implements + Built<GAccountsByPkData_account_transfersReceivedAggregate, + GAccountsByPkData_account_transfersReceivedAggregateBuilder>, + GAccountFields_transfersReceivedAggregate { + GAccountsByPkData_account_transfersReceivedAggregate._(); + + factory GAccountsByPkData_account_transfersReceivedAggregate( + [void Function( + GAccountsByPkData_account_transfersReceivedAggregateBuilder b) + updates]) = _$GAccountsByPkData_account_transfersReceivedAggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_transfersReceivedAggregateBuilder b) => + b..G__typename = 'TransferAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountsByPkData_account_transfersReceivedAggregate_aggregate? get aggregate; + static Serializer<GAccountsByPkData_account_transfersReceivedAggregate> + get serializer => + _$gAccountsByPkDataAccountTransfersReceivedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_transfersReceivedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_transfersReceivedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_transfersReceivedAggregate.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_transfersReceivedAggregate_aggregate + implements + Built<GAccountsByPkData_account_transfersReceivedAggregate_aggregate, + GAccountsByPkData_account_transfersReceivedAggregate_aggregateBuilder>, + GAccountFields_transfersReceivedAggregate_aggregate { + GAccountsByPkData_account_transfersReceivedAggregate_aggregate._(); + + factory GAccountsByPkData_account_transfersReceivedAggregate_aggregate( + [void Function( + GAccountsByPkData_account_transfersReceivedAggregate_aggregateBuilder + b) + updates]) = + _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_transfersReceivedAggregate_aggregateBuilder + b) => + b..G__typename = 'TransferAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum? get sum; + @override + int get count; + static Serializer< + GAccountsByPkData_account_transfersReceivedAggregate_aggregate> + get serializer => + _$gAccountsByPkDataAccountTransfersReceivedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_transfersReceivedAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_transfersReceivedAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountsByPkData_account_transfersReceivedAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum + implements + Built< + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum, + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumBuilder>, + GAccountFields_transfersReceivedAggregate_aggregate_sum { + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum._(); + + factory GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum( + [void Function( + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumBuilder + b) + updates]) = + _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum; + + static void _initializeBuilder( + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumBuilder + b) => + b..G__typename = 'TransferSumFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int? get amount; + static Serializer< + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum> + get serializer => + _$gAccountsByPkDataAccountTransfersReceivedAggregateAggregateSumSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum + .serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_wasIdentity + implements + Built<GAccountsByPkData_account_wasIdentity, + GAccountsByPkData_account_wasIdentityBuilder>, + GAccountFields_wasIdentity, + GOwnerKeyChangeFields { + GAccountsByPkData_account_wasIdentity._(); + + factory GAccountsByPkData_account_wasIdentity( + [void Function(GAccountsByPkData_account_wasIdentityBuilder b) + updates]) = _$GAccountsByPkData_account_wasIdentity; + + static void _initializeBuilder( + GAccountsByPkData_account_wasIdentityBuilder b) => + b..G__typename = 'ChangeOwnerKey'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get blockNumber; + @override + String? get identityId; + @override + String? get nextId; + @override + String? get previousId; + static Serializer<GAccountsByPkData_account_wasIdentity> get serializer => + _$gAccountsByPkDataAccountWasIdentitySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_wasIdentity.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_wasIdentity? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_wasIdentity.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_wasIdentityAggregate + implements + Built<GAccountsByPkData_account_wasIdentityAggregate, + GAccountsByPkData_account_wasIdentityAggregateBuilder>, + GAccountFields_wasIdentityAggregate { + GAccountsByPkData_account_wasIdentityAggregate._(); + + factory GAccountsByPkData_account_wasIdentityAggregate( + [void Function(GAccountsByPkData_account_wasIdentityAggregateBuilder b) + updates]) = _$GAccountsByPkData_account_wasIdentityAggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_wasIdentityAggregateBuilder b) => + b..G__typename = 'ChangeOwnerKeyAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountsByPkData_account_wasIdentityAggregate_aggregate? get aggregate; + static Serializer<GAccountsByPkData_account_wasIdentityAggregate> + get serializer => + _$gAccountsByPkDataAccountWasIdentityAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_wasIdentityAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_wasIdentityAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_wasIdentityAggregate.serializer, + json, + ); +} + +abstract class GAccountsByPkData_account_wasIdentityAggregate_aggregate + implements + Built<GAccountsByPkData_account_wasIdentityAggregate_aggregate, + GAccountsByPkData_account_wasIdentityAggregate_aggregateBuilder>, + GAccountFields_wasIdentityAggregate_aggregate { + GAccountsByPkData_account_wasIdentityAggregate_aggregate._(); + + factory GAccountsByPkData_account_wasIdentityAggregate_aggregate( + [void Function( + GAccountsByPkData_account_wasIdentityAggregate_aggregateBuilder b) + updates]) = _$GAccountsByPkData_account_wasIdentityAggregate_aggregate; + + static void _initializeBuilder( + GAccountsByPkData_account_wasIdentityAggregate_aggregateBuilder b) => + b..G__typename = 'ChangeOwnerKeyAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer<GAccountsByPkData_account_wasIdentityAggregate_aggregate> + get serializer => + _$gAccountsByPkDataAccountWasIdentityAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkData_account_wasIdentityAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkData_account_wasIdentityAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkData_account_wasIdentityAggregate_aggregate.serializer, + json, + ); +} + +abstract class GLastBlockData + implements Built<GLastBlockData, GLastBlockDataBuilder> { + GLastBlockData._(); + + factory GLastBlockData([void Function(GLastBlockDataBuilder b) updates]) = + _$GLastBlockData; + + static void _initializeBuilder(GLastBlockDataBuilder b) => + b..G__typename = 'query_root'; + + @BuiltValueField(wireName: '__typename') + String get G__typename; + BuiltList<GLastBlockData_block> get block; + static Serializer<GLastBlockData> get serializer => + _$gLastBlockDataSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GLastBlockData.serializer, + this, + ) as Map<String, dynamic>); + + static GLastBlockData? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GLastBlockData.serializer, + json, + ); +} + +abstract class GLastBlockData_block + implements Built<GLastBlockData_block, GLastBlockData_blockBuilder> { + GLastBlockData_block._(); + + factory GLastBlockData_block( + [void Function(GLastBlockData_blockBuilder b) updates]) = + _$GLastBlockData_block; + + static void _initializeBuilder(GLastBlockData_blockBuilder b) => + b..G__typename = 'Block'; + + @BuiltValueField(wireName: '__typename') + String get G__typename; + int get height; + static Serializer<GLastBlockData_block> get serializer => + _$gLastBlockDataBlockSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GLastBlockData_block.serializer, + this, + ) as Map<String, dynamic>); + + static GLastBlockData_block? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GLastBlockData_block.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData + implements + Built<GGetHistoryAndBalanceData, GGetHistoryAndBalanceDataBuilder> { + GGetHistoryAndBalanceData._(); + + factory GGetHistoryAndBalanceData( + [void Function(GGetHistoryAndBalanceDataBuilder b) updates]) = + _$GGetHistoryAndBalanceData; + + static void _initializeBuilder(GGetHistoryAndBalanceDataBuilder b) => + b..G__typename = 'query_root'; + + @BuiltValueField(wireName: '__typename') + String get G__typename; + BuiltList<GGetHistoryAndBalanceData_account> get account; + static Serializer<GGetHistoryAndBalanceData> get serializer => + _$gGetHistoryAndBalanceDataSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account + implements + Built<GGetHistoryAndBalanceData_account, + GGetHistoryAndBalanceData_accountBuilder>, + GAccountFields { + GGetHistoryAndBalanceData_account._(); + + factory GGetHistoryAndBalanceData_account( + [void Function(GGetHistoryAndBalanceData_accountBuilder b) updates]) = + _$GGetHistoryAndBalanceData_account; + + static void _initializeBuilder(GGetHistoryAndBalanceData_accountBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + BuiltList<GGetHistoryAndBalanceData_account_commentsIssued> + get commentsIssued; + @override + GGetHistoryAndBalanceData_account_commentsIssuedAggregate + get commentsIssuedAggregate; + @override + int get createdOn; + @override + String get id; + @override + GGetHistoryAndBalanceData_account_identity? get identity; + @override + bool get isActive; + @override + GGetHistoryAndBalanceData_account_linkedIdentity? get linkedIdentity; + @override + BuiltList<GGetHistoryAndBalanceData_account_removedIdentities> + get removedIdentities; + @override + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate + get removedIdentitiesAggregate; + @override + BuiltList<GGetHistoryAndBalanceData_account_transfersIssued> + get transfersIssued; + @override + GGetHistoryAndBalanceData_account_transfersIssuedAggregate + get transfersIssuedAggregate; + @override + BuiltList<GGetHistoryAndBalanceData_account_transfersReceived> + get transfersReceived; + @override + GGetHistoryAndBalanceData_account_transfersReceivedAggregate + get transfersReceivedAggregate; + @override + BuiltList<GGetHistoryAndBalanceData_account_wasIdentity> get wasIdentity; + @override + GGetHistoryAndBalanceData_account_wasIdentityAggregate + get wasIdentityAggregate; + static Serializer<GGetHistoryAndBalanceData_account> get serializer => + _$gGetHistoryAndBalanceDataAccountSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_commentsIssued + implements + Built<GGetHistoryAndBalanceData_account_commentsIssued, + GGetHistoryAndBalanceData_account_commentsIssuedBuilder>, + GAccountFields_commentsIssued, + GCommentsIssued { + GGetHistoryAndBalanceData_account_commentsIssued._(); + + factory GGetHistoryAndBalanceData_account_commentsIssued( + [void Function(GGetHistoryAndBalanceData_account_commentsIssuedBuilder b) + updates]) = _$GGetHistoryAndBalanceData_account_commentsIssued; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_commentsIssuedBuilder b) => + b..G__typename = 'TxComment'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get authorId; + @override + int get blockNumber; + @override + String? get eventId; + @override + String get hash; + @override + String get id; + @override + String get remark; + @override + _i2.GCommentTypeEnum? get type; + static Serializer<GGetHistoryAndBalanceData_account_commentsIssued> + get serializer => + _$gGetHistoryAndBalanceDataAccountCommentsIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_commentsIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_commentsIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_commentsIssued.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_commentsIssuedAggregate + implements + Built<GGetHistoryAndBalanceData_account_commentsIssuedAggregate, + GGetHistoryAndBalanceData_account_commentsIssuedAggregateBuilder>, + GAccountFields_commentsIssuedAggregate { + GGetHistoryAndBalanceData_account_commentsIssuedAggregate._(); + + factory GGetHistoryAndBalanceData_account_commentsIssuedAggregate( + [void Function( + GGetHistoryAndBalanceData_account_commentsIssuedAggregateBuilder + b) + updates]) = _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_commentsIssuedAggregateBuilder b) => + b..G__typename = 'TxCommentAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate? + get aggregate; + static Serializer<GGetHistoryAndBalanceData_account_commentsIssuedAggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountCommentsIssuedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_commentsIssuedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_commentsIssuedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_commentsIssuedAggregate.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate + implements + Built< + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate, + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateBuilder>, + GAccountFields_commentsIssuedAggregate_aggregate { + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate._(); + + factory GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateBuilder + b) => + b..G__typename = 'TxCommentAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountCommentsIssuedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity + implements + Built<GGetHistoryAndBalanceData_account_identity, + GGetHistoryAndBalanceData_account_identityBuilder>, + GAccountFields_identity, + GIdentityFields { + GGetHistoryAndBalanceData_account_identity._(); + + factory GGetHistoryAndBalanceData_account_identity( + [void Function(GGetHistoryAndBalanceData_account_identityBuilder b) + updates]) = _$GGetHistoryAndBalanceData_account_identity; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identityBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String? get accountRemovedId; + @override + BuiltList<GGetHistoryAndBalanceData_account_identity_certIssued> + get certIssued; + @override + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate + get certIssuedAggregate; + @override + BuiltList<GGetHistoryAndBalanceData_account_identity_certReceived> + get certReceived; + @override + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate + get certReceivedAggregate; + @override + String? get createdInId; + @override + int get createdOn; + @override + int get expireOn; + @override + String get id; + @override + int get index; + @override + bool get isMember; + @override + int get lastChangeOn; + @override + BuiltList<GGetHistoryAndBalanceData_account_identity_linkedAccount> + get linkedAccount; + @override + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate + get linkedAccountAggregate; + @override + _i2.GIdentityStatusEnum? get status; + @override + BuiltList<GGetHistoryAndBalanceData_account_identity_membershipHistory> + get membershipHistory; + @override + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate + get membershipHistoryAggregate; + @override + String get name; + @override + BuiltList<GGetHistoryAndBalanceData_account_identity_ownerKeyChange> + get ownerKeyChange; + @override + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate + get ownerKeyChangeAggregate; + @override + GGetHistoryAndBalanceData_account_identity_smith? get smith; + @override + BuiltList<GGetHistoryAndBalanceData_account_identity_udHistory>? + get udHistory; + static Serializer<GGetHistoryAndBalanceData_account_identity> + get serializer => _$gGetHistoryAndBalanceDataAccountIdentitySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_certIssued + implements + Built<GGetHistoryAndBalanceData_account_identity_certIssued, + GGetHistoryAndBalanceData_account_identity_certIssuedBuilder>, + GAccountFields_identity_certIssued, + GIdentityFields_certIssued, + GCertFields { + GGetHistoryAndBalanceData_account_identity_certIssued._(); + + factory GGetHistoryAndBalanceData_account_identity_certIssued( + [void Function( + GGetHistoryAndBalanceData_account_identity_certIssuedBuilder b) + updates]) = _$GGetHistoryAndBalanceData_account_identity_certIssued; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_certIssuedBuilder b) => + b..G__typename = 'Cert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GGetHistoryAndBalanceData_account_identity_certIssued_issuer? get issuer; + @override + String? get receiverId; + @override + GGetHistoryAndBalanceData_account_identity_certIssued_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override + bool get isActive; + @override + int get updatedOn; + static Serializer<GGetHistoryAndBalanceData_account_identity_certIssued> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityCertIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_certIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_certIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_certIssued.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_certIssued_issuer + implements + Built<GGetHistoryAndBalanceData_account_identity_certIssued_issuer, + GGetHistoryAndBalanceData_account_identity_certIssued_issuerBuilder>, + GAccountFields_identity_certIssued_issuer, + GIdentityFields_certIssued_issuer, + GCertFields_issuer, + GIdentityBasicFields { + GGetHistoryAndBalanceData_account_identity_certIssued_issuer._(); + + factory GGetHistoryAndBalanceData_account_identity_certIssued_issuer( + [void Function( + GGetHistoryAndBalanceData_account_identity_certIssued_issuerBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_identity_certIssued_issuer; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_certIssued_issuerBuilder + b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer< + GGetHistoryAndBalanceData_account_identity_certIssued_issuer> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityCertIssuedIssuerSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_certIssued_issuer.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_certIssued_issuer? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_certIssued_issuer.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_certIssued_receiver + implements + Built<GGetHistoryAndBalanceData_account_identity_certIssued_receiver, + GGetHistoryAndBalanceData_account_identity_certIssued_receiverBuilder>, + GAccountFields_identity_certIssued_receiver, + GIdentityFields_certIssued_receiver, + GCertFields_receiver, + GIdentityBasicFields { + GGetHistoryAndBalanceData_account_identity_certIssued_receiver._(); + + factory GGetHistoryAndBalanceData_account_identity_certIssued_receiver( + [void Function( + GGetHistoryAndBalanceData_account_identity_certIssued_receiverBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_identity_certIssued_receiver; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_certIssued_receiverBuilder + b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer< + GGetHistoryAndBalanceData_account_identity_certIssued_receiver> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityCertIssuedReceiverSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_certIssued_receiver + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_certIssued_receiver? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_certIssued_receiver + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_certIssuedAggregate + implements + Built<GGetHistoryAndBalanceData_account_identity_certIssuedAggregate, + GGetHistoryAndBalanceData_account_identity_certIssuedAggregateBuilder>, + GAccountFields_identity_certIssuedAggregate, + GIdentityFields_certIssuedAggregate { + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate._(); + + factory GGetHistoryAndBalanceData_account_identity_certIssuedAggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregateBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregateBuilder + b) => + b..G__typename = 'CertAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate? + get aggregate; + static Serializer< + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityCertIssuedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_certIssuedAggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate + implements + Built< + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateBuilder>, + GAccountFields_identity_certIssuedAggregate_aggregate, + GIdentityFields_certIssuedAggregate_aggregate { + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate._(); + + factory GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateBuilder + b) => + b..G__typename = 'CertAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityCertIssuedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_certReceived + implements + Built<GGetHistoryAndBalanceData_account_identity_certReceived, + GGetHistoryAndBalanceData_account_identity_certReceivedBuilder>, + GAccountFields_identity_certReceived, + GIdentityFields_certReceived, + GCertFields { + GGetHistoryAndBalanceData_account_identity_certReceived._(); + + factory GGetHistoryAndBalanceData_account_identity_certReceived( + [void Function( + GGetHistoryAndBalanceData_account_identity_certReceivedBuilder b) + updates]) = _$GGetHistoryAndBalanceData_account_identity_certReceived; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_certReceivedBuilder b) => + b..G__typename = 'Cert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GGetHistoryAndBalanceData_account_identity_certReceived_issuer? get issuer; + @override + String? get receiverId; + @override + GGetHistoryAndBalanceData_account_identity_certReceived_receiver? + get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override + bool get isActive; + @override + int get updatedOn; + static Serializer<GGetHistoryAndBalanceData_account_identity_certReceived> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityCertReceivedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_certReceived.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_certReceived? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_certReceived.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_certReceived_issuer + implements + Built<GGetHistoryAndBalanceData_account_identity_certReceived_issuer, + GGetHistoryAndBalanceData_account_identity_certReceived_issuerBuilder>, + GAccountFields_identity_certReceived_issuer, + GIdentityFields_certReceived_issuer, + GCertFields_issuer, + GIdentityBasicFields { + GGetHistoryAndBalanceData_account_identity_certReceived_issuer._(); + + factory GGetHistoryAndBalanceData_account_identity_certReceived_issuer( + [void Function( + GGetHistoryAndBalanceData_account_identity_certReceived_issuerBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_identity_certReceived_issuer; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_certReceived_issuerBuilder + b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer< + GGetHistoryAndBalanceData_account_identity_certReceived_issuer> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityCertReceivedIssuerSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_certReceived_issuer + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_certReceived_issuer? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_certReceived_issuer + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_certReceived_receiver + implements + Built<GGetHistoryAndBalanceData_account_identity_certReceived_receiver, + GGetHistoryAndBalanceData_account_identity_certReceived_receiverBuilder>, + GAccountFields_identity_certReceived_receiver, + GIdentityFields_certReceived_receiver, + GCertFields_receiver, + GIdentityBasicFields { + GGetHistoryAndBalanceData_account_identity_certReceived_receiver._(); + + factory GGetHistoryAndBalanceData_account_identity_certReceived_receiver( + [void Function( + GGetHistoryAndBalanceData_account_identity_certReceived_receiverBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_identity_certReceived_receiver; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_certReceived_receiverBuilder + b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer< + GGetHistoryAndBalanceData_account_identity_certReceived_receiver> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityCertReceivedReceiverSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_certReceived_receiver + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_certReceived_receiver? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_certReceived_receiver + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_certReceivedAggregate + implements + Built<GGetHistoryAndBalanceData_account_identity_certReceivedAggregate, + GGetHistoryAndBalanceData_account_identity_certReceivedAggregateBuilder>, + GAccountFields_identity_certReceivedAggregate, + GIdentityFields_certReceivedAggregate { + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate._(); + + factory GGetHistoryAndBalanceData_account_identity_certReceivedAggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregateBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregateBuilder + b) => + b..G__typename = 'CertAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate? + get aggregate; + static Serializer< + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityCertReceivedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_certReceivedAggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate + implements + Built< + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateBuilder>, + GAccountFields_identity_certReceivedAggregate_aggregate, + GIdentityFields_certReceivedAggregate_aggregate { + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate._(); + + factory GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateBuilder + b) => + b..G__typename = 'CertAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityCertReceivedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_linkedAccount + implements + Built<GGetHistoryAndBalanceData_account_identity_linkedAccount, + GGetHistoryAndBalanceData_account_identity_linkedAccountBuilder>, + GAccountFields_identity_linkedAccount, + GIdentityFields_linkedAccount { + GGetHistoryAndBalanceData_account_identity_linkedAccount._(); + + factory GGetHistoryAndBalanceData_account_identity_linkedAccount( + [void Function( + GGetHistoryAndBalanceData_account_identity_linkedAccountBuilder b) + updates]) = _$GGetHistoryAndBalanceData_account_identity_linkedAccount; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_linkedAccountBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GGetHistoryAndBalanceData_account_identity_linkedAccount> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityLinkedAccountSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_linkedAccount.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_linkedAccount? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_linkedAccount.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate + implements + Built<GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate, + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateBuilder>, + GAccountFields_identity_linkedAccountAggregate, + GIdentityFields_linkedAccountAggregate { + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate._(); + + factory GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateBuilder + b) => + b..G__typename = 'AccountAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate? + get aggregate; + static Serializer< + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityLinkedAccountAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate + implements + Built< + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateBuilder>, + GAccountFields_identity_linkedAccountAggregate_aggregate, + GIdentityFields_linkedAccountAggregate_aggregate { + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate._(); + + factory GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateBuilder + b) => + b..G__typename = 'AccountAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityLinkedAccountAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_membershipHistory + implements + Built<GGetHistoryAndBalanceData_account_identity_membershipHistory, + GGetHistoryAndBalanceData_account_identity_membershipHistoryBuilder>, + GAccountFields_identity_membershipHistory, + GIdentityFields_membershipHistory { + GGetHistoryAndBalanceData_account_identity_membershipHistory._(); + + factory GGetHistoryAndBalanceData_account_identity_membershipHistory( + [void Function( + GGetHistoryAndBalanceData_account_identity_membershipHistoryBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_identity_membershipHistory; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_membershipHistoryBuilder + b) => + b..G__typename = 'MembershipEvent'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get blockNumber; + @override + String? get eventId; + @override + _i2.GEventTypeEnum? get eventType; + @override + String get id; + @override + String? get identityId; + static Serializer< + GGetHistoryAndBalanceData_account_identity_membershipHistory> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityMembershipHistorySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_membershipHistory.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_membershipHistory? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_membershipHistory.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate + implements + Built< + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate, + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateBuilder>, + GAccountFields_identity_membershipHistoryAggregate, + GIdentityFields_membershipHistoryAggregate { + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate._(); + + factory GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateBuilder + b) => + b..G__typename = 'MembershipEventAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate? + get aggregate; + static Serializer< + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityMembershipHistoryAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate + implements + Built< + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateBuilder>, + GAccountFields_identity_membershipHistoryAggregate_aggregate, + GIdentityFields_membershipHistoryAggregate_aggregate { + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate._(); + + factory GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateBuilder + b) => + b..G__typename = 'MembershipEventAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityMembershipHistoryAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_ownerKeyChange + implements + Built<GGetHistoryAndBalanceData_account_identity_ownerKeyChange, + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeBuilder>, + GAccountFields_identity_ownerKeyChange, + GIdentityFields_ownerKeyChange, + GOwnerKeyChangeFields { + GGetHistoryAndBalanceData_account_identity_ownerKeyChange._(); + + factory GGetHistoryAndBalanceData_account_identity_ownerKeyChange( + [void Function( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeBuilder + b) + updates]) = _$GGetHistoryAndBalanceData_account_identity_ownerKeyChange; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeBuilder b) => + b..G__typename = 'ChangeOwnerKey'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get blockNumber; + @override + String? get identityId; + @override + String? get nextId; + @override + String? get previousId; + static Serializer<GGetHistoryAndBalanceData_account_identity_ownerKeyChange> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityOwnerKeyChangeSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_ownerKeyChange.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_ownerKeyChange? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_ownerKeyChange.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate + implements + Built< + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate, + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateBuilder>, + GAccountFields_identity_ownerKeyChangeAggregate, + GIdentityFields_ownerKeyChangeAggregate { + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate._(); + + factory GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateBuilder + b) => + b..G__typename = 'ChangeOwnerKeyAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate? + get aggregate; + static Serializer< + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityOwnerKeyChangeAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate + implements + Built< + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateBuilder>, + GAccountFields_identity_ownerKeyChangeAggregate_aggregate, + GIdentityFields_ownerKeyChangeAggregate_aggregate { + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate._(); + + factory GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateBuilder + b) => + b..G__typename = 'ChangeOwnerKeyAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityOwnerKeyChangeAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_smith + implements + Built<GGetHistoryAndBalanceData_account_identity_smith, + GGetHistoryAndBalanceData_account_identity_smithBuilder>, + GAccountFields_identity_smith, + GIdentityFields_smith, + GSmithFields { + GGetHistoryAndBalanceData_account_identity_smith._(); + + factory GGetHistoryAndBalanceData_account_identity_smith( + [void Function(GGetHistoryAndBalanceData_account_identity_smithBuilder b) + updates]) = _$GGetHistoryAndBalanceData_account_identity_smith; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_smithBuilder b) => + b..G__typename = 'Smith'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get forged; + @override + int get index; + @override + int? get lastChanged; + @override + int? get lastForged; + @override + BuiltList<GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued> + get smithCertIssued; + @override + BuiltList<GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived> + get smithCertReceived; + static Serializer<GGetHistoryAndBalanceData_account_identity_smith> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentitySmithSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_smith.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_smith? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_smith.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued + implements + Built<GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued, + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssuedBuilder>, + GAccountFields_identity_smith_smithCertIssued, + GIdentityFields_smith_smithCertIssued, + GSmithFields_smithCertIssued, + GSmithCertFields { + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued._(); + + factory GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued( + [void Function( + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssuedBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssuedBuilder + b) => + b..G__typename = 'SmithCert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + static Serializer< + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentitySmithSmithCertIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived + implements + Built< + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived, + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceivedBuilder>, + GAccountFields_identity_smith_smithCertReceived, + GIdentityFields_smith_smithCertReceived, + GSmithFields_smithCertReceived, + GSmithCertFields { + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived._(); + + factory GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived( + [void Function( + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceivedBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceivedBuilder + b) => + b..G__typename = 'SmithCert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + static Serializer< + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentitySmithSmithCertReceivedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_identity_udHistory + implements + Built<GGetHistoryAndBalanceData_account_identity_udHistory, + GGetHistoryAndBalanceData_account_identity_udHistoryBuilder>, + GAccountFields_identity_udHistory, + GIdentityFields_udHistory { + GGetHistoryAndBalanceData_account_identity_udHistory._(); + + factory GGetHistoryAndBalanceData_account_identity_udHistory( + [void Function( + GGetHistoryAndBalanceData_account_identity_udHistoryBuilder b) + updates]) = _$GGetHistoryAndBalanceData_account_identity_udHistory; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_identity_udHistoryBuilder b) => + b..G__typename = 'UdHistory'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get amount; + @override + _i2.Gtimestamptz get timestamp; + static Serializer<GGetHistoryAndBalanceData_account_identity_udHistory> + get serializer => + _$gGetHistoryAndBalanceDataAccountIdentityUdHistorySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_identity_udHistory.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_identity_udHistory? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_identity_udHistory.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_linkedIdentity + implements + Built<GGetHistoryAndBalanceData_account_linkedIdentity, + GGetHistoryAndBalanceData_account_linkedIdentityBuilder>, + GAccountFields_linkedIdentity, + GIdentityBasicFields { + GGetHistoryAndBalanceData_account_linkedIdentity._(); + + factory GGetHistoryAndBalanceData_account_linkedIdentity( + [void Function(GGetHistoryAndBalanceData_account_linkedIdentityBuilder b) + updates]) = _$GGetHistoryAndBalanceData_account_linkedIdentity; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_linkedIdentityBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GGetHistoryAndBalanceData_account_linkedIdentity> + get serializer => + _$gGetHistoryAndBalanceDataAccountLinkedIdentitySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_linkedIdentity.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_linkedIdentity? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_linkedIdentity.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_removedIdentities + implements + Built<GGetHistoryAndBalanceData_account_removedIdentities, + GGetHistoryAndBalanceData_account_removedIdentitiesBuilder>, + GAccountFields_removedIdentities, + GIdentityBasicFields { + GGetHistoryAndBalanceData_account_removedIdentities._(); + + factory GGetHistoryAndBalanceData_account_removedIdentities( + [void Function( + GGetHistoryAndBalanceData_account_removedIdentitiesBuilder b) + updates]) = _$GGetHistoryAndBalanceData_account_removedIdentities; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_removedIdentitiesBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GGetHistoryAndBalanceData_account_removedIdentities> + get serializer => + _$gGetHistoryAndBalanceDataAccountRemovedIdentitiesSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_removedIdentities.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_removedIdentities? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_removedIdentities.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_removedIdentitiesAggregate + implements + Built<GGetHistoryAndBalanceData_account_removedIdentitiesAggregate, + GGetHistoryAndBalanceData_account_removedIdentitiesAggregateBuilder>, + GAccountFields_removedIdentitiesAggregate { + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate._(); + + factory GGetHistoryAndBalanceData_account_removedIdentitiesAggregate( + [void Function( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregateBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregateBuilder + b) => + b..G__typename = 'IdentityAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate? + get aggregate; + static Serializer< + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountRemovedIdentitiesAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_removedIdentitiesAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate + implements + Built< + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate, + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateBuilder>, + GAccountFields_removedIdentitiesAggregate_aggregate { + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate._(); + + factory GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateBuilder + b) => + b..G__typename = 'IdentityAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountRemovedIdentitiesAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_transfersIssued + implements + Built<GGetHistoryAndBalanceData_account_transfersIssued, + GGetHistoryAndBalanceData_account_transfersIssuedBuilder>, + GAccountFields_transfersIssued, + GTransferFields { + GGetHistoryAndBalanceData_account_transfersIssued._(); + + factory GGetHistoryAndBalanceData_account_transfersIssued( + [void Function(GGetHistoryAndBalanceData_account_transfersIssuedBuilder b) + updates]) = _$GGetHistoryAndBalanceData_account_transfersIssued; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_transfersIssuedBuilder b) => + b..G__typename = 'Transfer'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get blockNumber; + @override + _i2.Gtimestamptz get timestamp; + @override + int get amount; + @override + GGetHistoryAndBalanceData_account_transfersIssued_to? get to; + @override + GGetHistoryAndBalanceData_account_transfersIssued_from? get from; + @override + GGetHistoryAndBalanceData_account_transfersIssued_comment? get comment; + static Serializer<GGetHistoryAndBalanceData_account_transfersIssued> + get serializer => + _$gGetHistoryAndBalanceDataAccountTransfersIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_transfersIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_transfersIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_transfersIssued.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_transfersIssued_to + implements + Built<GGetHistoryAndBalanceData_account_transfersIssued_to, + GGetHistoryAndBalanceData_account_transfersIssued_toBuilder>, + GAccountFields_transfersIssued_to, + GTransferFields_to { + GGetHistoryAndBalanceData_account_transfersIssued_to._(); + + factory GGetHistoryAndBalanceData_account_transfersIssued_to( + [void Function( + GGetHistoryAndBalanceData_account_transfersIssued_toBuilder b) + updates]) = _$GGetHistoryAndBalanceData_account_transfersIssued_to; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_transfersIssued_toBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GGetHistoryAndBalanceData_account_transfersIssued_to> + get serializer => + _$gGetHistoryAndBalanceDataAccountTransfersIssuedToSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_transfersIssued_to.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_transfersIssued_to? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_transfersIssued_to.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_transfersIssued_from + implements + Built<GGetHistoryAndBalanceData_account_transfersIssued_from, + GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder>, + GAccountFields_transfersIssued_from, + GTransferFields_from { + GGetHistoryAndBalanceData_account_transfersIssued_from._(); + + factory GGetHistoryAndBalanceData_account_transfersIssued_from( + [void Function( + GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder b) + updates]) = _$GGetHistoryAndBalanceData_account_transfersIssued_from; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GGetHistoryAndBalanceData_account_transfersIssued_from> + get serializer => + _$gGetHistoryAndBalanceDataAccountTransfersIssuedFromSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_transfersIssued_from.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_transfersIssued_from? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_transfersIssued_from.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_transfersIssued_comment + implements + Built<GGetHistoryAndBalanceData_account_transfersIssued_comment, + GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder>, + GAccountFields_transfersIssued_comment, + GTransferFields_comment { + GGetHistoryAndBalanceData_account_transfersIssued_comment._(); + + factory GGetHistoryAndBalanceData_account_transfersIssued_comment( + [void Function( + GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder + b) + updates]) = _$GGetHistoryAndBalanceData_account_transfersIssued_comment; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder b) => + b..G__typename = 'TxComment'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get remark; + static Serializer<GGetHistoryAndBalanceData_account_transfersIssued_comment> + get serializer => + _$gGetHistoryAndBalanceDataAccountTransfersIssuedCommentSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_transfersIssued_comment.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_transfersIssued_comment? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_transfersIssued_comment.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_transfersIssuedAggregate + implements + Built<GGetHistoryAndBalanceData_account_transfersIssuedAggregate, + GGetHistoryAndBalanceData_account_transfersIssuedAggregateBuilder>, + GAccountFields_transfersIssuedAggregate { + GGetHistoryAndBalanceData_account_transfersIssuedAggregate._(); + + factory GGetHistoryAndBalanceData_account_transfersIssuedAggregate( + [void Function( + GGetHistoryAndBalanceData_account_transfersIssuedAggregateBuilder + b) + updates]) = _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_transfersIssuedAggregateBuilder + b) => + b..G__typename = 'TransferAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate? + get aggregate; + static Serializer<GGetHistoryAndBalanceData_account_transfersIssuedAggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountTransfersIssuedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_transfersIssuedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate + implements + Built< + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate, + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateBuilder>, + GAccountFields_transfersIssuedAggregate_aggregate { + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate._(); + + factory GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateBuilder + b) => + b..G__typename = 'TransferAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum? + get sum; + @override + int get count; + static Serializer< + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountTransfersIssuedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum + implements + Built< + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum, + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumBuilder>, + GAccountFields_transfersIssuedAggregate_aggregate_sum { + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum._(); + + factory GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum( + [void Function( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumBuilder + b) => + b..G__typename = 'TransferSumFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int? get amount; + static Serializer< + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum> + get serializer => + _$gGetHistoryAndBalanceDataAccountTransfersIssuedAggregateAggregateSumSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_transfersReceived + implements + Built<GGetHistoryAndBalanceData_account_transfersReceived, + GGetHistoryAndBalanceData_account_transfersReceivedBuilder>, + GAccountFields_transfersReceived, + GTransferFields { + GGetHistoryAndBalanceData_account_transfersReceived._(); + + factory GGetHistoryAndBalanceData_account_transfersReceived( + [void Function( + GGetHistoryAndBalanceData_account_transfersReceivedBuilder b) + updates]) = _$GGetHistoryAndBalanceData_account_transfersReceived; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_transfersReceivedBuilder b) => + b..G__typename = 'Transfer'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get blockNumber; + @override + _i2.Gtimestamptz get timestamp; + @override + int get amount; + @override + GGetHistoryAndBalanceData_account_transfersReceived_to? get to; + @override + GGetHistoryAndBalanceData_account_transfersReceived_from? get from; + @override + GGetHistoryAndBalanceData_account_transfersReceived_comment? get comment; + static Serializer<GGetHistoryAndBalanceData_account_transfersReceived> + get serializer => + _$gGetHistoryAndBalanceDataAccountTransfersReceivedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_transfersReceived.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_transfersReceived? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_transfersReceived.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_transfersReceived_to + implements + Built<GGetHistoryAndBalanceData_account_transfersReceived_to, + GGetHistoryAndBalanceData_account_transfersReceived_toBuilder>, + GAccountFields_transfersReceived_to, + GTransferFields_to { + GGetHistoryAndBalanceData_account_transfersReceived_to._(); + + factory GGetHistoryAndBalanceData_account_transfersReceived_to( + [void Function( + GGetHistoryAndBalanceData_account_transfersReceived_toBuilder b) + updates]) = _$GGetHistoryAndBalanceData_account_transfersReceived_to; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_transfersReceived_toBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GGetHistoryAndBalanceData_account_transfersReceived_to> + get serializer => + _$gGetHistoryAndBalanceDataAccountTransfersReceivedToSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_transfersReceived_to.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_transfersReceived_to? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_transfersReceived_to.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_transfersReceived_from + implements + Built<GGetHistoryAndBalanceData_account_transfersReceived_from, + GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder>, + GAccountFields_transfersReceived_from, + GTransferFields_from { + GGetHistoryAndBalanceData_account_transfersReceived_from._(); + + factory GGetHistoryAndBalanceData_account_transfersReceived_from( + [void Function( + GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder b) + updates]) = _$GGetHistoryAndBalanceData_account_transfersReceived_from; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GGetHistoryAndBalanceData_account_transfersReceived_from> + get serializer => + _$gGetHistoryAndBalanceDataAccountTransfersReceivedFromSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_transfersReceived_from.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_transfersReceived_from? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_transfersReceived_from.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_transfersReceived_comment + implements + Built<GGetHistoryAndBalanceData_account_transfersReceived_comment, + GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder>, + GAccountFields_transfersReceived_comment, + GTransferFields_comment { + GGetHistoryAndBalanceData_account_transfersReceived_comment._(); + + factory GGetHistoryAndBalanceData_account_transfersReceived_comment( + [void Function( + GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder + b) + updates]) = _$GGetHistoryAndBalanceData_account_transfersReceived_comment; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder + b) => + b..G__typename = 'TxComment'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get remark; + static Serializer<GGetHistoryAndBalanceData_account_transfersReceived_comment> + get serializer => + _$gGetHistoryAndBalanceDataAccountTransfersReceivedCommentSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_transfersReceived_comment.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_transfersReceived_comment? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_transfersReceived_comment.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_transfersReceivedAggregate + implements + Built<GGetHistoryAndBalanceData_account_transfersReceivedAggregate, + GGetHistoryAndBalanceData_account_transfersReceivedAggregateBuilder>, + GAccountFields_transfersReceivedAggregate { + GGetHistoryAndBalanceData_account_transfersReceivedAggregate._(); + + factory GGetHistoryAndBalanceData_account_transfersReceivedAggregate( + [void Function( + GGetHistoryAndBalanceData_account_transfersReceivedAggregateBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_transfersReceivedAggregateBuilder + b) => + b..G__typename = 'TransferAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate? + get aggregate; + static Serializer< + GGetHistoryAndBalanceData_account_transfersReceivedAggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountTransfersReceivedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_transfersReceivedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate + implements + Built< + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate, + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateBuilder>, + GAccountFields_transfersReceivedAggregate_aggregate { + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate._(); + + factory GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateBuilder + b) => + b..G__typename = 'TransferAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum? + get sum; + @override + int get count; + static Serializer< + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountTransfersReceivedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum + implements + Built< + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum, + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumBuilder>, + GAccountFields_transfersReceivedAggregate_aggregate_sum { + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum._(); + + factory GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum( + [void Function( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumBuilder + b) => + b..G__typename = 'TransferSumFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int? get amount; + static Serializer< + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum> + get serializer => + _$gGetHistoryAndBalanceDataAccountTransfersReceivedAggregateAggregateSumSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum + .serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_wasIdentity + implements + Built<GGetHistoryAndBalanceData_account_wasIdentity, + GGetHistoryAndBalanceData_account_wasIdentityBuilder>, + GAccountFields_wasIdentity, + GOwnerKeyChangeFields { + GGetHistoryAndBalanceData_account_wasIdentity._(); + + factory GGetHistoryAndBalanceData_account_wasIdentity( + [void Function(GGetHistoryAndBalanceData_account_wasIdentityBuilder b) + updates]) = _$GGetHistoryAndBalanceData_account_wasIdentity; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_wasIdentityBuilder b) => + b..G__typename = 'ChangeOwnerKey'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get blockNumber; + @override + String? get identityId; + @override + String? get nextId; + @override + String? get previousId; + static Serializer<GGetHistoryAndBalanceData_account_wasIdentity> + get serializer => _$gGetHistoryAndBalanceDataAccountWasIdentitySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_wasIdentity.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_wasIdentity? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_wasIdentity.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_wasIdentityAggregate + implements + Built<GGetHistoryAndBalanceData_account_wasIdentityAggregate, + GGetHistoryAndBalanceData_account_wasIdentityAggregateBuilder>, + GAccountFields_wasIdentityAggregate { + GGetHistoryAndBalanceData_account_wasIdentityAggregate._(); + + factory GGetHistoryAndBalanceData_account_wasIdentityAggregate( + [void Function( + GGetHistoryAndBalanceData_account_wasIdentityAggregateBuilder b) + updates]) = _$GGetHistoryAndBalanceData_account_wasIdentityAggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_wasIdentityAggregateBuilder b) => + b..G__typename = 'ChangeOwnerKeyAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate? + get aggregate; + static Serializer<GGetHistoryAndBalanceData_account_wasIdentityAggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountWasIdentityAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_wasIdentityAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_wasIdentityAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_wasIdentityAggregate.serializer, + json, + ); +} + +abstract class GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate + implements + Built<GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate, + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateBuilder>, + GAccountFields_wasIdentityAggregate_aggregate { + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate._(); + + factory GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateBuilder + b) + updates]) = + _$GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate; + + static void _initializeBuilder( + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateBuilder + b) => + b..G__typename = 'ChangeOwnerKeyAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate> + get serializer => + _$gGetHistoryAndBalanceDataAccountWasIdentityAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GCertFields { + String get G__typename; + String get id; + String? get issuerId; + GCertFields_issuer? get issuer; + String? get receiverId; + GCertFields_receiver? get receiver; + int get createdOn; + int get expireOn; + bool get isActive; + int get updatedOn; + Map<String, dynamic> toJson(); +} + +abstract class GCertFields_issuer implements GIdentityBasicFields { + @override + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + @override + Map<String, dynamic> toJson(); +} + +abstract class GCertFields_receiver implements GIdentityBasicFields { + @override + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + @override + Map<String, dynamic> toJson(); +} + +abstract class GCertFieldsData + implements Built<GCertFieldsData, GCertFieldsDataBuilder>, GCertFields { + GCertFieldsData._(); + + factory GCertFieldsData([void Function(GCertFieldsDataBuilder b) updates]) = + _$GCertFieldsData; + + static void _initializeBuilder(GCertFieldsDataBuilder b) => + b..G__typename = 'Cert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GCertFieldsData_issuer? get issuer; + @override + String? get receiverId; + @override + GCertFieldsData_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override + bool get isActive; + @override + int get updatedOn; + static Serializer<GCertFieldsData> get serializer => + _$gCertFieldsDataSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GCertFieldsData.serializer, + this, + ) as Map<String, dynamic>); + + static GCertFieldsData? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GCertFieldsData.serializer, + json, + ); +} + +abstract class GCertFieldsData_issuer + implements + Built<GCertFieldsData_issuer, GCertFieldsData_issuerBuilder>, + GCertFields_issuer, + GIdentityBasicFields { + GCertFieldsData_issuer._(); + + factory GCertFieldsData_issuer( + [void Function(GCertFieldsData_issuerBuilder b) updates]) = + _$GCertFieldsData_issuer; + + static void _initializeBuilder(GCertFieldsData_issuerBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GCertFieldsData_issuer> get serializer => + _$gCertFieldsDataIssuerSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GCertFieldsData_issuer.serializer, + this, + ) as Map<String, dynamic>); + + static GCertFieldsData_issuer? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GCertFieldsData_issuer.serializer, + json, + ); +} + +abstract class GCertFieldsData_receiver + implements + Built<GCertFieldsData_receiver, GCertFieldsData_receiverBuilder>, + GCertFields_receiver, + GIdentityBasicFields { + GCertFieldsData_receiver._(); + + factory GCertFieldsData_receiver( + [void Function(GCertFieldsData_receiverBuilder b) updates]) = + _$GCertFieldsData_receiver; + + static void _initializeBuilder(GCertFieldsData_receiverBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GCertFieldsData_receiver> get serializer => + _$gCertFieldsDataReceiverSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GCertFieldsData_receiver.serializer, + this, + ) as Map<String, dynamic>); + + static GCertFieldsData_receiver? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GCertFieldsData_receiver.serializer, + json, + ); +} + +abstract class GSmithCertFields { + String get G__typename; + String get id; + String? get issuerId; + String? get receiverId; + int get createdOn; + Map<String, dynamic> toJson(); +} + +abstract class GSmithCertFieldsData + implements + Built<GSmithCertFieldsData, GSmithCertFieldsDataBuilder>, + GSmithCertFields { + GSmithCertFieldsData._(); + + factory GSmithCertFieldsData( + [void Function(GSmithCertFieldsDataBuilder b) updates]) = + _$GSmithCertFieldsData; + + static void _initializeBuilder(GSmithCertFieldsDataBuilder b) => + b..G__typename = 'SmithCert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + static Serializer<GSmithCertFieldsData> get serializer => + _$gSmithCertFieldsDataSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GSmithCertFieldsData.serializer, + this, + ) as Map<String, dynamic>); + + static GSmithCertFieldsData? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GSmithCertFieldsData.serializer, + json, + ); +} + +abstract class GSmithFields { + String get G__typename; + String get id; + int get forged; + int get index; + int? get lastChanged; + int? get lastForged; + BuiltList<GSmithFields_smithCertIssued> get smithCertIssued; + BuiltList<GSmithFields_smithCertReceived> get smithCertReceived; + Map<String, dynamic> toJson(); +} + +abstract class GSmithFields_smithCertIssued implements GSmithCertFields { + @override + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + @override + Map<String, dynamic> toJson(); +} + +abstract class GSmithFields_smithCertReceived implements GSmithCertFields { + @override + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + @override + Map<String, dynamic> toJson(); +} + +abstract class GSmithFieldsData + implements Built<GSmithFieldsData, GSmithFieldsDataBuilder>, GSmithFields { + GSmithFieldsData._(); + + factory GSmithFieldsData([void Function(GSmithFieldsDataBuilder b) updates]) = + _$GSmithFieldsData; + + static void _initializeBuilder(GSmithFieldsDataBuilder b) => + b..G__typename = 'Smith'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get forged; + @override + int get index; + @override + int? get lastChanged; + @override + int? get lastForged; + @override + BuiltList<GSmithFieldsData_smithCertIssued> get smithCertIssued; + @override + BuiltList<GSmithFieldsData_smithCertReceived> get smithCertReceived; + static Serializer<GSmithFieldsData> get serializer => + _$gSmithFieldsDataSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GSmithFieldsData.serializer, + this, + ) as Map<String, dynamic>); + + static GSmithFieldsData? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GSmithFieldsData.serializer, + json, + ); +} + +abstract class GSmithFieldsData_smithCertIssued + implements + Built<GSmithFieldsData_smithCertIssued, + GSmithFieldsData_smithCertIssuedBuilder>, + GSmithFields_smithCertIssued, + GSmithCertFields { + GSmithFieldsData_smithCertIssued._(); + + factory GSmithFieldsData_smithCertIssued( + [void Function(GSmithFieldsData_smithCertIssuedBuilder b) updates]) = + _$GSmithFieldsData_smithCertIssued; + + static void _initializeBuilder(GSmithFieldsData_smithCertIssuedBuilder b) => + b..G__typename = 'SmithCert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + static Serializer<GSmithFieldsData_smithCertIssued> get serializer => + _$gSmithFieldsDataSmithCertIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GSmithFieldsData_smithCertIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GSmithFieldsData_smithCertIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GSmithFieldsData_smithCertIssued.serializer, + json, + ); +} + +abstract class GSmithFieldsData_smithCertReceived + implements + Built<GSmithFieldsData_smithCertReceived, + GSmithFieldsData_smithCertReceivedBuilder>, + GSmithFields_smithCertReceived, + GSmithCertFields { + GSmithFieldsData_smithCertReceived._(); + + factory GSmithFieldsData_smithCertReceived( + [void Function(GSmithFieldsData_smithCertReceivedBuilder b) + updates]) = _$GSmithFieldsData_smithCertReceived; + + static void _initializeBuilder(GSmithFieldsData_smithCertReceivedBuilder b) => + b..G__typename = 'SmithCert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + static Serializer<GSmithFieldsData_smithCertReceived> get serializer => + _$gSmithFieldsDataSmithCertReceivedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GSmithFieldsData_smithCertReceived.serializer, + this, + ) as Map<String, dynamic>); + + static GSmithFieldsData_smithCertReceived? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GSmithFieldsData_smithCertReceived.serializer, + json, + ); +} + +abstract class GOwnerKeyChangeFields { + String get G__typename; + String get id; + int get blockNumber; + String? get identityId; + String? get nextId; + String? get previousId; + Map<String, dynamic> toJson(); +} + +abstract class GOwnerKeyChangeFieldsData + implements + Built<GOwnerKeyChangeFieldsData, GOwnerKeyChangeFieldsDataBuilder>, + GOwnerKeyChangeFields { + GOwnerKeyChangeFieldsData._(); + + factory GOwnerKeyChangeFieldsData( + [void Function(GOwnerKeyChangeFieldsDataBuilder b) updates]) = + _$GOwnerKeyChangeFieldsData; + + static void _initializeBuilder(GOwnerKeyChangeFieldsDataBuilder b) => + b..G__typename = 'ChangeOwnerKey'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get blockNumber; + @override + String? get identityId; + @override + String? get nextId; + @override + String? get previousId; + static Serializer<GOwnerKeyChangeFieldsData> get serializer => + _$gOwnerKeyChangeFieldsDataSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GOwnerKeyChangeFieldsData.serializer, + this, + ) as Map<String, dynamic>); + + static GOwnerKeyChangeFieldsData? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GOwnerKeyChangeFieldsData.serializer, + json, + ); +} + +abstract class GIdentityBasicFields { + String get G__typename; + String? get accountId; + String get id; + bool get isMember; + _i2.GIdentityStatusEnum? get status; + String get name; + Map<String, dynamic> toJson(); +} + +abstract class GIdentityBasicFieldsData + implements + Built<GIdentityBasicFieldsData, GIdentityBasicFieldsDataBuilder>, + GIdentityBasicFields { + GIdentityBasicFieldsData._(); + + factory GIdentityBasicFieldsData( + [void Function(GIdentityBasicFieldsDataBuilder b) updates]) = + _$GIdentityBasicFieldsData; + + static void _initializeBuilder(GIdentityBasicFieldsDataBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GIdentityBasicFieldsData> get serializer => + _$gIdentityBasicFieldsDataSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityBasicFieldsData.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityBasicFieldsData? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityBasicFieldsData.serializer, + json, + ); +} + +abstract class GIdentityFields { + String get G__typename; + String? get accountId; + String? get accountRemovedId; + BuiltList<GIdentityFields_certIssued> get certIssued; + GIdentityFields_certIssuedAggregate get certIssuedAggregate; + BuiltList<GIdentityFields_certReceived> get certReceived; + GIdentityFields_certReceivedAggregate get certReceivedAggregate; + String? get createdInId; + int get createdOn; + int get expireOn; + String get id; + int get index; + bool get isMember; + int get lastChangeOn; + BuiltList<GIdentityFields_linkedAccount> get linkedAccount; + GIdentityFields_linkedAccountAggregate get linkedAccountAggregate; + _i2.GIdentityStatusEnum? get status; + BuiltList<GIdentityFields_membershipHistory> get membershipHistory; + GIdentityFields_membershipHistoryAggregate get membershipHistoryAggregate; + String get name; + BuiltList<GIdentityFields_ownerKeyChange> get ownerKeyChange; + GIdentityFields_ownerKeyChangeAggregate get ownerKeyChangeAggregate; + GIdentityFields_smith? get smith; + BuiltList<GIdentityFields_udHistory>? get udHistory; + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_certIssued implements GCertFields { + @override + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GIdentityFields_certIssued_issuer? get issuer; + @override + String? get receiverId; + @override + GIdentityFields_certIssued_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override + bool get isActive; + @override + int get updatedOn; + @override + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_certIssued_issuer + implements GCertFields_issuer, GIdentityBasicFields { + @override + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + @override + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_certIssued_receiver + implements GCertFields_receiver, GIdentityBasicFields { + @override + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + @override + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_certIssuedAggregate { + String get G__typename; + GIdentityFields_certIssuedAggregate_aggregate? get aggregate; + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_certIssuedAggregate_aggregate { + String get G__typename; + int get count; + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_certReceived implements GCertFields { + @override + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GIdentityFields_certReceived_issuer? get issuer; + @override + String? get receiverId; + @override + GIdentityFields_certReceived_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override + bool get isActive; + @override + int get updatedOn; + @override + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_certReceived_issuer + implements GCertFields_issuer, GIdentityBasicFields { + @override + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + @override + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_certReceived_receiver + implements GCertFields_receiver, GIdentityBasicFields { + @override + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + @override + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_certReceivedAggregate { + String get G__typename; + GIdentityFields_certReceivedAggregate_aggregate? get aggregate; + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_certReceivedAggregate_aggregate { + String get G__typename; + int get count; + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_linkedAccount { + String get G__typename; + String get id; + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_linkedAccountAggregate { + String get G__typename; + GIdentityFields_linkedAccountAggregate_aggregate? get aggregate; + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_linkedAccountAggregate_aggregate { + String get G__typename; + int get count; + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_membershipHistory { + String get G__typename; + int get blockNumber; + String? get eventId; + _i2.GEventTypeEnum? get eventType; + String get id; + String? get identityId; + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_membershipHistoryAggregate { + String get G__typename; + GIdentityFields_membershipHistoryAggregate_aggregate? get aggregate; + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_membershipHistoryAggregate_aggregate { + String get G__typename; + int get count; + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_ownerKeyChange implements GOwnerKeyChangeFields { + @override + String get G__typename; + @override + String get id; + @override + int get blockNumber; + @override + String? get identityId; + @override + String? get nextId; + @override + String? get previousId; + @override + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_ownerKeyChangeAggregate { + String get G__typename; + GIdentityFields_ownerKeyChangeAggregate_aggregate? get aggregate; + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_ownerKeyChangeAggregate_aggregate { + String get G__typename; + int get count; + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_smith implements GSmithFields { + @override + String get G__typename; + @override + String get id; + @override + int get forged; + @override + int get index; + @override + int? get lastChanged; + @override + int? get lastForged; + @override + BuiltList<GIdentityFields_smith_smithCertIssued> get smithCertIssued; + @override + BuiltList<GIdentityFields_smith_smithCertReceived> get smithCertReceived; + @override + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_smith_smithCertIssued + implements GSmithFields_smithCertIssued, GSmithCertFields { + @override + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + @override + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_smith_smithCertReceived + implements GSmithFields_smithCertReceived, GSmithCertFields { + @override + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + @override + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFields_udHistory { + String get G__typename; + String get id; + int get amount; + _i2.Gtimestamptz get timestamp; + Map<String, dynamic> toJson(); +} + +abstract class GIdentityFieldsData + implements + Built<GIdentityFieldsData, GIdentityFieldsDataBuilder>, + GIdentityFields { + GIdentityFieldsData._(); + + factory GIdentityFieldsData( + [void Function(GIdentityFieldsDataBuilder b) updates]) = + _$GIdentityFieldsData; + + static void _initializeBuilder(GIdentityFieldsDataBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String? get accountRemovedId; + @override + BuiltList<GIdentityFieldsData_certIssued> get certIssued; + @override + GIdentityFieldsData_certIssuedAggregate get certIssuedAggregate; + @override + BuiltList<GIdentityFieldsData_certReceived> get certReceived; + @override + GIdentityFieldsData_certReceivedAggregate get certReceivedAggregate; + @override + String? get createdInId; + @override + int get createdOn; + @override + int get expireOn; + @override + String get id; + @override + int get index; + @override + bool get isMember; + @override + int get lastChangeOn; + @override + BuiltList<GIdentityFieldsData_linkedAccount> get linkedAccount; + @override + GIdentityFieldsData_linkedAccountAggregate get linkedAccountAggregate; + @override + _i2.GIdentityStatusEnum? get status; + @override + BuiltList<GIdentityFieldsData_membershipHistory> get membershipHistory; + @override + GIdentityFieldsData_membershipHistoryAggregate get membershipHistoryAggregate; + @override + String get name; + @override + BuiltList<GIdentityFieldsData_ownerKeyChange> get ownerKeyChange; + @override + GIdentityFieldsData_ownerKeyChangeAggregate get ownerKeyChangeAggregate; + @override + GIdentityFieldsData_smith? get smith; + @override + BuiltList<GIdentityFieldsData_udHistory>? get udHistory; + static Serializer<GIdentityFieldsData> get serializer => + _$gIdentityFieldsDataSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_certIssued + implements + Built<GIdentityFieldsData_certIssued, + GIdentityFieldsData_certIssuedBuilder>, + GIdentityFields_certIssued, + GCertFields { + GIdentityFieldsData_certIssued._(); + + factory GIdentityFieldsData_certIssued( + [void Function(GIdentityFieldsData_certIssuedBuilder b) updates]) = + _$GIdentityFieldsData_certIssued; + + static void _initializeBuilder(GIdentityFieldsData_certIssuedBuilder b) => + b..G__typename = 'Cert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GIdentityFieldsData_certIssued_issuer? get issuer; + @override + String? get receiverId; + @override + GIdentityFieldsData_certIssued_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override + bool get isActive; + @override + int get updatedOn; + static Serializer<GIdentityFieldsData_certIssued> get serializer => + _$gIdentityFieldsDataCertIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_certIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_certIssued? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_certIssued.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_certIssued_issuer + implements + Built<GIdentityFieldsData_certIssued_issuer, + GIdentityFieldsData_certIssued_issuerBuilder>, + GIdentityFields_certIssued_issuer, + GCertFields_issuer, + GIdentityBasicFields { + GIdentityFieldsData_certIssued_issuer._(); + + factory GIdentityFieldsData_certIssued_issuer( + [void Function(GIdentityFieldsData_certIssued_issuerBuilder b) + updates]) = _$GIdentityFieldsData_certIssued_issuer; + + static void _initializeBuilder( + GIdentityFieldsData_certIssued_issuerBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GIdentityFieldsData_certIssued_issuer> get serializer => + _$gIdentityFieldsDataCertIssuedIssuerSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_certIssued_issuer.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_certIssued_issuer? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_certIssued_issuer.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_certIssued_receiver + implements + Built<GIdentityFieldsData_certIssued_receiver, + GIdentityFieldsData_certIssued_receiverBuilder>, + GIdentityFields_certIssued_receiver, + GCertFields_receiver, + GIdentityBasicFields { + GIdentityFieldsData_certIssued_receiver._(); + + factory GIdentityFieldsData_certIssued_receiver( + [void Function(GIdentityFieldsData_certIssued_receiverBuilder b) + updates]) = _$GIdentityFieldsData_certIssued_receiver; + + static void _initializeBuilder( + GIdentityFieldsData_certIssued_receiverBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GIdentityFieldsData_certIssued_receiver> get serializer => + _$gIdentityFieldsDataCertIssuedReceiverSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_certIssued_receiver.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_certIssued_receiver? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_certIssued_receiver.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_certIssuedAggregate + implements + Built<GIdentityFieldsData_certIssuedAggregate, + GIdentityFieldsData_certIssuedAggregateBuilder>, + GIdentityFields_certIssuedAggregate { + GIdentityFieldsData_certIssuedAggregate._(); + + factory GIdentityFieldsData_certIssuedAggregate( + [void Function(GIdentityFieldsData_certIssuedAggregateBuilder b) + updates]) = _$GIdentityFieldsData_certIssuedAggregate; + + static void _initializeBuilder( + GIdentityFieldsData_certIssuedAggregateBuilder b) => + b..G__typename = 'CertAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GIdentityFieldsData_certIssuedAggregate_aggregate? get aggregate; + static Serializer<GIdentityFieldsData_certIssuedAggregate> get serializer => + _$gIdentityFieldsDataCertIssuedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_certIssuedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_certIssuedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_certIssuedAggregate.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_certIssuedAggregate_aggregate + implements + Built<GIdentityFieldsData_certIssuedAggregate_aggregate, + GIdentityFieldsData_certIssuedAggregate_aggregateBuilder>, + GIdentityFields_certIssuedAggregate_aggregate { + GIdentityFieldsData_certIssuedAggregate_aggregate._(); + + factory GIdentityFieldsData_certIssuedAggregate_aggregate( + [void Function(GIdentityFieldsData_certIssuedAggregate_aggregateBuilder b) + updates]) = _$GIdentityFieldsData_certIssuedAggregate_aggregate; + + static void _initializeBuilder( + GIdentityFieldsData_certIssuedAggregate_aggregateBuilder b) => + b..G__typename = 'CertAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer<GIdentityFieldsData_certIssuedAggregate_aggregate> + get serializer => + _$gIdentityFieldsDataCertIssuedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_certIssuedAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_certIssuedAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_certIssuedAggregate_aggregate.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_certReceived + implements + Built<GIdentityFieldsData_certReceived, + GIdentityFieldsData_certReceivedBuilder>, + GIdentityFields_certReceived, + GCertFields { + GIdentityFieldsData_certReceived._(); + + factory GIdentityFieldsData_certReceived( + [void Function(GIdentityFieldsData_certReceivedBuilder b) updates]) = + _$GIdentityFieldsData_certReceived; + + static void _initializeBuilder(GIdentityFieldsData_certReceivedBuilder b) => + b..G__typename = 'Cert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GIdentityFieldsData_certReceived_issuer? get issuer; + @override + String? get receiverId; + @override + GIdentityFieldsData_certReceived_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override + bool get isActive; + @override + int get updatedOn; + static Serializer<GIdentityFieldsData_certReceived> get serializer => + _$gIdentityFieldsDataCertReceivedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_certReceived.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_certReceived? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_certReceived.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_certReceived_issuer + implements + Built<GIdentityFieldsData_certReceived_issuer, + GIdentityFieldsData_certReceived_issuerBuilder>, + GIdentityFields_certReceived_issuer, + GCertFields_issuer, + GIdentityBasicFields { + GIdentityFieldsData_certReceived_issuer._(); + + factory GIdentityFieldsData_certReceived_issuer( + [void Function(GIdentityFieldsData_certReceived_issuerBuilder b) + updates]) = _$GIdentityFieldsData_certReceived_issuer; + + static void _initializeBuilder( + GIdentityFieldsData_certReceived_issuerBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GIdentityFieldsData_certReceived_issuer> get serializer => + _$gIdentityFieldsDataCertReceivedIssuerSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_certReceived_issuer.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_certReceived_issuer? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_certReceived_issuer.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_certReceived_receiver + implements + Built<GIdentityFieldsData_certReceived_receiver, + GIdentityFieldsData_certReceived_receiverBuilder>, + GIdentityFields_certReceived_receiver, + GCertFields_receiver, + GIdentityBasicFields { + GIdentityFieldsData_certReceived_receiver._(); + + factory GIdentityFieldsData_certReceived_receiver( + [void Function(GIdentityFieldsData_certReceived_receiverBuilder b) + updates]) = _$GIdentityFieldsData_certReceived_receiver; + + static void _initializeBuilder( + GIdentityFieldsData_certReceived_receiverBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GIdentityFieldsData_certReceived_receiver> get serializer => + _$gIdentityFieldsDataCertReceivedReceiverSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_certReceived_receiver.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_certReceived_receiver? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_certReceived_receiver.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_certReceivedAggregate + implements + Built<GIdentityFieldsData_certReceivedAggregate, + GIdentityFieldsData_certReceivedAggregateBuilder>, + GIdentityFields_certReceivedAggregate { + GIdentityFieldsData_certReceivedAggregate._(); + + factory GIdentityFieldsData_certReceivedAggregate( + [void Function(GIdentityFieldsData_certReceivedAggregateBuilder b) + updates]) = _$GIdentityFieldsData_certReceivedAggregate; + + static void _initializeBuilder( + GIdentityFieldsData_certReceivedAggregateBuilder b) => + b..G__typename = 'CertAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GIdentityFieldsData_certReceivedAggregate_aggregate? get aggregate; + static Serializer<GIdentityFieldsData_certReceivedAggregate> get serializer => + _$gIdentityFieldsDataCertReceivedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_certReceivedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_certReceivedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_certReceivedAggregate.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_certReceivedAggregate_aggregate + implements + Built<GIdentityFieldsData_certReceivedAggregate_aggregate, + GIdentityFieldsData_certReceivedAggregate_aggregateBuilder>, + GIdentityFields_certReceivedAggregate_aggregate { + GIdentityFieldsData_certReceivedAggregate_aggregate._(); + + factory GIdentityFieldsData_certReceivedAggregate_aggregate( + [void Function( + GIdentityFieldsData_certReceivedAggregate_aggregateBuilder b) + updates]) = _$GIdentityFieldsData_certReceivedAggregate_aggregate; + + static void _initializeBuilder( + GIdentityFieldsData_certReceivedAggregate_aggregateBuilder b) => + b..G__typename = 'CertAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer<GIdentityFieldsData_certReceivedAggregate_aggregate> + get serializer => + _$gIdentityFieldsDataCertReceivedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_certReceivedAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_certReceivedAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_certReceivedAggregate_aggregate.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_linkedAccount + implements + Built<GIdentityFieldsData_linkedAccount, + GIdentityFieldsData_linkedAccountBuilder>, + GIdentityFields_linkedAccount { + GIdentityFieldsData_linkedAccount._(); + + factory GIdentityFieldsData_linkedAccount( + [void Function(GIdentityFieldsData_linkedAccountBuilder b) updates]) = + _$GIdentityFieldsData_linkedAccount; + + static void _initializeBuilder(GIdentityFieldsData_linkedAccountBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GIdentityFieldsData_linkedAccount> get serializer => + _$gIdentityFieldsDataLinkedAccountSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_linkedAccount.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_linkedAccount? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_linkedAccount.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_linkedAccountAggregate + implements + Built<GIdentityFieldsData_linkedAccountAggregate, + GIdentityFieldsData_linkedAccountAggregateBuilder>, + GIdentityFields_linkedAccountAggregate { + GIdentityFieldsData_linkedAccountAggregate._(); + + factory GIdentityFieldsData_linkedAccountAggregate( + [void Function(GIdentityFieldsData_linkedAccountAggregateBuilder b) + updates]) = _$GIdentityFieldsData_linkedAccountAggregate; + + static void _initializeBuilder( + GIdentityFieldsData_linkedAccountAggregateBuilder b) => + b..G__typename = 'AccountAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GIdentityFieldsData_linkedAccountAggregate_aggregate? get aggregate; + static Serializer<GIdentityFieldsData_linkedAccountAggregate> + get serializer => _$gIdentityFieldsDataLinkedAccountAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_linkedAccountAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_linkedAccountAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_linkedAccountAggregate.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_linkedAccountAggregate_aggregate + implements + Built<GIdentityFieldsData_linkedAccountAggregate_aggregate, + GIdentityFieldsData_linkedAccountAggregate_aggregateBuilder>, + GIdentityFields_linkedAccountAggregate_aggregate { + GIdentityFieldsData_linkedAccountAggregate_aggregate._(); + + factory GIdentityFieldsData_linkedAccountAggregate_aggregate( + [void Function( + GIdentityFieldsData_linkedAccountAggregate_aggregateBuilder b) + updates]) = _$GIdentityFieldsData_linkedAccountAggregate_aggregate; + + static void _initializeBuilder( + GIdentityFieldsData_linkedAccountAggregate_aggregateBuilder b) => + b..G__typename = 'AccountAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer<GIdentityFieldsData_linkedAccountAggregate_aggregate> + get serializer => + _$gIdentityFieldsDataLinkedAccountAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_linkedAccountAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_linkedAccountAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_linkedAccountAggregate_aggregate.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_membershipHistory + implements + Built<GIdentityFieldsData_membershipHistory, + GIdentityFieldsData_membershipHistoryBuilder>, + GIdentityFields_membershipHistory { + GIdentityFieldsData_membershipHistory._(); + + factory GIdentityFieldsData_membershipHistory( + [void Function(GIdentityFieldsData_membershipHistoryBuilder b) + updates]) = _$GIdentityFieldsData_membershipHistory; + + static void _initializeBuilder( + GIdentityFieldsData_membershipHistoryBuilder b) => + b..G__typename = 'MembershipEvent'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get blockNumber; + @override + String? get eventId; + @override + _i2.GEventTypeEnum? get eventType; + @override + String get id; + @override + String? get identityId; + static Serializer<GIdentityFieldsData_membershipHistory> get serializer => + _$gIdentityFieldsDataMembershipHistorySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_membershipHistory.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_membershipHistory? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_membershipHistory.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_membershipHistoryAggregate + implements + Built<GIdentityFieldsData_membershipHistoryAggregate, + GIdentityFieldsData_membershipHistoryAggregateBuilder>, + GIdentityFields_membershipHistoryAggregate { + GIdentityFieldsData_membershipHistoryAggregate._(); + + factory GIdentityFieldsData_membershipHistoryAggregate( + [void Function(GIdentityFieldsData_membershipHistoryAggregateBuilder b) + updates]) = _$GIdentityFieldsData_membershipHistoryAggregate; + + static void _initializeBuilder( + GIdentityFieldsData_membershipHistoryAggregateBuilder b) => + b..G__typename = 'MembershipEventAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GIdentityFieldsData_membershipHistoryAggregate_aggregate? get aggregate; + static Serializer<GIdentityFieldsData_membershipHistoryAggregate> + get serializer => + _$gIdentityFieldsDataMembershipHistoryAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_membershipHistoryAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_membershipHistoryAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_membershipHistoryAggregate.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_membershipHistoryAggregate_aggregate + implements + Built<GIdentityFieldsData_membershipHistoryAggregate_aggregate, + GIdentityFieldsData_membershipHistoryAggregate_aggregateBuilder>, + GIdentityFields_membershipHistoryAggregate_aggregate { + GIdentityFieldsData_membershipHistoryAggregate_aggregate._(); + + factory GIdentityFieldsData_membershipHistoryAggregate_aggregate( + [void Function( + GIdentityFieldsData_membershipHistoryAggregate_aggregateBuilder b) + updates]) = _$GIdentityFieldsData_membershipHistoryAggregate_aggregate; + + static void _initializeBuilder( + GIdentityFieldsData_membershipHistoryAggregate_aggregateBuilder b) => + b..G__typename = 'MembershipEventAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer<GIdentityFieldsData_membershipHistoryAggregate_aggregate> + get serializer => + _$gIdentityFieldsDataMembershipHistoryAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_membershipHistoryAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_membershipHistoryAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_membershipHistoryAggregate_aggregate.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_ownerKeyChange + implements + Built<GIdentityFieldsData_ownerKeyChange, + GIdentityFieldsData_ownerKeyChangeBuilder>, + GIdentityFields_ownerKeyChange, + GOwnerKeyChangeFields { + GIdentityFieldsData_ownerKeyChange._(); + + factory GIdentityFieldsData_ownerKeyChange( + [void Function(GIdentityFieldsData_ownerKeyChangeBuilder b) + updates]) = _$GIdentityFieldsData_ownerKeyChange; + + static void _initializeBuilder(GIdentityFieldsData_ownerKeyChangeBuilder b) => + b..G__typename = 'ChangeOwnerKey'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get blockNumber; + @override + String? get identityId; + @override + String? get nextId; + @override + String? get previousId; + static Serializer<GIdentityFieldsData_ownerKeyChange> get serializer => + _$gIdentityFieldsDataOwnerKeyChangeSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_ownerKeyChange.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_ownerKeyChange? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_ownerKeyChange.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_ownerKeyChangeAggregate + implements + Built<GIdentityFieldsData_ownerKeyChangeAggregate, + GIdentityFieldsData_ownerKeyChangeAggregateBuilder>, + GIdentityFields_ownerKeyChangeAggregate { + GIdentityFieldsData_ownerKeyChangeAggregate._(); + + factory GIdentityFieldsData_ownerKeyChangeAggregate( + [void Function(GIdentityFieldsData_ownerKeyChangeAggregateBuilder b) + updates]) = _$GIdentityFieldsData_ownerKeyChangeAggregate; + + static void _initializeBuilder( + GIdentityFieldsData_ownerKeyChangeAggregateBuilder b) => + b..G__typename = 'ChangeOwnerKeyAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GIdentityFieldsData_ownerKeyChangeAggregate_aggregate? get aggregate; + static Serializer<GIdentityFieldsData_ownerKeyChangeAggregate> + get serializer => _$gIdentityFieldsDataOwnerKeyChangeAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_ownerKeyChangeAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_ownerKeyChangeAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_ownerKeyChangeAggregate.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_ownerKeyChangeAggregate_aggregate + implements + Built<GIdentityFieldsData_ownerKeyChangeAggregate_aggregate, + GIdentityFieldsData_ownerKeyChangeAggregate_aggregateBuilder>, + GIdentityFields_ownerKeyChangeAggregate_aggregate { + GIdentityFieldsData_ownerKeyChangeAggregate_aggregate._(); + + factory GIdentityFieldsData_ownerKeyChangeAggregate_aggregate( + [void Function( + GIdentityFieldsData_ownerKeyChangeAggregate_aggregateBuilder b) + updates]) = _$GIdentityFieldsData_ownerKeyChangeAggregate_aggregate; + + static void _initializeBuilder( + GIdentityFieldsData_ownerKeyChangeAggregate_aggregateBuilder b) => + b..G__typename = 'ChangeOwnerKeyAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer<GIdentityFieldsData_ownerKeyChangeAggregate_aggregate> + get serializer => + _$gIdentityFieldsDataOwnerKeyChangeAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_ownerKeyChangeAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_ownerKeyChangeAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_ownerKeyChangeAggregate_aggregate.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_smith + implements + Built<GIdentityFieldsData_smith, GIdentityFieldsData_smithBuilder>, + GIdentityFields_smith, + GSmithFields { + GIdentityFieldsData_smith._(); + + factory GIdentityFieldsData_smith( + [void Function(GIdentityFieldsData_smithBuilder b) updates]) = + _$GIdentityFieldsData_smith; + + static void _initializeBuilder(GIdentityFieldsData_smithBuilder b) => + b..G__typename = 'Smith'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get forged; + @override + int get index; + @override + int? get lastChanged; + @override + int? get lastForged; + @override + BuiltList<GIdentityFieldsData_smith_smithCertIssued> get smithCertIssued; + @override + BuiltList<GIdentityFieldsData_smith_smithCertReceived> get smithCertReceived; + static Serializer<GIdentityFieldsData_smith> get serializer => + _$gIdentityFieldsDataSmithSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_smith.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_smith? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_smith.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_smith_smithCertIssued + implements + Built<GIdentityFieldsData_smith_smithCertIssued, + GIdentityFieldsData_smith_smithCertIssuedBuilder>, + GIdentityFields_smith_smithCertIssued, + GSmithFields_smithCertIssued, + GSmithCertFields { + GIdentityFieldsData_smith_smithCertIssued._(); + + factory GIdentityFieldsData_smith_smithCertIssued( + [void Function(GIdentityFieldsData_smith_smithCertIssuedBuilder b) + updates]) = _$GIdentityFieldsData_smith_smithCertIssued; + + static void _initializeBuilder( + GIdentityFieldsData_smith_smithCertIssuedBuilder b) => + b..G__typename = 'SmithCert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + static Serializer<GIdentityFieldsData_smith_smithCertIssued> get serializer => + _$gIdentityFieldsDataSmithSmithCertIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_smith_smithCertIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_smith_smithCertIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_smith_smithCertIssued.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_smith_smithCertReceived + implements + Built<GIdentityFieldsData_smith_smithCertReceived, + GIdentityFieldsData_smith_smithCertReceivedBuilder>, + GIdentityFields_smith_smithCertReceived, + GSmithFields_smithCertReceived, + GSmithCertFields { + GIdentityFieldsData_smith_smithCertReceived._(); + + factory GIdentityFieldsData_smith_smithCertReceived( + [void Function(GIdentityFieldsData_smith_smithCertReceivedBuilder b) + updates]) = _$GIdentityFieldsData_smith_smithCertReceived; + + static void _initializeBuilder( + GIdentityFieldsData_smith_smithCertReceivedBuilder b) => + b..G__typename = 'SmithCert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + static Serializer<GIdentityFieldsData_smith_smithCertReceived> + get serializer => _$gIdentityFieldsDataSmithSmithCertReceivedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_smith_smithCertReceived.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_smith_smithCertReceived? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_smith_smithCertReceived.serializer, + json, + ); +} + +abstract class GIdentityFieldsData_udHistory + implements + Built<GIdentityFieldsData_udHistory, + GIdentityFieldsData_udHistoryBuilder>, + GIdentityFields_udHistory { + GIdentityFieldsData_udHistory._(); + + factory GIdentityFieldsData_udHistory( + [void Function(GIdentityFieldsData_udHistoryBuilder b) updates]) = + _$GIdentityFieldsData_udHistory; + + static void _initializeBuilder(GIdentityFieldsData_udHistoryBuilder b) => + b..G__typename = 'UdHistory'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get amount; + @override + _i2.Gtimestamptz get timestamp; + static Serializer<GIdentityFieldsData_udHistory> get serializer => + _$gIdentityFieldsDataUdHistorySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsData_udHistory.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsData_udHistory? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsData_udHistory.serializer, + json, + ); +} + +abstract class GCommentsIssued { + String get G__typename; + String? get authorId; + int get blockNumber; + String? get eventId; + String get hash; + String get id; + String get remark; + _i2.GCommentTypeEnum? get type; + Map<String, dynamic> toJson(); +} + +abstract class GCommentsIssuedData + implements + Built<GCommentsIssuedData, GCommentsIssuedDataBuilder>, + GCommentsIssued { + GCommentsIssuedData._(); + + factory GCommentsIssuedData( + [void Function(GCommentsIssuedDataBuilder b) updates]) = + _$GCommentsIssuedData; + + static void _initializeBuilder(GCommentsIssuedDataBuilder b) => + b..G__typename = 'TxComment'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get authorId; + @override + int get blockNumber; + @override + String? get eventId; + @override + String get hash; + @override + String get id; + @override + String get remark; + @override + _i2.GCommentTypeEnum? get type; + static Serializer<GCommentsIssuedData> get serializer => + _$gCommentsIssuedDataSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GCommentsIssuedData.serializer, + this, + ) as Map<String, dynamic>); + + static GCommentsIssuedData? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GCommentsIssuedData.serializer, + json, + ); +} + +abstract class GAccountBasicFields { + String get G__typename; + int get createdOn; + String get id; + GAccountBasicFields_identity? get identity; + bool get isActive; + Map<String, dynamic> toJson(); +} + +abstract class GAccountBasicFields_identity implements GIdentityBasicFields { + @override + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountBasicFieldsData + implements + Built<GAccountBasicFieldsData, GAccountBasicFieldsDataBuilder>, + GAccountBasicFields { + GAccountBasicFieldsData._(); + + factory GAccountBasicFieldsData( + [void Function(GAccountBasicFieldsDataBuilder b) updates]) = + _$GAccountBasicFieldsData; + + static void _initializeBuilder(GAccountBasicFieldsDataBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get createdOn; + @override + String get id; + @override + GAccountBasicFieldsData_identity? get identity; + @override + bool get isActive; + static Serializer<GAccountBasicFieldsData> get serializer => + _$gAccountBasicFieldsDataSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountBasicFieldsData.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountBasicFieldsData? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountBasicFieldsData.serializer, + json, + ); +} + +abstract class GAccountBasicFieldsData_identity + implements + Built<GAccountBasicFieldsData_identity, + GAccountBasicFieldsData_identityBuilder>, + GAccountBasicFields_identity, + GIdentityBasicFields { + GAccountBasicFieldsData_identity._(); + + factory GAccountBasicFieldsData_identity( + [void Function(GAccountBasicFieldsData_identityBuilder b) updates]) = + _$GAccountBasicFieldsData_identity; + + static void _initializeBuilder(GAccountBasicFieldsData_identityBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountBasicFieldsData_identity> get serializer => + _$gAccountBasicFieldsDataIdentitySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountBasicFieldsData_identity.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountBasicFieldsData_identity? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountBasicFieldsData_identity.serializer, + json, + ); +} + +abstract class GAccountFields { + String get G__typename; + BuiltList<GAccountFields_commentsIssued> get commentsIssued; + GAccountFields_commentsIssuedAggregate get commentsIssuedAggregate; + int get createdOn; + String get id; + GAccountFields_identity? get identity; + bool get isActive; + GAccountFields_linkedIdentity? get linkedIdentity; + BuiltList<GAccountFields_removedIdentities> get removedIdentities; + GAccountFields_removedIdentitiesAggregate get removedIdentitiesAggregate; + BuiltList<GAccountFields_transfersIssued> get transfersIssued; + GAccountFields_transfersIssuedAggregate get transfersIssuedAggregate; + BuiltList<GAccountFields_transfersReceived> get transfersReceived; + GAccountFields_transfersReceivedAggregate get transfersReceivedAggregate; + BuiltList<GAccountFields_wasIdentity> get wasIdentity; + GAccountFields_wasIdentityAggregate get wasIdentityAggregate; + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_commentsIssued implements GCommentsIssued { + @override + String get G__typename; + @override + String? get authorId; + @override + int get blockNumber; + @override + String? get eventId; + @override + String get hash; + @override + String get id; + @override + String get remark; + @override + _i2.GCommentTypeEnum? get type; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_commentsIssuedAggregate { + String get G__typename; + GAccountFields_commentsIssuedAggregate_aggregate? get aggregate; + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_commentsIssuedAggregate_aggregate { + String get G__typename; + int get count; + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity implements GIdentityFields { + @override + String get G__typename; + @override + String? get accountId; + @override + String? get accountRemovedId; + @override + BuiltList<GAccountFields_identity_certIssued> get certIssued; + @override + GAccountFields_identity_certIssuedAggregate get certIssuedAggregate; + @override + BuiltList<GAccountFields_identity_certReceived> get certReceived; + @override + GAccountFields_identity_certReceivedAggregate get certReceivedAggregate; + @override + String? get createdInId; + @override + int get createdOn; + @override + int get expireOn; + @override + String get id; + @override + int get index; + @override + bool get isMember; + @override + int get lastChangeOn; + @override + BuiltList<GAccountFields_identity_linkedAccount> get linkedAccount; + @override + GAccountFields_identity_linkedAccountAggregate get linkedAccountAggregate; + @override + _i2.GIdentityStatusEnum? get status; + @override + BuiltList<GAccountFields_identity_membershipHistory> get membershipHistory; + @override + GAccountFields_identity_membershipHistoryAggregate + get membershipHistoryAggregate; + @override + String get name; + @override + BuiltList<GAccountFields_identity_ownerKeyChange> get ownerKeyChange; + @override + GAccountFields_identity_ownerKeyChangeAggregate get ownerKeyChangeAggregate; + @override + GAccountFields_identity_smith? get smith; + @override + BuiltList<GAccountFields_identity_udHistory>? get udHistory; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_certIssued + implements GIdentityFields_certIssued, GCertFields { + @override + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GAccountFields_identity_certIssued_issuer? get issuer; + @override + String? get receiverId; + @override + GAccountFields_identity_certIssued_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override + bool get isActive; + @override + int get updatedOn; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_certIssued_issuer + implements + GIdentityFields_certIssued_issuer, + GCertFields_issuer, + GIdentityBasicFields { + @override + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_certIssued_receiver + implements + GIdentityFields_certIssued_receiver, + GCertFields_receiver, + GIdentityBasicFields { + @override + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_certIssuedAggregate + implements GIdentityFields_certIssuedAggregate { + @override + String get G__typename; + @override + GAccountFields_identity_certIssuedAggregate_aggregate? get aggregate; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_certIssuedAggregate_aggregate + implements GIdentityFields_certIssuedAggregate_aggregate { + @override + String get G__typename; + @override + int get count; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_certReceived + implements GIdentityFields_certReceived, GCertFields { + @override + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GAccountFields_identity_certReceived_issuer? get issuer; + @override + String? get receiverId; + @override + GAccountFields_identity_certReceived_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override + bool get isActive; + @override + int get updatedOn; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_certReceived_issuer + implements + GIdentityFields_certReceived_issuer, + GCertFields_issuer, + GIdentityBasicFields { + @override + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_certReceived_receiver + implements + GIdentityFields_certReceived_receiver, + GCertFields_receiver, + GIdentityBasicFields { + @override + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_certReceivedAggregate + implements GIdentityFields_certReceivedAggregate { + @override + String get G__typename; + @override + GAccountFields_identity_certReceivedAggregate_aggregate? get aggregate; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_certReceivedAggregate_aggregate + implements GIdentityFields_certReceivedAggregate_aggregate { + @override + String get G__typename; + @override + int get count; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_linkedAccount + implements GIdentityFields_linkedAccount { + @override + String get G__typename; + @override + String get id; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_linkedAccountAggregate + implements GIdentityFields_linkedAccountAggregate { + @override + String get G__typename; + @override + GAccountFields_identity_linkedAccountAggregate_aggregate? get aggregate; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_linkedAccountAggregate_aggregate + implements GIdentityFields_linkedAccountAggregate_aggregate { + @override + String get G__typename; + @override + int get count; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_membershipHistory + implements GIdentityFields_membershipHistory { + @override + String get G__typename; + @override + int get blockNumber; + @override + String? get eventId; + @override + _i2.GEventTypeEnum? get eventType; + @override + String get id; + @override + String? get identityId; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_membershipHistoryAggregate + implements GIdentityFields_membershipHistoryAggregate { + @override + String get G__typename; + @override + GAccountFields_identity_membershipHistoryAggregate_aggregate? get aggregate; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_membershipHistoryAggregate_aggregate + implements GIdentityFields_membershipHistoryAggregate_aggregate { + @override + String get G__typename; + @override + int get count; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_ownerKeyChange + implements GIdentityFields_ownerKeyChange, GOwnerKeyChangeFields { + @override + String get G__typename; + @override + String get id; + @override + int get blockNumber; + @override + String? get identityId; + @override + String? get nextId; + @override + String? get previousId; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_ownerKeyChangeAggregate + implements GIdentityFields_ownerKeyChangeAggregate { + @override + String get G__typename; + @override + GAccountFields_identity_ownerKeyChangeAggregate_aggregate? get aggregate; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_ownerKeyChangeAggregate_aggregate + implements GIdentityFields_ownerKeyChangeAggregate_aggregate { + @override + String get G__typename; + @override + int get count; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_smith + implements GIdentityFields_smith, GSmithFields { + @override + String get G__typename; + @override + String get id; + @override + int get forged; + @override + int get index; + @override + int? get lastChanged; + @override + int? get lastForged; + @override + BuiltList<GAccountFields_identity_smith_smithCertIssued> get smithCertIssued; + @override + BuiltList<GAccountFields_identity_smith_smithCertReceived> + get smithCertReceived; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_smith_smithCertIssued + implements + GIdentityFields_smith_smithCertIssued, + GSmithFields_smithCertIssued, + GSmithCertFields { + @override + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_smith_smithCertReceived + implements + GIdentityFields_smith_smithCertReceived, + GSmithFields_smithCertReceived, + GSmithCertFields { + @override + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_identity_udHistory + implements GIdentityFields_udHistory { + @override + String get G__typename; + @override + String get id; + @override + int get amount; + @override + _i2.Gtimestamptz get timestamp; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_linkedIdentity implements GIdentityBasicFields { + @override + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_removedIdentities + implements GIdentityBasicFields { + @override + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_removedIdentitiesAggregate { + String get G__typename; + GAccountFields_removedIdentitiesAggregate_aggregate? get aggregate; + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_removedIdentitiesAggregate_aggregate { + String get G__typename; + int get count; + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_transfersIssued implements GTransferFields { + @override + String get G__typename; + @override + int get blockNumber; + @override + _i2.Gtimestamptz get timestamp; + @override + int get amount; + @override + GAccountFields_transfersIssued_to? get to; + @override + GAccountFields_transfersIssued_from? get from; + @override + GAccountFields_transfersIssued_comment? get comment; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_transfersIssued_to implements GTransferFields_to { + @override + String get G__typename; + @override + String get id; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_transfersIssued_from + implements GTransferFields_from { + @override + String get G__typename; + @override + String get id; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_transfersIssued_comment + implements GTransferFields_comment { + @override + String get G__typename; + @override + String get remark; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_transfersIssuedAggregate { + String get G__typename; + GAccountFields_transfersIssuedAggregate_aggregate? get aggregate; + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_transfersIssuedAggregate_aggregate { + String get G__typename; + GAccountFields_transfersIssuedAggregate_aggregate_sum? get sum; + int get count; + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_transfersIssuedAggregate_aggregate_sum { + String get G__typename; + int? get amount; + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_transfersReceived implements GTransferFields { + @override + String get G__typename; + @override + int get blockNumber; + @override + _i2.Gtimestamptz get timestamp; + @override + int get amount; + @override + GAccountFields_transfersReceived_to? get to; + @override + GAccountFields_transfersReceived_from? get from; + @override + GAccountFields_transfersReceived_comment? get comment; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_transfersReceived_to + implements GTransferFields_to { + @override + String get G__typename; + @override + String get id; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_transfersReceived_from + implements GTransferFields_from { + @override + String get G__typename; + @override + String get id; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_transfersReceived_comment + implements GTransferFields_comment { + @override + String get G__typename; + @override + String get remark; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_transfersReceivedAggregate { + String get G__typename; + GAccountFields_transfersReceivedAggregate_aggregate? get aggregate; + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_transfersReceivedAggregate_aggregate { + String get G__typename; + GAccountFields_transfersReceivedAggregate_aggregate_sum? get sum; + int get count; + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_transfersReceivedAggregate_aggregate_sum { + String get G__typename; + int? get amount; + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_wasIdentity implements GOwnerKeyChangeFields { + @override + String get G__typename; + @override + String get id; + @override + int get blockNumber; + @override + String? get identityId; + @override + String? get nextId; + @override + String? get previousId; + @override + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_wasIdentityAggregate { + String get G__typename; + GAccountFields_wasIdentityAggregate_aggregate? get aggregate; + Map<String, dynamic> toJson(); +} + +abstract class GAccountFields_wasIdentityAggregate_aggregate { + String get G__typename; + int get count; + Map<String, dynamic> toJson(); +} + +abstract class GAccountFieldsData + implements + Built<GAccountFieldsData, GAccountFieldsDataBuilder>, + GAccountFields { + GAccountFieldsData._(); + + factory GAccountFieldsData( + [void Function(GAccountFieldsDataBuilder b) updates]) = + _$GAccountFieldsData; + + static void _initializeBuilder(GAccountFieldsDataBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + BuiltList<GAccountFieldsData_commentsIssued> get commentsIssued; + @override + GAccountFieldsData_commentsIssuedAggregate get commentsIssuedAggregate; + @override + int get createdOn; + @override + String get id; + @override + GAccountFieldsData_identity? get identity; + @override + bool get isActive; + @override + GAccountFieldsData_linkedIdentity? get linkedIdentity; + @override + BuiltList<GAccountFieldsData_removedIdentities> get removedIdentities; + @override + GAccountFieldsData_removedIdentitiesAggregate get removedIdentitiesAggregate; + @override + BuiltList<GAccountFieldsData_transfersIssued> get transfersIssued; + @override + GAccountFieldsData_transfersIssuedAggregate get transfersIssuedAggregate; + @override + BuiltList<GAccountFieldsData_transfersReceived> get transfersReceived; + @override + GAccountFieldsData_transfersReceivedAggregate get transfersReceivedAggregate; + @override + BuiltList<GAccountFieldsData_wasIdentity> get wasIdentity; + @override + GAccountFieldsData_wasIdentityAggregate get wasIdentityAggregate; + static Serializer<GAccountFieldsData> get serializer => + _$gAccountFieldsDataSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData.serializer, + json, + ); +} + +abstract class GAccountFieldsData_commentsIssued + implements + Built<GAccountFieldsData_commentsIssued, + GAccountFieldsData_commentsIssuedBuilder>, + GAccountFields_commentsIssued, + GCommentsIssued { + GAccountFieldsData_commentsIssued._(); + + factory GAccountFieldsData_commentsIssued( + [void Function(GAccountFieldsData_commentsIssuedBuilder b) updates]) = + _$GAccountFieldsData_commentsIssued; + + static void _initializeBuilder(GAccountFieldsData_commentsIssuedBuilder b) => + b..G__typename = 'TxComment'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get authorId; + @override + int get blockNumber; + @override + String? get eventId; + @override + String get hash; + @override + String get id; + @override + String get remark; + @override + _i2.GCommentTypeEnum? get type; + static Serializer<GAccountFieldsData_commentsIssued> get serializer => + _$gAccountFieldsDataCommentsIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_commentsIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_commentsIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_commentsIssued.serializer, + json, + ); +} + +abstract class GAccountFieldsData_commentsIssuedAggregate + implements + Built<GAccountFieldsData_commentsIssuedAggregate, + GAccountFieldsData_commentsIssuedAggregateBuilder>, + GAccountFields_commentsIssuedAggregate { + GAccountFieldsData_commentsIssuedAggregate._(); + + factory GAccountFieldsData_commentsIssuedAggregate( + [void Function(GAccountFieldsData_commentsIssuedAggregateBuilder b) + updates]) = _$GAccountFieldsData_commentsIssuedAggregate; + + static void _initializeBuilder( + GAccountFieldsData_commentsIssuedAggregateBuilder b) => + b..G__typename = 'TxCommentAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountFieldsData_commentsIssuedAggregate_aggregate? get aggregate; + static Serializer<GAccountFieldsData_commentsIssuedAggregate> + get serializer => _$gAccountFieldsDataCommentsIssuedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_commentsIssuedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_commentsIssuedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_commentsIssuedAggregate.serializer, + json, + ); +} + +abstract class GAccountFieldsData_commentsIssuedAggregate_aggregate + implements + Built<GAccountFieldsData_commentsIssuedAggregate_aggregate, + GAccountFieldsData_commentsIssuedAggregate_aggregateBuilder>, + GAccountFields_commentsIssuedAggregate_aggregate { + GAccountFieldsData_commentsIssuedAggregate_aggregate._(); + + factory GAccountFieldsData_commentsIssuedAggregate_aggregate( + [void Function( + GAccountFieldsData_commentsIssuedAggregate_aggregateBuilder b) + updates]) = _$GAccountFieldsData_commentsIssuedAggregate_aggregate; + + static void _initializeBuilder( + GAccountFieldsData_commentsIssuedAggregate_aggregateBuilder b) => + b..G__typename = 'TxCommentAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer<GAccountFieldsData_commentsIssuedAggregate_aggregate> + get serializer => + _$gAccountFieldsDataCommentsIssuedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_commentsIssuedAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_commentsIssuedAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_commentsIssuedAggregate_aggregate.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity + implements + Built<GAccountFieldsData_identity, GAccountFieldsData_identityBuilder>, + GAccountFields_identity, + GIdentityFields { + GAccountFieldsData_identity._(); + + factory GAccountFieldsData_identity( + [void Function(GAccountFieldsData_identityBuilder b) updates]) = + _$GAccountFieldsData_identity; + + static void _initializeBuilder(GAccountFieldsData_identityBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String? get accountRemovedId; + @override + BuiltList<GAccountFieldsData_identity_certIssued> get certIssued; + @override + GAccountFieldsData_identity_certIssuedAggregate get certIssuedAggregate; + @override + BuiltList<GAccountFieldsData_identity_certReceived> get certReceived; + @override + GAccountFieldsData_identity_certReceivedAggregate get certReceivedAggregate; + @override + String? get createdInId; + @override + int get createdOn; + @override + int get expireOn; + @override + String get id; + @override + int get index; + @override + bool get isMember; + @override + int get lastChangeOn; + @override + BuiltList<GAccountFieldsData_identity_linkedAccount> get linkedAccount; + @override + GAccountFieldsData_identity_linkedAccountAggregate get linkedAccountAggregate; + @override + _i2.GIdentityStatusEnum? get status; + @override + BuiltList<GAccountFieldsData_identity_membershipHistory> + get membershipHistory; + @override + GAccountFieldsData_identity_membershipHistoryAggregate + get membershipHistoryAggregate; + @override + String get name; + @override + BuiltList<GAccountFieldsData_identity_ownerKeyChange> get ownerKeyChange; + @override + GAccountFieldsData_identity_ownerKeyChangeAggregate + get ownerKeyChangeAggregate; + @override + GAccountFieldsData_identity_smith? get smith; + @override + BuiltList<GAccountFieldsData_identity_udHistory>? get udHistory; + static Serializer<GAccountFieldsData_identity> get serializer => + _$gAccountFieldsDataIdentitySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_certIssued + implements + Built<GAccountFieldsData_identity_certIssued, + GAccountFieldsData_identity_certIssuedBuilder>, + GAccountFields_identity_certIssued, + GIdentityFields_certIssued, + GCertFields { + GAccountFieldsData_identity_certIssued._(); + + factory GAccountFieldsData_identity_certIssued( + [void Function(GAccountFieldsData_identity_certIssuedBuilder b) + updates]) = _$GAccountFieldsData_identity_certIssued; + + static void _initializeBuilder( + GAccountFieldsData_identity_certIssuedBuilder b) => + b..G__typename = 'Cert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GAccountFieldsData_identity_certIssued_issuer? get issuer; + @override + String? get receiverId; + @override + GAccountFieldsData_identity_certIssued_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override + bool get isActive; + @override + int get updatedOn; + static Serializer<GAccountFieldsData_identity_certIssued> get serializer => + _$gAccountFieldsDataIdentityCertIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_certIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_certIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_certIssued.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_certIssued_issuer + implements + Built<GAccountFieldsData_identity_certIssued_issuer, + GAccountFieldsData_identity_certIssued_issuerBuilder>, + GAccountFields_identity_certIssued_issuer, + GIdentityFields_certIssued_issuer, + GCertFields_issuer, + GIdentityBasicFields { + GAccountFieldsData_identity_certIssued_issuer._(); + + factory GAccountFieldsData_identity_certIssued_issuer( + [void Function(GAccountFieldsData_identity_certIssued_issuerBuilder b) + updates]) = _$GAccountFieldsData_identity_certIssued_issuer; + + static void _initializeBuilder( + GAccountFieldsData_identity_certIssued_issuerBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountFieldsData_identity_certIssued_issuer> + get serializer => _$gAccountFieldsDataIdentityCertIssuedIssuerSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_certIssued_issuer.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_certIssued_issuer? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_certIssued_issuer.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_certIssued_receiver + implements + Built<GAccountFieldsData_identity_certIssued_receiver, + GAccountFieldsData_identity_certIssued_receiverBuilder>, + GAccountFields_identity_certIssued_receiver, + GIdentityFields_certIssued_receiver, + GCertFields_receiver, + GIdentityBasicFields { + GAccountFieldsData_identity_certIssued_receiver._(); + + factory GAccountFieldsData_identity_certIssued_receiver( + [void Function(GAccountFieldsData_identity_certIssued_receiverBuilder b) + updates]) = _$GAccountFieldsData_identity_certIssued_receiver; + + static void _initializeBuilder( + GAccountFieldsData_identity_certIssued_receiverBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountFieldsData_identity_certIssued_receiver> + get serializer => + _$gAccountFieldsDataIdentityCertIssuedReceiverSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_certIssued_receiver.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_certIssued_receiver? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_certIssued_receiver.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_certIssuedAggregate + implements + Built<GAccountFieldsData_identity_certIssuedAggregate, + GAccountFieldsData_identity_certIssuedAggregateBuilder>, + GAccountFields_identity_certIssuedAggregate, + GIdentityFields_certIssuedAggregate { + GAccountFieldsData_identity_certIssuedAggregate._(); + + factory GAccountFieldsData_identity_certIssuedAggregate( + [void Function(GAccountFieldsData_identity_certIssuedAggregateBuilder b) + updates]) = _$GAccountFieldsData_identity_certIssuedAggregate; + + static void _initializeBuilder( + GAccountFieldsData_identity_certIssuedAggregateBuilder b) => + b..G__typename = 'CertAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountFieldsData_identity_certIssuedAggregate_aggregate? get aggregate; + static Serializer<GAccountFieldsData_identity_certIssuedAggregate> + get serializer => + _$gAccountFieldsDataIdentityCertIssuedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_certIssuedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_certIssuedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_certIssuedAggregate.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_certIssuedAggregate_aggregate + implements + Built<GAccountFieldsData_identity_certIssuedAggregate_aggregate, + GAccountFieldsData_identity_certIssuedAggregate_aggregateBuilder>, + GAccountFields_identity_certIssuedAggregate_aggregate, + GIdentityFields_certIssuedAggregate_aggregate { + GAccountFieldsData_identity_certIssuedAggregate_aggregate._(); + + factory GAccountFieldsData_identity_certIssuedAggregate_aggregate( + [void Function( + GAccountFieldsData_identity_certIssuedAggregate_aggregateBuilder + b) + updates]) = _$GAccountFieldsData_identity_certIssuedAggregate_aggregate; + + static void _initializeBuilder( + GAccountFieldsData_identity_certIssuedAggregate_aggregateBuilder b) => + b..G__typename = 'CertAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer<GAccountFieldsData_identity_certIssuedAggregate_aggregate> + get serializer => + _$gAccountFieldsDataIdentityCertIssuedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_certIssuedAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_certIssuedAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_certIssuedAggregate_aggregate.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_certReceived + implements + Built<GAccountFieldsData_identity_certReceived, + GAccountFieldsData_identity_certReceivedBuilder>, + GAccountFields_identity_certReceived, + GIdentityFields_certReceived, + GCertFields { + GAccountFieldsData_identity_certReceived._(); + + factory GAccountFieldsData_identity_certReceived( + [void Function(GAccountFieldsData_identity_certReceivedBuilder b) + updates]) = _$GAccountFieldsData_identity_certReceived; + + static void _initializeBuilder( + GAccountFieldsData_identity_certReceivedBuilder b) => + b..G__typename = 'Cert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + GAccountFieldsData_identity_certReceived_issuer? get issuer; + @override + String? get receiverId; + @override + GAccountFieldsData_identity_certReceived_receiver? get receiver; + @override + int get createdOn; + @override + int get expireOn; + @override + bool get isActive; + @override + int get updatedOn; + static Serializer<GAccountFieldsData_identity_certReceived> get serializer => + _$gAccountFieldsDataIdentityCertReceivedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_certReceived.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_certReceived? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_certReceived.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_certReceived_issuer + implements + Built<GAccountFieldsData_identity_certReceived_issuer, + GAccountFieldsData_identity_certReceived_issuerBuilder>, + GAccountFields_identity_certReceived_issuer, + GIdentityFields_certReceived_issuer, + GCertFields_issuer, + GIdentityBasicFields { + GAccountFieldsData_identity_certReceived_issuer._(); + + factory GAccountFieldsData_identity_certReceived_issuer( + [void Function(GAccountFieldsData_identity_certReceived_issuerBuilder b) + updates]) = _$GAccountFieldsData_identity_certReceived_issuer; + + static void _initializeBuilder( + GAccountFieldsData_identity_certReceived_issuerBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountFieldsData_identity_certReceived_issuer> + get serializer => + _$gAccountFieldsDataIdentityCertReceivedIssuerSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_certReceived_issuer.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_certReceived_issuer? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_certReceived_issuer.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_certReceived_receiver + implements + Built<GAccountFieldsData_identity_certReceived_receiver, + GAccountFieldsData_identity_certReceived_receiverBuilder>, + GAccountFields_identity_certReceived_receiver, + GIdentityFields_certReceived_receiver, + GCertFields_receiver, + GIdentityBasicFields { + GAccountFieldsData_identity_certReceived_receiver._(); + + factory GAccountFieldsData_identity_certReceived_receiver( + [void Function(GAccountFieldsData_identity_certReceived_receiverBuilder b) + updates]) = _$GAccountFieldsData_identity_certReceived_receiver; + + static void _initializeBuilder( + GAccountFieldsData_identity_certReceived_receiverBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountFieldsData_identity_certReceived_receiver> + get serializer => + _$gAccountFieldsDataIdentityCertReceivedReceiverSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_certReceived_receiver.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_certReceived_receiver? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_certReceived_receiver.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_certReceivedAggregate + implements + Built<GAccountFieldsData_identity_certReceivedAggregate, + GAccountFieldsData_identity_certReceivedAggregateBuilder>, + GAccountFields_identity_certReceivedAggregate, + GIdentityFields_certReceivedAggregate { + GAccountFieldsData_identity_certReceivedAggregate._(); + + factory GAccountFieldsData_identity_certReceivedAggregate( + [void Function(GAccountFieldsData_identity_certReceivedAggregateBuilder b) + updates]) = _$GAccountFieldsData_identity_certReceivedAggregate; + + static void _initializeBuilder( + GAccountFieldsData_identity_certReceivedAggregateBuilder b) => + b..G__typename = 'CertAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountFieldsData_identity_certReceivedAggregate_aggregate? get aggregate; + static Serializer<GAccountFieldsData_identity_certReceivedAggregate> + get serializer => + _$gAccountFieldsDataIdentityCertReceivedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_certReceivedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_certReceivedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_certReceivedAggregate.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_certReceivedAggregate_aggregate + implements + Built<GAccountFieldsData_identity_certReceivedAggregate_aggregate, + GAccountFieldsData_identity_certReceivedAggregate_aggregateBuilder>, + GAccountFields_identity_certReceivedAggregate_aggregate, + GIdentityFields_certReceivedAggregate_aggregate { + GAccountFieldsData_identity_certReceivedAggregate_aggregate._(); + + factory GAccountFieldsData_identity_certReceivedAggregate_aggregate( + [void Function( + GAccountFieldsData_identity_certReceivedAggregate_aggregateBuilder + b) + updates]) = _$GAccountFieldsData_identity_certReceivedAggregate_aggregate; + + static void _initializeBuilder( + GAccountFieldsData_identity_certReceivedAggregate_aggregateBuilder + b) => + b..G__typename = 'CertAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer<GAccountFieldsData_identity_certReceivedAggregate_aggregate> + get serializer => + _$gAccountFieldsDataIdentityCertReceivedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_certReceivedAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_certReceivedAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_certReceivedAggregate_aggregate.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_linkedAccount + implements + Built<GAccountFieldsData_identity_linkedAccount, + GAccountFieldsData_identity_linkedAccountBuilder>, + GAccountFields_identity_linkedAccount, + GIdentityFields_linkedAccount { + GAccountFieldsData_identity_linkedAccount._(); + + factory GAccountFieldsData_identity_linkedAccount( + [void Function(GAccountFieldsData_identity_linkedAccountBuilder b) + updates]) = _$GAccountFieldsData_identity_linkedAccount; + + static void _initializeBuilder( + GAccountFieldsData_identity_linkedAccountBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GAccountFieldsData_identity_linkedAccount> get serializer => + _$gAccountFieldsDataIdentityLinkedAccountSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_linkedAccount.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_linkedAccount? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_linkedAccount.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_linkedAccountAggregate + implements + Built<GAccountFieldsData_identity_linkedAccountAggregate, + GAccountFieldsData_identity_linkedAccountAggregateBuilder>, + GAccountFields_identity_linkedAccountAggregate, + GIdentityFields_linkedAccountAggregate { + GAccountFieldsData_identity_linkedAccountAggregate._(); + + factory GAccountFieldsData_identity_linkedAccountAggregate( + [void Function( + GAccountFieldsData_identity_linkedAccountAggregateBuilder b) + updates]) = _$GAccountFieldsData_identity_linkedAccountAggregate; + + static void _initializeBuilder( + GAccountFieldsData_identity_linkedAccountAggregateBuilder b) => + b..G__typename = 'AccountAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountFieldsData_identity_linkedAccountAggregate_aggregate? get aggregate; + static Serializer<GAccountFieldsData_identity_linkedAccountAggregate> + get serializer => + _$gAccountFieldsDataIdentityLinkedAccountAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_linkedAccountAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_linkedAccountAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_linkedAccountAggregate.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_linkedAccountAggregate_aggregate + implements + Built<GAccountFieldsData_identity_linkedAccountAggregate_aggregate, + GAccountFieldsData_identity_linkedAccountAggregate_aggregateBuilder>, + GAccountFields_identity_linkedAccountAggregate_aggregate, + GIdentityFields_linkedAccountAggregate_aggregate { + GAccountFieldsData_identity_linkedAccountAggregate_aggregate._(); + + factory GAccountFieldsData_identity_linkedAccountAggregate_aggregate( + [void Function( + GAccountFieldsData_identity_linkedAccountAggregate_aggregateBuilder + b) + updates]) = + _$GAccountFieldsData_identity_linkedAccountAggregate_aggregate; + + static void _initializeBuilder( + GAccountFieldsData_identity_linkedAccountAggregate_aggregateBuilder + b) => + b..G__typename = 'AccountAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GAccountFieldsData_identity_linkedAccountAggregate_aggregate> + get serializer => + _$gAccountFieldsDataIdentityLinkedAccountAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_linkedAccountAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_linkedAccountAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_linkedAccountAggregate_aggregate.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_membershipHistory + implements + Built<GAccountFieldsData_identity_membershipHistory, + GAccountFieldsData_identity_membershipHistoryBuilder>, + GAccountFields_identity_membershipHistory, + GIdentityFields_membershipHistory { + GAccountFieldsData_identity_membershipHistory._(); + + factory GAccountFieldsData_identity_membershipHistory( + [void Function(GAccountFieldsData_identity_membershipHistoryBuilder b) + updates]) = _$GAccountFieldsData_identity_membershipHistory; + + static void _initializeBuilder( + GAccountFieldsData_identity_membershipHistoryBuilder b) => + b..G__typename = 'MembershipEvent'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get blockNumber; + @override + String? get eventId; + @override + _i2.GEventTypeEnum? get eventType; + @override + String get id; + @override + String? get identityId; + static Serializer<GAccountFieldsData_identity_membershipHistory> + get serializer => _$gAccountFieldsDataIdentityMembershipHistorySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_membershipHistory.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_membershipHistory? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_membershipHistory.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_membershipHistoryAggregate + implements + Built<GAccountFieldsData_identity_membershipHistoryAggregate, + GAccountFieldsData_identity_membershipHistoryAggregateBuilder>, + GAccountFields_identity_membershipHistoryAggregate, + GIdentityFields_membershipHistoryAggregate { + GAccountFieldsData_identity_membershipHistoryAggregate._(); + + factory GAccountFieldsData_identity_membershipHistoryAggregate( + [void Function( + GAccountFieldsData_identity_membershipHistoryAggregateBuilder b) + updates]) = _$GAccountFieldsData_identity_membershipHistoryAggregate; + + static void _initializeBuilder( + GAccountFieldsData_identity_membershipHistoryAggregateBuilder b) => + b..G__typename = 'MembershipEventAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountFieldsData_identity_membershipHistoryAggregate_aggregate? + get aggregate; + static Serializer<GAccountFieldsData_identity_membershipHistoryAggregate> + get serializer => + _$gAccountFieldsDataIdentityMembershipHistoryAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_membershipHistoryAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_membershipHistoryAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_membershipHistoryAggregate.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_membershipHistoryAggregate_aggregate + implements + Built<GAccountFieldsData_identity_membershipHistoryAggregate_aggregate, + GAccountFieldsData_identity_membershipHistoryAggregate_aggregateBuilder>, + GAccountFields_identity_membershipHistoryAggregate_aggregate, + GIdentityFields_membershipHistoryAggregate_aggregate { + GAccountFieldsData_identity_membershipHistoryAggregate_aggregate._(); + + factory GAccountFieldsData_identity_membershipHistoryAggregate_aggregate( + [void Function( + GAccountFieldsData_identity_membershipHistoryAggregate_aggregateBuilder + b) + updates]) = + _$GAccountFieldsData_identity_membershipHistoryAggregate_aggregate; + + static void _initializeBuilder( + GAccountFieldsData_identity_membershipHistoryAggregate_aggregateBuilder + b) => + b..G__typename = 'MembershipEventAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GAccountFieldsData_identity_membershipHistoryAggregate_aggregate> + get serializer => + _$gAccountFieldsDataIdentityMembershipHistoryAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_membershipHistoryAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_membershipHistoryAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountFieldsData_identity_membershipHistoryAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_ownerKeyChange + implements + Built<GAccountFieldsData_identity_ownerKeyChange, + GAccountFieldsData_identity_ownerKeyChangeBuilder>, + GAccountFields_identity_ownerKeyChange, + GIdentityFields_ownerKeyChange, + GOwnerKeyChangeFields { + GAccountFieldsData_identity_ownerKeyChange._(); + + factory GAccountFieldsData_identity_ownerKeyChange( + [void Function(GAccountFieldsData_identity_ownerKeyChangeBuilder b) + updates]) = _$GAccountFieldsData_identity_ownerKeyChange; + + static void _initializeBuilder( + GAccountFieldsData_identity_ownerKeyChangeBuilder b) => + b..G__typename = 'ChangeOwnerKey'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get blockNumber; + @override + String? get identityId; + @override + String? get nextId; + @override + String? get previousId; + static Serializer<GAccountFieldsData_identity_ownerKeyChange> + get serializer => _$gAccountFieldsDataIdentityOwnerKeyChangeSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_ownerKeyChange.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_ownerKeyChange? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_ownerKeyChange.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_ownerKeyChangeAggregate + implements + Built<GAccountFieldsData_identity_ownerKeyChangeAggregate, + GAccountFieldsData_identity_ownerKeyChangeAggregateBuilder>, + GAccountFields_identity_ownerKeyChangeAggregate, + GIdentityFields_ownerKeyChangeAggregate { + GAccountFieldsData_identity_ownerKeyChangeAggregate._(); + + factory GAccountFieldsData_identity_ownerKeyChangeAggregate( + [void Function( + GAccountFieldsData_identity_ownerKeyChangeAggregateBuilder b) + updates]) = _$GAccountFieldsData_identity_ownerKeyChangeAggregate; + + static void _initializeBuilder( + GAccountFieldsData_identity_ownerKeyChangeAggregateBuilder b) => + b..G__typename = 'ChangeOwnerKeyAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate? get aggregate; + static Serializer<GAccountFieldsData_identity_ownerKeyChangeAggregate> + get serializer => + _$gAccountFieldsDataIdentityOwnerKeyChangeAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_ownerKeyChangeAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_ownerKeyChangeAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_ownerKeyChangeAggregate.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate + implements + Built<GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate, + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateBuilder>, + GAccountFields_identity_ownerKeyChangeAggregate_aggregate, + GIdentityFields_ownerKeyChangeAggregate_aggregate { + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate._(); + + factory GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate( + [void Function( + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateBuilder + b) + updates]) = + _$GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate; + + static void _initializeBuilder( + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateBuilder + b) => + b..G__typename = 'ChangeOwnerKeyAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer< + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate> + get serializer => + _$gAccountFieldsDataIdentityOwnerKeyChangeAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate + .serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate? + fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate + .serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_smith + implements + Built<GAccountFieldsData_identity_smith, + GAccountFieldsData_identity_smithBuilder>, + GAccountFields_identity_smith, + GIdentityFields_smith, + GSmithFields { + GAccountFieldsData_identity_smith._(); + + factory GAccountFieldsData_identity_smith( + [void Function(GAccountFieldsData_identity_smithBuilder b) updates]) = + _$GAccountFieldsData_identity_smith; + + static void _initializeBuilder(GAccountFieldsData_identity_smithBuilder b) => + b..G__typename = 'Smith'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get forged; + @override + int get index; + @override + int? get lastChanged; + @override + int? get lastForged; + @override + BuiltList<GAccountFieldsData_identity_smith_smithCertIssued> + get smithCertIssued; + @override + BuiltList<GAccountFieldsData_identity_smith_smithCertReceived> + get smithCertReceived; + static Serializer<GAccountFieldsData_identity_smith> get serializer => + _$gAccountFieldsDataIdentitySmithSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_smith.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_smith? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_smith.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_smith_smithCertIssued + implements + Built<GAccountFieldsData_identity_smith_smithCertIssued, + GAccountFieldsData_identity_smith_smithCertIssuedBuilder>, + GAccountFields_identity_smith_smithCertIssued, + GIdentityFields_smith_smithCertIssued, + GSmithFields_smithCertIssued, + GSmithCertFields { + GAccountFieldsData_identity_smith_smithCertIssued._(); + + factory GAccountFieldsData_identity_smith_smithCertIssued( + [void Function(GAccountFieldsData_identity_smith_smithCertIssuedBuilder b) + updates]) = _$GAccountFieldsData_identity_smith_smithCertIssued; + + static void _initializeBuilder( + GAccountFieldsData_identity_smith_smithCertIssuedBuilder b) => + b..G__typename = 'SmithCert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + static Serializer<GAccountFieldsData_identity_smith_smithCertIssued> + get serializer => + _$gAccountFieldsDataIdentitySmithSmithCertIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_smith_smithCertIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_smith_smithCertIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_smith_smithCertIssued.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_smith_smithCertReceived + implements + Built<GAccountFieldsData_identity_smith_smithCertReceived, + GAccountFieldsData_identity_smith_smithCertReceivedBuilder>, + GAccountFields_identity_smith_smithCertReceived, + GIdentityFields_smith_smithCertReceived, + GSmithFields_smithCertReceived, + GSmithCertFields { + GAccountFieldsData_identity_smith_smithCertReceived._(); + + factory GAccountFieldsData_identity_smith_smithCertReceived( + [void Function( + GAccountFieldsData_identity_smith_smithCertReceivedBuilder b) + updates]) = _$GAccountFieldsData_identity_smith_smithCertReceived; + + static void _initializeBuilder( + GAccountFieldsData_identity_smith_smithCertReceivedBuilder b) => + b..G__typename = 'SmithCert'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + String? get issuerId; + @override + String? get receiverId; + @override + int get createdOn; + static Serializer<GAccountFieldsData_identity_smith_smithCertReceived> + get serializer => + _$gAccountFieldsDataIdentitySmithSmithCertReceivedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_smith_smithCertReceived.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_smith_smithCertReceived? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_smith_smithCertReceived.serializer, + json, + ); +} + +abstract class GAccountFieldsData_identity_udHistory + implements + Built<GAccountFieldsData_identity_udHistory, + GAccountFieldsData_identity_udHistoryBuilder>, + GAccountFields_identity_udHistory, + GIdentityFields_udHistory { + GAccountFieldsData_identity_udHistory._(); + + factory GAccountFieldsData_identity_udHistory( + [void Function(GAccountFieldsData_identity_udHistoryBuilder b) + updates]) = _$GAccountFieldsData_identity_udHistory; + + static void _initializeBuilder( + GAccountFieldsData_identity_udHistoryBuilder b) => + b..G__typename = 'UdHistory'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get amount; + @override + _i2.Gtimestamptz get timestamp; + static Serializer<GAccountFieldsData_identity_udHistory> get serializer => + _$gAccountFieldsDataIdentityUdHistorySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_identity_udHistory.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_identity_udHistory? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_identity_udHistory.serializer, + json, + ); +} + +abstract class GAccountFieldsData_linkedIdentity + implements + Built<GAccountFieldsData_linkedIdentity, + GAccountFieldsData_linkedIdentityBuilder>, + GAccountFields_linkedIdentity, + GIdentityBasicFields { + GAccountFieldsData_linkedIdentity._(); + + factory GAccountFieldsData_linkedIdentity( + [void Function(GAccountFieldsData_linkedIdentityBuilder b) updates]) = + _$GAccountFieldsData_linkedIdentity; + + static void _initializeBuilder(GAccountFieldsData_linkedIdentityBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountFieldsData_linkedIdentity> get serializer => + _$gAccountFieldsDataLinkedIdentitySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_linkedIdentity.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_linkedIdentity? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_linkedIdentity.serializer, + json, + ); +} + +abstract class GAccountFieldsData_removedIdentities + implements + Built<GAccountFieldsData_removedIdentities, + GAccountFieldsData_removedIdentitiesBuilder>, + GAccountFields_removedIdentities, + GIdentityBasicFields { + GAccountFieldsData_removedIdentities._(); + + factory GAccountFieldsData_removedIdentities( + [void Function(GAccountFieldsData_removedIdentitiesBuilder b) + updates]) = _$GAccountFieldsData_removedIdentities; + + static void _initializeBuilder( + GAccountFieldsData_removedIdentitiesBuilder b) => + b..G__typename = 'Identity'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String? get accountId; + @override + String get id; + @override + bool get isMember; + @override + _i2.GIdentityStatusEnum? get status; + @override + String get name; + static Serializer<GAccountFieldsData_removedIdentities> get serializer => + _$gAccountFieldsDataRemovedIdentitiesSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_removedIdentities.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_removedIdentities? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_removedIdentities.serializer, + json, + ); +} + +abstract class GAccountFieldsData_removedIdentitiesAggregate + implements + Built<GAccountFieldsData_removedIdentitiesAggregate, + GAccountFieldsData_removedIdentitiesAggregateBuilder>, + GAccountFields_removedIdentitiesAggregate { + GAccountFieldsData_removedIdentitiesAggregate._(); + + factory GAccountFieldsData_removedIdentitiesAggregate( + [void Function(GAccountFieldsData_removedIdentitiesAggregateBuilder b) + updates]) = _$GAccountFieldsData_removedIdentitiesAggregate; + + static void _initializeBuilder( + GAccountFieldsData_removedIdentitiesAggregateBuilder b) => + b..G__typename = 'IdentityAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountFieldsData_removedIdentitiesAggregate_aggregate? get aggregate; + static Serializer<GAccountFieldsData_removedIdentitiesAggregate> + get serializer => + _$gAccountFieldsDataRemovedIdentitiesAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_removedIdentitiesAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_removedIdentitiesAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_removedIdentitiesAggregate.serializer, + json, + ); +} + +abstract class GAccountFieldsData_removedIdentitiesAggregate_aggregate + implements + Built<GAccountFieldsData_removedIdentitiesAggregate_aggregate, + GAccountFieldsData_removedIdentitiesAggregate_aggregateBuilder>, + GAccountFields_removedIdentitiesAggregate_aggregate { + GAccountFieldsData_removedIdentitiesAggregate_aggregate._(); + + factory GAccountFieldsData_removedIdentitiesAggregate_aggregate( + [void Function( + GAccountFieldsData_removedIdentitiesAggregate_aggregateBuilder b) + updates]) = _$GAccountFieldsData_removedIdentitiesAggregate_aggregate; + + static void _initializeBuilder( + GAccountFieldsData_removedIdentitiesAggregate_aggregateBuilder b) => + b..G__typename = 'IdentityAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer<GAccountFieldsData_removedIdentitiesAggregate_aggregate> + get serializer => + _$gAccountFieldsDataRemovedIdentitiesAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_removedIdentitiesAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_removedIdentitiesAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_removedIdentitiesAggregate_aggregate.serializer, + json, + ); +} + +abstract class GAccountFieldsData_transfersIssued + implements + Built<GAccountFieldsData_transfersIssued, + GAccountFieldsData_transfersIssuedBuilder>, + GAccountFields_transfersIssued, + GTransferFields { + GAccountFieldsData_transfersIssued._(); + + factory GAccountFieldsData_transfersIssued( + [void Function(GAccountFieldsData_transfersIssuedBuilder b) + updates]) = _$GAccountFieldsData_transfersIssued; + + static void _initializeBuilder(GAccountFieldsData_transfersIssuedBuilder b) => + b..G__typename = 'Transfer'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get blockNumber; + @override + _i2.Gtimestamptz get timestamp; + @override + int get amount; + @override + GAccountFieldsData_transfersIssued_to? get to; + @override + GAccountFieldsData_transfersIssued_from? get from; + @override + GAccountFieldsData_transfersIssued_comment? get comment; + static Serializer<GAccountFieldsData_transfersIssued> get serializer => + _$gAccountFieldsDataTransfersIssuedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_transfersIssued.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_transfersIssued? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_transfersIssued.serializer, + json, + ); +} + +abstract class GAccountFieldsData_transfersIssued_to + implements + Built<GAccountFieldsData_transfersIssued_to, + GAccountFieldsData_transfersIssued_toBuilder>, + GAccountFields_transfersIssued_to, + GTransferFields_to { + GAccountFieldsData_transfersIssued_to._(); + + factory GAccountFieldsData_transfersIssued_to( + [void Function(GAccountFieldsData_transfersIssued_toBuilder b) + updates]) = _$GAccountFieldsData_transfersIssued_to; + + static void _initializeBuilder( + GAccountFieldsData_transfersIssued_toBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GAccountFieldsData_transfersIssued_to> get serializer => + _$gAccountFieldsDataTransfersIssuedToSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_transfersIssued_to.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_transfersIssued_to? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_transfersIssued_to.serializer, + json, + ); +} + +abstract class GAccountFieldsData_transfersIssued_from + implements + Built<GAccountFieldsData_transfersIssued_from, + GAccountFieldsData_transfersIssued_fromBuilder>, + GAccountFields_transfersIssued_from, + GTransferFields_from { + GAccountFieldsData_transfersIssued_from._(); + + factory GAccountFieldsData_transfersIssued_from( + [void Function(GAccountFieldsData_transfersIssued_fromBuilder b) + updates]) = _$GAccountFieldsData_transfersIssued_from; + + static void _initializeBuilder( + GAccountFieldsData_transfersIssued_fromBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GAccountFieldsData_transfersIssued_from> get serializer => + _$gAccountFieldsDataTransfersIssuedFromSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_transfersIssued_from.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_transfersIssued_from? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_transfersIssued_from.serializer, + json, + ); +} + +abstract class GAccountFieldsData_transfersIssued_comment + implements + Built<GAccountFieldsData_transfersIssued_comment, + GAccountFieldsData_transfersIssued_commentBuilder>, + GAccountFields_transfersIssued_comment, + GTransferFields_comment { + GAccountFieldsData_transfersIssued_comment._(); + + factory GAccountFieldsData_transfersIssued_comment( + [void Function(GAccountFieldsData_transfersIssued_commentBuilder b) + updates]) = _$GAccountFieldsData_transfersIssued_comment; + + static void _initializeBuilder( + GAccountFieldsData_transfersIssued_commentBuilder b) => + b..G__typename = 'TxComment'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get remark; + static Serializer<GAccountFieldsData_transfersIssued_comment> + get serializer => _$gAccountFieldsDataTransfersIssuedCommentSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_transfersIssued_comment.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_transfersIssued_comment? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_transfersIssued_comment.serializer, + json, + ); +} + +abstract class GAccountFieldsData_transfersIssuedAggregate + implements + Built<GAccountFieldsData_transfersIssuedAggregate, + GAccountFieldsData_transfersIssuedAggregateBuilder>, + GAccountFields_transfersIssuedAggregate { + GAccountFieldsData_transfersIssuedAggregate._(); + + factory GAccountFieldsData_transfersIssuedAggregate( + [void Function(GAccountFieldsData_transfersIssuedAggregateBuilder b) + updates]) = _$GAccountFieldsData_transfersIssuedAggregate; + + static void _initializeBuilder( + GAccountFieldsData_transfersIssuedAggregateBuilder b) => + b..G__typename = 'TransferAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountFieldsData_transfersIssuedAggregate_aggregate? get aggregate; + static Serializer<GAccountFieldsData_transfersIssuedAggregate> + get serializer => _$gAccountFieldsDataTransfersIssuedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_transfersIssuedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_transfersIssuedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_transfersIssuedAggregate.serializer, + json, + ); +} + +abstract class GAccountFieldsData_transfersIssuedAggregate_aggregate + implements + Built<GAccountFieldsData_transfersIssuedAggregate_aggregate, + GAccountFieldsData_transfersIssuedAggregate_aggregateBuilder>, + GAccountFields_transfersIssuedAggregate_aggregate { + GAccountFieldsData_transfersIssuedAggregate_aggregate._(); + + factory GAccountFieldsData_transfersIssuedAggregate_aggregate( + [void Function( + GAccountFieldsData_transfersIssuedAggregate_aggregateBuilder b) + updates]) = _$GAccountFieldsData_transfersIssuedAggregate_aggregate; + + static void _initializeBuilder( + GAccountFieldsData_transfersIssuedAggregate_aggregateBuilder b) => + b..G__typename = 'TransferAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountFieldsData_transfersIssuedAggregate_aggregate_sum? get sum; + @override + int get count; + static Serializer<GAccountFieldsData_transfersIssuedAggregate_aggregate> + get serializer => + _$gAccountFieldsDataTransfersIssuedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_transfersIssuedAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_transfersIssuedAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_transfersIssuedAggregate_aggregate.serializer, + json, + ); +} + +abstract class GAccountFieldsData_transfersIssuedAggregate_aggregate_sum + implements + Built<GAccountFieldsData_transfersIssuedAggregate_aggregate_sum, + GAccountFieldsData_transfersIssuedAggregate_aggregate_sumBuilder>, + GAccountFields_transfersIssuedAggregate_aggregate_sum { + GAccountFieldsData_transfersIssuedAggregate_aggregate_sum._(); + + factory GAccountFieldsData_transfersIssuedAggregate_aggregate_sum( + [void Function( + GAccountFieldsData_transfersIssuedAggregate_aggregate_sumBuilder + b) + updates]) = _$GAccountFieldsData_transfersIssuedAggregate_aggregate_sum; + + static void _initializeBuilder( + GAccountFieldsData_transfersIssuedAggregate_aggregate_sumBuilder b) => + b..G__typename = 'TransferSumFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int? get amount; + static Serializer<GAccountFieldsData_transfersIssuedAggregate_aggregate_sum> + get serializer => + _$gAccountFieldsDataTransfersIssuedAggregateAggregateSumSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_transfersIssuedAggregate_aggregate_sum.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_transfersIssuedAggregate_aggregate_sum? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_transfersIssuedAggregate_aggregate_sum.serializer, + json, + ); +} + +abstract class GAccountFieldsData_transfersReceived + implements + Built<GAccountFieldsData_transfersReceived, + GAccountFieldsData_transfersReceivedBuilder>, + GAccountFields_transfersReceived, + GTransferFields { + GAccountFieldsData_transfersReceived._(); + + factory GAccountFieldsData_transfersReceived( + [void Function(GAccountFieldsData_transfersReceivedBuilder b) + updates]) = _$GAccountFieldsData_transfersReceived; + + static void _initializeBuilder( + GAccountFieldsData_transfersReceivedBuilder b) => + b..G__typename = 'Transfer'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get blockNumber; + @override + _i2.Gtimestamptz get timestamp; + @override + int get amount; + @override + GAccountFieldsData_transfersReceived_to? get to; + @override + GAccountFieldsData_transfersReceived_from? get from; + @override + GAccountFieldsData_transfersReceived_comment? get comment; + static Serializer<GAccountFieldsData_transfersReceived> get serializer => + _$gAccountFieldsDataTransfersReceivedSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_transfersReceived.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_transfersReceived? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_transfersReceived.serializer, + json, + ); +} + +abstract class GAccountFieldsData_transfersReceived_to + implements + Built<GAccountFieldsData_transfersReceived_to, + GAccountFieldsData_transfersReceived_toBuilder>, + GAccountFields_transfersReceived_to, + GTransferFields_to { + GAccountFieldsData_transfersReceived_to._(); + + factory GAccountFieldsData_transfersReceived_to( + [void Function(GAccountFieldsData_transfersReceived_toBuilder b) + updates]) = _$GAccountFieldsData_transfersReceived_to; + + static void _initializeBuilder( + GAccountFieldsData_transfersReceived_toBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GAccountFieldsData_transfersReceived_to> get serializer => + _$gAccountFieldsDataTransfersReceivedToSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_transfersReceived_to.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_transfersReceived_to? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_transfersReceived_to.serializer, + json, + ); +} + +abstract class GAccountFieldsData_transfersReceived_from + implements + Built<GAccountFieldsData_transfersReceived_from, + GAccountFieldsData_transfersReceived_fromBuilder>, + GAccountFields_transfersReceived_from, + GTransferFields_from { + GAccountFieldsData_transfersReceived_from._(); + + factory GAccountFieldsData_transfersReceived_from( + [void Function(GAccountFieldsData_transfersReceived_fromBuilder b) + updates]) = _$GAccountFieldsData_transfersReceived_from; + + static void _initializeBuilder( + GAccountFieldsData_transfersReceived_fromBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GAccountFieldsData_transfersReceived_from> get serializer => + _$gAccountFieldsDataTransfersReceivedFromSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_transfersReceived_from.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_transfersReceived_from? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_transfersReceived_from.serializer, + json, + ); +} + +abstract class GAccountFieldsData_transfersReceived_comment + implements + Built<GAccountFieldsData_transfersReceived_comment, + GAccountFieldsData_transfersReceived_commentBuilder>, + GAccountFields_transfersReceived_comment, + GTransferFields_comment { + GAccountFieldsData_transfersReceived_comment._(); + + factory GAccountFieldsData_transfersReceived_comment( + [void Function(GAccountFieldsData_transfersReceived_commentBuilder b) + updates]) = _$GAccountFieldsData_transfersReceived_comment; + + static void _initializeBuilder( + GAccountFieldsData_transfersReceived_commentBuilder b) => + b..G__typename = 'TxComment'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get remark; + static Serializer<GAccountFieldsData_transfersReceived_comment> + get serializer => _$gAccountFieldsDataTransfersReceivedCommentSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_transfersReceived_comment.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_transfersReceived_comment? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_transfersReceived_comment.serializer, + json, + ); +} + +abstract class GAccountFieldsData_transfersReceivedAggregate + implements + Built<GAccountFieldsData_transfersReceivedAggregate, + GAccountFieldsData_transfersReceivedAggregateBuilder>, + GAccountFields_transfersReceivedAggregate { + GAccountFieldsData_transfersReceivedAggregate._(); + + factory GAccountFieldsData_transfersReceivedAggregate( + [void Function(GAccountFieldsData_transfersReceivedAggregateBuilder b) + updates]) = _$GAccountFieldsData_transfersReceivedAggregate; + + static void _initializeBuilder( + GAccountFieldsData_transfersReceivedAggregateBuilder b) => + b..G__typename = 'TransferAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountFieldsData_transfersReceivedAggregate_aggregate? get aggregate; + static Serializer<GAccountFieldsData_transfersReceivedAggregate> + get serializer => + _$gAccountFieldsDataTransfersReceivedAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_transfersReceivedAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_transfersReceivedAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_transfersReceivedAggregate.serializer, + json, + ); +} + +abstract class GAccountFieldsData_transfersReceivedAggregate_aggregate + implements + Built<GAccountFieldsData_transfersReceivedAggregate_aggregate, + GAccountFieldsData_transfersReceivedAggregate_aggregateBuilder>, + GAccountFields_transfersReceivedAggregate_aggregate { + GAccountFieldsData_transfersReceivedAggregate_aggregate._(); + + factory GAccountFieldsData_transfersReceivedAggregate_aggregate( + [void Function( + GAccountFieldsData_transfersReceivedAggregate_aggregateBuilder b) + updates]) = _$GAccountFieldsData_transfersReceivedAggregate_aggregate; + + static void _initializeBuilder( + GAccountFieldsData_transfersReceivedAggregate_aggregateBuilder b) => + b..G__typename = 'TransferAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountFieldsData_transfersReceivedAggregate_aggregate_sum? get sum; + @override + int get count; + static Serializer<GAccountFieldsData_transfersReceivedAggregate_aggregate> + get serializer => + _$gAccountFieldsDataTransfersReceivedAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_transfersReceivedAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_transfersReceivedAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_transfersReceivedAggregate_aggregate.serializer, + json, + ); +} + +abstract class GAccountFieldsData_transfersReceivedAggregate_aggregate_sum + implements + Built<GAccountFieldsData_transfersReceivedAggregate_aggregate_sum, + GAccountFieldsData_transfersReceivedAggregate_aggregate_sumBuilder>, + GAccountFields_transfersReceivedAggregate_aggregate_sum { + GAccountFieldsData_transfersReceivedAggregate_aggregate_sum._(); + + factory GAccountFieldsData_transfersReceivedAggregate_aggregate_sum( + [void Function( + GAccountFieldsData_transfersReceivedAggregate_aggregate_sumBuilder + b) + updates]) = _$GAccountFieldsData_transfersReceivedAggregate_aggregate_sum; + + static void _initializeBuilder( + GAccountFieldsData_transfersReceivedAggregate_aggregate_sumBuilder + b) => + b..G__typename = 'TransferSumFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int? get amount; + static Serializer<GAccountFieldsData_transfersReceivedAggregate_aggregate_sum> + get serializer => + _$gAccountFieldsDataTransfersReceivedAggregateAggregateSumSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_transfersReceivedAggregate_aggregate_sum.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_transfersReceivedAggregate_aggregate_sum? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_transfersReceivedAggregate_aggregate_sum.serializer, + json, + ); +} + +abstract class GAccountFieldsData_wasIdentity + implements + Built<GAccountFieldsData_wasIdentity, + GAccountFieldsData_wasIdentityBuilder>, + GAccountFields_wasIdentity, + GOwnerKeyChangeFields { + GAccountFieldsData_wasIdentity._(); + + factory GAccountFieldsData_wasIdentity( + [void Function(GAccountFieldsData_wasIdentityBuilder b) updates]) = + _$GAccountFieldsData_wasIdentity; + + static void _initializeBuilder(GAccountFieldsData_wasIdentityBuilder b) => + b..G__typename = 'ChangeOwnerKey'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + @override + int get blockNumber; + @override + String? get identityId; + @override + String? get nextId; + @override + String? get previousId; + static Serializer<GAccountFieldsData_wasIdentity> get serializer => + _$gAccountFieldsDataWasIdentitySerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_wasIdentity.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_wasIdentity? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_wasIdentity.serializer, + json, + ); +} + +abstract class GAccountFieldsData_wasIdentityAggregate + implements + Built<GAccountFieldsData_wasIdentityAggregate, + GAccountFieldsData_wasIdentityAggregateBuilder>, + GAccountFields_wasIdentityAggregate { + GAccountFieldsData_wasIdentityAggregate._(); + + factory GAccountFieldsData_wasIdentityAggregate( + [void Function(GAccountFieldsData_wasIdentityAggregateBuilder b) + updates]) = _$GAccountFieldsData_wasIdentityAggregate; + + static void _initializeBuilder( + GAccountFieldsData_wasIdentityAggregateBuilder b) => + b..G__typename = 'ChangeOwnerKeyAggregate'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + GAccountFieldsData_wasIdentityAggregate_aggregate? get aggregate; + static Serializer<GAccountFieldsData_wasIdentityAggregate> get serializer => + _$gAccountFieldsDataWasIdentityAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_wasIdentityAggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_wasIdentityAggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_wasIdentityAggregate.serializer, + json, + ); +} + +abstract class GAccountFieldsData_wasIdentityAggregate_aggregate + implements + Built<GAccountFieldsData_wasIdentityAggregate_aggregate, + GAccountFieldsData_wasIdentityAggregate_aggregateBuilder>, + GAccountFields_wasIdentityAggregate_aggregate { + GAccountFieldsData_wasIdentityAggregate_aggregate._(); + + factory GAccountFieldsData_wasIdentityAggregate_aggregate( + [void Function(GAccountFieldsData_wasIdentityAggregate_aggregateBuilder b) + updates]) = _$GAccountFieldsData_wasIdentityAggregate_aggregate; + + static void _initializeBuilder( + GAccountFieldsData_wasIdentityAggregate_aggregateBuilder b) => + b..G__typename = 'ChangeOwnerKeyAggregateFields'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get count; + static Serializer<GAccountFieldsData_wasIdentityAggregate_aggregate> + get serializer => + _$gAccountFieldsDataWasIdentityAggregateAggregateSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsData_wasIdentityAggregate_aggregate.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsData_wasIdentityAggregate_aggregate? fromJson( + Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsData_wasIdentityAggregate_aggregate.serializer, + json, + ); +} + +abstract class GTransferFields { + String get G__typename; + int get blockNumber; + _i2.Gtimestamptz get timestamp; + int get amount; + GTransferFields_to? get to; + GTransferFields_from? get from; + GTransferFields_comment? get comment; + Map<String, dynamic> toJson(); +} + +abstract class GTransferFields_to { + String get G__typename; + String get id; + Map<String, dynamic> toJson(); +} + +abstract class GTransferFields_from { + String get G__typename; + String get id; + Map<String, dynamic> toJson(); +} + +abstract class GTransferFields_comment { + String get G__typename; + String get remark; + Map<String, dynamic> toJson(); +} + +abstract class GTransferFieldsData + implements + Built<GTransferFieldsData, GTransferFieldsDataBuilder>, + GTransferFields { + GTransferFieldsData._(); + + factory GTransferFieldsData( + [void Function(GTransferFieldsDataBuilder b) updates]) = + _$GTransferFieldsData; + + static void _initializeBuilder(GTransferFieldsDataBuilder b) => + b..G__typename = 'Transfer'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + int get blockNumber; + @override + _i2.Gtimestamptz get timestamp; + @override + int get amount; + @override + GTransferFieldsData_to? get to; + @override + GTransferFieldsData_from? get from; + @override + GTransferFieldsData_comment? get comment; + static Serializer<GTransferFieldsData> get serializer => + _$gTransferFieldsDataSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GTransferFieldsData.serializer, + this, + ) as Map<String, dynamic>); + + static GTransferFieldsData? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GTransferFieldsData.serializer, + json, + ); +} + +abstract class GTransferFieldsData_to + implements + Built<GTransferFieldsData_to, GTransferFieldsData_toBuilder>, + GTransferFields_to { + GTransferFieldsData_to._(); + + factory GTransferFieldsData_to( + [void Function(GTransferFieldsData_toBuilder b) updates]) = + _$GTransferFieldsData_to; + + static void _initializeBuilder(GTransferFieldsData_toBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GTransferFieldsData_to> get serializer => + _$gTransferFieldsDataToSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GTransferFieldsData_to.serializer, + this, + ) as Map<String, dynamic>); + + static GTransferFieldsData_to? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GTransferFieldsData_to.serializer, + json, + ); +} + +abstract class GTransferFieldsData_from + implements + Built<GTransferFieldsData_from, GTransferFieldsData_fromBuilder>, + GTransferFields_from { + GTransferFieldsData_from._(); + + factory GTransferFieldsData_from( + [void Function(GTransferFieldsData_fromBuilder b) updates]) = + _$GTransferFieldsData_from; + + static void _initializeBuilder(GTransferFieldsData_fromBuilder b) => + b..G__typename = 'Account'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get id; + static Serializer<GTransferFieldsData_from> get serializer => + _$gTransferFieldsDataFromSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GTransferFieldsData_from.serializer, + this, + ) as Map<String, dynamic>); + + static GTransferFieldsData_from? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GTransferFieldsData_from.serializer, + json, + ); +} + +abstract class GTransferFieldsData_comment + implements + Built<GTransferFieldsData_comment, GTransferFieldsData_commentBuilder>, + GTransferFields_comment { + GTransferFieldsData_comment._(); + + factory GTransferFieldsData_comment( + [void Function(GTransferFieldsData_commentBuilder b) updates]) = + _$GTransferFieldsData_comment; + + static void _initializeBuilder(GTransferFieldsData_commentBuilder b) => + b..G__typename = 'TxComment'; + + @override + @BuiltValueField(wireName: '__typename') + String get G__typename; + @override + String get remark; + static Serializer<GTransferFieldsData_comment> get serializer => + _$gTransferFieldsDataCommentSerializer; + + @override + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GTransferFieldsData_comment.serializer, + this, + ) as Map<String, dynamic>); + + static GTransferFieldsData_comment? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GTransferFieldsData_comment.serializer, json, ); } diff --git a/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.data.gql.g.dart b/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.data.gql.g.dart index 25645afd..379cfb49 100644 --- a/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.data.gql.g.dart +++ b/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.data.gql.g.dart @@ -6,27 +6,540 @@ part of 'duniter-indexer-queries.data.gql.dart'; // BuiltValueGenerator // ************************************************************************** -Serializer<GAccountsByNameOrPkData> _$gAccountsByNameOrPkDataSerializer = - new _$GAccountsByNameOrPkDataSerializer(); -Serializer<GAccountsByNameOrPkData_identity> - _$gAccountsByNameOrPkDataIdentitySerializer = - new _$GAccountsByNameOrPkData_identitySerializer(); -Serializer<GAccountsByNameOrPkData_identity_account> - _$gAccountsByNameOrPkDataIdentityAccountSerializer = - new _$GAccountsByNameOrPkData_identity_accountSerializer(); -Serializer<GAccountsByNameData> _$gAccountsByNameDataSerializer = - new _$GAccountsByNameDataSerializer(); -Serializer<GAccountsByNameData_identity> - _$gAccountsByNameDataIdentitySerializer = - new _$GAccountsByNameData_identitySerializer(); -Serializer<GAccountsByNameData_identity_account> - _$gAccountsByNameDataIdentityAccountSerializer = - new _$GAccountsByNameData_identity_accountSerializer(); +Serializer<GIdentitiesByNameOrPkData> _$gIdentitiesByNameOrPkDataSerializer = + new _$GIdentitiesByNameOrPkDataSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity> + _$gIdentitiesByNameOrPkDataIdentitySerializer = + new _$GIdentitiesByNameOrPkData_identitySerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_certIssued> + _$gIdentitiesByNameOrPkDataIdentityCertIssuedSerializer = + new _$GIdentitiesByNameOrPkData_identity_certIssuedSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_certIssued_issuer> + _$gIdentitiesByNameOrPkDataIdentityCertIssuedIssuerSerializer = + new _$GIdentitiesByNameOrPkData_identity_certIssued_issuerSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_certIssued_receiver> + _$gIdentitiesByNameOrPkDataIdentityCertIssuedReceiverSerializer = + new _$GIdentitiesByNameOrPkData_identity_certIssued_receiverSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_certIssuedAggregate> + _$gIdentitiesByNameOrPkDataIdentityCertIssuedAggregateSerializer = + new _$GIdentitiesByNameOrPkData_identity_certIssuedAggregateSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate> + _$gIdentitiesByNameOrPkDataIdentityCertIssuedAggregateAggregateSerializer = + new _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_certReceived> + _$gIdentitiesByNameOrPkDataIdentityCertReceivedSerializer = + new _$GIdentitiesByNameOrPkData_identity_certReceivedSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_certReceived_issuer> + _$gIdentitiesByNameOrPkDataIdentityCertReceivedIssuerSerializer = + new _$GIdentitiesByNameOrPkData_identity_certReceived_issuerSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_certReceived_receiver> + _$gIdentitiesByNameOrPkDataIdentityCertReceivedReceiverSerializer = + new _$GIdentitiesByNameOrPkData_identity_certReceived_receiverSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_certReceivedAggregate> + _$gIdentitiesByNameOrPkDataIdentityCertReceivedAggregateSerializer = + new _$GIdentitiesByNameOrPkData_identity_certReceivedAggregateSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate> + _$gIdentitiesByNameOrPkDataIdentityCertReceivedAggregateAggregateSerializer = + new _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_linkedAccount> + _$gIdentitiesByNameOrPkDataIdentityLinkedAccountSerializer = + new _$GIdentitiesByNameOrPkData_identity_linkedAccountSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_linkedAccountAggregate> + _$gIdentitiesByNameOrPkDataIdentityLinkedAccountAggregateSerializer = + new _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregateSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate> + _$gIdentitiesByNameOrPkDataIdentityLinkedAccountAggregateAggregateSerializer = + new _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_membershipHistory> + _$gIdentitiesByNameOrPkDataIdentityMembershipHistorySerializer = + new _$GIdentitiesByNameOrPkData_identity_membershipHistorySerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate> + _$gIdentitiesByNameOrPkDataIdentityMembershipHistoryAggregateSerializer = + new _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateSerializer(); +Serializer< + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate> + _$gIdentitiesByNameOrPkDataIdentityMembershipHistoryAggregateAggregateSerializer = + new _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_ownerKeyChange> + _$gIdentitiesByNameOrPkDataIdentityOwnerKeyChangeSerializer = + new _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate> + _$gIdentitiesByNameOrPkDataIdentityOwnerKeyChangeAggregateSerializer = + new _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate> + _$gIdentitiesByNameOrPkDataIdentityOwnerKeyChangeAggregateAggregateSerializer = + new _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_smith> + _$gIdentitiesByNameOrPkDataIdentitySmithSerializer = + new _$GIdentitiesByNameOrPkData_identity_smithSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_smith_smithCertIssued> + _$gIdentitiesByNameOrPkDataIdentitySmithSmithCertIssuedSerializer = + new _$GIdentitiesByNameOrPkData_identity_smith_smithCertIssuedSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_smith_smithCertReceived> + _$gIdentitiesByNameOrPkDataIdentitySmithSmithCertReceivedSerializer = + new _$GIdentitiesByNameOrPkData_identity_smith_smithCertReceivedSerializer(); +Serializer<GIdentitiesByNameOrPkData_identity_udHistory> + _$gIdentitiesByNameOrPkDataIdentityUdHistorySerializer = + new _$GIdentitiesByNameOrPkData_identity_udHistorySerializer(); +Serializer<GIdentitiesByPkData> _$gIdentitiesByPkDataSerializer = + new _$GIdentitiesByPkDataSerializer(); +Serializer<GIdentitiesByPkData_identity> + _$gIdentitiesByPkDataIdentitySerializer = + new _$GIdentitiesByPkData_identitySerializer(); +Serializer<GIdentitiesByPkData_identity_certIssued> + _$gIdentitiesByPkDataIdentityCertIssuedSerializer = + new _$GIdentitiesByPkData_identity_certIssuedSerializer(); +Serializer<GIdentitiesByPkData_identity_certIssued_issuer> + _$gIdentitiesByPkDataIdentityCertIssuedIssuerSerializer = + new _$GIdentitiesByPkData_identity_certIssued_issuerSerializer(); +Serializer<GIdentitiesByPkData_identity_certIssued_receiver> + _$gIdentitiesByPkDataIdentityCertIssuedReceiverSerializer = + new _$GIdentitiesByPkData_identity_certIssued_receiverSerializer(); +Serializer<GIdentitiesByPkData_identity_certIssuedAggregate> + _$gIdentitiesByPkDataIdentityCertIssuedAggregateSerializer = + new _$GIdentitiesByPkData_identity_certIssuedAggregateSerializer(); +Serializer<GIdentitiesByPkData_identity_certIssuedAggregate_aggregate> + _$gIdentitiesByPkDataIdentityCertIssuedAggregateAggregateSerializer = + new _$GIdentitiesByPkData_identity_certIssuedAggregate_aggregateSerializer(); +Serializer<GIdentitiesByPkData_identity_certReceived> + _$gIdentitiesByPkDataIdentityCertReceivedSerializer = + new _$GIdentitiesByPkData_identity_certReceivedSerializer(); +Serializer<GIdentitiesByPkData_identity_certReceived_issuer> + _$gIdentitiesByPkDataIdentityCertReceivedIssuerSerializer = + new _$GIdentitiesByPkData_identity_certReceived_issuerSerializer(); +Serializer<GIdentitiesByPkData_identity_certReceived_receiver> + _$gIdentitiesByPkDataIdentityCertReceivedReceiverSerializer = + new _$GIdentitiesByPkData_identity_certReceived_receiverSerializer(); +Serializer<GIdentitiesByPkData_identity_certReceivedAggregate> + _$gIdentitiesByPkDataIdentityCertReceivedAggregateSerializer = + new _$GIdentitiesByPkData_identity_certReceivedAggregateSerializer(); +Serializer<GIdentitiesByPkData_identity_certReceivedAggregate_aggregate> + _$gIdentitiesByPkDataIdentityCertReceivedAggregateAggregateSerializer = + new _$GIdentitiesByPkData_identity_certReceivedAggregate_aggregateSerializer(); +Serializer<GIdentitiesByPkData_identity_linkedAccount> + _$gIdentitiesByPkDataIdentityLinkedAccountSerializer = + new _$GIdentitiesByPkData_identity_linkedAccountSerializer(); +Serializer<GIdentitiesByPkData_identity_linkedAccountAggregate> + _$gIdentitiesByPkDataIdentityLinkedAccountAggregateSerializer = + new _$GIdentitiesByPkData_identity_linkedAccountAggregateSerializer(); +Serializer<GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate> + _$gIdentitiesByPkDataIdentityLinkedAccountAggregateAggregateSerializer = + new _$GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateSerializer(); +Serializer<GIdentitiesByPkData_identity_membershipHistory> + _$gIdentitiesByPkDataIdentityMembershipHistorySerializer = + new _$GIdentitiesByPkData_identity_membershipHistorySerializer(); +Serializer<GIdentitiesByPkData_identity_membershipHistoryAggregate> + _$gIdentitiesByPkDataIdentityMembershipHistoryAggregateSerializer = + new _$GIdentitiesByPkData_identity_membershipHistoryAggregateSerializer(); +Serializer<GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate> + _$gIdentitiesByPkDataIdentityMembershipHistoryAggregateAggregateSerializer = + new _$GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateSerializer(); +Serializer<GIdentitiesByPkData_identity_ownerKeyChange> + _$gIdentitiesByPkDataIdentityOwnerKeyChangeSerializer = + new _$GIdentitiesByPkData_identity_ownerKeyChangeSerializer(); +Serializer<GIdentitiesByPkData_identity_ownerKeyChangeAggregate> + _$gIdentitiesByPkDataIdentityOwnerKeyChangeAggregateSerializer = + new _$GIdentitiesByPkData_identity_ownerKeyChangeAggregateSerializer(); +Serializer<GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate> + _$gIdentitiesByPkDataIdentityOwnerKeyChangeAggregateAggregateSerializer = + new _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateSerializer(); +Serializer<GIdentitiesByPkData_identity_smith> + _$gIdentitiesByPkDataIdentitySmithSerializer = + new _$GIdentitiesByPkData_identity_smithSerializer(); +Serializer<GIdentitiesByPkData_identity_smith_smithCertIssued> + _$gIdentitiesByPkDataIdentitySmithSmithCertIssuedSerializer = + new _$GIdentitiesByPkData_identity_smith_smithCertIssuedSerializer(); +Serializer<GIdentitiesByPkData_identity_smith_smithCertReceived> + _$gIdentitiesByPkDataIdentitySmithSmithCertReceivedSerializer = + new _$GIdentitiesByPkData_identity_smith_smithCertReceivedSerializer(); +Serializer<GIdentitiesByPkData_identity_udHistory> + _$gIdentitiesByPkDataIdentityUdHistorySerializer = + new _$GIdentitiesByPkData_identity_udHistorySerializer(); +Serializer<GIdentitiesByNameData> _$gIdentitiesByNameDataSerializer = + new _$GIdentitiesByNameDataSerializer(); +Serializer<GIdentitiesByNameData_identity> + _$gIdentitiesByNameDataIdentitySerializer = + new _$GIdentitiesByNameData_identitySerializer(); +Serializer<GIdentitiesByNameData_identity_certIssued> + _$gIdentitiesByNameDataIdentityCertIssuedSerializer = + new _$GIdentitiesByNameData_identity_certIssuedSerializer(); +Serializer<GIdentitiesByNameData_identity_certIssued_issuer> + _$gIdentitiesByNameDataIdentityCertIssuedIssuerSerializer = + new _$GIdentitiesByNameData_identity_certIssued_issuerSerializer(); +Serializer<GIdentitiesByNameData_identity_certIssued_receiver> + _$gIdentitiesByNameDataIdentityCertIssuedReceiverSerializer = + new _$GIdentitiesByNameData_identity_certIssued_receiverSerializer(); +Serializer<GIdentitiesByNameData_identity_certIssuedAggregate> + _$gIdentitiesByNameDataIdentityCertIssuedAggregateSerializer = + new _$GIdentitiesByNameData_identity_certIssuedAggregateSerializer(); +Serializer<GIdentitiesByNameData_identity_certIssuedAggregate_aggregate> + _$gIdentitiesByNameDataIdentityCertIssuedAggregateAggregateSerializer = + new _$GIdentitiesByNameData_identity_certIssuedAggregate_aggregateSerializer(); +Serializer<GIdentitiesByNameData_identity_certReceived> + _$gIdentitiesByNameDataIdentityCertReceivedSerializer = + new _$GIdentitiesByNameData_identity_certReceivedSerializer(); +Serializer<GIdentitiesByNameData_identity_certReceived_issuer> + _$gIdentitiesByNameDataIdentityCertReceivedIssuerSerializer = + new _$GIdentitiesByNameData_identity_certReceived_issuerSerializer(); +Serializer<GIdentitiesByNameData_identity_certReceived_receiver> + _$gIdentitiesByNameDataIdentityCertReceivedReceiverSerializer = + new _$GIdentitiesByNameData_identity_certReceived_receiverSerializer(); +Serializer<GIdentitiesByNameData_identity_certReceivedAggregate> + _$gIdentitiesByNameDataIdentityCertReceivedAggregateSerializer = + new _$GIdentitiesByNameData_identity_certReceivedAggregateSerializer(); +Serializer<GIdentitiesByNameData_identity_certReceivedAggregate_aggregate> + _$gIdentitiesByNameDataIdentityCertReceivedAggregateAggregateSerializer = + new _$GIdentitiesByNameData_identity_certReceivedAggregate_aggregateSerializer(); +Serializer<GIdentitiesByNameData_identity_linkedAccount> + _$gIdentitiesByNameDataIdentityLinkedAccountSerializer = + new _$GIdentitiesByNameData_identity_linkedAccountSerializer(); +Serializer<GIdentitiesByNameData_identity_linkedAccountAggregate> + _$gIdentitiesByNameDataIdentityLinkedAccountAggregateSerializer = + new _$GIdentitiesByNameData_identity_linkedAccountAggregateSerializer(); +Serializer<GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate> + _$gIdentitiesByNameDataIdentityLinkedAccountAggregateAggregateSerializer = + new _$GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateSerializer(); +Serializer<GIdentitiesByNameData_identity_membershipHistory> + _$gIdentitiesByNameDataIdentityMembershipHistorySerializer = + new _$GIdentitiesByNameData_identity_membershipHistorySerializer(); +Serializer<GIdentitiesByNameData_identity_membershipHistoryAggregate> + _$gIdentitiesByNameDataIdentityMembershipHistoryAggregateSerializer = + new _$GIdentitiesByNameData_identity_membershipHistoryAggregateSerializer(); +Serializer<GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate> + _$gIdentitiesByNameDataIdentityMembershipHistoryAggregateAggregateSerializer = + new _$GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateSerializer(); +Serializer<GIdentitiesByNameData_identity_ownerKeyChange> + _$gIdentitiesByNameDataIdentityOwnerKeyChangeSerializer = + new _$GIdentitiesByNameData_identity_ownerKeyChangeSerializer(); +Serializer<GIdentitiesByNameData_identity_ownerKeyChangeAggregate> + _$gIdentitiesByNameDataIdentityOwnerKeyChangeAggregateSerializer = + new _$GIdentitiesByNameData_identity_ownerKeyChangeAggregateSerializer(); +Serializer<GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate> + _$gIdentitiesByNameDataIdentityOwnerKeyChangeAggregateAggregateSerializer = + new _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateSerializer(); +Serializer<GIdentitiesByNameData_identity_smith> + _$gIdentitiesByNameDataIdentitySmithSerializer = + new _$GIdentitiesByNameData_identity_smithSerializer(); +Serializer<GIdentitiesByNameData_identity_smith_smithCertIssued> + _$gIdentitiesByNameDataIdentitySmithSmithCertIssuedSerializer = + new _$GIdentitiesByNameData_identity_smith_smithCertIssuedSerializer(); +Serializer<GIdentitiesByNameData_identity_smith_smithCertReceived> + _$gIdentitiesByNameDataIdentitySmithSmithCertReceivedSerializer = + new _$GIdentitiesByNameData_identity_smith_smithCertReceivedSerializer(); +Serializer<GIdentitiesByNameData_identity_udHistory> + _$gIdentitiesByNameDataIdentityUdHistorySerializer = + new _$GIdentitiesByNameData_identity_udHistorySerializer(); Serializer<GAccountByPkData> _$gAccountByPkDataSerializer = new _$GAccountByPkDataSerializer(); Serializer<GAccountByPkData_accountByPk> _$gAccountByPkDataAccountByPkSerializer = new _$GAccountByPkData_accountByPkSerializer(); +Serializer<GAccountByPkData_accountByPk_commentsIssued> + _$gAccountByPkDataAccountByPkCommentsIssuedSerializer = + new _$GAccountByPkData_accountByPk_commentsIssuedSerializer(); +Serializer<GAccountByPkData_accountByPk_commentsIssuedAggregate> + _$gAccountByPkDataAccountByPkCommentsIssuedAggregateSerializer = + new _$GAccountByPkData_accountByPk_commentsIssuedAggregateSerializer(); +Serializer<GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate> + _$gAccountByPkDataAccountByPkCommentsIssuedAggregateAggregateSerializer = + new _$GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateSerializer(); +Serializer<GAccountByPkData_accountByPk_identity> + _$gAccountByPkDataAccountByPkIdentitySerializer = + new _$GAccountByPkData_accountByPk_identitySerializer(); +Serializer<GAccountByPkData_accountByPk_identity_certIssued> + _$gAccountByPkDataAccountByPkIdentityCertIssuedSerializer = + new _$GAccountByPkData_accountByPk_identity_certIssuedSerializer(); +Serializer<GAccountByPkData_accountByPk_identity_certIssued_issuer> + _$gAccountByPkDataAccountByPkIdentityCertIssuedIssuerSerializer = + new _$GAccountByPkData_accountByPk_identity_certIssued_issuerSerializer(); +Serializer<GAccountByPkData_accountByPk_identity_certIssued_receiver> + _$gAccountByPkDataAccountByPkIdentityCertIssuedReceiverSerializer = + new _$GAccountByPkData_accountByPk_identity_certIssued_receiverSerializer(); +Serializer<GAccountByPkData_accountByPk_identity_certIssuedAggregate> + _$gAccountByPkDataAccountByPkIdentityCertIssuedAggregateSerializer = + new _$GAccountByPkData_accountByPk_identity_certIssuedAggregateSerializer(); +Serializer<GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate> + _$gAccountByPkDataAccountByPkIdentityCertIssuedAggregateAggregateSerializer = + new _$GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateSerializer(); +Serializer<GAccountByPkData_accountByPk_identity_certReceived> + _$gAccountByPkDataAccountByPkIdentityCertReceivedSerializer = + new _$GAccountByPkData_accountByPk_identity_certReceivedSerializer(); +Serializer<GAccountByPkData_accountByPk_identity_certReceived_issuer> + _$gAccountByPkDataAccountByPkIdentityCertReceivedIssuerSerializer = + new _$GAccountByPkData_accountByPk_identity_certReceived_issuerSerializer(); +Serializer<GAccountByPkData_accountByPk_identity_certReceived_receiver> + _$gAccountByPkDataAccountByPkIdentityCertReceivedReceiverSerializer = + new _$GAccountByPkData_accountByPk_identity_certReceived_receiverSerializer(); +Serializer<GAccountByPkData_accountByPk_identity_certReceivedAggregate> + _$gAccountByPkDataAccountByPkIdentityCertReceivedAggregateSerializer = + new _$GAccountByPkData_accountByPk_identity_certReceivedAggregateSerializer(); +Serializer< + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate> + _$gAccountByPkDataAccountByPkIdentityCertReceivedAggregateAggregateSerializer = + new _$GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateSerializer(); +Serializer<GAccountByPkData_accountByPk_identity_linkedAccount> + _$gAccountByPkDataAccountByPkIdentityLinkedAccountSerializer = + new _$GAccountByPkData_accountByPk_identity_linkedAccountSerializer(); +Serializer<GAccountByPkData_accountByPk_identity_linkedAccountAggregate> + _$gAccountByPkDataAccountByPkIdentityLinkedAccountAggregateSerializer = + new _$GAccountByPkData_accountByPk_identity_linkedAccountAggregateSerializer(); +Serializer< + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate> + _$gAccountByPkDataAccountByPkIdentityLinkedAccountAggregateAggregateSerializer = + new _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateSerializer(); +Serializer<GAccountByPkData_accountByPk_identity_membershipHistory> + _$gAccountByPkDataAccountByPkIdentityMembershipHistorySerializer = + new _$GAccountByPkData_accountByPk_identity_membershipHistorySerializer(); +Serializer<GAccountByPkData_accountByPk_identity_membershipHistoryAggregate> + _$gAccountByPkDataAccountByPkIdentityMembershipHistoryAggregateSerializer = + new _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregateSerializer(); +Serializer< + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate> + _$gAccountByPkDataAccountByPkIdentityMembershipHistoryAggregateAggregateSerializer = + new _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateSerializer(); +Serializer<GAccountByPkData_accountByPk_identity_ownerKeyChange> + _$gAccountByPkDataAccountByPkIdentityOwnerKeyChangeSerializer = + new _$GAccountByPkData_accountByPk_identity_ownerKeyChangeSerializer(); +Serializer<GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate> + _$gAccountByPkDataAccountByPkIdentityOwnerKeyChangeAggregateSerializer = + new _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateSerializer(); +Serializer< + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate> + _$gAccountByPkDataAccountByPkIdentityOwnerKeyChangeAggregateAggregateSerializer = + new _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateSerializer(); +Serializer<GAccountByPkData_accountByPk_identity_smith> + _$gAccountByPkDataAccountByPkIdentitySmithSerializer = + new _$GAccountByPkData_accountByPk_identity_smithSerializer(); +Serializer<GAccountByPkData_accountByPk_identity_smith_smithCertIssued> + _$gAccountByPkDataAccountByPkIdentitySmithSmithCertIssuedSerializer = + new _$GAccountByPkData_accountByPk_identity_smith_smithCertIssuedSerializer(); +Serializer<GAccountByPkData_accountByPk_identity_smith_smithCertReceived> + _$gAccountByPkDataAccountByPkIdentitySmithSmithCertReceivedSerializer = + new _$GAccountByPkData_accountByPk_identity_smith_smithCertReceivedSerializer(); +Serializer<GAccountByPkData_accountByPk_identity_udHistory> + _$gAccountByPkDataAccountByPkIdentityUdHistorySerializer = + new _$GAccountByPkData_accountByPk_identity_udHistorySerializer(); +Serializer<GAccountByPkData_accountByPk_linkedIdentity> + _$gAccountByPkDataAccountByPkLinkedIdentitySerializer = + new _$GAccountByPkData_accountByPk_linkedIdentitySerializer(); +Serializer<GAccountByPkData_accountByPk_removedIdentities> + _$gAccountByPkDataAccountByPkRemovedIdentitiesSerializer = + new _$GAccountByPkData_accountByPk_removedIdentitiesSerializer(); +Serializer<GAccountByPkData_accountByPk_removedIdentitiesAggregate> + _$gAccountByPkDataAccountByPkRemovedIdentitiesAggregateSerializer = + new _$GAccountByPkData_accountByPk_removedIdentitiesAggregateSerializer(); +Serializer<GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate> + _$gAccountByPkDataAccountByPkRemovedIdentitiesAggregateAggregateSerializer = + new _$GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateSerializer(); +Serializer<GAccountByPkData_accountByPk_transfersIssued> + _$gAccountByPkDataAccountByPkTransfersIssuedSerializer = + new _$GAccountByPkData_accountByPk_transfersIssuedSerializer(); +Serializer<GAccountByPkData_accountByPk_transfersIssued_to> + _$gAccountByPkDataAccountByPkTransfersIssuedToSerializer = + new _$GAccountByPkData_accountByPk_transfersIssued_toSerializer(); +Serializer<GAccountByPkData_accountByPk_transfersIssued_from> + _$gAccountByPkDataAccountByPkTransfersIssuedFromSerializer = + new _$GAccountByPkData_accountByPk_transfersIssued_fromSerializer(); +Serializer<GAccountByPkData_accountByPk_transfersIssued_comment> + _$gAccountByPkDataAccountByPkTransfersIssuedCommentSerializer = + new _$GAccountByPkData_accountByPk_transfersIssued_commentSerializer(); +Serializer<GAccountByPkData_accountByPk_transfersIssuedAggregate> + _$gAccountByPkDataAccountByPkTransfersIssuedAggregateSerializer = + new _$GAccountByPkData_accountByPk_transfersIssuedAggregateSerializer(); +Serializer<GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate> + _$gAccountByPkDataAccountByPkTransfersIssuedAggregateAggregateSerializer = + new _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateSerializer(); +Serializer<GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum> + _$gAccountByPkDataAccountByPkTransfersIssuedAggregateAggregateSumSerializer = + new _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumSerializer(); +Serializer<GAccountByPkData_accountByPk_transfersReceived> + _$gAccountByPkDataAccountByPkTransfersReceivedSerializer = + new _$GAccountByPkData_accountByPk_transfersReceivedSerializer(); +Serializer<GAccountByPkData_accountByPk_transfersReceived_to> + _$gAccountByPkDataAccountByPkTransfersReceivedToSerializer = + new _$GAccountByPkData_accountByPk_transfersReceived_toSerializer(); +Serializer<GAccountByPkData_accountByPk_transfersReceived_from> + _$gAccountByPkDataAccountByPkTransfersReceivedFromSerializer = + new _$GAccountByPkData_accountByPk_transfersReceived_fromSerializer(); +Serializer<GAccountByPkData_accountByPk_transfersReceived_comment> + _$gAccountByPkDataAccountByPkTransfersReceivedCommentSerializer = + new _$GAccountByPkData_accountByPk_transfersReceived_commentSerializer(); +Serializer<GAccountByPkData_accountByPk_transfersReceivedAggregate> + _$gAccountByPkDataAccountByPkTransfersReceivedAggregateSerializer = + new _$GAccountByPkData_accountByPk_transfersReceivedAggregateSerializer(); +Serializer<GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate> + _$gAccountByPkDataAccountByPkTransfersReceivedAggregateAggregateSerializer = + new _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateSerializer(); +Serializer< + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum> + _$gAccountByPkDataAccountByPkTransfersReceivedAggregateAggregateSumSerializer = + new _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumSerializer(); +Serializer<GAccountByPkData_accountByPk_wasIdentity> + _$gAccountByPkDataAccountByPkWasIdentitySerializer = + new _$GAccountByPkData_accountByPk_wasIdentitySerializer(); +Serializer<GAccountByPkData_accountByPk_wasIdentityAggregate> + _$gAccountByPkDataAccountByPkWasIdentityAggregateSerializer = + new _$GAccountByPkData_accountByPk_wasIdentityAggregateSerializer(); +Serializer<GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate> + _$gAccountByPkDataAccountByPkWasIdentityAggregateAggregateSerializer = + new _$GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateSerializer(); +Serializer<GAccountBasicByPkData> _$gAccountBasicByPkDataSerializer = + new _$GAccountBasicByPkDataSerializer(); +Serializer<GAccountBasicByPkData_accountByPk> + _$gAccountBasicByPkDataAccountByPkSerializer = + new _$GAccountBasicByPkData_accountByPkSerializer(); +Serializer<GAccountBasicByPkData_accountByPk_identity> + _$gAccountBasicByPkDataAccountByPkIdentitySerializer = + new _$GAccountBasicByPkData_accountByPk_identitySerializer(); +Serializer<GAccountsByPkData> _$gAccountsByPkDataSerializer = + new _$GAccountsByPkDataSerializer(); +Serializer<GAccountsByPkData_account> _$gAccountsByPkDataAccountSerializer = + new _$GAccountsByPkData_accountSerializer(); +Serializer<GAccountsByPkData_account_commentsIssued> + _$gAccountsByPkDataAccountCommentsIssuedSerializer = + new _$GAccountsByPkData_account_commentsIssuedSerializer(); +Serializer<GAccountsByPkData_account_commentsIssuedAggregate> + _$gAccountsByPkDataAccountCommentsIssuedAggregateSerializer = + new _$GAccountsByPkData_account_commentsIssuedAggregateSerializer(); +Serializer<GAccountsByPkData_account_commentsIssuedAggregate_aggregate> + _$gAccountsByPkDataAccountCommentsIssuedAggregateAggregateSerializer = + new _$GAccountsByPkData_account_commentsIssuedAggregate_aggregateSerializer(); +Serializer<GAccountsByPkData_account_identity> + _$gAccountsByPkDataAccountIdentitySerializer = + new _$GAccountsByPkData_account_identitySerializer(); +Serializer<GAccountsByPkData_account_identity_certIssued> + _$gAccountsByPkDataAccountIdentityCertIssuedSerializer = + new _$GAccountsByPkData_account_identity_certIssuedSerializer(); +Serializer<GAccountsByPkData_account_identity_certIssued_issuer> + _$gAccountsByPkDataAccountIdentityCertIssuedIssuerSerializer = + new _$GAccountsByPkData_account_identity_certIssued_issuerSerializer(); +Serializer<GAccountsByPkData_account_identity_certIssued_receiver> + _$gAccountsByPkDataAccountIdentityCertIssuedReceiverSerializer = + new _$GAccountsByPkData_account_identity_certIssued_receiverSerializer(); +Serializer<GAccountsByPkData_account_identity_certIssuedAggregate> + _$gAccountsByPkDataAccountIdentityCertIssuedAggregateSerializer = + new _$GAccountsByPkData_account_identity_certIssuedAggregateSerializer(); +Serializer<GAccountsByPkData_account_identity_certIssuedAggregate_aggregate> + _$gAccountsByPkDataAccountIdentityCertIssuedAggregateAggregateSerializer = + new _$GAccountsByPkData_account_identity_certIssuedAggregate_aggregateSerializer(); +Serializer<GAccountsByPkData_account_identity_certReceived> + _$gAccountsByPkDataAccountIdentityCertReceivedSerializer = + new _$GAccountsByPkData_account_identity_certReceivedSerializer(); +Serializer<GAccountsByPkData_account_identity_certReceived_issuer> + _$gAccountsByPkDataAccountIdentityCertReceivedIssuerSerializer = + new _$GAccountsByPkData_account_identity_certReceived_issuerSerializer(); +Serializer<GAccountsByPkData_account_identity_certReceived_receiver> + _$gAccountsByPkDataAccountIdentityCertReceivedReceiverSerializer = + new _$GAccountsByPkData_account_identity_certReceived_receiverSerializer(); +Serializer<GAccountsByPkData_account_identity_certReceivedAggregate> + _$gAccountsByPkDataAccountIdentityCertReceivedAggregateSerializer = + new _$GAccountsByPkData_account_identity_certReceivedAggregateSerializer(); +Serializer<GAccountsByPkData_account_identity_certReceivedAggregate_aggregate> + _$gAccountsByPkDataAccountIdentityCertReceivedAggregateAggregateSerializer = + new _$GAccountsByPkData_account_identity_certReceivedAggregate_aggregateSerializer(); +Serializer<GAccountsByPkData_account_identity_linkedAccount> + _$gAccountsByPkDataAccountIdentityLinkedAccountSerializer = + new _$GAccountsByPkData_account_identity_linkedAccountSerializer(); +Serializer<GAccountsByPkData_account_identity_linkedAccountAggregate> + _$gAccountsByPkDataAccountIdentityLinkedAccountAggregateSerializer = + new _$GAccountsByPkData_account_identity_linkedAccountAggregateSerializer(); +Serializer<GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate> + _$gAccountsByPkDataAccountIdentityLinkedAccountAggregateAggregateSerializer = + new _$GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateSerializer(); +Serializer<GAccountsByPkData_account_identity_membershipHistory> + _$gAccountsByPkDataAccountIdentityMembershipHistorySerializer = + new _$GAccountsByPkData_account_identity_membershipHistorySerializer(); +Serializer<GAccountsByPkData_account_identity_membershipHistoryAggregate> + _$gAccountsByPkDataAccountIdentityMembershipHistoryAggregateSerializer = + new _$GAccountsByPkData_account_identity_membershipHistoryAggregateSerializer(); +Serializer< + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate> + _$gAccountsByPkDataAccountIdentityMembershipHistoryAggregateAggregateSerializer = + new _$GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateSerializer(); +Serializer<GAccountsByPkData_account_identity_ownerKeyChange> + _$gAccountsByPkDataAccountIdentityOwnerKeyChangeSerializer = + new _$GAccountsByPkData_account_identity_ownerKeyChangeSerializer(); +Serializer<GAccountsByPkData_account_identity_ownerKeyChangeAggregate> + _$gAccountsByPkDataAccountIdentityOwnerKeyChangeAggregateSerializer = + new _$GAccountsByPkData_account_identity_ownerKeyChangeAggregateSerializer(); +Serializer<GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate> + _$gAccountsByPkDataAccountIdentityOwnerKeyChangeAggregateAggregateSerializer = + new _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateSerializer(); +Serializer<GAccountsByPkData_account_identity_smith> + _$gAccountsByPkDataAccountIdentitySmithSerializer = + new _$GAccountsByPkData_account_identity_smithSerializer(); +Serializer<GAccountsByPkData_account_identity_smith_smithCertIssued> + _$gAccountsByPkDataAccountIdentitySmithSmithCertIssuedSerializer = + new _$GAccountsByPkData_account_identity_smith_smithCertIssuedSerializer(); +Serializer<GAccountsByPkData_account_identity_smith_smithCertReceived> + _$gAccountsByPkDataAccountIdentitySmithSmithCertReceivedSerializer = + new _$GAccountsByPkData_account_identity_smith_smithCertReceivedSerializer(); +Serializer<GAccountsByPkData_account_identity_udHistory> + _$gAccountsByPkDataAccountIdentityUdHistorySerializer = + new _$GAccountsByPkData_account_identity_udHistorySerializer(); +Serializer<GAccountsByPkData_account_linkedIdentity> + _$gAccountsByPkDataAccountLinkedIdentitySerializer = + new _$GAccountsByPkData_account_linkedIdentitySerializer(); +Serializer<GAccountsByPkData_account_removedIdentities> + _$gAccountsByPkDataAccountRemovedIdentitiesSerializer = + new _$GAccountsByPkData_account_removedIdentitiesSerializer(); +Serializer<GAccountsByPkData_account_removedIdentitiesAggregate> + _$gAccountsByPkDataAccountRemovedIdentitiesAggregateSerializer = + new _$GAccountsByPkData_account_removedIdentitiesAggregateSerializer(); +Serializer<GAccountsByPkData_account_removedIdentitiesAggregate_aggregate> + _$gAccountsByPkDataAccountRemovedIdentitiesAggregateAggregateSerializer = + new _$GAccountsByPkData_account_removedIdentitiesAggregate_aggregateSerializer(); +Serializer<GAccountsByPkData_account_transfersIssued> + _$gAccountsByPkDataAccountTransfersIssuedSerializer = + new _$GAccountsByPkData_account_transfersIssuedSerializer(); +Serializer<GAccountsByPkData_account_transfersIssued_to> + _$gAccountsByPkDataAccountTransfersIssuedToSerializer = + new _$GAccountsByPkData_account_transfersIssued_toSerializer(); +Serializer<GAccountsByPkData_account_transfersIssued_from> + _$gAccountsByPkDataAccountTransfersIssuedFromSerializer = + new _$GAccountsByPkData_account_transfersIssued_fromSerializer(); +Serializer<GAccountsByPkData_account_transfersIssued_comment> + _$gAccountsByPkDataAccountTransfersIssuedCommentSerializer = + new _$GAccountsByPkData_account_transfersIssued_commentSerializer(); +Serializer<GAccountsByPkData_account_transfersIssuedAggregate> + _$gAccountsByPkDataAccountTransfersIssuedAggregateSerializer = + new _$GAccountsByPkData_account_transfersIssuedAggregateSerializer(); +Serializer<GAccountsByPkData_account_transfersIssuedAggregate_aggregate> + _$gAccountsByPkDataAccountTransfersIssuedAggregateAggregateSerializer = + new _$GAccountsByPkData_account_transfersIssuedAggregate_aggregateSerializer(); +Serializer<GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum> + _$gAccountsByPkDataAccountTransfersIssuedAggregateAggregateSumSerializer = + new _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumSerializer(); +Serializer<GAccountsByPkData_account_transfersReceived> + _$gAccountsByPkDataAccountTransfersReceivedSerializer = + new _$GAccountsByPkData_account_transfersReceivedSerializer(); +Serializer<GAccountsByPkData_account_transfersReceived_to> + _$gAccountsByPkDataAccountTransfersReceivedToSerializer = + new _$GAccountsByPkData_account_transfersReceived_toSerializer(); +Serializer<GAccountsByPkData_account_transfersReceived_from> + _$gAccountsByPkDataAccountTransfersReceivedFromSerializer = + new _$GAccountsByPkData_account_transfersReceived_fromSerializer(); +Serializer<GAccountsByPkData_account_transfersReceived_comment> + _$gAccountsByPkDataAccountTransfersReceivedCommentSerializer = + new _$GAccountsByPkData_account_transfersReceived_commentSerializer(); +Serializer<GAccountsByPkData_account_transfersReceivedAggregate> + _$gAccountsByPkDataAccountTransfersReceivedAggregateSerializer = + new _$GAccountsByPkData_account_transfersReceivedAggregateSerializer(); +Serializer<GAccountsByPkData_account_transfersReceivedAggregate_aggregate> + _$gAccountsByPkDataAccountTransfersReceivedAggregateAggregateSerializer = + new _$GAccountsByPkData_account_transfersReceivedAggregate_aggregateSerializer(); +Serializer<GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum> + _$gAccountsByPkDataAccountTransfersReceivedAggregateAggregateSumSerializer = + new _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumSerializer(); +Serializer<GAccountsByPkData_account_wasIdentity> + _$gAccountsByPkDataAccountWasIdentitySerializer = + new _$GAccountsByPkData_account_wasIdentitySerializer(); +Serializer<GAccountsByPkData_account_wasIdentityAggregate> + _$gAccountsByPkDataAccountWasIdentityAggregateSerializer = + new _$GAccountsByPkData_account_wasIdentityAggregateSerializer(); +Serializer<GAccountsByPkData_account_wasIdentityAggregate_aggregate> + _$gAccountsByPkDataAccountWasIdentityAggregateAggregateSerializer = + new _$GAccountsByPkData_account_wasIdentityAggregate_aggregateSerializer(); Serializer<GLastBlockData> _$gLastBlockDataSerializer = new _$GLastBlockDataSerializer(); Serializer<GLastBlockData_block> _$gLastBlockDataBlockSerializer = @@ -36,6 +549,106 @@ Serializer<GGetHistoryAndBalanceData> _$gGetHistoryAndBalanceDataSerializer = Serializer<GGetHistoryAndBalanceData_account> _$gGetHistoryAndBalanceDataAccountSerializer = new _$GGetHistoryAndBalanceData_accountSerializer(); +Serializer<GGetHistoryAndBalanceData_account_commentsIssued> + _$gGetHistoryAndBalanceDataAccountCommentsIssuedSerializer = + new _$GGetHistoryAndBalanceData_account_commentsIssuedSerializer(); +Serializer<GGetHistoryAndBalanceData_account_commentsIssuedAggregate> + _$gGetHistoryAndBalanceDataAccountCommentsIssuedAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_commentsIssuedAggregateSerializer(); +Serializer<GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate> + _$gGetHistoryAndBalanceDataAccountCommentsIssuedAggregateAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateSerializer(); +Serializer<GGetHistoryAndBalanceData_account_identity> + _$gGetHistoryAndBalanceDataAccountIdentitySerializer = + new _$GGetHistoryAndBalanceData_account_identitySerializer(); +Serializer<GGetHistoryAndBalanceData_account_identity_certIssued> + _$gGetHistoryAndBalanceDataAccountIdentityCertIssuedSerializer = + new _$GGetHistoryAndBalanceData_account_identity_certIssuedSerializer(); +Serializer<GGetHistoryAndBalanceData_account_identity_certIssued_issuer> + _$gGetHistoryAndBalanceDataAccountIdentityCertIssuedIssuerSerializer = + new _$GGetHistoryAndBalanceData_account_identity_certIssued_issuerSerializer(); +Serializer<GGetHistoryAndBalanceData_account_identity_certIssued_receiver> + _$gGetHistoryAndBalanceDataAccountIdentityCertIssuedReceiverSerializer = + new _$GGetHistoryAndBalanceData_account_identity_certIssued_receiverSerializer(); +Serializer<GGetHistoryAndBalanceData_account_identity_certIssuedAggregate> + _$gGetHistoryAndBalanceDataAccountIdentityCertIssuedAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregateSerializer(); +Serializer< + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate> + _$gGetHistoryAndBalanceDataAccountIdentityCertIssuedAggregateAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateSerializer(); +Serializer<GGetHistoryAndBalanceData_account_identity_certReceived> + _$gGetHistoryAndBalanceDataAccountIdentityCertReceivedSerializer = + new _$GGetHistoryAndBalanceData_account_identity_certReceivedSerializer(); +Serializer<GGetHistoryAndBalanceData_account_identity_certReceived_issuer> + _$gGetHistoryAndBalanceDataAccountIdentityCertReceivedIssuerSerializer = + new _$GGetHistoryAndBalanceData_account_identity_certReceived_issuerSerializer(); +Serializer<GGetHistoryAndBalanceData_account_identity_certReceived_receiver> + _$gGetHistoryAndBalanceDataAccountIdentityCertReceivedReceiverSerializer = + new _$GGetHistoryAndBalanceData_account_identity_certReceived_receiverSerializer(); +Serializer<GGetHistoryAndBalanceData_account_identity_certReceivedAggregate> + _$gGetHistoryAndBalanceDataAccountIdentityCertReceivedAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregateSerializer(); +Serializer< + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate> + _$gGetHistoryAndBalanceDataAccountIdentityCertReceivedAggregateAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateSerializer(); +Serializer<GGetHistoryAndBalanceData_account_identity_linkedAccount> + _$gGetHistoryAndBalanceDataAccountIdentityLinkedAccountSerializer = + new _$GGetHistoryAndBalanceData_account_identity_linkedAccountSerializer(); +Serializer<GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate> + _$gGetHistoryAndBalanceDataAccountIdentityLinkedAccountAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateSerializer(); +Serializer< + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate> + _$gGetHistoryAndBalanceDataAccountIdentityLinkedAccountAggregateAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateSerializer(); +Serializer<GGetHistoryAndBalanceData_account_identity_membershipHistory> + _$gGetHistoryAndBalanceDataAccountIdentityMembershipHistorySerializer = + new _$GGetHistoryAndBalanceData_account_identity_membershipHistorySerializer(); +Serializer< + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate> + _$gGetHistoryAndBalanceDataAccountIdentityMembershipHistoryAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateSerializer(); +Serializer< + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate> + _$gGetHistoryAndBalanceDataAccountIdentityMembershipHistoryAggregateAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateSerializer(); +Serializer<GGetHistoryAndBalanceData_account_identity_ownerKeyChange> + _$gGetHistoryAndBalanceDataAccountIdentityOwnerKeyChangeSerializer = + new _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeSerializer(); +Serializer<GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate> + _$gGetHistoryAndBalanceDataAccountIdentityOwnerKeyChangeAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateSerializer(); +Serializer< + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate> + _$gGetHistoryAndBalanceDataAccountIdentityOwnerKeyChangeAggregateAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateSerializer(); +Serializer<GGetHistoryAndBalanceData_account_identity_smith> + _$gGetHistoryAndBalanceDataAccountIdentitySmithSerializer = + new _$GGetHistoryAndBalanceData_account_identity_smithSerializer(); +Serializer<GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued> + _$gGetHistoryAndBalanceDataAccountIdentitySmithSmithCertIssuedSerializer = + new _$GGetHistoryAndBalanceData_account_identity_smith_smithCertIssuedSerializer(); +Serializer<GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived> + _$gGetHistoryAndBalanceDataAccountIdentitySmithSmithCertReceivedSerializer = + new _$GGetHistoryAndBalanceData_account_identity_smith_smithCertReceivedSerializer(); +Serializer<GGetHistoryAndBalanceData_account_identity_udHistory> + _$gGetHistoryAndBalanceDataAccountIdentityUdHistorySerializer = + new _$GGetHistoryAndBalanceData_account_identity_udHistorySerializer(); +Serializer<GGetHistoryAndBalanceData_account_linkedIdentity> + _$gGetHistoryAndBalanceDataAccountLinkedIdentitySerializer = + new _$GGetHistoryAndBalanceData_account_linkedIdentitySerializer(); +Serializer<GGetHistoryAndBalanceData_account_removedIdentities> + _$gGetHistoryAndBalanceDataAccountRemovedIdentitiesSerializer = + new _$GGetHistoryAndBalanceData_account_removedIdentitiesSerializer(); +Serializer<GGetHistoryAndBalanceData_account_removedIdentitiesAggregate> + _$gGetHistoryAndBalanceDataAccountRemovedIdentitiesAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregateSerializer(); +Serializer< + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate> + _$gGetHistoryAndBalanceDataAccountRemovedIdentitiesAggregateAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateSerializer(); Serializer<GGetHistoryAndBalanceData_account_transfersIssued> _$gGetHistoryAndBalanceDataAccountTransfersIssuedSerializer = new _$GGetHistoryAndBalanceData_account_transfersIssuedSerializer(); @@ -48,32 +661,312 @@ Serializer<GGetHistoryAndBalanceData_account_transfersIssued_from> Serializer<GGetHistoryAndBalanceData_account_transfersIssued_comment> _$gGetHistoryAndBalanceDataAccountTransfersIssuedCommentSerializer = new _$GGetHistoryAndBalanceData_account_transfersIssued_commentSerializer(); +Serializer<GGetHistoryAndBalanceData_account_transfersIssuedAggregate> + _$gGetHistoryAndBalanceDataAccountTransfersIssuedAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_transfersIssuedAggregateSerializer(); +Serializer<GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate> + _$gGetHistoryAndBalanceDataAccountTransfersIssuedAggregateAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateSerializer(); +Serializer< + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum> + _$gGetHistoryAndBalanceDataAccountTransfersIssuedAggregateAggregateSumSerializer = + new _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumSerializer(); Serializer<GGetHistoryAndBalanceData_account_transfersReceived> _$gGetHistoryAndBalanceDataAccountTransfersReceivedSerializer = new _$GGetHistoryAndBalanceData_account_transfersReceivedSerializer(); -Serializer<GGetHistoryAndBalanceData_account_transfersReceived_from> - _$gGetHistoryAndBalanceDataAccountTransfersReceivedFromSerializer = - new _$GGetHistoryAndBalanceData_account_transfersReceived_fromSerializer(); Serializer<GGetHistoryAndBalanceData_account_transfersReceived_to> _$gGetHistoryAndBalanceDataAccountTransfersReceivedToSerializer = new _$GGetHistoryAndBalanceData_account_transfersReceived_toSerializer(); +Serializer<GGetHistoryAndBalanceData_account_transfersReceived_from> + _$gGetHistoryAndBalanceDataAccountTransfersReceivedFromSerializer = + new _$GGetHistoryAndBalanceData_account_transfersReceived_fromSerializer(); Serializer<GGetHistoryAndBalanceData_account_transfersReceived_comment> _$gGetHistoryAndBalanceDataAccountTransfersReceivedCommentSerializer = new _$GGetHistoryAndBalanceData_account_transfersReceived_commentSerializer(); +Serializer<GGetHistoryAndBalanceData_account_transfersReceivedAggregate> + _$gGetHistoryAndBalanceDataAccountTransfersReceivedAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_transfersReceivedAggregateSerializer(); +Serializer< + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate> + _$gGetHistoryAndBalanceDataAccountTransfersReceivedAggregateAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateSerializer(); +Serializer< + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum> + _$gGetHistoryAndBalanceDataAccountTransfersReceivedAggregateAggregateSumSerializer = + new _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumSerializer(); +Serializer<GGetHistoryAndBalanceData_account_wasIdentity> + _$gGetHistoryAndBalanceDataAccountWasIdentitySerializer = + new _$GGetHistoryAndBalanceData_account_wasIdentitySerializer(); +Serializer<GGetHistoryAndBalanceData_account_wasIdentityAggregate> + _$gGetHistoryAndBalanceDataAccountWasIdentityAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_wasIdentityAggregateSerializer(); +Serializer<GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate> + _$gGetHistoryAndBalanceDataAccountWasIdentityAggregateAggregateSerializer = + new _$GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateSerializer(); +Serializer<GCertFieldsData> _$gCertFieldsDataSerializer = + new _$GCertFieldsDataSerializer(); +Serializer<GCertFieldsData_issuer> _$gCertFieldsDataIssuerSerializer = + new _$GCertFieldsData_issuerSerializer(); +Serializer<GCertFieldsData_receiver> _$gCertFieldsDataReceiverSerializer = + new _$GCertFieldsData_receiverSerializer(); +Serializer<GSmithCertFieldsData> _$gSmithCertFieldsDataSerializer = + new _$GSmithCertFieldsDataSerializer(); +Serializer<GSmithFieldsData> _$gSmithFieldsDataSerializer = + new _$GSmithFieldsDataSerializer(); +Serializer<GSmithFieldsData_smithCertIssued> + _$gSmithFieldsDataSmithCertIssuedSerializer = + new _$GSmithFieldsData_smithCertIssuedSerializer(); +Serializer<GSmithFieldsData_smithCertReceived> + _$gSmithFieldsDataSmithCertReceivedSerializer = + new _$GSmithFieldsData_smithCertReceivedSerializer(); +Serializer<GOwnerKeyChangeFieldsData> _$gOwnerKeyChangeFieldsDataSerializer = + new _$GOwnerKeyChangeFieldsDataSerializer(); +Serializer<GIdentityBasicFieldsData> _$gIdentityBasicFieldsDataSerializer = + new _$GIdentityBasicFieldsDataSerializer(); +Serializer<GIdentityFieldsData> _$gIdentityFieldsDataSerializer = + new _$GIdentityFieldsDataSerializer(); +Serializer<GIdentityFieldsData_certIssued> + _$gIdentityFieldsDataCertIssuedSerializer = + new _$GIdentityFieldsData_certIssuedSerializer(); +Serializer<GIdentityFieldsData_certIssued_issuer> + _$gIdentityFieldsDataCertIssuedIssuerSerializer = + new _$GIdentityFieldsData_certIssued_issuerSerializer(); +Serializer<GIdentityFieldsData_certIssued_receiver> + _$gIdentityFieldsDataCertIssuedReceiverSerializer = + new _$GIdentityFieldsData_certIssued_receiverSerializer(); +Serializer<GIdentityFieldsData_certIssuedAggregate> + _$gIdentityFieldsDataCertIssuedAggregateSerializer = + new _$GIdentityFieldsData_certIssuedAggregateSerializer(); +Serializer<GIdentityFieldsData_certIssuedAggregate_aggregate> + _$gIdentityFieldsDataCertIssuedAggregateAggregateSerializer = + new _$GIdentityFieldsData_certIssuedAggregate_aggregateSerializer(); +Serializer<GIdentityFieldsData_certReceived> + _$gIdentityFieldsDataCertReceivedSerializer = + new _$GIdentityFieldsData_certReceivedSerializer(); +Serializer<GIdentityFieldsData_certReceived_issuer> + _$gIdentityFieldsDataCertReceivedIssuerSerializer = + new _$GIdentityFieldsData_certReceived_issuerSerializer(); +Serializer<GIdentityFieldsData_certReceived_receiver> + _$gIdentityFieldsDataCertReceivedReceiverSerializer = + new _$GIdentityFieldsData_certReceived_receiverSerializer(); +Serializer<GIdentityFieldsData_certReceivedAggregate> + _$gIdentityFieldsDataCertReceivedAggregateSerializer = + new _$GIdentityFieldsData_certReceivedAggregateSerializer(); +Serializer<GIdentityFieldsData_certReceivedAggregate_aggregate> + _$gIdentityFieldsDataCertReceivedAggregateAggregateSerializer = + new _$GIdentityFieldsData_certReceivedAggregate_aggregateSerializer(); +Serializer<GIdentityFieldsData_linkedAccount> + _$gIdentityFieldsDataLinkedAccountSerializer = + new _$GIdentityFieldsData_linkedAccountSerializer(); +Serializer<GIdentityFieldsData_linkedAccountAggregate> + _$gIdentityFieldsDataLinkedAccountAggregateSerializer = + new _$GIdentityFieldsData_linkedAccountAggregateSerializer(); +Serializer<GIdentityFieldsData_linkedAccountAggregate_aggregate> + _$gIdentityFieldsDataLinkedAccountAggregateAggregateSerializer = + new _$GIdentityFieldsData_linkedAccountAggregate_aggregateSerializer(); +Serializer<GIdentityFieldsData_membershipHistory> + _$gIdentityFieldsDataMembershipHistorySerializer = + new _$GIdentityFieldsData_membershipHistorySerializer(); +Serializer<GIdentityFieldsData_membershipHistoryAggregate> + _$gIdentityFieldsDataMembershipHistoryAggregateSerializer = + new _$GIdentityFieldsData_membershipHistoryAggregateSerializer(); +Serializer<GIdentityFieldsData_membershipHistoryAggregate_aggregate> + _$gIdentityFieldsDataMembershipHistoryAggregateAggregateSerializer = + new _$GIdentityFieldsData_membershipHistoryAggregate_aggregateSerializer(); +Serializer<GIdentityFieldsData_ownerKeyChange> + _$gIdentityFieldsDataOwnerKeyChangeSerializer = + new _$GIdentityFieldsData_ownerKeyChangeSerializer(); +Serializer<GIdentityFieldsData_ownerKeyChangeAggregate> + _$gIdentityFieldsDataOwnerKeyChangeAggregateSerializer = + new _$GIdentityFieldsData_ownerKeyChangeAggregateSerializer(); +Serializer<GIdentityFieldsData_ownerKeyChangeAggregate_aggregate> + _$gIdentityFieldsDataOwnerKeyChangeAggregateAggregateSerializer = + new _$GIdentityFieldsData_ownerKeyChangeAggregate_aggregateSerializer(); +Serializer<GIdentityFieldsData_smith> _$gIdentityFieldsDataSmithSerializer = + new _$GIdentityFieldsData_smithSerializer(); +Serializer<GIdentityFieldsData_smith_smithCertIssued> + _$gIdentityFieldsDataSmithSmithCertIssuedSerializer = + new _$GIdentityFieldsData_smith_smithCertIssuedSerializer(); +Serializer<GIdentityFieldsData_smith_smithCertReceived> + _$gIdentityFieldsDataSmithSmithCertReceivedSerializer = + new _$GIdentityFieldsData_smith_smithCertReceivedSerializer(); +Serializer<GIdentityFieldsData_udHistory> + _$gIdentityFieldsDataUdHistorySerializer = + new _$GIdentityFieldsData_udHistorySerializer(); +Serializer<GCommentsIssuedData> _$gCommentsIssuedDataSerializer = + new _$GCommentsIssuedDataSerializer(); +Serializer<GAccountBasicFieldsData> _$gAccountBasicFieldsDataSerializer = + new _$GAccountBasicFieldsDataSerializer(); +Serializer<GAccountBasicFieldsData_identity> + _$gAccountBasicFieldsDataIdentitySerializer = + new _$GAccountBasicFieldsData_identitySerializer(); +Serializer<GAccountFieldsData> _$gAccountFieldsDataSerializer = + new _$GAccountFieldsDataSerializer(); +Serializer<GAccountFieldsData_commentsIssued> + _$gAccountFieldsDataCommentsIssuedSerializer = + new _$GAccountFieldsData_commentsIssuedSerializer(); +Serializer<GAccountFieldsData_commentsIssuedAggregate> + _$gAccountFieldsDataCommentsIssuedAggregateSerializer = + new _$GAccountFieldsData_commentsIssuedAggregateSerializer(); +Serializer<GAccountFieldsData_commentsIssuedAggregate_aggregate> + _$gAccountFieldsDataCommentsIssuedAggregateAggregateSerializer = + new _$GAccountFieldsData_commentsIssuedAggregate_aggregateSerializer(); +Serializer<GAccountFieldsData_identity> _$gAccountFieldsDataIdentitySerializer = + new _$GAccountFieldsData_identitySerializer(); +Serializer<GAccountFieldsData_identity_certIssued> + _$gAccountFieldsDataIdentityCertIssuedSerializer = + new _$GAccountFieldsData_identity_certIssuedSerializer(); +Serializer<GAccountFieldsData_identity_certIssued_issuer> + _$gAccountFieldsDataIdentityCertIssuedIssuerSerializer = + new _$GAccountFieldsData_identity_certIssued_issuerSerializer(); +Serializer<GAccountFieldsData_identity_certIssued_receiver> + _$gAccountFieldsDataIdentityCertIssuedReceiverSerializer = + new _$GAccountFieldsData_identity_certIssued_receiverSerializer(); +Serializer<GAccountFieldsData_identity_certIssuedAggregate> + _$gAccountFieldsDataIdentityCertIssuedAggregateSerializer = + new _$GAccountFieldsData_identity_certIssuedAggregateSerializer(); +Serializer<GAccountFieldsData_identity_certIssuedAggregate_aggregate> + _$gAccountFieldsDataIdentityCertIssuedAggregateAggregateSerializer = + new _$GAccountFieldsData_identity_certIssuedAggregate_aggregateSerializer(); +Serializer<GAccountFieldsData_identity_certReceived> + _$gAccountFieldsDataIdentityCertReceivedSerializer = + new _$GAccountFieldsData_identity_certReceivedSerializer(); +Serializer<GAccountFieldsData_identity_certReceived_issuer> + _$gAccountFieldsDataIdentityCertReceivedIssuerSerializer = + new _$GAccountFieldsData_identity_certReceived_issuerSerializer(); +Serializer<GAccountFieldsData_identity_certReceived_receiver> + _$gAccountFieldsDataIdentityCertReceivedReceiverSerializer = + new _$GAccountFieldsData_identity_certReceived_receiverSerializer(); +Serializer<GAccountFieldsData_identity_certReceivedAggregate> + _$gAccountFieldsDataIdentityCertReceivedAggregateSerializer = + new _$GAccountFieldsData_identity_certReceivedAggregateSerializer(); +Serializer<GAccountFieldsData_identity_certReceivedAggregate_aggregate> + _$gAccountFieldsDataIdentityCertReceivedAggregateAggregateSerializer = + new _$GAccountFieldsData_identity_certReceivedAggregate_aggregateSerializer(); +Serializer<GAccountFieldsData_identity_linkedAccount> + _$gAccountFieldsDataIdentityLinkedAccountSerializer = + new _$GAccountFieldsData_identity_linkedAccountSerializer(); +Serializer<GAccountFieldsData_identity_linkedAccountAggregate> + _$gAccountFieldsDataIdentityLinkedAccountAggregateSerializer = + new _$GAccountFieldsData_identity_linkedAccountAggregateSerializer(); +Serializer<GAccountFieldsData_identity_linkedAccountAggregate_aggregate> + _$gAccountFieldsDataIdentityLinkedAccountAggregateAggregateSerializer = + new _$GAccountFieldsData_identity_linkedAccountAggregate_aggregateSerializer(); +Serializer<GAccountFieldsData_identity_membershipHistory> + _$gAccountFieldsDataIdentityMembershipHistorySerializer = + new _$GAccountFieldsData_identity_membershipHistorySerializer(); +Serializer<GAccountFieldsData_identity_membershipHistoryAggregate> + _$gAccountFieldsDataIdentityMembershipHistoryAggregateSerializer = + new _$GAccountFieldsData_identity_membershipHistoryAggregateSerializer(); +Serializer<GAccountFieldsData_identity_membershipHistoryAggregate_aggregate> + _$gAccountFieldsDataIdentityMembershipHistoryAggregateAggregateSerializer = + new _$GAccountFieldsData_identity_membershipHistoryAggregate_aggregateSerializer(); +Serializer<GAccountFieldsData_identity_ownerKeyChange> + _$gAccountFieldsDataIdentityOwnerKeyChangeSerializer = + new _$GAccountFieldsData_identity_ownerKeyChangeSerializer(); +Serializer<GAccountFieldsData_identity_ownerKeyChangeAggregate> + _$gAccountFieldsDataIdentityOwnerKeyChangeAggregateSerializer = + new _$GAccountFieldsData_identity_ownerKeyChangeAggregateSerializer(); +Serializer<GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate> + _$gAccountFieldsDataIdentityOwnerKeyChangeAggregateAggregateSerializer = + new _$GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateSerializer(); +Serializer<GAccountFieldsData_identity_smith> + _$gAccountFieldsDataIdentitySmithSerializer = + new _$GAccountFieldsData_identity_smithSerializer(); +Serializer<GAccountFieldsData_identity_smith_smithCertIssued> + _$gAccountFieldsDataIdentitySmithSmithCertIssuedSerializer = + new _$GAccountFieldsData_identity_smith_smithCertIssuedSerializer(); +Serializer<GAccountFieldsData_identity_smith_smithCertReceived> + _$gAccountFieldsDataIdentitySmithSmithCertReceivedSerializer = + new _$GAccountFieldsData_identity_smith_smithCertReceivedSerializer(); +Serializer<GAccountFieldsData_identity_udHistory> + _$gAccountFieldsDataIdentityUdHistorySerializer = + new _$GAccountFieldsData_identity_udHistorySerializer(); +Serializer<GAccountFieldsData_linkedIdentity> + _$gAccountFieldsDataLinkedIdentitySerializer = + new _$GAccountFieldsData_linkedIdentitySerializer(); +Serializer<GAccountFieldsData_removedIdentities> + _$gAccountFieldsDataRemovedIdentitiesSerializer = + new _$GAccountFieldsData_removedIdentitiesSerializer(); +Serializer<GAccountFieldsData_removedIdentitiesAggregate> + _$gAccountFieldsDataRemovedIdentitiesAggregateSerializer = + new _$GAccountFieldsData_removedIdentitiesAggregateSerializer(); +Serializer<GAccountFieldsData_removedIdentitiesAggregate_aggregate> + _$gAccountFieldsDataRemovedIdentitiesAggregateAggregateSerializer = + new _$GAccountFieldsData_removedIdentitiesAggregate_aggregateSerializer(); +Serializer<GAccountFieldsData_transfersIssued> + _$gAccountFieldsDataTransfersIssuedSerializer = + new _$GAccountFieldsData_transfersIssuedSerializer(); +Serializer<GAccountFieldsData_transfersIssued_to> + _$gAccountFieldsDataTransfersIssuedToSerializer = + new _$GAccountFieldsData_transfersIssued_toSerializer(); +Serializer<GAccountFieldsData_transfersIssued_from> + _$gAccountFieldsDataTransfersIssuedFromSerializer = + new _$GAccountFieldsData_transfersIssued_fromSerializer(); +Serializer<GAccountFieldsData_transfersIssued_comment> + _$gAccountFieldsDataTransfersIssuedCommentSerializer = + new _$GAccountFieldsData_transfersIssued_commentSerializer(); +Serializer<GAccountFieldsData_transfersIssuedAggregate> + _$gAccountFieldsDataTransfersIssuedAggregateSerializer = + new _$GAccountFieldsData_transfersIssuedAggregateSerializer(); +Serializer<GAccountFieldsData_transfersIssuedAggregate_aggregate> + _$gAccountFieldsDataTransfersIssuedAggregateAggregateSerializer = + new _$GAccountFieldsData_transfersIssuedAggregate_aggregateSerializer(); +Serializer<GAccountFieldsData_transfersIssuedAggregate_aggregate_sum> + _$gAccountFieldsDataTransfersIssuedAggregateAggregateSumSerializer = + new _$GAccountFieldsData_transfersIssuedAggregate_aggregate_sumSerializer(); +Serializer<GAccountFieldsData_transfersReceived> + _$gAccountFieldsDataTransfersReceivedSerializer = + new _$GAccountFieldsData_transfersReceivedSerializer(); +Serializer<GAccountFieldsData_transfersReceived_to> + _$gAccountFieldsDataTransfersReceivedToSerializer = + new _$GAccountFieldsData_transfersReceived_toSerializer(); +Serializer<GAccountFieldsData_transfersReceived_from> + _$gAccountFieldsDataTransfersReceivedFromSerializer = + new _$GAccountFieldsData_transfersReceived_fromSerializer(); +Serializer<GAccountFieldsData_transfersReceived_comment> + _$gAccountFieldsDataTransfersReceivedCommentSerializer = + new _$GAccountFieldsData_transfersReceived_commentSerializer(); +Serializer<GAccountFieldsData_transfersReceivedAggregate> + _$gAccountFieldsDataTransfersReceivedAggregateSerializer = + new _$GAccountFieldsData_transfersReceivedAggregateSerializer(); +Serializer<GAccountFieldsData_transfersReceivedAggregate_aggregate> + _$gAccountFieldsDataTransfersReceivedAggregateAggregateSerializer = + new _$GAccountFieldsData_transfersReceivedAggregate_aggregateSerializer(); +Serializer<GAccountFieldsData_transfersReceivedAggregate_aggregate_sum> + _$gAccountFieldsDataTransfersReceivedAggregateAggregateSumSerializer = + new _$GAccountFieldsData_transfersReceivedAggregate_aggregate_sumSerializer(); +Serializer<GAccountFieldsData_wasIdentity> + _$gAccountFieldsDataWasIdentitySerializer = + new _$GAccountFieldsData_wasIdentitySerializer(); +Serializer<GAccountFieldsData_wasIdentityAggregate> + _$gAccountFieldsDataWasIdentityAggregateSerializer = + new _$GAccountFieldsData_wasIdentityAggregateSerializer(); +Serializer<GAccountFieldsData_wasIdentityAggregate_aggregate> + _$gAccountFieldsDataWasIdentityAggregateAggregateSerializer = + new _$GAccountFieldsData_wasIdentityAggregate_aggregateSerializer(); +Serializer<GTransferFieldsData> _$gTransferFieldsDataSerializer = + new _$GTransferFieldsDataSerializer(); +Serializer<GTransferFieldsData_to> _$gTransferFieldsDataToSerializer = + new _$GTransferFieldsData_toSerializer(); +Serializer<GTransferFieldsData_from> _$gTransferFieldsDataFromSerializer = + new _$GTransferFieldsData_fromSerializer(); +Serializer<GTransferFieldsData_comment> _$gTransferFieldsDataCommentSerializer = + new _$GTransferFieldsData_commentSerializer(); -class _$GAccountsByNameOrPkDataSerializer - implements StructuredSerializer<GAccountsByNameOrPkData> { +class _$GIdentitiesByNameOrPkDataSerializer + implements StructuredSerializer<GIdentitiesByNameOrPkData> { @override final Iterable<Type> types = const [ - GAccountsByNameOrPkData, - _$GAccountsByNameOrPkData + GIdentitiesByNameOrPkData, + _$GIdentitiesByNameOrPkData ]; @override - final String wireName = 'GAccountsByNameOrPkData'; + final String wireName = 'GIdentitiesByNameOrPkData'; @override Iterable<Object?> serialize( - Serializers serializers, GAccountsByNameOrPkData object, + Serializers serializers, GIdentitiesByNameOrPkData object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ '__typename', @@ -82,17 +975,17 @@ class _$GAccountsByNameOrPkDataSerializer 'identity', serializers.serialize(object.identity, specifiedType: const FullType(BuiltList, - const [const FullType(GAccountsByNameOrPkData_identity)])), + const [const FullType(GIdentitiesByNameOrPkData_identity)])), ]; return result; } @override - GAccountsByNameOrPkData deserialize( + GIdentitiesByNameOrPkData deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { - final result = new GAccountsByNameOrPkDataBuilder(); + final result = new GIdentitiesByNameOrPkDataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -107,7 +1000,7 @@ class _$GAccountsByNameOrPkDataSerializer case 'identity': result.identity.replace(serializers.deserialize(value, specifiedType: const FullType(BuiltList, const [ - const FullType(GAccountsByNameOrPkData_identity) + const FullType(GIdentitiesByNameOrPkData_identity) ]))! as BuiltList<Object?>); break; } @@ -117,34 +1010,87 @@ class _$GAccountsByNameOrPkDataSerializer } } -class _$GAccountsByNameOrPkData_identitySerializer - implements StructuredSerializer<GAccountsByNameOrPkData_identity> { +class _$GIdentitiesByNameOrPkData_identitySerializer + implements StructuredSerializer<GIdentitiesByNameOrPkData_identity> { @override final Iterable<Type> types = const [ - GAccountsByNameOrPkData_identity, - _$GAccountsByNameOrPkData_identity + GIdentitiesByNameOrPkData_identity, + _$GIdentitiesByNameOrPkData_identity ]; @override - final String wireName = 'GAccountsByNameOrPkData_identity'; + final String wireName = 'GIdentitiesByNameOrPkData_identity'; @override Iterable<Object?> serialize( - Serializers serializers, GAccountsByNameOrPkData_identity object, + Serializers serializers, GIdentitiesByNameOrPkData_identity object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ '__typename', serializers.serialize(object.G__typename, specifiedType: const FullType(String)), - 'isMember', - serializers.serialize(object.isMember, - specifiedType: const FullType(bool)), - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), + 'certIssued', + serializers.serialize(object.certIssued, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameOrPkData_identity_certIssued) + ])), + 'certIssuedAggregate', + serializers.serialize(object.certIssuedAggregate, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_certIssuedAggregate)), + 'certReceived', + serializers.serialize(object.certReceived, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameOrPkData_identity_certReceived) + ])), + 'certReceivedAggregate', + serializers.serialize(object.certReceivedAggregate, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_certReceivedAggregate)), 'createdOn', serializers.serialize(object.createdOn, specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), 'index', serializers.serialize(object.index, specifiedType: const FullType(int)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'lastChangeOn', + serializers.serialize(object.lastChangeOn, + specifiedType: const FullType(int)), + 'linkedAccount', + serializers.serialize(object.linkedAccount, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameOrPkData_identity_linkedAccount) + ])), + 'linkedAccountAggregate', + serializers.serialize(object.linkedAccountAggregate, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate)), + 'membershipHistory', + serializers.serialize(object.membershipHistory, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameOrPkData_identity_membershipHistory) + ])), + 'membershipHistoryAggregate', + serializers.serialize(object.membershipHistoryAggregate, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'ownerKeyChange', + serializers.serialize(object.ownerKeyChange, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameOrPkData_identity_ownerKeyChange) + ])), + 'ownerKeyChangeAggregate', + serializers.serialize(object.ownerKeyChangeAggregate, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate)), ]; Object? value; value = object.accountId; @@ -154,6 +1100,20 @@ class _$GAccountsByNameOrPkData_identitySerializer ..add(serializers.serialize(value, specifiedType: const FullType(String))); } + value = object.accountRemovedId; + if (value != null) { + result + ..add('accountRemovedId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.createdInId; + if (value != null) { + result + ..add('createdInId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } value = object.status; if (value != null) { result @@ -161,22 +1121,31 @@ class _$GAccountsByNameOrPkData_identitySerializer ..add(serializers.serialize(value, specifiedType: const FullType(_i2.GIdentityStatusEnum))); } - value = object.account; + value = object.smith; if (value != null) { result - ..add('account') + ..add('smith') ..add(serializers.serialize(value, specifiedType: - const FullType(GAccountsByNameOrPkData_identity_account))); + const FullType(GIdentitiesByNameOrPkData_identity_smith))); + } + value = object.udHistory; + if (value != null) { + result + ..add('udHistory') + ..add(serializers.serialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameOrPkData_identity_udHistory) + ]))); } return result; } @override - GAccountsByNameOrPkData_identity deserialize( + GIdentitiesByNameOrPkData_identity deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { - final result = new GAccountsByNameOrPkData_identityBuilder(); + final result = new GIdentitiesByNameOrPkData_identityBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -188,36 +1157,125 @@ class _$GAccountsByNameOrPkData_identitySerializer result.G__typename = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'accountRemovedId': + result.accountRemovedId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'certIssued': + result.certIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameOrPkData_identity_certIssued) + ]))! as BuiltList<Object?>); + break; + case 'certIssuedAggregate': + result.certIssuedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_certIssuedAggregate))! + as GIdentitiesByNameOrPkData_identity_certIssuedAggregate); + break; + case 'certReceived': + result.certReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameOrPkData_identity_certReceived) + ]))! as BuiltList<Object?>); + break; + case 'certReceivedAggregate': + result.certReceivedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_certReceivedAggregate))! + as GIdentitiesByNameOrPkData_identity_certReceivedAggregate); + break; + case 'createdInId': + result.createdInId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'index': + result.index = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; case 'isMember': result.isMember = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; - case 'name': - result.name = serializers.deserialize(value, - specifiedType: const FullType(String))! as String; + case 'lastChangeOn': + result.lastChangeOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; break; - case 'accountId': - result.accountId = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + case 'linkedAccount': + result.linkedAccount.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameOrPkData_identity_linkedAccount) + ]))! as BuiltList<Object?>); + break; + case 'linkedAccountAggregate': + result.linkedAccountAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate))! + as GIdentitiesByNameOrPkData_identity_linkedAccountAggregate); break; case 'status': result.status = serializers.deserialize(value, specifiedType: const FullType(_i2.GIdentityStatusEnum)) as _i2.GIdentityStatusEnum?; break; - case 'createdOn': - result.createdOn = serializers.deserialize(value, - specifiedType: const FullType(int))! as int; + case 'membershipHistory': + result.membershipHistory.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GIdentitiesByNameOrPkData_identity_membershipHistory) + ]))! as BuiltList<Object?>); break; - case 'account': - result.account.replace(serializers.deserialize(value, + case 'membershipHistoryAggregate': + result.membershipHistoryAggregate.replace(serializers.deserialize( + value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate))! + as GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate); + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'ownerKeyChange': + result.ownerKeyChange.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GIdentitiesByNameOrPkData_identity_ownerKeyChange) + ]))! as BuiltList<Object?>); + break; + case 'ownerKeyChangeAggregate': + result.ownerKeyChangeAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate))! + as GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate); + break; + case 'smith': + result.smith.replace(serializers.deserialize(value, specifiedType: - const FullType(GAccountsByNameOrPkData_identity_account))! - as GAccountsByNameOrPkData_identity_account); + const FullType(GIdentitiesByNameOrPkData_identity_smith))! + as GIdentitiesByNameOrPkData_identity_smith); break; - case 'index': - result.index = serializers.deserialize(value, - specifiedType: const FullType(int))! as int; + case 'udHistory': + result.udHistory.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameOrPkData_identity_udHistory) + ]))! as BuiltList<Object?>); break; } } @@ -226,37 +1284,79 @@ class _$GAccountsByNameOrPkData_identitySerializer } } -class _$GAccountsByNameOrPkData_identity_accountSerializer - implements StructuredSerializer<GAccountsByNameOrPkData_identity_account> { +class _$GIdentitiesByNameOrPkData_identity_certIssuedSerializer + implements + StructuredSerializer<GIdentitiesByNameOrPkData_identity_certIssued> { @override final Iterable<Type> types = const [ - GAccountsByNameOrPkData_identity_account, - _$GAccountsByNameOrPkData_identity_account + GIdentitiesByNameOrPkData_identity_certIssued, + _$GIdentitiesByNameOrPkData_identity_certIssued ]; @override - final String wireName = 'GAccountsByNameOrPkData_identity_account'; + final String wireName = 'GIdentitiesByNameOrPkData_identity_certIssued'; @override - Iterable<Object?> serialize( - Serializers serializers, GAccountsByNameOrPkData_identity_account object, + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameOrPkData_identity_certIssued object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ '__typename', serializers.serialize(object.G__typename, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), 'isActive', serializers.serialize(object.isActive, specifiedType: const FullType(bool)), + 'updatedOn', + serializers.serialize(object.updatedOn, + specifiedType: const FullType(int)), ]; - + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.issuer; + if (value != null) { + result + ..add('issuer') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_certIssued_issuer))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiver; + if (value != null) { + result + ..add('receiver') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_certIssued_receiver))); + } return result; } @override - GAccountsByNameOrPkData_identity_account deserialize( + GIdentitiesByNameOrPkData_identity_certIssued deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { - final result = new GAccountsByNameOrPkData_identity_accountBuilder(); + final result = new GIdentitiesByNameOrPkData_identity_certIssuedBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -268,10 +1368,46 @@ class _$GAccountsByNameOrPkData_identity_accountSerializer result.G__typename = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'issuer': + result.issuer.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_certIssued_issuer))! + as GIdentitiesByNameOrPkData_identity_certIssued_issuer); + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiver': + result.receiver.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_certIssued_receiver))! + as GIdentitiesByNameOrPkData_identity_certIssued_receiver); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; case 'isActive': result.isActive = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; + case 'updatedOn': + result.updatedOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; } } @@ -279,38 +1415,59 @@ class _$GAccountsByNameOrPkData_identity_accountSerializer } } -class _$GAccountsByNameDataSerializer - implements StructuredSerializer<GAccountsByNameData> { +class _$GIdentitiesByNameOrPkData_identity_certIssued_issuerSerializer + implements + StructuredSerializer< + GIdentitiesByNameOrPkData_identity_certIssued_issuer> { @override final Iterable<Type> types = const [ - GAccountsByNameData, - _$GAccountsByNameData + GIdentitiesByNameOrPkData_identity_certIssued_issuer, + _$GIdentitiesByNameOrPkData_identity_certIssued_issuer ]; @override - final String wireName = 'GAccountsByNameData'; + final String wireName = + 'GIdentitiesByNameOrPkData_identity_certIssued_issuer'; @override - Iterable<Object?> serialize( - Serializers serializers, GAccountsByNameData object, + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameOrPkData_identity_certIssued_issuer object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ '__typename', serializers.serialize(object.G__typename, specifiedType: const FullType(String)), - 'identity', - serializers.serialize(object.identity, - specifiedType: const FullType( - BuiltList, const [const FullType(GAccountsByNameData_identity)])), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), ]; - + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } return result; } @override - GAccountsByNameData deserialize( + GIdentitiesByNameOrPkData_identity_certIssued_issuer deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { - final result = new GAccountsByNameDataBuilder(); + final result = + new GIdentitiesByNameOrPkData_identity_certIssued_issuerBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -322,11 +1479,26 @@ class _$GAccountsByNameDataSerializer result.G__typename = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'identity': - result.identity.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, const [ - const FullType(GAccountsByNameData_identity) - ]))! as BuiltList<Object?>); + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; } } @@ -335,34 +1507,34 @@ class _$GAccountsByNameDataSerializer } } -class _$GAccountsByNameData_identitySerializer - implements StructuredSerializer<GAccountsByNameData_identity> { +class _$GIdentitiesByNameOrPkData_identity_certIssued_receiverSerializer + implements + StructuredSerializer< + GIdentitiesByNameOrPkData_identity_certIssued_receiver> { @override final Iterable<Type> types = const [ - GAccountsByNameData_identity, - _$GAccountsByNameData_identity + GIdentitiesByNameOrPkData_identity_certIssued_receiver, + _$GIdentitiesByNameOrPkData_identity_certIssued_receiver ]; @override - final String wireName = 'GAccountsByNameData_identity'; + final String wireName = + 'GIdentitiesByNameOrPkData_identity_certIssued_receiver'; @override - Iterable<Object?> serialize( - Serializers serializers, GAccountsByNameData_identity object, + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameOrPkData_identity_certIssued_receiver object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ '__typename', serializers.serialize(object.G__typename, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), 'isMember', serializers.serialize(object.isMember, specifiedType: const FullType(bool)), 'name', serializers.serialize(object.name, specifiedType: const FullType(String)), - 'createdOn', - serializers.serialize(object.createdOn, - specifiedType: const FullType(int)), - 'index', - serializers.serialize(object.index, specifiedType: const FullType(int)), ]; Object? value; value = object.accountId; @@ -379,22 +1551,15 @@ class _$GAccountsByNameData_identitySerializer ..add(serializers.serialize(value, specifiedType: const FullType(_i2.GIdentityStatusEnum))); } - value = object.account; - if (value != null) { - result - ..add('account') - ..add(serializers.serialize(value, - specifiedType: - const FullType(GAccountsByNameData_identity_account))); - } return result; } @override - GAccountsByNameData_identity deserialize( + GIdentitiesByNameOrPkData_identity_certIssued_receiver deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { - final result = new GAccountsByNameData_identityBuilder(); + final result = + new GIdentitiesByNameOrPkData_identity_certIssued_receiverBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -406,37 +1571,27 @@ class _$GAccountsByNameData_identitySerializer result.G__typename = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; case 'isMember': result.isMember = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; case 'name': result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'accountId': - result.accountId = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; - break; - case 'status': - result.status = serializers.deserialize(value, - specifiedType: const FullType(_i2.GIdentityStatusEnum)) - as _i2.GIdentityStatusEnum?; - break; - case 'createdOn': - result.createdOn = serializers.deserialize(value, - specifiedType: const FullType(int))! as int; - break; - case 'account': - result.account.replace(serializers.deserialize(value, - specifiedType: - const FullType(GAccountsByNameData_identity_account))! - as GAccountsByNameData_identity_account); - break; - case 'index': - result.index = serializers.deserialize(value, - specifiedType: const FullType(int))! as int; - break; } } @@ -444,37 +1599,46 @@ class _$GAccountsByNameData_identitySerializer } } -class _$GAccountsByNameData_identity_accountSerializer - implements StructuredSerializer<GAccountsByNameData_identity_account> { +class _$GIdentitiesByNameOrPkData_identity_certIssuedAggregateSerializer + implements + StructuredSerializer< + GIdentitiesByNameOrPkData_identity_certIssuedAggregate> { @override final Iterable<Type> types = const [ - GAccountsByNameData_identity_account, - _$GAccountsByNameData_identity_account + GIdentitiesByNameOrPkData_identity_certIssuedAggregate, + _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate ]; @override - final String wireName = 'GAccountsByNameData_identity_account'; + final String wireName = + 'GIdentitiesByNameOrPkData_identity_certIssuedAggregate'; @override - Iterable<Object?> serialize( - Serializers serializers, GAccountsByNameData_identity_account object, + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameOrPkData_identity_certIssuedAggregate object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ '__typename', serializers.serialize(object.G__typename, specifiedType: const FullType(String)), - 'isActive', - serializers.serialize(object.isActive, - specifiedType: const FullType(bool)), ]; - + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate))); + } return result; } @override - GAccountsByNameData_identity_account deserialize( + GIdentitiesByNameOrPkData_identity_certIssuedAggregate deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { - final result = new GAccountsByNameData_identity_accountBuilder(); + final result = + new GIdentitiesByNameOrPkData_identity_certIssuedAggregateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -486,9 +1650,11 @@ class _$GAccountsByNameData_identity_accountSerializer result.G__typename = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'isActive': - result.isActive = serializers.deserialize(value, - specifiedType: const FullType(bool))! as bool; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate))! + as GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate); break; } } @@ -497,37 +1663,40 @@ class _$GAccountsByNameData_identity_accountSerializer } } -class _$GAccountByPkDataSerializer - implements StructuredSerializer<GAccountByPkData> { +class _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateSerializer + implements + StructuredSerializer< + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate> { @override - final Iterable<Type> types = const [GAccountByPkData, _$GAccountByPkData]; + final Iterable<Type> types = const [ + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate, + _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate + ]; @override - final String wireName = 'GAccountByPkData'; + final String wireName = + 'GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate'; @override - Iterable<Object?> serialize(Serializers serializers, GAccountByPkData object, + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ '__typename', serializers.serialize(object.G__typename, specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), ]; - Object? value; - value = object.accountByPk; - if (value != null) { - result - ..add('accountByPk') - ..add(serializers.serialize(value, - specifiedType: const FullType(GAccountByPkData_accountByPk))); - } + return result; } @override - GAccountByPkData deserialize( + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { - final result = new GAccountByPkDataBuilder(); + final result = + new GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -539,10 +1708,9 @@ class _$GAccountByPkDataSerializer result.G__typename = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'accountByPk': - result.accountByPk.replace(serializers.deserialize(value, - specifiedType: const FullType(GAccountByPkData_accountByPk))! - as GAccountByPkData_accountByPk); + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; break; } } @@ -551,37 +1719,79 @@ class _$GAccountByPkDataSerializer } } -class _$GAccountByPkData_accountByPkSerializer - implements StructuredSerializer<GAccountByPkData_accountByPk> { +class _$GIdentitiesByNameOrPkData_identity_certReceivedSerializer + implements + StructuredSerializer<GIdentitiesByNameOrPkData_identity_certReceived> { @override final Iterable<Type> types = const [ - GAccountByPkData_accountByPk, - _$GAccountByPkData_accountByPk + GIdentitiesByNameOrPkData_identity_certReceived, + _$GIdentitiesByNameOrPkData_identity_certReceived ]; @override - final String wireName = 'GAccountByPkData_accountByPk'; + final String wireName = 'GIdentitiesByNameOrPkData_identity_certReceived'; @override - Iterable<Object?> serialize( - Serializers serializers, GAccountByPkData_accountByPk object, + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameOrPkData_identity_certReceived object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ '__typename', serializers.serialize(object.G__typename, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), 'isActive', serializers.serialize(object.isActive, specifiedType: const FullType(bool)), + 'updatedOn', + serializers.serialize(object.updatedOn, + specifiedType: const FullType(int)), ]; - + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.issuer; + if (value != null) { + result + ..add('issuer') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_certReceived_issuer))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiver; + if (value != null) { + result + ..add('receiver') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_certReceived_receiver))); + } return result; } @override - GAccountByPkData_accountByPk deserialize( + GIdentitiesByNameOrPkData_identity_certReceived deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { - final result = new GAccountByPkData_accountByPkBuilder(); + final result = new GIdentitiesByNameOrPkData_identity_certReceivedBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -593,10 +1803,46 @@ class _$GAccountByPkData_accountByPkSerializer result.G__typename = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'issuer': + result.issuer.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_certReceived_issuer))! + as GIdentitiesByNameOrPkData_identity_certReceived_issuer); + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiver': + result.receiver.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_certReceived_receiver))! + as GIdentitiesByNameOrPkData_identity_certReceived_receiver); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; case 'isActive': result.isActive = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; + case 'updatedOn': + result.updatedOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; } } @@ -604,34 +1850,59 @@ class _$GAccountByPkData_accountByPkSerializer } } -class _$GLastBlockDataSerializer - implements StructuredSerializer<GLastBlockData> { +class _$GIdentitiesByNameOrPkData_identity_certReceived_issuerSerializer + implements + StructuredSerializer< + GIdentitiesByNameOrPkData_identity_certReceived_issuer> { @override - final Iterable<Type> types = const [GLastBlockData, _$GLastBlockData]; + final Iterable<Type> types = const [ + GIdentitiesByNameOrPkData_identity_certReceived_issuer, + _$GIdentitiesByNameOrPkData_identity_certReceived_issuer + ]; @override - final String wireName = 'GLastBlockData'; + final String wireName = + 'GIdentitiesByNameOrPkData_identity_certReceived_issuer'; @override - Iterable<Object?> serialize(Serializers serializers, GLastBlockData object, + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameOrPkData_identity_certReceived_issuer object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ '__typename', serializers.serialize(object.G__typename, specifiedType: const FullType(String)), - 'block', - serializers.serialize(object.block, - specifiedType: const FullType( - BuiltList, const [const FullType(GLastBlockData_block)])), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), ]; - + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } return result; } @override - GLastBlockData deserialize( + GIdentitiesByNameOrPkData_identity_certReceived_issuer deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { - final result = new GLastBlockDataBuilder(); + final result = + new GIdentitiesByNameOrPkData_identity_certReceived_issuerBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -643,11 +1914,26 @@ class _$GLastBlockDataSerializer result.G__typename = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'block': - result.block.replace(serializers.deserialize(value, - specifiedType: const FullType( - BuiltList, const [const FullType(GLastBlockData_block)]))! - as BuiltList<Object?>); + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; } } @@ -656,36 +1942,59 @@ class _$GLastBlockDataSerializer } } -class _$GLastBlockData_blockSerializer - implements StructuredSerializer<GLastBlockData_block> { +class _$GIdentitiesByNameOrPkData_identity_certReceived_receiverSerializer + implements + StructuredSerializer< + GIdentitiesByNameOrPkData_identity_certReceived_receiver> { @override final Iterable<Type> types = const [ - GLastBlockData_block, - _$GLastBlockData_block + GIdentitiesByNameOrPkData_identity_certReceived_receiver, + _$GIdentitiesByNameOrPkData_identity_certReceived_receiver ]; @override - final String wireName = 'GLastBlockData_block'; + final String wireName = + 'GIdentitiesByNameOrPkData_identity_certReceived_receiver'; @override - Iterable<Object?> serialize( - Serializers serializers, GLastBlockData_block object, + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameOrPkData_identity_certReceived_receiver object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ '__typename', serializers.serialize(object.G__typename, specifiedType: const FullType(String)), - 'height', - serializers.serialize(object.height, specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), ]; - + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } return result; } @override - GLastBlockData_block deserialize( + GIdentitiesByNameOrPkData_identity_certReceived_receiver deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { - final result = new GLastBlockData_blockBuilder(); + final result = + new GIdentitiesByNameOrPkData_identity_certReceived_receiverBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -697,65 +2006,26 @@ class _$GLastBlockData_blockSerializer result.G__typename = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'height': - result.height = serializers.deserialize(value, - specifiedType: const FullType(int))! as int; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; break; - } - } - - return result.build(); - } -} - -class _$GGetHistoryAndBalanceDataSerializer - implements StructuredSerializer<GGetHistoryAndBalanceData> { - @override - final Iterable<Type> types = const [ - GGetHistoryAndBalanceData, - _$GGetHistoryAndBalanceData - ]; - @override - final String wireName = 'GGetHistoryAndBalanceData'; - - @override - Iterable<Object?> serialize( - Serializers serializers, GGetHistoryAndBalanceData object, - {FullType specifiedType = FullType.unspecified}) { - final result = <Object?>[ - '__typename', - serializers.serialize(object.G__typename, - specifiedType: const FullType(String)), - 'account', - serializers.serialize(object.account, - specifiedType: const FullType(BuiltList, - const [const FullType(GGetHistoryAndBalanceData_account)])), - ]; - - return result; - } - - @override - GGetHistoryAndBalanceData deserialize( - Serializers serializers, Iterable<Object?> serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = new GGetHistoryAndBalanceDataBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case '__typename': - result.G__typename = serializers.deserialize(value, + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'account': - result.account.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, const [ - const FullType(GGetHistoryAndBalanceData_account) - ]))! as BuiltList<Object?>); + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; } } @@ -764,46 +2034,46 @@ class _$GGetHistoryAndBalanceDataSerializer } } -class _$GGetHistoryAndBalanceData_accountSerializer - implements StructuredSerializer<GGetHistoryAndBalanceData_account> { +class _$GIdentitiesByNameOrPkData_identity_certReceivedAggregateSerializer + implements + StructuredSerializer< + GIdentitiesByNameOrPkData_identity_certReceivedAggregate> { @override final Iterable<Type> types = const [ - GGetHistoryAndBalanceData_account, - _$GGetHistoryAndBalanceData_account + GIdentitiesByNameOrPkData_identity_certReceivedAggregate, + _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate ]; @override - final String wireName = 'GGetHistoryAndBalanceData_account'; + final String wireName = + 'GIdentitiesByNameOrPkData_identity_certReceivedAggregate'; @override - Iterable<Object?> serialize( - Serializers serializers, GGetHistoryAndBalanceData_account object, + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameOrPkData_identity_certReceivedAggregate object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ '__typename', serializers.serialize(object.G__typename, specifiedType: const FullType(String)), - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), - 'transfersIssued', - serializers.serialize(object.transfersIssued, - specifiedType: const FullType(BuiltList, const [ - const FullType(GGetHistoryAndBalanceData_account_transfersIssued) - ])), - 'transfersReceived', - serializers.serialize(object.transfersReceived, - specifiedType: const FullType(BuiltList, const [ - const FullType(GGetHistoryAndBalanceData_account_transfersReceived) - ])), ]; - + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate))); + } return result; } @override - GGetHistoryAndBalanceData_account deserialize( + GIdentitiesByNameOrPkData_identity_certReceivedAggregate deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { - final result = new GGetHistoryAndBalanceData_accountBuilder(); + final result = + new GIdentitiesByNameOrPkData_identity_certReceivedAggregateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -815,23 +2085,11 @@ class _$GGetHistoryAndBalanceData_accountSerializer result.G__typename = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'id': - result.id = serializers.deserialize(value, - specifiedType: const FullType(String))! as String; - break; - case 'transfersIssued': - result.transfersIssued.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, const [ - const FullType( - GGetHistoryAndBalanceData_account_transfersIssued) - ]))! as BuiltList<Object?>); - break; - case 'transfersReceived': - result.transfersReceived.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, const [ - const FullType( - GGetHistoryAndBalanceData_account_transfersReceived) - ]))! as BuiltList<Object?>); + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate))! + as GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate); break; } } @@ -840,69 +2098,40 @@ class _$GGetHistoryAndBalanceData_accountSerializer } } -class _$GGetHistoryAndBalanceData_account_transfersIssuedSerializer +class _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateSerializer implements StructuredSerializer< - GGetHistoryAndBalanceData_account_transfersIssued> { + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate> { @override final Iterable<Type> types = const [ - GGetHistoryAndBalanceData_account_transfersIssued, - _$GGetHistoryAndBalanceData_account_transfersIssued + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate, + _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate ]; @override - final String wireName = 'GGetHistoryAndBalanceData_account_transfersIssued'; + final String wireName = + 'GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate'; @override Iterable<Object?> serialize(Serializers serializers, - GGetHistoryAndBalanceData_account_transfersIssued object, + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ '__typename', serializers.serialize(object.G__typename, specifiedType: const FullType(String)), - 'blockNumber', - serializers.serialize(object.blockNumber, - specifiedType: const FullType(int)), - 'timestamp', - serializers.serialize(object.timestamp, - specifiedType: const FullType(_i2.Gtimestamptz)), - 'amount', - serializers.serialize(object.amount, specifiedType: const FullType(int)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), ]; - Object? value; - value = object.to; - if (value != null) { - result - ..add('to') - ..add(serializers.serialize(value, - specifiedType: const FullType( - GGetHistoryAndBalanceData_account_transfersIssued_to))); - } - value = object.from; - if (value != null) { - result - ..add('from') - ..add(serializers.serialize(value, - specifiedType: const FullType( - GGetHistoryAndBalanceData_account_transfersIssued_from))); - } - value = object.comment; - if (value != null) { - result - ..add('comment') - ..add(serializers.serialize(value, - specifiedType: const FullType( - GGetHistoryAndBalanceData_account_transfersIssued_comment))); - } + return result; } @override - GGetHistoryAndBalanceData_account_transfersIssued deserialize( - Serializers serializers, Iterable<Object?> serialized, - {FullType specifiedType = FullType.unspecified}) { + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { final result = - new GGetHistoryAndBalanceData_account_transfersIssuedBuilder(); + new GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -914,37 +2143,10 @@ class _$GGetHistoryAndBalanceData_account_transfersIssuedSerializer result.G__typename = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'blockNumber': - result.blockNumber = serializers.deserialize(value, - specifiedType: const FullType(int))! as int; - break; - case 'timestamp': - result.timestamp.replace(serializers.deserialize(value, - specifiedType: const FullType(_i2.Gtimestamptz))! - as _i2.Gtimestamptz); - break; - case 'amount': - result.amount = serializers.deserialize(value, + case 'count': + result.count = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; - case 'to': - result.to.replace(serializers.deserialize(value, - specifiedType: const FullType( - GGetHistoryAndBalanceData_account_transfersIssued_to))! - as GGetHistoryAndBalanceData_account_transfersIssued_to); - break; - case 'from': - result.from.replace(serializers.deserialize(value, - specifiedType: const FullType( - GGetHistoryAndBalanceData_account_transfersIssued_from))! - as GGetHistoryAndBalanceData_account_transfersIssued_from); - break; - case 'comment': - result.comment.replace(serializers.deserialize(value, - specifiedType: const FullType( - GGetHistoryAndBalanceData_account_transfersIssued_comment))! - as GGetHistoryAndBalanceData_account_transfersIssued_comment); - break; } } @@ -952,22 +2154,20 @@ class _$GGetHistoryAndBalanceData_account_transfersIssuedSerializer } } -class _$GGetHistoryAndBalanceData_account_transfersIssued_toSerializer +class _$GIdentitiesByNameOrPkData_identity_linkedAccountSerializer implements - StructuredSerializer< - GGetHistoryAndBalanceData_account_transfersIssued_to> { + StructuredSerializer<GIdentitiesByNameOrPkData_identity_linkedAccount> { @override final Iterable<Type> types = const [ - GGetHistoryAndBalanceData_account_transfersIssued_to, - _$GGetHistoryAndBalanceData_account_transfersIssued_to + GIdentitiesByNameOrPkData_identity_linkedAccount, + _$GIdentitiesByNameOrPkData_identity_linkedAccount ]; @override - final String wireName = - 'GGetHistoryAndBalanceData_account_transfersIssued_to'; + final String wireName = 'GIdentitiesByNameOrPkData_identity_linkedAccount'; @override Iterable<Object?> serialize(Serializers serializers, - GGetHistoryAndBalanceData_account_transfersIssued_to object, + GIdentitiesByNameOrPkData_identity_linkedAccount object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ '__typename', @@ -981,11 +2181,11 @@ class _$GGetHistoryAndBalanceData_account_transfersIssued_toSerializer } @override - GGetHistoryAndBalanceData_account_transfersIssued_to deserialize( + GIdentitiesByNameOrPkData_identity_linkedAccount deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { final result = - new GGetHistoryAndBalanceData_account_transfersIssued_toBuilder(); + new GIdentitiesByNameOrPkData_identity_linkedAccountBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1008,40 +2208,46 @@ class _$GGetHistoryAndBalanceData_account_transfersIssued_toSerializer } } -class _$GGetHistoryAndBalanceData_account_transfersIssued_fromSerializer +class _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregateSerializer implements StructuredSerializer< - GGetHistoryAndBalanceData_account_transfersIssued_from> { + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate> { @override final Iterable<Type> types = const [ - GGetHistoryAndBalanceData_account_transfersIssued_from, - _$GGetHistoryAndBalanceData_account_transfersIssued_from + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate, + _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate ]; @override final String wireName = - 'GGetHistoryAndBalanceData_account_transfersIssued_from'; + 'GIdentitiesByNameOrPkData_identity_linkedAccountAggregate'; @override Iterable<Object?> serialize(Serializers serializers, - GGetHistoryAndBalanceData_account_transfersIssued_from object, + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ '__typename', serializers.serialize(object.G__typename, specifiedType: const FullType(String)), - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), ]; - + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate))); + } return result; } @override - GGetHistoryAndBalanceData_account_transfersIssued_from deserialize( + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { final result = - new GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder(); + new GIdentitiesByNameOrPkData_identity_linkedAccountAggregateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1053,9 +2259,11 @@ class _$GGetHistoryAndBalanceData_account_transfersIssued_fromSerializer result.G__typename = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'id': - result.id = serializers.deserialize(value, - specifiedType: const FullType(String))! as String; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate))! + as GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate); break; } } @@ -1064,41 +2272,42 @@ class _$GGetHistoryAndBalanceData_account_transfersIssued_fromSerializer } } -class _$GGetHistoryAndBalanceData_account_transfersIssued_commentSerializer +class _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateSerializer implements StructuredSerializer< - GGetHistoryAndBalanceData_account_transfersIssued_comment> { + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate> { @override final Iterable<Type> types = const [ - GGetHistoryAndBalanceData_account_transfersIssued_comment, - _$GGetHistoryAndBalanceData_account_transfersIssued_comment + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate, + _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate ]; @override final String wireName = - 'GGetHistoryAndBalanceData_account_transfersIssued_comment'; + 'GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate'; @override - Iterable<Object?> serialize(Serializers serializers, - GGetHistoryAndBalanceData_account_transfersIssued_comment object, + Iterable<Object?> serialize( + Serializers serializers, + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate + object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ '__typename', serializers.serialize(object.G__typename, specifiedType: const FullType(String)), - 'remark', - serializers.serialize(object.remark, - specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), ]; return result; } @override - GGetHistoryAndBalanceData_account_transfersIssued_comment deserialize( - Serializers serializers, Iterable<Object?> serialized, - {FullType specifiedType = FullType.unspecified}) { + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { final result = - new GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder(); + new GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1110,9 +2319,9 @@ class _$GGetHistoryAndBalanceData_account_transfersIssued_commentSerializer result.G__typename = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'remark': - result.remark = serializers.deserialize(value, - specifiedType: const FullType(String))! as String; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; break; } } @@ -1121,21 +2330,22 @@ class _$GGetHistoryAndBalanceData_account_transfersIssued_commentSerializer } } -class _$GGetHistoryAndBalanceData_account_transfersReceivedSerializer +class _$GIdentitiesByNameOrPkData_identity_membershipHistorySerializer implements StructuredSerializer< - GGetHistoryAndBalanceData_account_transfersReceived> { + GIdentitiesByNameOrPkData_identity_membershipHistory> { @override final Iterable<Type> types = const [ - GGetHistoryAndBalanceData_account_transfersReceived, - _$GGetHistoryAndBalanceData_account_transfersReceived + GIdentitiesByNameOrPkData_identity_membershipHistory, + _$GIdentitiesByNameOrPkData_identity_membershipHistory ]; @override - final String wireName = 'GGetHistoryAndBalanceData_account_transfersReceived'; + final String wireName = + 'GIdentitiesByNameOrPkData_identity_membershipHistory'; @override Iterable<Object?> serialize(Serializers serializers, - GGetHistoryAndBalanceData_account_transfersReceived object, + GIdentitiesByNameOrPkData_identity_membershipHistory object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ '__typename', @@ -1144,46 +2354,40 @@ class _$GGetHistoryAndBalanceData_account_transfersReceivedSerializer 'blockNumber', serializers.serialize(object.blockNumber, specifiedType: const FullType(int)), - 'timestamp', - serializers.serialize(object.timestamp, - specifiedType: const FullType(_i2.Gtimestamptz)), - 'amount', - serializers.serialize(object.amount, specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), ]; Object? value; - value = object.from; + value = object.eventId; if (value != null) { result - ..add('from') + ..add('eventId') ..add(serializers.serialize(value, - specifiedType: const FullType( - GGetHistoryAndBalanceData_account_transfersReceived_from))); + specifiedType: const FullType(String))); } - value = object.to; + value = object.eventType; if (value != null) { result - ..add('to') + ..add('eventType') ..add(serializers.serialize(value, - specifiedType: const FullType( - GGetHistoryAndBalanceData_account_transfersReceived_to))); + specifiedType: const FullType(_i2.GEventTypeEnum))); } - value = object.comment; + value = object.identityId; if (value != null) { result - ..add('comment') + ..add('identityId') ..add(serializers.serialize(value, - specifiedType: const FullType( - GGetHistoryAndBalanceData_account_transfersReceived_comment))); + specifiedType: const FullType(String))); } return result; } @override - GGetHistoryAndBalanceData_account_transfersReceived deserialize( + GIdentitiesByNameOrPkData_identity_membershipHistory deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { final result = - new GGetHistoryAndBalanceData_account_transfersReceivedBuilder(); + new GIdentitiesByNameOrPkData_identity_membershipHistoryBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1199,32 +2403,22 @@ class _$GGetHistoryAndBalanceData_account_transfersReceivedSerializer result.blockNumber = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; - case 'timestamp': - result.timestamp.replace(serializers.deserialize(value, - specifiedType: const FullType(_i2.Gtimestamptz))! - as _i2.Gtimestamptz); - break; - case 'amount': - result.amount = serializers.deserialize(value, - specifiedType: const FullType(int))! as int; + case 'eventId': + result.eventId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; break; - case 'from': - result.from.replace(serializers.deserialize(value, - specifiedType: const FullType( - GGetHistoryAndBalanceData_account_transfersReceived_from))! - as GGetHistoryAndBalanceData_account_transfersReceived_from); + case 'eventType': + result.eventType = serializers.deserialize(value, + specifiedType: const FullType(_i2.GEventTypeEnum)) + as _i2.GEventTypeEnum?; break; - case 'to': - result.to.replace(serializers.deserialize(value, - specifiedType: const FullType( - GGetHistoryAndBalanceData_account_transfersReceived_to))! - as GGetHistoryAndBalanceData_account_transfersReceived_to); + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; - case 'comment': - result.comment.replace(serializers.deserialize(value, - specifiedType: const FullType( - GGetHistoryAndBalanceData_account_transfersReceived_comment))! - as GGetHistoryAndBalanceData_account_transfersReceived_comment); + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; break; } } @@ -1233,40 +2427,46 @@ class _$GGetHistoryAndBalanceData_account_transfersReceivedSerializer } } -class _$GGetHistoryAndBalanceData_account_transfersReceived_fromSerializer +class _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateSerializer implements StructuredSerializer< - GGetHistoryAndBalanceData_account_transfersReceived_from> { + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate> { @override final Iterable<Type> types = const [ - GGetHistoryAndBalanceData_account_transfersReceived_from, - _$GGetHistoryAndBalanceData_account_transfersReceived_from + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate, + _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate ]; @override final String wireName = - 'GGetHistoryAndBalanceData_account_transfersReceived_from'; + 'GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate'; @override Iterable<Object?> serialize(Serializers serializers, - GGetHistoryAndBalanceData_account_transfersReceived_from object, + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ '__typename', serializers.serialize(object.G__typename, specifiedType: const FullType(String)), - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), ]; - + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate))); + } return result; } @override - GGetHistoryAndBalanceData_account_transfersReceived_from deserialize( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { final result = - new GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder(); + new GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1278,9 +2478,11 @@ class _$GGetHistoryAndBalanceData_account_transfersReceived_fromSerializer result.G__typename = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'id': - result.id = serializers.deserialize(value, - specifiedType: const FullType(String))! as String; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate))! + as GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate); break; } } @@ -1289,40 +2491,42 @@ class _$GGetHistoryAndBalanceData_account_transfersReceived_fromSerializer } } -class _$GGetHistoryAndBalanceData_account_transfersReceived_toSerializer +class _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateSerializer implements StructuredSerializer< - GGetHistoryAndBalanceData_account_transfersReceived_to> { + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate> { @override final Iterable<Type> types = const [ - GGetHistoryAndBalanceData_account_transfersReceived_to, - _$GGetHistoryAndBalanceData_account_transfersReceived_to + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate, + _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate ]; @override final String wireName = - 'GGetHistoryAndBalanceData_account_transfersReceived_to'; + 'GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate'; @override - Iterable<Object?> serialize(Serializers serializers, - GGetHistoryAndBalanceData_account_transfersReceived_to object, + Iterable<Object?> serialize( + Serializers serializers, + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate + object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ '__typename', serializers.serialize(object.G__typename, specifiedType: const FullType(String)), - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), ]; return result; } @override - GGetHistoryAndBalanceData_account_transfersReceived_to deserialize( - Serializers serializers, Iterable<Object?> serialized, - {FullType specifiedType = FullType.unspecified}) { + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { final result = - new GGetHistoryAndBalanceData_account_transfersReceived_toBuilder(); + new GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1334,9 +2538,9 @@ class _$GGetHistoryAndBalanceData_account_transfersReceived_toSerializer result.G__typename = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'id': - result.id = serializers.deserialize(value, - specifiedType: const FullType(String))! as String; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; break; } } @@ -1345,41 +2549,63 @@ class _$GGetHistoryAndBalanceData_account_transfersReceived_toSerializer } } -class _$GGetHistoryAndBalanceData_account_transfersReceived_commentSerializer +class _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeSerializer implements StructuredSerializer< - GGetHistoryAndBalanceData_account_transfersReceived_comment> { + GIdentitiesByNameOrPkData_identity_ownerKeyChange> { @override final Iterable<Type> types = const [ - GGetHistoryAndBalanceData_account_transfersReceived_comment, - _$GGetHistoryAndBalanceData_account_transfersReceived_comment + GIdentitiesByNameOrPkData_identity_ownerKeyChange, + _$GIdentitiesByNameOrPkData_identity_ownerKeyChange ]; @override - final String wireName = - 'GGetHistoryAndBalanceData_account_transfersReceived_comment'; + final String wireName = 'GIdentitiesByNameOrPkData_identity_ownerKeyChange'; @override Iterable<Object?> serialize(Serializers serializers, - GGetHistoryAndBalanceData_account_transfersReceived_comment object, + GIdentitiesByNameOrPkData_identity_ownerKeyChange object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ '__typename', serializers.serialize(object.G__typename, specifiedType: const FullType(String)), - 'remark', - serializers.serialize(object.remark, - specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), ]; - + Object? value; + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.nextId; + if (value != null) { + result + ..add('nextId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.previousId; + if (value != null) { + result + ..add('previousId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } return result; } @override - GGetHistoryAndBalanceData_account_transfersReceived_comment deserialize( + GIdentitiesByNameOrPkData_identity_ownerKeyChange deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { final result = - new GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder(); + new GIdentitiesByNameOrPkData_identity_ownerKeyChangeBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1391,10 +2617,26 @@ class _$GGetHistoryAndBalanceData_account_transfersReceived_commentSerializer result.G__typename = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'remark': - result.remark = serializers.deserialize(value, + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'nextId': + result.nextId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'previousId': + result.previousId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; } } @@ -1402,378 +2644,76822 @@ class _$GGetHistoryAndBalanceData_account_transfersReceived_commentSerializer } } -class _$GAccountsByNameOrPkData extends GAccountsByNameOrPkData { - @override - final String G__typename; - @override - final BuiltList<GAccountsByNameOrPkData_identity> identity; - - factory _$GAccountsByNameOrPkData( - [void Function(GAccountsByNameOrPkDataBuilder)? updates]) => - (new GAccountsByNameOrPkDataBuilder()..update(updates))._build(); - - _$GAccountsByNameOrPkData._( - {required this.G__typename, required this.identity}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - G__typename, r'GAccountsByNameOrPkData', 'G__typename'); - BuiltValueNullFieldError.checkNotNull( - identity, r'GAccountsByNameOrPkData', 'identity'); - } - +class _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateSerializer + implements + StructuredSerializer< + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate> { @override - GAccountsByNameOrPkData rebuild( - void Function(GAccountsByNameOrPkDataBuilder) updates) => - (toBuilder()..update(updates)).build(); - + final Iterable<Type> types = const [ + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate, + _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate + ]; @override - GAccountsByNameOrPkDataBuilder toBuilder() => - new GAccountsByNameOrPkDataBuilder()..replace(this); + final String wireName = + 'GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate'; @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is GAccountsByNameOrPkData && - G__typename == other.G__typename && - identity == other.identity; + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate))); + } + return result; } @override - int get hashCode { - var _$hash = 0; - _$hash = $jc(_$hash, G__typename.hashCode); - _$hash = $jc(_$hash, identity.hashCode); - _$hash = $jf(_$hash); - return _$hash; - } + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateBuilder(); - @override - String toString() { - return (newBuiltValueToStringHelper(r'GAccountsByNameOrPkData') - ..add('G__typename', G__typename) - ..add('identity', identity)) - .toString(); + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate))! + as GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate); + break; + } + } + + return result.build(); } } -class GAccountsByNameOrPkDataBuilder +class _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateSerializer implements - Builder<GAccountsByNameOrPkData, GAccountsByNameOrPkDataBuilder> { - _$GAccountsByNameOrPkData? _$v; - - String? _G__typename; - String? get G__typename => _$this._G__typename; - set G__typename(String? G__typename) => _$this._G__typename = G__typename; - - ListBuilder<GAccountsByNameOrPkData_identity>? _identity; - ListBuilder<GAccountsByNameOrPkData_identity> get identity => - _$this._identity ??= new ListBuilder<GAccountsByNameOrPkData_identity>(); - set identity(ListBuilder<GAccountsByNameOrPkData_identity>? identity) => - _$this._identity = identity; - - GAccountsByNameOrPkDataBuilder() { - GAccountsByNameOrPkData._initializeBuilder(this); - } - - GAccountsByNameOrPkDataBuilder get _$this { - final $v = _$v; - if ($v != null) { - _G__typename = $v.G__typename; - _identity = $v.identity.toBuilder(); - _$v = null; - } - return this; - } - + StructuredSerializer< + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate> { @override - void replace(GAccountsByNameOrPkData other) { - ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GAccountsByNameOrPkData; - } + final Iterable<Type> types = const [ + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate, + _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate + ]; + @override + final String wireName = + 'GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate'; @override - void update(void Function(GAccountsByNameOrPkDataBuilder)? updates) { - if (updates != null) updates(this); + Iterable<Object?> serialize( + Serializers serializers, + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; } @override - GAccountsByNameOrPkData build() => _build(); + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateBuilder(); - _$GAccountsByNameOrPkData _build() { - _$GAccountsByNameOrPkData _$result; - try { - _$result = _$v ?? - new _$GAccountsByNameOrPkData._( - G__typename: BuiltValueNullFieldError.checkNotNull( - G__typename, r'GAccountsByNameOrPkData', 'G__typename'), - identity: identity.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'identity'; - identity.build(); - } catch (e) { - throw new BuiltValueNestedFieldError( - r'GAccountsByNameOrPkData', _$failedField, e.toString()); + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; } - rethrow; } - replace(_$result); - return _$result; + + return result.build(); } } -class _$GAccountsByNameOrPkData_identity - extends GAccountsByNameOrPkData_identity { - @override - final String G__typename; +class _$GIdentitiesByNameOrPkData_identity_smithSerializer + implements StructuredSerializer<GIdentitiesByNameOrPkData_identity_smith> { @override - final bool isMember; - @override - final String name; + final Iterable<Type> types = const [ + GIdentitiesByNameOrPkData_identity_smith, + _$GIdentitiesByNameOrPkData_identity_smith + ]; @override - final String? accountId; + final String wireName = 'GIdentitiesByNameOrPkData_identity_smith'; + @override - final _i2.GIdentityStatusEnum? status; + Iterable<Object?> serialize( + Serializers serializers, GIdentitiesByNameOrPkData_identity_smith object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'forged', + serializers.serialize(object.forged, specifiedType: const FullType(int)), + 'index', + serializers.serialize(object.index, specifiedType: const FullType(int)), + 'smithCertIssued', + serializers.serialize(object.smithCertIssued, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GIdentitiesByNameOrPkData_identity_smith_smithCertIssued) + ])), + 'smithCertReceived', + serializers.serialize(object.smithCertReceived, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived) + ])), + ]; + Object? value; + value = object.lastChanged; + if (value != null) { + result + ..add('lastChanged') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.lastForged; + if (value != null) { + result + ..add('lastForged') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GIdentitiesByNameOrPkData_identity_smith deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByNameOrPkData_identity_smithBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'forged': + result.forged = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'index': + result.index = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'lastChanged': + result.lastChanged = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'lastForged': + result.lastForged = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'smithCertIssued': + result.smithCertIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GIdentitiesByNameOrPkData_identity_smith_smithCertIssued) + ]))! as BuiltList<Object?>); + break; + case 'smithCertReceived': + result.smithCertReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameOrPkData_identity_smith_smithCertIssuedSerializer + implements + StructuredSerializer< + GIdentitiesByNameOrPkData_identity_smith_smithCertIssued> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameOrPkData_identity_smith_smithCertIssued, + _$GIdentitiesByNameOrPkData_identity_smith_smithCertIssued + ]; + @override + final String wireName = + 'GIdentitiesByNameOrPkData_identity_smith_smithCertIssued'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameOrPkData_identity_smith_smithCertIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GIdentitiesByNameOrPkData_identity_smith_smithCertIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameOrPkData_identity_smith_smithCertIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameOrPkData_identity_smith_smithCertReceivedSerializer + implements + StructuredSerializer< + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived, + _$GIdentitiesByNameOrPkData_identity_smith_smithCertReceived + ]; + @override + final String wireName = + 'GIdentitiesByNameOrPkData_identity_smith_smithCertReceived'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameOrPkData_identity_smith_smithCertReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameOrPkData_identity_udHistorySerializer + implements + StructuredSerializer<GIdentitiesByNameOrPkData_identity_udHistory> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameOrPkData_identity_udHistory, + _$GIdentitiesByNameOrPkData_identity_udHistory + ]; + @override + final String wireName = 'GIdentitiesByNameOrPkData_identity_udHistory'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameOrPkData_identity_udHistory object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'amount', + serializers.serialize(object.amount, specifiedType: const FullType(int)), + 'timestamp', + serializers.serialize(object.timestamp, + specifiedType: const FullType(_i2.Gtimestamptz)), + ]; + + return result; + } + + @override + GIdentitiesByNameOrPkData_identity_udHistory deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByNameOrPkData_identity_udHistoryBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'timestamp': + result.timestamp.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.Gtimestamptz))! + as _i2.Gtimestamptz); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkDataSerializer + implements StructuredSerializer<GIdentitiesByPkData> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData, + _$GIdentitiesByPkData + ]; + @override + final String wireName = 'GIdentitiesByPkData'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentitiesByPkData object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'identity', + serializers.serialize(object.identity, + specifiedType: const FullType( + BuiltList, const [const FullType(GIdentitiesByPkData_identity)])), + ]; + + return result; + } + + @override + GIdentitiesByPkData deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByPkDataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'identity': + result.identity.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identitySerializer + implements StructuredSerializer<GIdentitiesByPkData_identity> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity, + _$GIdentitiesByPkData_identity + ]; + @override + final String wireName = 'GIdentitiesByPkData_identity'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentitiesByPkData_identity object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'certIssued', + serializers.serialize(object.certIssued, + specifiedType: const FullType(BuiltList, + const [const FullType(GIdentitiesByPkData_identity_certIssued)])), + 'certIssuedAggregate', + serializers.serialize(object.certIssuedAggregate, + specifiedType: + const FullType(GIdentitiesByPkData_identity_certIssuedAggregate)), + 'certReceived', + serializers.serialize(object.certReceived, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity_certReceived) + ])), + 'certReceivedAggregate', + serializers.serialize(object.certReceivedAggregate, + specifiedType: const FullType( + GIdentitiesByPkData_identity_certReceivedAggregate)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'index', + serializers.serialize(object.index, specifiedType: const FullType(int)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'lastChangeOn', + serializers.serialize(object.lastChangeOn, + specifiedType: const FullType(int)), + 'linkedAccount', + serializers.serialize(object.linkedAccount, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity_linkedAccount) + ])), + 'linkedAccountAggregate', + serializers.serialize(object.linkedAccountAggregate, + specifiedType: const FullType( + GIdentitiesByPkData_identity_linkedAccountAggregate)), + 'membershipHistory', + serializers.serialize(object.membershipHistory, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity_membershipHistory) + ])), + 'membershipHistoryAggregate', + serializers.serialize(object.membershipHistoryAggregate, + specifiedType: const FullType( + GIdentitiesByPkData_identity_membershipHistoryAggregate)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'ownerKeyChange', + serializers.serialize(object.ownerKeyChange, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity_ownerKeyChange) + ])), + 'ownerKeyChangeAggregate', + serializers.serialize(object.ownerKeyChangeAggregate, + specifiedType: const FullType( + GIdentitiesByPkData_identity_ownerKeyChangeAggregate)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.accountRemovedId; + if (value != null) { + result + ..add('accountRemovedId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.createdInId; + if (value != null) { + result + ..add('createdInId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + value = object.smith; + if (value != null) { + result + ..add('smith') + ..add(serializers.serialize(value, + specifiedType: const FullType(GIdentitiesByPkData_identity_smith))); + } + value = object.udHistory; + if (value != null) { + result + ..add('udHistory') + ..add(serializers.serialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity_udHistory) + ]))); + } + return result; + } + + @override + GIdentitiesByPkData_identity deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByPkData_identityBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'accountRemovedId': + result.accountRemovedId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'certIssued': + result.certIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity_certIssued) + ]))! as BuiltList<Object?>); + break; + case 'certIssuedAggregate': + result.certIssuedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_certIssuedAggregate))! + as GIdentitiesByPkData_identity_certIssuedAggregate); + break; + case 'certReceived': + result.certReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity_certReceived) + ]))! as BuiltList<Object?>); + break; + case 'certReceivedAggregate': + result.certReceivedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_certReceivedAggregate))! + as GIdentitiesByPkData_identity_certReceivedAggregate); + break; + case 'createdInId': + result.createdInId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'index': + result.index = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'lastChangeOn': + result.lastChangeOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'linkedAccount': + result.linkedAccount.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity_linkedAccount) + ]))! as BuiltList<Object?>); + break; + case 'linkedAccountAggregate': + result.linkedAccountAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_linkedAccountAggregate))! + as GIdentitiesByPkData_identity_linkedAccountAggregate); + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'membershipHistory': + result.membershipHistory.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity_membershipHistory) + ]))! as BuiltList<Object?>); + break; + case 'membershipHistoryAggregate': + result.membershipHistoryAggregate.replace(serializers.deserialize( + value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_membershipHistoryAggregate))! + as GIdentitiesByPkData_identity_membershipHistoryAggregate); + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'ownerKeyChange': + result.ownerKeyChange.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity_ownerKeyChange) + ]))! as BuiltList<Object?>); + break; + case 'ownerKeyChangeAggregate': + result.ownerKeyChangeAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_ownerKeyChangeAggregate))! + as GIdentitiesByPkData_identity_ownerKeyChangeAggregate); + break; + case 'smith': + result.smith.replace(serializers.deserialize(value, + specifiedType: + const FullType(GIdentitiesByPkData_identity_smith))! + as GIdentitiesByPkData_identity_smith); + break; + case 'udHistory': + result.udHistory.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity_udHistory) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_certIssuedSerializer + implements StructuredSerializer<GIdentitiesByPkData_identity_certIssued> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_certIssued, + _$GIdentitiesByPkData_identity_certIssued + ]; + @override + final String wireName = 'GIdentitiesByPkData_identity_certIssued'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentitiesByPkData_identity_certIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + 'updatedOn', + serializers.serialize(object.updatedOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.issuer; + if (value != null) { + result + ..add('issuer') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_certIssued_issuer))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiver; + if (value != null) { + result + ..add('receiver') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_certIssued_receiver))); + } + return result; + } + + @override + GIdentitiesByPkData_identity_certIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByPkData_identity_certIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'issuer': + result.issuer.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_certIssued_issuer))! + as GIdentitiesByPkData_identity_certIssued_issuer); + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiver': + result.receiver.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_certIssued_receiver))! + as GIdentitiesByPkData_identity_certIssued_receiver); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'updatedOn': + result.updatedOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_certIssued_issuerSerializer + implements + StructuredSerializer<GIdentitiesByPkData_identity_certIssued_issuer> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_certIssued_issuer, + _$GIdentitiesByPkData_identity_certIssued_issuer + ]; + @override + final String wireName = 'GIdentitiesByPkData_identity_certIssued_issuer'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByPkData_identity_certIssued_issuer object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GIdentitiesByPkData_identity_certIssued_issuer deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByPkData_identity_certIssued_issuerBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_certIssued_receiverSerializer + implements + StructuredSerializer<GIdentitiesByPkData_identity_certIssued_receiver> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_certIssued_receiver, + _$GIdentitiesByPkData_identity_certIssued_receiver + ]; + @override + final String wireName = 'GIdentitiesByPkData_identity_certIssued_receiver'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByPkData_identity_certIssued_receiver object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GIdentitiesByPkData_identity_certIssued_receiver deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByPkData_identity_certIssued_receiverBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_certIssuedAggregateSerializer + implements + StructuredSerializer<GIdentitiesByPkData_identity_certIssuedAggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_certIssuedAggregate, + _$GIdentitiesByPkData_identity_certIssuedAggregate + ]; + @override + final String wireName = 'GIdentitiesByPkData_identity_certIssuedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByPkData_identity_certIssuedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_certIssuedAggregate_aggregate))); + } + return result; + } + + @override + GIdentitiesByPkData_identity_certIssuedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByPkData_identity_certIssuedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_certIssuedAggregate_aggregate))! + as GIdentitiesByPkData_identity_certIssuedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_certIssuedAggregate_aggregateSerializer + implements + StructuredSerializer< + GIdentitiesByPkData_identity_certIssuedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_certIssuedAggregate_aggregate, + _$GIdentitiesByPkData_identity_certIssuedAggregate_aggregate + ]; + @override + final String wireName = + 'GIdentitiesByPkData_identity_certIssuedAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByPkData_identity_certIssuedAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GIdentitiesByPkData_identity_certIssuedAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByPkData_identity_certIssuedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_certReceivedSerializer + implements StructuredSerializer<GIdentitiesByPkData_identity_certReceived> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_certReceived, + _$GIdentitiesByPkData_identity_certReceived + ]; + @override + final String wireName = 'GIdentitiesByPkData_identity_certReceived'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentitiesByPkData_identity_certReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + 'updatedOn', + serializers.serialize(object.updatedOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.issuer; + if (value != null) { + result + ..add('issuer') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_certReceived_issuer))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiver; + if (value != null) { + result + ..add('receiver') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_certReceived_receiver))); + } + return result; + } + + @override + GIdentitiesByPkData_identity_certReceived deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByPkData_identity_certReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'issuer': + result.issuer.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_certReceived_issuer))! + as GIdentitiesByPkData_identity_certReceived_issuer); + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiver': + result.receiver.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_certReceived_receiver))! + as GIdentitiesByPkData_identity_certReceived_receiver); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'updatedOn': + result.updatedOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_certReceived_issuerSerializer + implements + StructuredSerializer<GIdentitiesByPkData_identity_certReceived_issuer> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_certReceived_issuer, + _$GIdentitiesByPkData_identity_certReceived_issuer + ]; + @override + final String wireName = 'GIdentitiesByPkData_identity_certReceived_issuer'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByPkData_identity_certReceived_issuer object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GIdentitiesByPkData_identity_certReceived_issuer deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByPkData_identity_certReceived_issuerBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_certReceived_receiverSerializer + implements + StructuredSerializer< + GIdentitiesByPkData_identity_certReceived_receiver> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_certReceived_receiver, + _$GIdentitiesByPkData_identity_certReceived_receiver + ]; + @override + final String wireName = 'GIdentitiesByPkData_identity_certReceived_receiver'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByPkData_identity_certReceived_receiver object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GIdentitiesByPkData_identity_certReceived_receiver deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByPkData_identity_certReceived_receiverBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_certReceivedAggregateSerializer + implements + StructuredSerializer< + GIdentitiesByPkData_identity_certReceivedAggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_certReceivedAggregate, + _$GIdentitiesByPkData_identity_certReceivedAggregate + ]; + @override + final String wireName = 'GIdentitiesByPkData_identity_certReceivedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByPkData_identity_certReceivedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_certReceivedAggregate_aggregate))); + } + return result; + } + + @override + GIdentitiesByPkData_identity_certReceivedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByPkData_identity_certReceivedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_certReceivedAggregate_aggregate))! + as GIdentitiesByPkData_identity_certReceivedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_certReceivedAggregate_aggregateSerializer + implements + StructuredSerializer< + GIdentitiesByPkData_identity_certReceivedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_certReceivedAggregate_aggregate, + _$GIdentitiesByPkData_identity_certReceivedAggregate_aggregate + ]; + @override + final String wireName = + 'GIdentitiesByPkData_identity_certReceivedAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByPkData_identity_certReceivedAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GIdentitiesByPkData_identity_certReceivedAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByPkData_identity_certReceivedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_linkedAccountSerializer + implements + StructuredSerializer<GIdentitiesByPkData_identity_linkedAccount> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_linkedAccount, + _$GIdentitiesByPkData_identity_linkedAccount + ]; + @override + final String wireName = 'GIdentitiesByPkData_identity_linkedAccount'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByPkData_identity_linkedAccount object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GIdentitiesByPkData_identity_linkedAccount deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByPkData_identity_linkedAccountBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_linkedAccountAggregateSerializer + implements + StructuredSerializer< + GIdentitiesByPkData_identity_linkedAccountAggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_linkedAccountAggregate, + _$GIdentitiesByPkData_identity_linkedAccountAggregate + ]; + @override + final String wireName = 'GIdentitiesByPkData_identity_linkedAccountAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByPkData_identity_linkedAccountAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate))); + } + return result; + } + + @override + GIdentitiesByPkData_identity_linkedAccountAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByPkData_identity_linkedAccountAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate))! + as GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateSerializer + implements + StructuredSerializer< + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate, + _$GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate + ]; + @override + final String wireName = + 'GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_membershipHistorySerializer + implements + StructuredSerializer<GIdentitiesByPkData_identity_membershipHistory> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_membershipHistory, + _$GIdentitiesByPkData_identity_membershipHistory + ]; + @override + final String wireName = 'GIdentitiesByPkData_identity_membershipHistory'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByPkData_identity_membershipHistory object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.eventId; + if (value != null) { + result + ..add('eventId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.eventType; + if (value != null) { + result + ..add('eventType') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GEventTypeEnum))); + } + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GIdentitiesByPkData_identity_membershipHistory deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByPkData_identity_membershipHistoryBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'eventId': + result.eventId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'eventType': + result.eventType = serializers.deserialize(value, + specifiedType: const FullType(_i2.GEventTypeEnum)) + as _i2.GEventTypeEnum?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_membershipHistoryAggregateSerializer + implements + StructuredSerializer< + GIdentitiesByPkData_identity_membershipHistoryAggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_membershipHistoryAggregate, + _$GIdentitiesByPkData_identity_membershipHistoryAggregate + ]; + @override + final String wireName = + 'GIdentitiesByPkData_identity_membershipHistoryAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByPkData_identity_membershipHistoryAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate))); + } + return result; + } + + @override + GIdentitiesByPkData_identity_membershipHistoryAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByPkData_identity_membershipHistoryAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate))! + as GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateSerializer + implements + StructuredSerializer< + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate, + _$GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate + ]; + @override + final String wireName = + 'GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_ownerKeyChangeSerializer + implements + StructuredSerializer<GIdentitiesByPkData_identity_ownerKeyChange> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_ownerKeyChange, + _$GIdentitiesByPkData_identity_ownerKeyChange + ]; + @override + final String wireName = 'GIdentitiesByPkData_identity_ownerKeyChange'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByPkData_identity_ownerKeyChange object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.nextId; + if (value != null) { + result + ..add('nextId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.previousId; + if (value != null) { + result + ..add('previousId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GIdentitiesByPkData_identity_ownerKeyChange deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByPkData_identity_ownerKeyChangeBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'nextId': + result.nextId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'previousId': + result.previousId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_ownerKeyChangeAggregateSerializer + implements + StructuredSerializer< + GIdentitiesByPkData_identity_ownerKeyChangeAggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_ownerKeyChangeAggregate, + _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate + ]; + @override + final String wireName = + 'GIdentitiesByPkData_identity_ownerKeyChangeAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByPkData_identity_ownerKeyChangeAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate))); + } + return result; + } + + @override + GIdentitiesByPkData_identity_ownerKeyChangeAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByPkData_identity_ownerKeyChangeAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate))! + as GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateSerializer + implements + StructuredSerializer< + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate, + _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate + ]; + @override + final String wireName = + 'GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_smithSerializer + implements StructuredSerializer<GIdentitiesByPkData_identity_smith> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_smith, + _$GIdentitiesByPkData_identity_smith + ]; + @override + final String wireName = 'GIdentitiesByPkData_identity_smith'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentitiesByPkData_identity_smith object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'forged', + serializers.serialize(object.forged, specifiedType: const FullType(int)), + 'index', + serializers.serialize(object.index, specifiedType: const FullType(int)), + 'smithCertIssued', + serializers.serialize(object.smithCertIssued, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity_smith_smithCertIssued) + ])), + 'smithCertReceived', + serializers.serialize(object.smithCertReceived, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity_smith_smithCertReceived) + ])), + ]; + Object? value; + value = object.lastChanged; + if (value != null) { + result + ..add('lastChanged') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.lastForged; + if (value != null) { + result + ..add('lastForged') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GIdentitiesByPkData_identity_smith deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByPkData_identity_smithBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'forged': + result.forged = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'index': + result.index = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'lastChanged': + result.lastChanged = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'lastForged': + result.lastForged = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'smithCertIssued': + result.smithCertIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GIdentitiesByPkData_identity_smith_smithCertIssued) + ]))! as BuiltList<Object?>); + break; + case 'smithCertReceived': + result.smithCertReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GIdentitiesByPkData_identity_smith_smithCertReceived) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_smith_smithCertIssuedSerializer + implements + StructuredSerializer< + GIdentitiesByPkData_identity_smith_smithCertIssued> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_smith_smithCertIssued, + _$GIdentitiesByPkData_identity_smith_smithCertIssued + ]; + @override + final String wireName = 'GIdentitiesByPkData_identity_smith_smithCertIssued'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByPkData_identity_smith_smithCertIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GIdentitiesByPkData_identity_smith_smithCertIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByPkData_identity_smith_smithCertIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_smith_smithCertReceivedSerializer + implements + StructuredSerializer< + GIdentitiesByPkData_identity_smith_smithCertReceived> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_smith_smithCertReceived, + _$GIdentitiesByPkData_identity_smith_smithCertReceived + ]; + @override + final String wireName = + 'GIdentitiesByPkData_identity_smith_smithCertReceived'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByPkData_identity_smith_smithCertReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GIdentitiesByPkData_identity_smith_smithCertReceived deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByPkData_identity_smith_smithCertReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkData_identity_udHistorySerializer + implements StructuredSerializer<GIdentitiesByPkData_identity_udHistory> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkData_identity_udHistory, + _$GIdentitiesByPkData_identity_udHistory + ]; + @override + final String wireName = 'GIdentitiesByPkData_identity_udHistory'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentitiesByPkData_identity_udHistory object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'amount', + serializers.serialize(object.amount, specifiedType: const FullType(int)), + 'timestamp', + serializers.serialize(object.timestamp, + specifiedType: const FullType(_i2.Gtimestamptz)), + ]; + + return result; + } + + @override + GIdentitiesByPkData_identity_udHistory deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByPkData_identity_udHistoryBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'timestamp': + result.timestamp.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.Gtimestamptz))! + as _i2.Gtimestamptz); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameDataSerializer + implements StructuredSerializer<GIdentitiesByNameData> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData, + _$GIdentitiesByNameData + ]; + @override + final String wireName = 'GIdentitiesByNameData'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentitiesByNameData object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'identity', + serializers.serialize(object.identity, + specifiedType: const FullType(BuiltList, + const [const FullType(GIdentitiesByNameData_identity)])), + ]; + + return result; + } + + @override + GIdentitiesByNameData deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByNameDataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'identity': + result.identity.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identitySerializer + implements StructuredSerializer<GIdentitiesByNameData_identity> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity, + _$GIdentitiesByNameData_identity + ]; + @override + final String wireName = 'GIdentitiesByNameData_identity'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentitiesByNameData_identity object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'certIssued', + serializers.serialize(object.certIssued, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity_certIssued) + ])), + 'certIssuedAggregate', + serializers.serialize(object.certIssuedAggregate, + specifiedType: const FullType( + GIdentitiesByNameData_identity_certIssuedAggregate)), + 'certReceived', + serializers.serialize(object.certReceived, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity_certReceived) + ])), + 'certReceivedAggregate', + serializers.serialize(object.certReceivedAggregate, + specifiedType: const FullType( + GIdentitiesByNameData_identity_certReceivedAggregate)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'index', + serializers.serialize(object.index, specifiedType: const FullType(int)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'lastChangeOn', + serializers.serialize(object.lastChangeOn, + specifiedType: const FullType(int)), + 'linkedAccount', + serializers.serialize(object.linkedAccount, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity_linkedAccount) + ])), + 'linkedAccountAggregate', + serializers.serialize(object.linkedAccountAggregate, + specifiedType: const FullType( + GIdentitiesByNameData_identity_linkedAccountAggregate)), + 'membershipHistory', + serializers.serialize(object.membershipHistory, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity_membershipHistory) + ])), + 'membershipHistoryAggregate', + serializers.serialize(object.membershipHistoryAggregate, + specifiedType: const FullType( + GIdentitiesByNameData_identity_membershipHistoryAggregate)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'ownerKeyChange', + serializers.serialize(object.ownerKeyChange, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity_ownerKeyChange) + ])), + 'ownerKeyChangeAggregate', + serializers.serialize(object.ownerKeyChangeAggregate, + specifiedType: const FullType( + GIdentitiesByNameData_identity_ownerKeyChangeAggregate)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.accountRemovedId; + if (value != null) { + result + ..add('accountRemovedId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.createdInId; + if (value != null) { + result + ..add('createdInId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + value = object.smith; + if (value != null) { + result + ..add('smith') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GIdentitiesByNameData_identity_smith))); + } + value = object.udHistory; + if (value != null) { + result + ..add('udHistory') + ..add(serializers.serialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity_udHistory) + ]))); + } + return result; + } + + @override + GIdentitiesByNameData_identity deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByNameData_identityBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'accountRemovedId': + result.accountRemovedId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'certIssued': + result.certIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity_certIssued) + ]))! as BuiltList<Object?>); + break; + case 'certIssuedAggregate': + result.certIssuedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_certIssuedAggregate))! + as GIdentitiesByNameData_identity_certIssuedAggregate); + break; + case 'certReceived': + result.certReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity_certReceived) + ]))! as BuiltList<Object?>); + break; + case 'certReceivedAggregate': + result.certReceivedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_certReceivedAggregate))! + as GIdentitiesByNameData_identity_certReceivedAggregate); + break; + case 'createdInId': + result.createdInId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'index': + result.index = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'lastChangeOn': + result.lastChangeOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'linkedAccount': + result.linkedAccount.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity_linkedAccount) + ]))! as BuiltList<Object?>); + break; + case 'linkedAccountAggregate': + result.linkedAccountAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_linkedAccountAggregate))! + as GIdentitiesByNameData_identity_linkedAccountAggregate); + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'membershipHistory': + result.membershipHistory.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity_membershipHistory) + ]))! as BuiltList<Object?>); + break; + case 'membershipHistoryAggregate': + result.membershipHistoryAggregate.replace(serializers.deserialize( + value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_membershipHistoryAggregate))! + as GIdentitiesByNameData_identity_membershipHistoryAggregate); + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'ownerKeyChange': + result.ownerKeyChange.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity_ownerKeyChange) + ]))! as BuiltList<Object?>); + break; + case 'ownerKeyChangeAggregate': + result.ownerKeyChangeAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_ownerKeyChangeAggregate))! + as GIdentitiesByNameData_identity_ownerKeyChangeAggregate); + break; + case 'smith': + result.smith.replace(serializers.deserialize(value, + specifiedType: + const FullType(GIdentitiesByNameData_identity_smith))! + as GIdentitiesByNameData_identity_smith); + break; + case 'udHistory': + result.udHistory.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity_udHistory) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_certIssuedSerializer + implements StructuredSerializer<GIdentitiesByNameData_identity_certIssued> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_certIssued, + _$GIdentitiesByNameData_identity_certIssued + ]; + @override + final String wireName = 'GIdentitiesByNameData_identity_certIssued'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentitiesByNameData_identity_certIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + 'updatedOn', + serializers.serialize(object.updatedOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.issuer; + if (value != null) { + result + ..add('issuer') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_certIssued_issuer))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiver; + if (value != null) { + result + ..add('receiver') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_certIssued_receiver))); + } + return result; + } + + @override + GIdentitiesByNameData_identity_certIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByNameData_identity_certIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'issuer': + result.issuer.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_certIssued_issuer))! + as GIdentitiesByNameData_identity_certIssued_issuer); + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiver': + result.receiver.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_certIssued_receiver))! + as GIdentitiesByNameData_identity_certIssued_receiver); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'updatedOn': + result.updatedOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_certIssued_issuerSerializer + implements + StructuredSerializer<GIdentitiesByNameData_identity_certIssued_issuer> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_certIssued_issuer, + _$GIdentitiesByNameData_identity_certIssued_issuer + ]; + @override + final String wireName = 'GIdentitiesByNameData_identity_certIssued_issuer'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameData_identity_certIssued_issuer object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GIdentitiesByNameData_identity_certIssued_issuer deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameData_identity_certIssued_issuerBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_certIssued_receiverSerializer + implements + StructuredSerializer< + GIdentitiesByNameData_identity_certIssued_receiver> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_certIssued_receiver, + _$GIdentitiesByNameData_identity_certIssued_receiver + ]; + @override + final String wireName = 'GIdentitiesByNameData_identity_certIssued_receiver'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameData_identity_certIssued_receiver object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GIdentitiesByNameData_identity_certIssued_receiver deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameData_identity_certIssued_receiverBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_certIssuedAggregateSerializer + implements + StructuredSerializer< + GIdentitiesByNameData_identity_certIssuedAggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_certIssuedAggregate, + _$GIdentitiesByNameData_identity_certIssuedAggregate + ]; + @override + final String wireName = 'GIdentitiesByNameData_identity_certIssuedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameData_identity_certIssuedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_certIssuedAggregate_aggregate))); + } + return result; + } + + @override + GIdentitiesByNameData_identity_certIssuedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameData_identity_certIssuedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_certIssuedAggregate_aggregate))! + as GIdentitiesByNameData_identity_certIssuedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_certIssuedAggregate_aggregateSerializer + implements + StructuredSerializer< + GIdentitiesByNameData_identity_certIssuedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_certIssuedAggregate_aggregate, + _$GIdentitiesByNameData_identity_certIssuedAggregate_aggregate + ]; + @override + final String wireName = + 'GIdentitiesByNameData_identity_certIssuedAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameData_identity_certIssuedAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GIdentitiesByNameData_identity_certIssuedAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameData_identity_certIssuedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_certReceivedSerializer + implements + StructuredSerializer<GIdentitiesByNameData_identity_certReceived> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_certReceived, + _$GIdentitiesByNameData_identity_certReceived + ]; + @override + final String wireName = 'GIdentitiesByNameData_identity_certReceived'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameData_identity_certReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + 'updatedOn', + serializers.serialize(object.updatedOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.issuer; + if (value != null) { + result + ..add('issuer') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_certReceived_issuer))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiver; + if (value != null) { + result + ..add('receiver') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_certReceived_receiver))); + } + return result; + } + + @override + GIdentitiesByNameData_identity_certReceived deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByNameData_identity_certReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'issuer': + result.issuer.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_certReceived_issuer))! + as GIdentitiesByNameData_identity_certReceived_issuer); + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiver': + result.receiver.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_certReceived_receiver))! + as GIdentitiesByNameData_identity_certReceived_receiver); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'updatedOn': + result.updatedOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_certReceived_issuerSerializer + implements + StructuredSerializer< + GIdentitiesByNameData_identity_certReceived_issuer> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_certReceived_issuer, + _$GIdentitiesByNameData_identity_certReceived_issuer + ]; + @override + final String wireName = 'GIdentitiesByNameData_identity_certReceived_issuer'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameData_identity_certReceived_issuer object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GIdentitiesByNameData_identity_certReceived_issuer deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameData_identity_certReceived_issuerBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_certReceived_receiverSerializer + implements + StructuredSerializer< + GIdentitiesByNameData_identity_certReceived_receiver> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_certReceived_receiver, + _$GIdentitiesByNameData_identity_certReceived_receiver + ]; + @override + final String wireName = + 'GIdentitiesByNameData_identity_certReceived_receiver'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameData_identity_certReceived_receiver object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GIdentitiesByNameData_identity_certReceived_receiver deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameData_identity_certReceived_receiverBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_certReceivedAggregateSerializer + implements + StructuredSerializer< + GIdentitiesByNameData_identity_certReceivedAggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_certReceivedAggregate, + _$GIdentitiesByNameData_identity_certReceivedAggregate + ]; + @override + final String wireName = + 'GIdentitiesByNameData_identity_certReceivedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameData_identity_certReceivedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_certReceivedAggregate_aggregate))); + } + return result; + } + + @override + GIdentitiesByNameData_identity_certReceivedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameData_identity_certReceivedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_certReceivedAggregate_aggregate))! + as GIdentitiesByNameData_identity_certReceivedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_certReceivedAggregate_aggregateSerializer + implements + StructuredSerializer< + GIdentitiesByNameData_identity_certReceivedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_certReceivedAggregate_aggregate, + _$GIdentitiesByNameData_identity_certReceivedAggregate_aggregate + ]; + @override + final String wireName = + 'GIdentitiesByNameData_identity_certReceivedAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameData_identity_certReceivedAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GIdentitiesByNameData_identity_certReceivedAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameData_identity_certReceivedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_linkedAccountSerializer + implements + StructuredSerializer<GIdentitiesByNameData_identity_linkedAccount> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_linkedAccount, + _$GIdentitiesByNameData_identity_linkedAccount + ]; + @override + final String wireName = 'GIdentitiesByNameData_identity_linkedAccount'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameData_identity_linkedAccount object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GIdentitiesByNameData_identity_linkedAccount deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByNameData_identity_linkedAccountBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_linkedAccountAggregateSerializer + implements + StructuredSerializer< + GIdentitiesByNameData_identity_linkedAccountAggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_linkedAccountAggregate, + _$GIdentitiesByNameData_identity_linkedAccountAggregate + ]; + @override + final String wireName = + 'GIdentitiesByNameData_identity_linkedAccountAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameData_identity_linkedAccountAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate))); + } + return result; + } + + @override + GIdentitiesByNameData_identity_linkedAccountAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameData_identity_linkedAccountAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate))! + as GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateSerializer + implements + StructuredSerializer< + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate, + _$GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate + ]; + @override + final String wireName = + 'GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_membershipHistorySerializer + implements + StructuredSerializer<GIdentitiesByNameData_identity_membershipHistory> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_membershipHistory, + _$GIdentitiesByNameData_identity_membershipHistory + ]; + @override + final String wireName = 'GIdentitiesByNameData_identity_membershipHistory'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameData_identity_membershipHistory object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.eventId; + if (value != null) { + result + ..add('eventId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.eventType; + if (value != null) { + result + ..add('eventType') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GEventTypeEnum))); + } + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GIdentitiesByNameData_identity_membershipHistory deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameData_identity_membershipHistoryBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'eventId': + result.eventId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'eventType': + result.eventType = serializers.deserialize(value, + specifiedType: const FullType(_i2.GEventTypeEnum)) + as _i2.GEventTypeEnum?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_membershipHistoryAggregateSerializer + implements + StructuredSerializer< + GIdentitiesByNameData_identity_membershipHistoryAggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_membershipHistoryAggregate, + _$GIdentitiesByNameData_identity_membershipHistoryAggregate + ]; + @override + final String wireName = + 'GIdentitiesByNameData_identity_membershipHistoryAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameData_identity_membershipHistoryAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate))); + } + return result; + } + + @override + GIdentitiesByNameData_identity_membershipHistoryAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameData_identity_membershipHistoryAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate))! + as GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateSerializer + implements + StructuredSerializer< + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate, + _$GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate + ]; + @override + final String wireName = + 'GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_ownerKeyChangeSerializer + implements + StructuredSerializer<GIdentitiesByNameData_identity_ownerKeyChange> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_ownerKeyChange, + _$GIdentitiesByNameData_identity_ownerKeyChange + ]; + @override + final String wireName = 'GIdentitiesByNameData_identity_ownerKeyChange'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameData_identity_ownerKeyChange object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.nextId; + if (value != null) { + result + ..add('nextId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.previousId; + if (value != null) { + result + ..add('previousId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GIdentitiesByNameData_identity_ownerKeyChange deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByNameData_identity_ownerKeyChangeBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'nextId': + result.nextId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'previousId': + result.previousId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_ownerKeyChangeAggregateSerializer + implements + StructuredSerializer< + GIdentitiesByNameData_identity_ownerKeyChangeAggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_ownerKeyChangeAggregate, + _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate + ]; + @override + final String wireName = + 'GIdentitiesByNameData_identity_ownerKeyChangeAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameData_identity_ownerKeyChangeAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate))); + } + return result; + } + + @override + GIdentitiesByNameData_identity_ownerKeyChangeAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameData_identity_ownerKeyChangeAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate))! + as GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateSerializer + implements + StructuredSerializer< + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate, + _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate + ]; + @override + final String wireName = + 'GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_smithSerializer + implements StructuredSerializer<GIdentitiesByNameData_identity_smith> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_smith, + _$GIdentitiesByNameData_identity_smith + ]; + @override + final String wireName = 'GIdentitiesByNameData_identity_smith'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentitiesByNameData_identity_smith object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'forged', + serializers.serialize(object.forged, specifiedType: const FullType(int)), + 'index', + serializers.serialize(object.index, specifiedType: const FullType(int)), + 'smithCertIssued', + serializers.serialize(object.smithCertIssued, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity_smith_smithCertIssued) + ])), + 'smithCertReceived', + serializers.serialize(object.smithCertReceived, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GIdentitiesByNameData_identity_smith_smithCertReceived) + ])), + ]; + Object? value; + value = object.lastChanged; + if (value != null) { + result + ..add('lastChanged') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.lastForged; + if (value != null) { + result + ..add('lastForged') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GIdentitiesByNameData_identity_smith deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByNameData_identity_smithBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'forged': + result.forged = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'index': + result.index = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'lastChanged': + result.lastChanged = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'lastForged': + result.lastForged = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'smithCertIssued': + result.smithCertIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GIdentitiesByNameData_identity_smith_smithCertIssued) + ]))! as BuiltList<Object?>); + break; + case 'smithCertReceived': + result.smithCertReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GIdentitiesByNameData_identity_smith_smithCertReceived) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_smith_smithCertIssuedSerializer + implements + StructuredSerializer< + GIdentitiesByNameData_identity_smith_smithCertIssued> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_smith_smithCertIssued, + _$GIdentitiesByNameData_identity_smith_smithCertIssued + ]; + @override + final String wireName = + 'GIdentitiesByNameData_identity_smith_smithCertIssued'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameData_identity_smith_smithCertIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GIdentitiesByNameData_identity_smith_smithCertIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameData_identity_smith_smithCertIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_smith_smithCertReceivedSerializer + implements + StructuredSerializer< + GIdentitiesByNameData_identity_smith_smithCertReceived> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_smith_smithCertReceived, + _$GIdentitiesByNameData_identity_smith_smithCertReceived + ]; + @override + final String wireName = + 'GIdentitiesByNameData_identity_smith_smithCertReceived'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentitiesByNameData_identity_smith_smithCertReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GIdentitiesByNameData_identity_smith_smithCertReceived deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentitiesByNameData_identity_smith_smithCertReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameData_identity_udHistorySerializer + implements StructuredSerializer<GIdentitiesByNameData_identity_udHistory> { + @override + final Iterable<Type> types = const [ + GIdentitiesByNameData_identity_udHistory, + _$GIdentitiesByNameData_identity_udHistory + ]; + @override + final String wireName = 'GIdentitiesByNameData_identity_udHistory'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentitiesByNameData_identity_udHistory object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'amount', + serializers.serialize(object.amount, specifiedType: const FullType(int)), + 'timestamp', + serializers.serialize(object.timestamp, + specifiedType: const FullType(_i2.Gtimestamptz)), + ]; + + return result; + } + + @override + GIdentitiesByNameData_identity_udHistory deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByNameData_identity_udHistoryBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'timestamp': + result.timestamp.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.Gtimestamptz))! + as _i2.Gtimestamptz); + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkDataSerializer + implements StructuredSerializer<GAccountByPkData> { + @override + final Iterable<Type> types = const [GAccountByPkData, _$GAccountByPkData]; + @override + final String wireName = 'GAccountByPkData'; + + @override + Iterable<Object?> serialize(Serializers serializers, GAccountByPkData object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountByPk; + if (value != null) { + result + ..add('accountByPk') + ..add(serializers.serialize(value, + specifiedType: const FullType(GAccountByPkData_accountByPk))); + } + return result; + } + + @override + GAccountByPkData deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountByPkDataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountByPk': + result.accountByPk.replace(serializers.deserialize(value, + specifiedType: const FullType(GAccountByPkData_accountByPk))! + as GAccountByPkData_accountByPk); + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPkSerializer + implements StructuredSerializer<GAccountByPkData_accountByPk> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk, + _$GAccountByPkData_accountByPk + ]; + @override + final String wireName = 'GAccountByPkData_accountByPk'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountByPkData_accountByPk object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'commentsIssued', + serializers.serialize(object.commentsIssued, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_commentsIssued) + ])), + 'commentsIssuedAggregate', + serializers.serialize(object.commentsIssuedAggregate, + specifiedType: const FullType( + GAccountByPkData_accountByPk_commentsIssuedAggregate)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + 'removedIdentities', + serializers.serialize(object.removedIdentities, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_removedIdentities) + ])), + 'removedIdentitiesAggregate', + serializers.serialize(object.removedIdentitiesAggregate, + specifiedType: const FullType( + GAccountByPkData_accountByPk_removedIdentitiesAggregate)), + 'transfersIssued', + serializers.serialize(object.transfersIssued, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_transfersIssued) + ])), + 'transfersIssuedAggregate', + serializers.serialize(object.transfersIssuedAggregate, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersIssuedAggregate)), + 'transfersReceived', + serializers.serialize(object.transfersReceived, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_transfersReceived) + ])), + 'transfersReceivedAggregate', + serializers.serialize(object.transfersReceivedAggregate, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersReceivedAggregate)), + 'wasIdentity', + serializers.serialize(object.wasIdentity, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_wasIdentity) + ])), + 'wasIdentityAggregate', + serializers.serialize(object.wasIdentityAggregate, + specifiedType: const FullType( + GAccountByPkData_accountByPk_wasIdentityAggregate)), + ]; + Object? value; + value = object.identity; + if (value != null) { + result + ..add('identity') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GAccountByPkData_accountByPk_identity))); + } + value = object.linkedIdentity; + if (value != null) { + result + ..add('linkedIdentity') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GAccountByPkData_accountByPk_linkedIdentity))); + } + return result; + } + + @override + GAccountByPkData_accountByPk deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountByPkData_accountByPkBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'commentsIssued': + result.commentsIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_commentsIssued) + ]))! as BuiltList<Object?>); + break; + case 'commentsIssuedAggregate': + result.commentsIssuedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_commentsIssuedAggregate))! + as GAccountByPkData_accountByPk_commentsIssuedAggregate); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'identity': + result.identity.replace(serializers.deserialize(value, + specifiedType: + const FullType(GAccountByPkData_accountByPk_identity))! + as GAccountByPkData_accountByPk_identity); + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'linkedIdentity': + result.linkedIdentity.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_linkedIdentity))! + as GAccountByPkData_accountByPk_linkedIdentity); + break; + case 'removedIdentities': + result.removedIdentities.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_removedIdentities) + ]))! as BuiltList<Object?>); + break; + case 'removedIdentitiesAggregate': + result.removedIdentitiesAggregate.replace(serializers.deserialize( + value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_removedIdentitiesAggregate))! + as GAccountByPkData_accountByPk_removedIdentitiesAggregate); + break; + case 'transfersIssued': + result.transfersIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_transfersIssued) + ]))! as BuiltList<Object?>); + break; + case 'transfersIssuedAggregate': + result.transfersIssuedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersIssuedAggregate))! + as GAccountByPkData_accountByPk_transfersIssuedAggregate); + break; + case 'transfersReceived': + result.transfersReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_transfersReceived) + ]))! as BuiltList<Object?>); + break; + case 'transfersReceivedAggregate': + result.transfersReceivedAggregate.replace(serializers.deserialize( + value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersReceivedAggregate))! + as GAccountByPkData_accountByPk_transfersReceivedAggregate); + break; + case 'wasIdentity': + result.wasIdentity.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_wasIdentity) + ]))! as BuiltList<Object?>); + break; + case 'wasIdentityAggregate': + result.wasIdentityAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_wasIdentityAggregate))! + as GAccountByPkData_accountByPk_wasIdentityAggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_commentsIssuedSerializer + implements + StructuredSerializer<GAccountByPkData_accountByPk_commentsIssued> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_commentsIssued, + _$GAccountByPkData_accountByPk_commentsIssued + ]; + @override + final String wireName = 'GAccountByPkData_accountByPk_commentsIssued'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_commentsIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'hash', + serializers.serialize(object.hash, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'remark', + serializers.serialize(object.remark, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.authorId; + if (value != null) { + result + ..add('authorId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.eventId; + if (value != null) { + result + ..add('eventId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.type; + if (value != null) { + result + ..add('type') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GCommentTypeEnum))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_commentsIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountByPkData_accountByPk_commentsIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'authorId': + result.authorId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'eventId': + result.eventId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'hash': + result.hash = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'remark': + result.remark = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'type': + result.type = serializers.deserialize(value, + specifiedType: const FullType(_i2.GCommentTypeEnum)) + as _i2.GCommentTypeEnum?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_commentsIssuedAggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_commentsIssuedAggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_commentsIssuedAggregate, + _$GAccountByPkData_accountByPk_commentsIssuedAggregate + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_commentsIssuedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_commentsIssuedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_commentsIssuedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_commentsIssuedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate))! + as GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate, + _$GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identitySerializer + implements StructuredSerializer<GAccountByPkData_accountByPk_identity> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity, + _$GAccountByPkData_accountByPk_identity + ]; + @override + final String wireName = 'GAccountByPkData_accountByPk_identity'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountByPkData_accountByPk_identity object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'certIssued', + serializers.serialize(object.certIssued, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_identity_certIssued) + ])), + 'certIssuedAggregate', + serializers.serialize(object.certIssuedAggregate, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_certIssuedAggregate)), + 'certReceived', + serializers.serialize(object.certReceived, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_identity_certReceived) + ])), + 'certReceivedAggregate', + serializers.serialize(object.certReceivedAggregate, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_certReceivedAggregate)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'index', + serializers.serialize(object.index, specifiedType: const FullType(int)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'lastChangeOn', + serializers.serialize(object.lastChangeOn, + specifiedType: const FullType(int)), + 'linkedAccount', + serializers.serialize(object.linkedAccount, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_identity_linkedAccount) + ])), + 'linkedAccountAggregate', + serializers.serialize(object.linkedAccountAggregate, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_linkedAccountAggregate)), + 'membershipHistory', + serializers.serialize(object.membershipHistory, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GAccountByPkData_accountByPk_identity_membershipHistory) + ])), + 'membershipHistoryAggregate', + serializers.serialize(object.membershipHistoryAggregate, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'ownerKeyChange', + serializers.serialize(object.ownerKeyChange, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_identity_ownerKeyChange) + ])), + 'ownerKeyChangeAggregate', + serializers.serialize(object.ownerKeyChangeAggregate, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.accountRemovedId; + if (value != null) { + result + ..add('accountRemovedId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.createdInId; + if (value != null) { + result + ..add('createdInId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + value = object.smith; + if (value != null) { + result + ..add('smith') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GAccountByPkData_accountByPk_identity_smith))); + } + value = object.udHistory; + if (value != null) { + result + ..add('udHistory') + ..add(serializers.serialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_identity_udHistory) + ]))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_identity deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountByPkData_accountByPk_identityBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'accountRemovedId': + result.accountRemovedId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'certIssued': + result.certIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_identity_certIssued) + ]))! as BuiltList<Object?>); + break; + case 'certIssuedAggregate': + result.certIssuedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_certIssuedAggregate))! + as GAccountByPkData_accountByPk_identity_certIssuedAggregate); + break; + case 'certReceived': + result.certReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GAccountByPkData_accountByPk_identity_certReceived) + ]))! as BuiltList<Object?>); + break; + case 'certReceivedAggregate': + result.certReceivedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_certReceivedAggregate))! + as GAccountByPkData_accountByPk_identity_certReceivedAggregate); + break; + case 'createdInId': + result.createdInId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'index': + result.index = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'lastChangeOn': + result.lastChangeOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'linkedAccount': + result.linkedAccount.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GAccountByPkData_accountByPk_identity_linkedAccount) + ]))! as BuiltList<Object?>); + break; + case 'linkedAccountAggregate': + result.linkedAccountAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_linkedAccountAggregate))! + as GAccountByPkData_accountByPk_identity_linkedAccountAggregate); + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'membershipHistory': + result.membershipHistory.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GAccountByPkData_accountByPk_identity_membershipHistory) + ]))! as BuiltList<Object?>); + break; + case 'membershipHistoryAggregate': + result.membershipHistoryAggregate.replace(serializers.deserialize( + value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate))! + as GAccountByPkData_accountByPk_identity_membershipHistoryAggregate); + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'ownerKeyChange': + result.ownerKeyChange.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GAccountByPkData_accountByPk_identity_ownerKeyChange) + ]))! as BuiltList<Object?>); + break; + case 'ownerKeyChangeAggregate': + result.ownerKeyChangeAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate))! + as GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate); + break; + case 'smith': + result.smith.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_smith))! + as GAccountByPkData_accountByPk_identity_smith); + break; + case 'udHistory': + result.udHistory.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_identity_udHistory) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_certIssuedSerializer + implements + StructuredSerializer<GAccountByPkData_accountByPk_identity_certIssued> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_certIssued, + _$GAccountByPkData_accountByPk_identity_certIssued + ]; + @override + final String wireName = 'GAccountByPkData_accountByPk_identity_certIssued'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_identity_certIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + 'updatedOn', + serializers.serialize(object.updatedOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.issuer; + if (value != null) { + result + ..add('issuer') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_certIssued_issuer))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiver; + if (value != null) { + result + ..add('receiver') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_certIssued_receiver))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_identity_certIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_certIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'issuer': + result.issuer.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_certIssued_issuer))! + as GAccountByPkData_accountByPk_identity_certIssued_issuer); + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiver': + result.receiver.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_certIssued_receiver))! + as GAccountByPkData_accountByPk_identity_certIssued_receiver); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'updatedOn': + result.updatedOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_certIssued_issuerSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_certIssued_issuer> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_certIssued_issuer, + _$GAccountByPkData_accountByPk_identity_certIssued_issuer + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_identity_certIssued_issuer'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_identity_certIssued_issuer object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_identity_certIssued_issuer deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_certIssued_issuerBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_certIssued_receiverSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_certIssued_receiver> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_certIssued_receiver, + _$GAccountByPkData_accountByPk_identity_certIssued_receiver + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_identity_certIssued_receiver'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_identity_certIssued_receiver object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_identity_certIssued_receiver deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_certIssued_receiverBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_certIssuedAggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_certIssuedAggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_certIssuedAggregate, + _$GAccountByPkData_accountByPk_identity_certIssuedAggregate + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_identity_certIssuedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_identity_certIssuedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_identity_certIssuedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_certIssuedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate))! + as GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate, + _$GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_certReceivedSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_certReceived> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_certReceived, + _$GAccountByPkData_accountByPk_identity_certReceived + ]; + @override + final String wireName = 'GAccountByPkData_accountByPk_identity_certReceived'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_identity_certReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + 'updatedOn', + serializers.serialize(object.updatedOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.issuer; + if (value != null) { + result + ..add('issuer') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_certReceived_issuer))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiver; + if (value != null) { + result + ..add('receiver') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_certReceived_receiver))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_identity_certReceived deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_certReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'issuer': + result.issuer.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_certReceived_issuer))! + as GAccountByPkData_accountByPk_identity_certReceived_issuer); + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiver': + result.receiver.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_certReceived_receiver))! + as GAccountByPkData_accountByPk_identity_certReceived_receiver); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'updatedOn': + result.updatedOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_certReceived_issuerSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_certReceived_issuer> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_certReceived_issuer, + _$GAccountByPkData_accountByPk_identity_certReceived_issuer + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_identity_certReceived_issuer'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_identity_certReceived_issuer object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_identity_certReceived_issuer deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_certReceived_issuerBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_certReceived_receiverSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_certReceived_receiver> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_certReceived_receiver, + _$GAccountByPkData_accountByPk_identity_certReceived_receiver + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_identity_certReceived_receiver'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_identity_certReceived_receiver object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_identity_certReceived_receiver deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_certReceived_receiverBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_certReceivedAggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_certReceivedAggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_certReceivedAggregate, + _$GAccountByPkData_accountByPk_identity_certReceivedAggregate + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_identity_certReceivedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_identity_certReceivedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_identity_certReceivedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_certReceivedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate))! + as GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate, + _$GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_linkedAccountSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_linkedAccount> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_linkedAccount, + _$GAccountByPkData_accountByPk_identity_linkedAccount + ]; + @override + final String wireName = 'GAccountByPkData_accountByPk_identity_linkedAccount'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_identity_linkedAccount object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountByPkData_accountByPk_identity_linkedAccount deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_linkedAccountBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_linkedAccountAggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_linkedAccountAggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_linkedAccountAggregate, + _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_identity_linkedAccountAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_identity_linkedAccountAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_identity_linkedAccountAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_linkedAccountAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate))! + as GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate, + _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_membershipHistorySerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_membershipHistory> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_membershipHistory, + _$GAccountByPkData_accountByPk_identity_membershipHistory + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_identity_membershipHistory'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_identity_membershipHistory object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.eventId; + if (value != null) { + result + ..add('eventId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.eventType; + if (value != null) { + result + ..add('eventType') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GEventTypeEnum))); + } + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_identity_membershipHistory deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_membershipHistoryBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'eventId': + result.eventId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'eventType': + result.eventType = serializers.deserialize(value, + specifiedType: const FullType(_i2.GEventTypeEnum)) + as _i2.GEventTypeEnum?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate, + _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_identity_membershipHistoryAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_membershipHistoryAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate))! + as GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate, + _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_ownerKeyChangeSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_ownerKeyChange> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_ownerKeyChange, + _$GAccountByPkData_accountByPk_identity_ownerKeyChange + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_identity_ownerKeyChange'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_identity_ownerKeyChange object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.nextId; + if (value != null) { + result + ..add('nextId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.previousId; + if (value != null) { + result + ..add('previousId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_identity_ownerKeyChange deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_ownerKeyChangeBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'nextId': + result.nextId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'previousId': + result.previousId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate, + _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate))! + as GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate, + _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_smithSerializer + implements + StructuredSerializer<GAccountByPkData_accountByPk_identity_smith> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_smith, + _$GAccountByPkData_accountByPk_identity_smith + ]; + @override + final String wireName = 'GAccountByPkData_accountByPk_identity_smith'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_identity_smith object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'forged', + serializers.serialize(object.forged, specifiedType: const FullType(int)), + 'index', + serializers.serialize(object.index, specifiedType: const FullType(int)), + 'smithCertIssued', + serializers.serialize(object.smithCertIssued, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GAccountByPkData_accountByPk_identity_smith_smithCertIssued) + ])), + 'smithCertReceived', + serializers.serialize(object.smithCertReceived, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GAccountByPkData_accountByPk_identity_smith_smithCertReceived) + ])), + ]; + Object? value; + value = object.lastChanged; + if (value != null) { + result + ..add('lastChanged') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.lastForged; + if (value != null) { + result + ..add('lastForged') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_identity_smith deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountByPkData_accountByPk_identity_smithBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'forged': + result.forged = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'index': + result.index = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'lastChanged': + result.lastChanged = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'lastForged': + result.lastForged = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'smithCertIssued': + result.smithCertIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GAccountByPkData_accountByPk_identity_smith_smithCertIssued) + ]))! as BuiltList<Object?>); + break; + case 'smithCertReceived': + result.smithCertReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GAccountByPkData_accountByPk_identity_smith_smithCertReceived) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_smith_smithCertIssuedSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_smith_smithCertIssued> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_smith_smithCertIssued, + _$GAccountByPkData_accountByPk_identity_smith_smithCertIssued + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_identity_smith_smithCertIssued'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_identity_smith_smithCertIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_identity_smith_smithCertIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_smith_smithCertIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_smith_smithCertReceivedSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_identity_smith_smithCertReceived> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_smith_smithCertReceived, + _$GAccountByPkData_accountByPk_identity_smith_smithCertReceived + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_identity_smith_smithCertReceived'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_identity_smith_smithCertReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_identity_smith_smithCertReceived deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_identity_smith_smithCertReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_identity_udHistorySerializer + implements + StructuredSerializer<GAccountByPkData_accountByPk_identity_udHistory> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_identity_udHistory, + _$GAccountByPkData_accountByPk_identity_udHistory + ]; + @override + final String wireName = 'GAccountByPkData_accountByPk_identity_udHistory'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_identity_udHistory object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'amount', + serializers.serialize(object.amount, specifiedType: const FullType(int)), + 'timestamp', + serializers.serialize(object.timestamp, + specifiedType: const FullType(_i2.Gtimestamptz)), + ]; + + return result; + } + + @override + GAccountByPkData_accountByPk_identity_udHistory deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountByPkData_accountByPk_identity_udHistoryBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'timestamp': + result.timestamp.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.Gtimestamptz))! + as _i2.Gtimestamptz); + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_linkedIdentitySerializer + implements + StructuredSerializer<GAccountByPkData_accountByPk_linkedIdentity> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_linkedIdentity, + _$GAccountByPkData_accountByPk_linkedIdentity + ]; + @override + final String wireName = 'GAccountByPkData_accountByPk_linkedIdentity'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_linkedIdentity object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_linkedIdentity deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountByPkData_accountByPk_linkedIdentityBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_removedIdentitiesSerializer + implements + StructuredSerializer<GAccountByPkData_accountByPk_removedIdentities> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_removedIdentities, + _$GAccountByPkData_accountByPk_removedIdentities + ]; + @override + final String wireName = 'GAccountByPkData_accountByPk_removedIdentities'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_removedIdentities object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_removedIdentities deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountByPkData_accountByPk_removedIdentitiesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_removedIdentitiesAggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_removedIdentitiesAggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_removedIdentitiesAggregate, + _$GAccountByPkData_accountByPk_removedIdentitiesAggregate + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_removedIdentitiesAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_removedIdentitiesAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_removedIdentitiesAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_removedIdentitiesAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate))! + as GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate, + _$GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_transfersIssuedSerializer + implements + StructuredSerializer<GAccountByPkData_accountByPk_transfersIssued> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_transfersIssued, + _$GAccountByPkData_accountByPk_transfersIssued + ]; + @override + final String wireName = 'GAccountByPkData_accountByPk_transfersIssued'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_transfersIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'timestamp', + serializers.serialize(object.timestamp, + specifiedType: const FullType(_i2.Gtimestamptz)), + 'amount', + serializers.serialize(object.amount, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.to; + if (value != null) { + result + ..add('to') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersIssued_to))); + } + value = object.from; + if (value != null) { + result + ..add('from') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersIssued_from))); + } + value = object.comment; + if (value != null) { + result + ..add('comment') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersIssued_comment))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_transfersIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountByPkData_accountByPk_transfersIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'timestamp': + result.timestamp.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.Gtimestamptz))! + as _i2.Gtimestamptz); + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'to': + result.to.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersIssued_to))! + as GAccountByPkData_accountByPk_transfersIssued_to); + break; + case 'from': + result.from.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersIssued_from))! + as GAccountByPkData_accountByPk_transfersIssued_from); + break; + case 'comment': + result.comment.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersIssued_comment))! + as GAccountByPkData_accountByPk_transfersIssued_comment); + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_transfersIssued_toSerializer + implements + StructuredSerializer<GAccountByPkData_accountByPk_transfersIssued_to> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_transfersIssued_to, + _$GAccountByPkData_accountByPk_transfersIssued_to + ]; + @override + final String wireName = 'GAccountByPkData_accountByPk_transfersIssued_to'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_transfersIssued_to object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountByPkData_accountByPk_transfersIssued_to deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountByPkData_accountByPk_transfersIssued_toBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_transfersIssued_fromSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_transfersIssued_from> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_transfersIssued_from, + _$GAccountByPkData_accountByPk_transfersIssued_from + ]; + @override + final String wireName = 'GAccountByPkData_accountByPk_transfersIssued_from'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_transfersIssued_from object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountByPkData_accountByPk_transfersIssued_from deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_transfersIssued_fromBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_transfersIssued_commentSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_transfersIssued_comment> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_transfersIssued_comment, + _$GAccountByPkData_accountByPk_transfersIssued_comment + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_transfersIssued_comment'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_transfersIssued_comment object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'remark', + serializers.serialize(object.remark, + specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountByPkData_accountByPk_transfersIssued_comment deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_transfersIssued_commentBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'remark': + result.remark = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_transfersIssuedAggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_transfersIssuedAggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_transfersIssuedAggregate, + _$GAccountByPkData_accountByPk_transfersIssuedAggregate + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_transfersIssuedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_transfersIssuedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_transfersIssuedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_transfersIssuedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate))! + as GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate, + _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.sum; + if (value != null) { + result + ..add('sum') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'sum': + result.sum.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum))! + as GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum); + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum, + _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.amount; + if (value != null) { + result + ..add('amount') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_transfersReceivedSerializer + implements + StructuredSerializer<GAccountByPkData_accountByPk_transfersReceived> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_transfersReceived, + _$GAccountByPkData_accountByPk_transfersReceived + ]; + @override + final String wireName = 'GAccountByPkData_accountByPk_transfersReceived'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_transfersReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'timestamp', + serializers.serialize(object.timestamp, + specifiedType: const FullType(_i2.Gtimestamptz)), + 'amount', + serializers.serialize(object.amount, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.to; + if (value != null) { + result + ..add('to') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersReceived_to))); + } + value = object.from; + if (value != null) { + result + ..add('from') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersReceived_from))); + } + value = object.comment; + if (value != null) { + result + ..add('comment') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersReceived_comment))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_transfersReceived deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountByPkData_accountByPk_transfersReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'timestamp': + result.timestamp.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.Gtimestamptz))! + as _i2.Gtimestamptz); + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'to': + result.to.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersReceived_to))! + as GAccountByPkData_accountByPk_transfersReceived_to); + break; + case 'from': + result.from.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersReceived_from))! + as GAccountByPkData_accountByPk_transfersReceived_from); + break; + case 'comment': + result.comment.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersReceived_comment))! + as GAccountByPkData_accountByPk_transfersReceived_comment); + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_transfersReceived_toSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_transfersReceived_to> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_transfersReceived_to, + _$GAccountByPkData_accountByPk_transfersReceived_to + ]; + @override + final String wireName = 'GAccountByPkData_accountByPk_transfersReceived_to'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_transfersReceived_to object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountByPkData_accountByPk_transfersReceived_to deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_transfersReceived_toBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_transfersReceived_fromSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_transfersReceived_from> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_transfersReceived_from, + _$GAccountByPkData_accountByPk_transfersReceived_from + ]; + @override + final String wireName = 'GAccountByPkData_accountByPk_transfersReceived_from'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_transfersReceived_from object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountByPkData_accountByPk_transfersReceived_from deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_transfersReceived_fromBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_transfersReceived_commentSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_transfersReceived_comment> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_transfersReceived_comment, + _$GAccountByPkData_accountByPk_transfersReceived_comment + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_transfersReceived_comment'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_transfersReceived_comment object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'remark', + serializers.serialize(object.remark, + specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountByPkData_accountByPk_transfersReceived_comment deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_transfersReceived_commentBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'remark': + result.remark = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_transfersReceivedAggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_transfersReceivedAggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_transfersReceivedAggregate, + _$GAccountByPkData_accountByPk_transfersReceivedAggregate + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_transfersReceivedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_transfersReceivedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_transfersReceivedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_transfersReceivedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate))! + as GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate, + _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.sum; + if (value != null) { + result + ..add('sum') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'sum': + result.sum.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum))! + as GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum); + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum, + _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.amount; + if (value != null) { + result + ..add('amount') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_wasIdentitySerializer + implements StructuredSerializer<GAccountByPkData_accountByPk_wasIdentity> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_wasIdentity, + _$GAccountByPkData_accountByPk_wasIdentity + ]; + @override + final String wireName = 'GAccountByPkData_accountByPk_wasIdentity'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountByPkData_accountByPk_wasIdentity object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.nextId; + if (value != null) { + result + ..add('nextId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.previousId; + if (value != null) { + result + ..add('previousId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_wasIdentity deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountByPkData_accountByPk_wasIdentityBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'nextId': + result.nextId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'previousId': + result.previousId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_wasIdentityAggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_wasIdentityAggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_wasIdentityAggregate, + _$GAccountByPkData_accountByPk_wasIdentityAggregate + ]; + @override + final String wireName = 'GAccountByPkData_accountByPk_wasIdentityAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_wasIdentityAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate))); + } + return result; + } + + @override + GAccountByPkData_accountByPk_wasIdentityAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_wasIdentityAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate))! + as GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate, + _$GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountBasicByPkDataSerializer + implements StructuredSerializer<GAccountBasicByPkData> { + @override + final Iterable<Type> types = const [ + GAccountBasicByPkData, + _$GAccountBasicByPkData + ]; + @override + final String wireName = 'GAccountBasicByPkData'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountBasicByPkData object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountByPk; + if (value != null) { + result + ..add('accountByPk') + ..add(serializers.serialize(value, + specifiedType: const FullType(GAccountBasicByPkData_accountByPk))); + } + return result; + } + + @override + GAccountBasicByPkData deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountBasicByPkDataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountByPk': + result.accountByPk.replace(serializers.deserialize(value, + specifiedType: + const FullType(GAccountBasicByPkData_accountByPk))! + as GAccountBasicByPkData_accountByPk); + break; + } + } + + return result.build(); + } +} + +class _$GAccountBasicByPkData_accountByPkSerializer + implements StructuredSerializer<GAccountBasicByPkData_accountByPk> { + @override + final Iterable<Type> types = const [ + GAccountBasicByPkData_accountByPk, + _$GAccountBasicByPkData_accountByPk + ]; + @override + final String wireName = 'GAccountBasicByPkData_accountByPk'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountBasicByPkData_accountByPk object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + ]; + Object? value; + value = object.identity; + if (value != null) { + result + ..add('identity') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GAccountBasicByPkData_accountByPk_identity))); + } + return result; + } + + @override + GAccountBasicByPkData_accountByPk deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountBasicByPkData_accountByPkBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'identity': + result.identity.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountBasicByPkData_accountByPk_identity))! + as GAccountBasicByPkData_accountByPk_identity); + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$GAccountBasicByPkData_accountByPk_identitySerializer + implements + StructuredSerializer<GAccountBasicByPkData_accountByPk_identity> { + @override + final Iterable<Type> types = const [ + GAccountBasicByPkData_accountByPk_identity, + _$GAccountBasicByPkData_accountByPk_identity + ]; + @override + final String wireName = 'GAccountBasicByPkData_accountByPk_identity'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountBasicByPkData_accountByPk_identity object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountBasicByPkData_accountByPk_identity deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountBasicByPkData_accountByPk_identityBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkDataSerializer + implements StructuredSerializer<GAccountsByPkData> { + @override + final Iterable<Type> types = const [GAccountsByPkData, _$GAccountsByPkData]; + @override + final String wireName = 'GAccountsByPkData'; + + @override + Iterable<Object?> serialize(Serializers serializers, GAccountsByPkData object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'account', + serializers.serialize(object.account, + specifiedType: const FullType( + BuiltList, const [const FullType(GAccountsByPkData_account)])), + ]; + + return result; + } + + @override + GAccountsByPkData deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountsByPkDataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'account': + result.account.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_accountSerializer + implements StructuredSerializer<GAccountsByPkData_account> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account, + _$GAccountsByPkData_account + ]; + @override + final String wireName = 'GAccountsByPkData_account'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountsByPkData_account object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'commentsIssued', + serializers.serialize(object.commentsIssued, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_commentsIssued) + ])), + 'commentsIssuedAggregate', + serializers.serialize(object.commentsIssuedAggregate, + specifiedType: const FullType( + GAccountsByPkData_account_commentsIssuedAggregate)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + 'removedIdentities', + serializers.serialize(object.removedIdentities, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_removedIdentities) + ])), + 'removedIdentitiesAggregate', + serializers.serialize(object.removedIdentitiesAggregate, + specifiedType: const FullType( + GAccountsByPkData_account_removedIdentitiesAggregate)), + 'transfersIssued', + serializers.serialize(object.transfersIssued, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_transfersIssued) + ])), + 'transfersIssuedAggregate', + serializers.serialize(object.transfersIssuedAggregate, + specifiedType: const FullType( + GAccountsByPkData_account_transfersIssuedAggregate)), + 'transfersReceived', + serializers.serialize(object.transfersReceived, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_transfersReceived) + ])), + 'transfersReceivedAggregate', + serializers.serialize(object.transfersReceivedAggregate, + specifiedType: const FullType( + GAccountsByPkData_account_transfersReceivedAggregate)), + 'wasIdentity', + serializers.serialize(object.wasIdentity, + specifiedType: const FullType(BuiltList, + const [const FullType(GAccountsByPkData_account_wasIdentity)])), + 'wasIdentityAggregate', + serializers.serialize(object.wasIdentityAggregate, + specifiedType: + const FullType(GAccountsByPkData_account_wasIdentityAggregate)), + ]; + Object? value; + value = object.identity; + if (value != null) { + result + ..add('identity') + ..add(serializers.serialize(value, + specifiedType: const FullType(GAccountsByPkData_account_identity))); + } + value = object.linkedIdentity; + if (value != null) { + result + ..add('linkedIdentity') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GAccountsByPkData_account_linkedIdentity))); + } + return result; + } + + @override + GAccountsByPkData_account deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountsByPkData_accountBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'commentsIssued': + result.commentsIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_commentsIssued) + ]))! as BuiltList<Object?>); + break; + case 'commentsIssuedAggregate': + result.commentsIssuedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_commentsIssuedAggregate))! + as GAccountsByPkData_account_commentsIssuedAggregate); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'identity': + result.identity.replace(serializers.deserialize(value, + specifiedType: + const FullType(GAccountsByPkData_account_identity))! + as GAccountsByPkData_account_identity); + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'linkedIdentity': + result.linkedIdentity.replace(serializers.deserialize(value, + specifiedType: + const FullType(GAccountsByPkData_account_linkedIdentity))! + as GAccountsByPkData_account_linkedIdentity); + break; + case 'removedIdentities': + result.removedIdentities.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_removedIdentities) + ]))! as BuiltList<Object?>); + break; + case 'removedIdentitiesAggregate': + result.removedIdentitiesAggregate.replace(serializers.deserialize( + value, + specifiedType: const FullType( + GAccountsByPkData_account_removedIdentitiesAggregate))! + as GAccountsByPkData_account_removedIdentitiesAggregate); + break; + case 'transfersIssued': + result.transfersIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_transfersIssued) + ]))! as BuiltList<Object?>); + break; + case 'transfersIssuedAggregate': + result.transfersIssuedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersIssuedAggregate))! + as GAccountsByPkData_account_transfersIssuedAggregate); + break; + case 'transfersReceived': + result.transfersReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_transfersReceived) + ]))! as BuiltList<Object?>); + break; + case 'transfersReceivedAggregate': + result.transfersReceivedAggregate.replace(serializers.deserialize( + value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersReceivedAggregate))! + as GAccountsByPkData_account_transfersReceivedAggregate); + break; + case 'wasIdentity': + result.wasIdentity.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_wasIdentity) + ]))! as BuiltList<Object?>); + break; + case 'wasIdentityAggregate': + result.wasIdentityAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_wasIdentityAggregate))! + as GAccountsByPkData_account_wasIdentityAggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_commentsIssuedSerializer + implements StructuredSerializer<GAccountsByPkData_account_commentsIssued> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_commentsIssued, + _$GAccountsByPkData_account_commentsIssued + ]; + @override + final String wireName = 'GAccountsByPkData_account_commentsIssued'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountsByPkData_account_commentsIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'hash', + serializers.serialize(object.hash, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'remark', + serializers.serialize(object.remark, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.authorId; + if (value != null) { + result + ..add('authorId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.eventId; + if (value != null) { + result + ..add('eventId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.type; + if (value != null) { + result + ..add('type') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GCommentTypeEnum))); + } + return result; + } + + @override + GAccountsByPkData_account_commentsIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountsByPkData_account_commentsIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'authorId': + result.authorId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'eventId': + result.eventId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'hash': + result.hash = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'remark': + result.remark = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'type': + result.type = serializers.deserialize(value, + specifiedType: const FullType(_i2.GCommentTypeEnum)) + as _i2.GCommentTypeEnum?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_commentsIssuedAggregateSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_commentsIssuedAggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_commentsIssuedAggregate, + _$GAccountsByPkData_account_commentsIssuedAggregate + ]; + @override + final String wireName = 'GAccountsByPkData_account_commentsIssuedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_commentsIssuedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_commentsIssuedAggregate_aggregate))); + } + return result; + } + + @override + GAccountsByPkData_account_commentsIssuedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_commentsIssuedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_commentsIssuedAggregate_aggregate))! + as GAccountsByPkData_account_commentsIssuedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_commentsIssuedAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_commentsIssuedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_commentsIssuedAggregate_aggregate, + _$GAccountsByPkData_account_commentsIssuedAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountsByPkData_account_commentsIssuedAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_commentsIssuedAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountsByPkData_account_commentsIssuedAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_commentsIssuedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identitySerializer + implements StructuredSerializer<GAccountsByPkData_account_identity> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity, + _$GAccountsByPkData_account_identity + ]; + @override + final String wireName = 'GAccountsByPkData_account_identity'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountsByPkData_account_identity object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'certIssued', + serializers.serialize(object.certIssued, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_identity_certIssued) + ])), + 'certIssuedAggregate', + serializers.serialize(object.certIssuedAggregate, + specifiedType: const FullType( + GAccountsByPkData_account_identity_certIssuedAggregate)), + 'certReceived', + serializers.serialize(object.certReceived, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_identity_certReceived) + ])), + 'certReceivedAggregate', + serializers.serialize(object.certReceivedAggregate, + specifiedType: const FullType( + GAccountsByPkData_account_identity_certReceivedAggregate)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'index', + serializers.serialize(object.index, specifiedType: const FullType(int)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'lastChangeOn', + serializers.serialize(object.lastChangeOn, + specifiedType: const FullType(int)), + 'linkedAccount', + serializers.serialize(object.linkedAccount, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_identity_linkedAccount) + ])), + 'linkedAccountAggregate', + serializers.serialize(object.linkedAccountAggregate, + specifiedType: const FullType( + GAccountsByPkData_account_identity_linkedAccountAggregate)), + 'membershipHistory', + serializers.serialize(object.membershipHistory, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_identity_membershipHistory) + ])), + 'membershipHistoryAggregate', + serializers.serialize(object.membershipHistoryAggregate, + specifiedType: const FullType( + GAccountsByPkData_account_identity_membershipHistoryAggregate)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'ownerKeyChange', + serializers.serialize(object.ownerKeyChange, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_identity_ownerKeyChange) + ])), + 'ownerKeyChangeAggregate', + serializers.serialize(object.ownerKeyChangeAggregate, + specifiedType: const FullType( + GAccountsByPkData_account_identity_ownerKeyChangeAggregate)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.accountRemovedId; + if (value != null) { + result + ..add('accountRemovedId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.createdInId; + if (value != null) { + result + ..add('createdInId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + value = object.smith; + if (value != null) { + result + ..add('smith') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GAccountsByPkData_account_identity_smith))); + } + value = object.udHistory; + if (value != null) { + result + ..add('udHistory') + ..add(serializers.serialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_identity_udHistory) + ]))); + } + return result; + } + + @override + GAccountsByPkData_account_identity deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountsByPkData_account_identityBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'accountRemovedId': + result.accountRemovedId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'certIssued': + result.certIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_identity_certIssued) + ]))! as BuiltList<Object?>); + break; + case 'certIssuedAggregate': + result.certIssuedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_certIssuedAggregate))! + as GAccountsByPkData_account_identity_certIssuedAggregate); + break; + case 'certReceived': + result.certReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_identity_certReceived) + ]))! as BuiltList<Object?>); + break; + case 'certReceivedAggregate': + result.certReceivedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_certReceivedAggregate))! + as GAccountsByPkData_account_identity_certReceivedAggregate); + break; + case 'createdInId': + result.createdInId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'index': + result.index = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'lastChangeOn': + result.lastChangeOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'linkedAccount': + result.linkedAccount.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_identity_linkedAccount) + ]))! as BuiltList<Object?>); + break; + case 'linkedAccountAggregate': + result.linkedAccountAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_linkedAccountAggregate))! + as GAccountsByPkData_account_identity_linkedAccountAggregate); + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'membershipHistory': + result.membershipHistory.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GAccountsByPkData_account_identity_membershipHistory) + ]))! as BuiltList<Object?>); + break; + case 'membershipHistoryAggregate': + result.membershipHistoryAggregate.replace(serializers.deserialize( + value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_membershipHistoryAggregate))! + as GAccountsByPkData_account_identity_membershipHistoryAggregate); + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'ownerKeyChange': + result.ownerKeyChange.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GAccountsByPkData_account_identity_ownerKeyChange) + ]))! as BuiltList<Object?>); + break; + case 'ownerKeyChangeAggregate': + result.ownerKeyChangeAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_ownerKeyChangeAggregate))! + as GAccountsByPkData_account_identity_ownerKeyChangeAggregate); + break; + case 'smith': + result.smith.replace(serializers.deserialize(value, + specifiedType: + const FullType(GAccountsByPkData_account_identity_smith))! + as GAccountsByPkData_account_identity_smith); + break; + case 'udHistory': + result.udHistory.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_identity_udHistory) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_certIssuedSerializer + implements + StructuredSerializer<GAccountsByPkData_account_identity_certIssued> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_certIssued, + _$GAccountsByPkData_account_identity_certIssued + ]; + @override + final String wireName = 'GAccountsByPkData_account_identity_certIssued'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_identity_certIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + 'updatedOn', + serializers.serialize(object.updatedOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.issuer; + if (value != null) { + result + ..add('issuer') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_certIssued_issuer))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiver; + if (value != null) { + result + ..add('receiver') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_certIssued_receiver))); + } + return result; + } + + @override + GAccountsByPkData_account_identity_certIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountsByPkData_account_identity_certIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'issuer': + result.issuer.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_certIssued_issuer))! + as GAccountsByPkData_account_identity_certIssued_issuer); + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiver': + result.receiver.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_certIssued_receiver))! + as GAccountsByPkData_account_identity_certIssued_receiver); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'updatedOn': + result.updatedOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_certIssued_issuerSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_identity_certIssued_issuer> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_certIssued_issuer, + _$GAccountsByPkData_account_identity_certIssued_issuer + ]; + @override + final String wireName = + 'GAccountsByPkData_account_identity_certIssued_issuer'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_identity_certIssued_issuer object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountsByPkData_account_identity_certIssued_issuer deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_identity_certIssued_issuerBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_certIssued_receiverSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_identity_certIssued_receiver> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_certIssued_receiver, + _$GAccountsByPkData_account_identity_certIssued_receiver + ]; + @override + final String wireName = + 'GAccountsByPkData_account_identity_certIssued_receiver'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_identity_certIssued_receiver object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountsByPkData_account_identity_certIssued_receiver deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_identity_certIssued_receiverBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_certIssuedAggregateSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_identity_certIssuedAggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_certIssuedAggregate, + _$GAccountsByPkData_account_identity_certIssuedAggregate + ]; + @override + final String wireName = + 'GAccountsByPkData_account_identity_certIssuedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_identity_certIssuedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_certIssuedAggregate_aggregate))); + } + return result; + } + + @override + GAccountsByPkData_account_identity_certIssuedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_identity_certIssuedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_certIssuedAggregate_aggregate))! + as GAccountsByPkData_account_identity_certIssuedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_certIssuedAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_identity_certIssuedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_certIssuedAggregate_aggregate, + _$GAccountsByPkData_account_identity_certIssuedAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountsByPkData_account_identity_certIssuedAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_identity_certIssuedAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountsByPkData_account_identity_certIssuedAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_identity_certIssuedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_certReceivedSerializer + implements + StructuredSerializer<GAccountsByPkData_account_identity_certReceived> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_certReceived, + _$GAccountsByPkData_account_identity_certReceived + ]; + @override + final String wireName = 'GAccountsByPkData_account_identity_certReceived'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_identity_certReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + 'updatedOn', + serializers.serialize(object.updatedOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.issuer; + if (value != null) { + result + ..add('issuer') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_certReceived_issuer))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiver; + if (value != null) { + result + ..add('receiver') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_certReceived_receiver))); + } + return result; + } + + @override + GAccountsByPkData_account_identity_certReceived deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountsByPkData_account_identity_certReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'issuer': + result.issuer.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_certReceived_issuer))! + as GAccountsByPkData_account_identity_certReceived_issuer); + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiver': + result.receiver.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_certReceived_receiver))! + as GAccountsByPkData_account_identity_certReceived_receiver); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'updatedOn': + result.updatedOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_certReceived_issuerSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_identity_certReceived_issuer> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_certReceived_issuer, + _$GAccountsByPkData_account_identity_certReceived_issuer + ]; + @override + final String wireName = + 'GAccountsByPkData_account_identity_certReceived_issuer'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_identity_certReceived_issuer object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountsByPkData_account_identity_certReceived_issuer deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_identity_certReceived_issuerBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_certReceived_receiverSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_identity_certReceived_receiver> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_certReceived_receiver, + _$GAccountsByPkData_account_identity_certReceived_receiver + ]; + @override + final String wireName = + 'GAccountsByPkData_account_identity_certReceived_receiver'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_identity_certReceived_receiver object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountsByPkData_account_identity_certReceived_receiver deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_identity_certReceived_receiverBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_certReceivedAggregateSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_identity_certReceivedAggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_certReceivedAggregate, + _$GAccountsByPkData_account_identity_certReceivedAggregate + ]; + @override + final String wireName = + 'GAccountsByPkData_account_identity_certReceivedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_identity_certReceivedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_certReceivedAggregate_aggregate))); + } + return result; + } + + @override + GAccountsByPkData_account_identity_certReceivedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_identity_certReceivedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_certReceivedAggregate_aggregate))! + as GAccountsByPkData_account_identity_certReceivedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_certReceivedAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_identity_certReceivedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_certReceivedAggregate_aggregate, + _$GAccountsByPkData_account_identity_certReceivedAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountsByPkData_account_identity_certReceivedAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_identity_certReceivedAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountsByPkData_account_identity_certReceivedAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_identity_certReceivedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_linkedAccountSerializer + implements + StructuredSerializer<GAccountsByPkData_account_identity_linkedAccount> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_linkedAccount, + _$GAccountsByPkData_account_identity_linkedAccount + ]; + @override + final String wireName = 'GAccountsByPkData_account_identity_linkedAccount'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_identity_linkedAccount object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountsByPkData_account_identity_linkedAccount deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_identity_linkedAccountBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_linkedAccountAggregateSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_identity_linkedAccountAggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_linkedAccountAggregate, + _$GAccountsByPkData_account_identity_linkedAccountAggregate + ]; + @override + final String wireName = + 'GAccountsByPkData_account_identity_linkedAccountAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_identity_linkedAccountAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate))); + } + return result; + } + + @override + GAccountsByPkData_account_identity_linkedAccountAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_identity_linkedAccountAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate))! + as GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate, + _$GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_membershipHistorySerializer + implements + StructuredSerializer< + GAccountsByPkData_account_identity_membershipHistory> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_membershipHistory, + _$GAccountsByPkData_account_identity_membershipHistory + ]; + @override + final String wireName = + 'GAccountsByPkData_account_identity_membershipHistory'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_identity_membershipHistory object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.eventId; + if (value != null) { + result + ..add('eventId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.eventType; + if (value != null) { + result + ..add('eventType') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GEventTypeEnum))); + } + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GAccountsByPkData_account_identity_membershipHistory deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_identity_membershipHistoryBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'eventId': + result.eventId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'eventType': + result.eventType = serializers.deserialize(value, + specifiedType: const FullType(_i2.GEventTypeEnum)) + as _i2.GEventTypeEnum?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_membershipHistoryAggregateSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_identity_membershipHistoryAggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_membershipHistoryAggregate, + _$GAccountsByPkData_account_identity_membershipHistoryAggregate + ]; + @override + final String wireName = + 'GAccountsByPkData_account_identity_membershipHistoryAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_identity_membershipHistoryAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate))); + } + return result; + } + + @override + GAccountsByPkData_account_identity_membershipHistoryAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_identity_membershipHistoryAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate))! + as GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate, + _$GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_ownerKeyChangeSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_identity_ownerKeyChange> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_ownerKeyChange, + _$GAccountsByPkData_account_identity_ownerKeyChange + ]; + @override + final String wireName = 'GAccountsByPkData_account_identity_ownerKeyChange'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_identity_ownerKeyChange object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.nextId; + if (value != null) { + result + ..add('nextId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.previousId; + if (value != null) { + result + ..add('previousId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GAccountsByPkData_account_identity_ownerKeyChange deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_identity_ownerKeyChangeBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'nextId': + result.nextId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'previousId': + result.previousId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_ownerKeyChangeAggregateSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_identity_ownerKeyChangeAggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_ownerKeyChangeAggregate, + _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate + ]; + @override + final String wireName = + 'GAccountsByPkData_account_identity_ownerKeyChangeAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_identity_ownerKeyChangeAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate))); + } + return result; + } + + @override + GAccountsByPkData_account_identity_ownerKeyChangeAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_identity_ownerKeyChangeAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate))! + as GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate, + _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_smithSerializer + implements StructuredSerializer<GAccountsByPkData_account_identity_smith> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_smith, + _$GAccountsByPkData_account_identity_smith + ]; + @override + final String wireName = 'GAccountsByPkData_account_identity_smith'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountsByPkData_account_identity_smith object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'forged', + serializers.serialize(object.forged, specifiedType: const FullType(int)), + 'index', + serializers.serialize(object.index, specifiedType: const FullType(int)), + 'smithCertIssued', + serializers.serialize(object.smithCertIssued, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GAccountsByPkData_account_identity_smith_smithCertIssued) + ])), + 'smithCertReceived', + serializers.serialize(object.smithCertReceived, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GAccountsByPkData_account_identity_smith_smithCertReceived) + ])), + ]; + Object? value; + value = object.lastChanged; + if (value != null) { + result + ..add('lastChanged') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.lastForged; + if (value != null) { + result + ..add('lastForged') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GAccountsByPkData_account_identity_smith deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountsByPkData_account_identity_smithBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'forged': + result.forged = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'index': + result.index = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'lastChanged': + result.lastChanged = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'lastForged': + result.lastForged = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'smithCertIssued': + result.smithCertIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GAccountsByPkData_account_identity_smith_smithCertIssued) + ]))! as BuiltList<Object?>); + break; + case 'smithCertReceived': + result.smithCertReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GAccountsByPkData_account_identity_smith_smithCertReceived) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_smith_smithCertIssuedSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_identity_smith_smithCertIssued> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_smith_smithCertIssued, + _$GAccountsByPkData_account_identity_smith_smithCertIssued + ]; + @override + final String wireName = + 'GAccountsByPkData_account_identity_smith_smithCertIssued'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_identity_smith_smithCertIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GAccountsByPkData_account_identity_smith_smithCertIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_identity_smith_smithCertIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_smith_smithCertReceivedSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_identity_smith_smithCertReceived> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_smith_smithCertReceived, + _$GAccountsByPkData_account_identity_smith_smithCertReceived + ]; + @override + final String wireName = + 'GAccountsByPkData_account_identity_smith_smithCertReceived'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_identity_smith_smithCertReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GAccountsByPkData_account_identity_smith_smithCertReceived deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_identity_smith_smithCertReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_identity_udHistorySerializer + implements + StructuredSerializer<GAccountsByPkData_account_identity_udHistory> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_identity_udHistory, + _$GAccountsByPkData_account_identity_udHistory + ]; + @override + final String wireName = 'GAccountsByPkData_account_identity_udHistory'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_identity_udHistory object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'amount', + serializers.serialize(object.amount, specifiedType: const FullType(int)), + 'timestamp', + serializers.serialize(object.timestamp, + specifiedType: const FullType(_i2.Gtimestamptz)), + ]; + + return result; + } + + @override + GAccountsByPkData_account_identity_udHistory deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountsByPkData_account_identity_udHistoryBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'timestamp': + result.timestamp.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.Gtimestamptz))! + as _i2.Gtimestamptz); + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_linkedIdentitySerializer + implements StructuredSerializer<GAccountsByPkData_account_linkedIdentity> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_linkedIdentity, + _$GAccountsByPkData_account_linkedIdentity + ]; + @override + final String wireName = 'GAccountsByPkData_account_linkedIdentity'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountsByPkData_account_linkedIdentity object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountsByPkData_account_linkedIdentity deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountsByPkData_account_linkedIdentityBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_removedIdentitiesSerializer + implements + StructuredSerializer<GAccountsByPkData_account_removedIdentities> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_removedIdentities, + _$GAccountsByPkData_account_removedIdentities + ]; + @override + final String wireName = 'GAccountsByPkData_account_removedIdentities'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_removedIdentities object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountsByPkData_account_removedIdentities deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountsByPkData_account_removedIdentitiesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_removedIdentitiesAggregateSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_removedIdentitiesAggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_removedIdentitiesAggregate, + _$GAccountsByPkData_account_removedIdentitiesAggregate + ]; + @override + final String wireName = + 'GAccountsByPkData_account_removedIdentitiesAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_removedIdentitiesAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_removedIdentitiesAggregate_aggregate))); + } + return result; + } + + @override + GAccountsByPkData_account_removedIdentitiesAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_removedIdentitiesAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_removedIdentitiesAggregate_aggregate))! + as GAccountsByPkData_account_removedIdentitiesAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_removedIdentitiesAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_removedIdentitiesAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_removedIdentitiesAggregate_aggregate, + _$GAccountsByPkData_account_removedIdentitiesAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountsByPkData_account_removedIdentitiesAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_removedIdentitiesAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountsByPkData_account_removedIdentitiesAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_removedIdentitiesAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_transfersIssuedSerializer + implements StructuredSerializer<GAccountsByPkData_account_transfersIssued> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_transfersIssued, + _$GAccountsByPkData_account_transfersIssued + ]; + @override + final String wireName = 'GAccountsByPkData_account_transfersIssued'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountsByPkData_account_transfersIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'timestamp', + serializers.serialize(object.timestamp, + specifiedType: const FullType(_i2.Gtimestamptz)), + 'amount', + serializers.serialize(object.amount, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.to; + if (value != null) { + result + ..add('to') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GAccountsByPkData_account_transfersIssued_to))); + } + value = object.from; + if (value != null) { + result + ..add('from') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersIssued_from))); + } + value = object.comment; + if (value != null) { + result + ..add('comment') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersIssued_comment))); + } + return result; + } + + @override + GAccountsByPkData_account_transfersIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountsByPkData_account_transfersIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'timestamp': + result.timestamp.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.Gtimestamptz))! + as _i2.Gtimestamptz); + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'to': + result.to.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersIssued_to))! + as GAccountsByPkData_account_transfersIssued_to); + break; + case 'from': + result.from.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersIssued_from))! + as GAccountsByPkData_account_transfersIssued_from); + break; + case 'comment': + result.comment.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersIssued_comment))! + as GAccountsByPkData_account_transfersIssued_comment); + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_transfersIssued_toSerializer + implements + StructuredSerializer<GAccountsByPkData_account_transfersIssued_to> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_transfersIssued_to, + _$GAccountsByPkData_account_transfersIssued_to + ]; + @override + final String wireName = 'GAccountsByPkData_account_transfersIssued_to'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_transfersIssued_to object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountsByPkData_account_transfersIssued_to deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountsByPkData_account_transfersIssued_toBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_transfersIssued_fromSerializer + implements + StructuredSerializer<GAccountsByPkData_account_transfersIssued_from> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_transfersIssued_from, + _$GAccountsByPkData_account_transfersIssued_from + ]; + @override + final String wireName = 'GAccountsByPkData_account_transfersIssued_from'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_transfersIssued_from object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountsByPkData_account_transfersIssued_from deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountsByPkData_account_transfersIssued_fromBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_transfersIssued_commentSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_transfersIssued_comment> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_transfersIssued_comment, + _$GAccountsByPkData_account_transfersIssued_comment + ]; + @override + final String wireName = 'GAccountsByPkData_account_transfersIssued_comment'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_transfersIssued_comment object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'remark', + serializers.serialize(object.remark, + specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountsByPkData_account_transfersIssued_comment deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_transfersIssued_commentBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'remark': + result.remark = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_transfersIssuedAggregateSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_transfersIssuedAggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_transfersIssuedAggregate, + _$GAccountsByPkData_account_transfersIssuedAggregate + ]; + @override + final String wireName = 'GAccountsByPkData_account_transfersIssuedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_transfersIssuedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersIssuedAggregate_aggregate))); + } + return result; + } + + @override + GAccountsByPkData_account_transfersIssuedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_transfersIssuedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersIssuedAggregate_aggregate))! + as GAccountsByPkData_account_transfersIssuedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_transfersIssuedAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_transfersIssuedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_transfersIssuedAggregate_aggregate, + _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountsByPkData_account_transfersIssuedAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_transfersIssuedAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.sum; + if (value != null) { + result + ..add('sum') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum))); + } + return result; + } + + @override + GAccountsByPkData_account_transfersIssuedAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_transfersIssuedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'sum': + result.sum.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum))! + as GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum); + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum, + _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum + ]; + @override + final String wireName = + 'GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.amount; + if (value != null) { + result + ..add('amount') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_transfersReceivedSerializer + implements + StructuredSerializer<GAccountsByPkData_account_transfersReceived> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_transfersReceived, + _$GAccountsByPkData_account_transfersReceived + ]; + @override + final String wireName = 'GAccountsByPkData_account_transfersReceived'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_transfersReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'timestamp', + serializers.serialize(object.timestamp, + specifiedType: const FullType(_i2.Gtimestamptz)), + 'amount', + serializers.serialize(object.amount, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.to; + if (value != null) { + result + ..add('to') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersReceived_to))); + } + value = object.from; + if (value != null) { + result + ..add('from') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersReceived_from))); + } + value = object.comment; + if (value != null) { + result + ..add('comment') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersReceived_comment))); + } + return result; + } + + @override + GAccountsByPkData_account_transfersReceived deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountsByPkData_account_transfersReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'timestamp': + result.timestamp.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.Gtimestamptz))! + as _i2.Gtimestamptz); + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'to': + result.to.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersReceived_to))! + as GAccountsByPkData_account_transfersReceived_to); + break; + case 'from': + result.from.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersReceived_from))! + as GAccountsByPkData_account_transfersReceived_from); + break; + case 'comment': + result.comment.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersReceived_comment))! + as GAccountsByPkData_account_transfersReceived_comment); + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_transfersReceived_toSerializer + implements + StructuredSerializer<GAccountsByPkData_account_transfersReceived_to> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_transfersReceived_to, + _$GAccountsByPkData_account_transfersReceived_to + ]; + @override + final String wireName = 'GAccountsByPkData_account_transfersReceived_to'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_transfersReceived_to object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountsByPkData_account_transfersReceived_to deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountsByPkData_account_transfersReceived_toBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_transfersReceived_fromSerializer + implements + StructuredSerializer<GAccountsByPkData_account_transfersReceived_from> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_transfersReceived_from, + _$GAccountsByPkData_account_transfersReceived_from + ]; + @override + final String wireName = 'GAccountsByPkData_account_transfersReceived_from'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_transfersReceived_from object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountsByPkData_account_transfersReceived_from deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_transfersReceived_fromBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_transfersReceived_commentSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_transfersReceived_comment> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_transfersReceived_comment, + _$GAccountsByPkData_account_transfersReceived_comment + ]; + @override + final String wireName = 'GAccountsByPkData_account_transfersReceived_comment'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_transfersReceived_comment object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'remark', + serializers.serialize(object.remark, + specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountsByPkData_account_transfersReceived_comment deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_transfersReceived_commentBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'remark': + result.remark = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_transfersReceivedAggregateSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_transfersReceivedAggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_transfersReceivedAggregate, + _$GAccountsByPkData_account_transfersReceivedAggregate + ]; + @override + final String wireName = + 'GAccountsByPkData_account_transfersReceivedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_transfersReceivedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersReceivedAggregate_aggregate))); + } + return result; + } + + @override + GAccountsByPkData_account_transfersReceivedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_transfersReceivedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersReceivedAggregate_aggregate))! + as GAccountsByPkData_account_transfersReceivedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_transfersReceivedAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_transfersReceivedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_transfersReceivedAggregate_aggregate, + _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountsByPkData_account_transfersReceivedAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_transfersReceivedAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.sum; + if (value != null) { + result + ..add('sum') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum))); + } + return result; + } + + @override + GAccountsByPkData_account_transfersReceivedAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_transfersReceivedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'sum': + result.sum.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum))! + as GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum); + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum, + _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum + ]; + @override + final String wireName = + 'GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.amount; + if (value != null) { + result + ..add('amount') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_wasIdentitySerializer + implements StructuredSerializer<GAccountsByPkData_account_wasIdentity> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_wasIdentity, + _$GAccountsByPkData_account_wasIdentity + ]; + @override + final String wireName = 'GAccountsByPkData_account_wasIdentity'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountsByPkData_account_wasIdentity object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.nextId; + if (value != null) { + result + ..add('nextId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.previousId; + if (value != null) { + result + ..add('previousId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GAccountsByPkData_account_wasIdentity deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountsByPkData_account_wasIdentityBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'nextId': + result.nextId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'previousId': + result.previousId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_wasIdentityAggregateSerializer + implements + StructuredSerializer<GAccountsByPkData_account_wasIdentityAggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_wasIdentityAggregate, + _$GAccountsByPkData_account_wasIdentityAggregate + ]; + @override + final String wireName = 'GAccountsByPkData_account_wasIdentityAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_wasIdentityAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_wasIdentityAggregate_aggregate))); + } + return result; + } + + @override + GAccountsByPkData_account_wasIdentityAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountsByPkData_account_wasIdentityAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountsByPkData_account_wasIdentityAggregate_aggregate))! + as GAccountsByPkData_account_wasIdentityAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkData_account_wasIdentityAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountsByPkData_account_wasIdentityAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountsByPkData_account_wasIdentityAggregate_aggregate, + _$GAccountsByPkData_account_wasIdentityAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountsByPkData_account_wasIdentityAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountsByPkData_account_wasIdentityAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountsByPkData_account_wasIdentityAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountsByPkData_account_wasIdentityAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GLastBlockDataSerializer + implements StructuredSerializer<GLastBlockData> { + @override + final Iterable<Type> types = const [GLastBlockData, _$GLastBlockData]; + @override + final String wireName = 'GLastBlockData'; + + @override + Iterable<Object?> serialize(Serializers serializers, GLastBlockData object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'block', + serializers.serialize(object.block, + specifiedType: const FullType( + BuiltList, const [const FullType(GLastBlockData_block)])), + ]; + + return result; + } + + @override + GLastBlockData deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GLastBlockDataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'block': + result.block.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(GLastBlockData_block)]))! + as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GLastBlockData_blockSerializer + implements StructuredSerializer<GLastBlockData_block> { + @override + final Iterable<Type> types = const [ + GLastBlockData_block, + _$GLastBlockData_block + ]; + @override + final String wireName = 'GLastBlockData_block'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GLastBlockData_block object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'height', + serializers.serialize(object.height, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GLastBlockData_block deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GLastBlockData_blockBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'height': + result.height = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceDataSerializer + implements StructuredSerializer<GGetHistoryAndBalanceData> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData, + _$GGetHistoryAndBalanceData + ]; + @override + final String wireName = 'GGetHistoryAndBalanceData'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GGetHistoryAndBalanceData object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'account', + serializers.serialize(object.account, + specifiedType: const FullType(BuiltList, + const [const FullType(GGetHistoryAndBalanceData_account)])), + ]; + + return result; + } + + @override + GGetHistoryAndBalanceData deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GGetHistoryAndBalanceDataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'account': + result.account.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GGetHistoryAndBalanceData_account) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_accountSerializer + implements StructuredSerializer<GGetHistoryAndBalanceData_account> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account, + _$GGetHistoryAndBalanceData_account + ]; + @override + final String wireName = 'GGetHistoryAndBalanceData_account'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GGetHistoryAndBalanceData_account object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'commentsIssued', + serializers.serialize(object.commentsIssued, + specifiedType: const FullType(BuiltList, const [ + const FullType(GGetHistoryAndBalanceData_account_commentsIssued) + ])), + 'commentsIssuedAggregate', + serializers.serialize(object.commentsIssuedAggregate, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_commentsIssuedAggregate)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + 'removedIdentities', + serializers.serialize(object.removedIdentities, + specifiedType: const FullType(BuiltList, const [ + const FullType(GGetHistoryAndBalanceData_account_removedIdentities) + ])), + 'removedIdentitiesAggregate', + serializers.serialize(object.removedIdentitiesAggregate, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate)), + 'transfersIssued', + serializers.serialize(object.transfersIssued, + specifiedType: const FullType(BuiltList, const [ + const FullType(GGetHistoryAndBalanceData_account_transfersIssued) + ])), + 'transfersIssuedAggregate', + serializers.serialize(object.transfersIssuedAggregate, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate)), + 'transfersReceived', + serializers.serialize(object.transfersReceived, + specifiedType: const FullType(BuiltList, const [ + const FullType(GGetHistoryAndBalanceData_account_transfersReceived) + ])), + 'transfersReceivedAggregate', + serializers.serialize(object.transfersReceivedAggregate, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate)), + 'wasIdentity', + serializers.serialize(object.wasIdentity, + specifiedType: const FullType(BuiltList, const [ + const FullType(GGetHistoryAndBalanceData_account_wasIdentity) + ])), + 'wasIdentityAggregate', + serializers.serialize(object.wasIdentityAggregate, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_wasIdentityAggregate)), + ]; + Object? value; + value = object.identity; + if (value != null) { + result + ..add('identity') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GGetHistoryAndBalanceData_account_identity))); + } + value = object.linkedIdentity; + if (value != null) { + result + ..add('linkedIdentity') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_linkedIdentity))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GGetHistoryAndBalanceData_accountBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'commentsIssued': + result.commentsIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GGetHistoryAndBalanceData_account_commentsIssued) + ]))! as BuiltList<Object?>); + break; + case 'commentsIssuedAggregate': + result.commentsIssuedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_commentsIssuedAggregate))! + as GGetHistoryAndBalanceData_account_commentsIssuedAggregate); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'identity': + result.identity.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity))! + as GGetHistoryAndBalanceData_account_identity); + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'linkedIdentity': + result.linkedIdentity.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_linkedIdentity))! + as GGetHistoryAndBalanceData_account_linkedIdentity); + break; + case 'removedIdentities': + result.removedIdentities.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_removedIdentities) + ]))! as BuiltList<Object?>); + break; + case 'removedIdentitiesAggregate': + result.removedIdentitiesAggregate.replace(serializers.deserialize( + value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate))! + as GGetHistoryAndBalanceData_account_removedIdentitiesAggregate); + break; + case 'transfersIssued': + result.transfersIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_transfersIssued) + ]))! as BuiltList<Object?>); + break; + case 'transfersIssuedAggregate': + result.transfersIssuedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate))! + as GGetHistoryAndBalanceData_account_transfersIssuedAggregate); + break; + case 'transfersReceived': + result.transfersReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_transfersReceived) + ]))! as BuiltList<Object?>); + break; + case 'transfersReceivedAggregate': + result.transfersReceivedAggregate.replace(serializers.deserialize( + value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate))! + as GGetHistoryAndBalanceData_account_transfersReceivedAggregate); + break; + case 'wasIdentity': + result.wasIdentity.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GGetHistoryAndBalanceData_account_wasIdentity) + ]))! as BuiltList<Object?>); + break; + case 'wasIdentityAggregate': + result.wasIdentityAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_wasIdentityAggregate))! + as GGetHistoryAndBalanceData_account_wasIdentityAggregate); + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_commentsIssuedSerializer + implements + StructuredSerializer<GGetHistoryAndBalanceData_account_commentsIssued> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_commentsIssued, + _$GGetHistoryAndBalanceData_account_commentsIssued + ]; + @override + final String wireName = 'GGetHistoryAndBalanceData_account_commentsIssued'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_commentsIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'hash', + serializers.serialize(object.hash, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'remark', + serializers.serialize(object.remark, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.authorId; + if (value != null) { + result + ..add('authorId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.eventId; + if (value != null) { + result + ..add('eventId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.type; + if (value != null) { + result + ..add('type') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GCommentTypeEnum))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_commentsIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_commentsIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'authorId': + result.authorId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'eventId': + result.eventId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'hash': + result.hash = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'remark': + result.remark = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'type': + result.type = serializers.deserialize(value, + specifiedType: const FullType(_i2.GCommentTypeEnum)) + as _i2.GCommentTypeEnum?; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_commentsIssuedAggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_commentsIssuedAggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_commentsIssuedAggregate, + _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_commentsIssuedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_commentsIssuedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_commentsIssuedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_commentsIssuedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate))! + as GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate, + _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identitySerializer + implements + StructuredSerializer<GGetHistoryAndBalanceData_account_identity> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity, + _$GGetHistoryAndBalanceData_account_identity + ]; + @override + final String wireName = 'GGetHistoryAndBalanceData_account_identity'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_identity object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'certIssued', + serializers.serialize(object.certIssued, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_certIssued) + ])), + 'certIssuedAggregate', + serializers.serialize(object.certIssuedAggregate, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate)), + 'certReceived', + serializers.serialize(object.certReceived, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_certReceived) + ])), + 'certReceivedAggregate', + serializers.serialize(object.certReceivedAggregate, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'index', + serializers.serialize(object.index, specifiedType: const FullType(int)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'lastChangeOn', + serializers.serialize(object.lastChangeOn, + specifiedType: const FullType(int)), + 'linkedAccount', + serializers.serialize(object.linkedAccount, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_linkedAccount) + ])), + 'linkedAccountAggregate', + serializers.serialize(object.linkedAccountAggregate, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate)), + 'membershipHistory', + serializers.serialize(object.membershipHistory, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_membershipHistory) + ])), + 'membershipHistoryAggregate', + serializers.serialize(object.membershipHistoryAggregate, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'ownerKeyChange', + serializers.serialize(object.ownerKeyChange, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_ownerKeyChange) + ])), + 'ownerKeyChangeAggregate', + serializers.serialize(object.ownerKeyChangeAggregate, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.accountRemovedId; + if (value != null) { + result + ..add('accountRemovedId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.createdInId; + if (value != null) { + result + ..add('createdInId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + value = object.smith; + if (value != null) { + result + ..add('smith') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_smith))); + } + value = object.udHistory; + if (value != null) { + result + ..add('udHistory') + ..add(serializers.serialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_udHistory) + ]))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GGetHistoryAndBalanceData_account_identityBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'accountRemovedId': + result.accountRemovedId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'certIssued': + result.certIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_certIssued) + ]))! as BuiltList<Object?>); + break; + case 'certIssuedAggregate': + result.certIssuedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate))! + as GGetHistoryAndBalanceData_account_identity_certIssuedAggregate); + break; + case 'certReceived': + result.certReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_certReceived) + ]))! as BuiltList<Object?>); + break; + case 'certReceivedAggregate': + result.certReceivedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate))! + as GGetHistoryAndBalanceData_account_identity_certReceivedAggregate); + break; + case 'createdInId': + result.createdInId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'index': + result.index = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'lastChangeOn': + result.lastChangeOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'linkedAccount': + result.linkedAccount.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_linkedAccount) + ]))! as BuiltList<Object?>); + break; + case 'linkedAccountAggregate': + result.linkedAccountAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate))! + as GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate); + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'membershipHistory': + result.membershipHistory.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_membershipHistory) + ]))! as BuiltList<Object?>); + break; + case 'membershipHistoryAggregate': + result.membershipHistoryAggregate.replace(serializers.deserialize( + value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate))! + as GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate); + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'ownerKeyChange': + result.ownerKeyChange.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_ownerKeyChange) + ]))! as BuiltList<Object?>); + break; + case 'ownerKeyChangeAggregate': + result.ownerKeyChangeAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate))! + as GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate); + break; + case 'smith': + result.smith.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_smith))! + as GGetHistoryAndBalanceData_account_identity_smith); + break; + case 'udHistory': + result.udHistory.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_udHistory) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certIssuedSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_certIssued> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_certIssued, + _$GGetHistoryAndBalanceData_account_identity_certIssued + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_certIssued'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_identity_certIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + 'updatedOn', + serializers.serialize(object.updatedOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.issuer; + if (value != null) { + result + ..add('issuer') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_certIssued_issuer))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiver; + if (value != null) { + result + ..add('receiver') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_certIssued_receiver))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_certIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_certIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'issuer': + result.issuer.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_certIssued_issuer))! + as GGetHistoryAndBalanceData_account_identity_certIssued_issuer); + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiver': + result.receiver.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_certIssued_receiver))! + as GGetHistoryAndBalanceData_account_identity_certIssued_receiver); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'updatedOn': + result.updatedOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certIssued_issuerSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_certIssued_issuer> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_certIssued_issuer, + _$GGetHistoryAndBalanceData_account_identity_certIssued_issuer + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_certIssued_issuer'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_identity_certIssued_issuer object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_certIssued_issuer deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_certIssued_issuerBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certIssued_receiverSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_certIssued_receiver> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_certIssued_receiver, + _$GGetHistoryAndBalanceData_account_identity_certIssued_receiver + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_certIssued_receiver'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_identity_certIssued_receiver object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_certIssued_receiver deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_certIssued_receiverBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate, + _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_certIssuedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_certIssuedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate))! + as GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate, + _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certReceivedSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_certReceived> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_certReceived, + _$GGetHistoryAndBalanceData_account_identity_certReceived + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_certReceived'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_identity_certReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + 'updatedOn', + serializers.serialize(object.updatedOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.issuer; + if (value != null) { + result + ..add('issuer') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_certReceived_issuer))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiver; + if (value != null) { + result + ..add('receiver') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_certReceived_receiver))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_certReceived deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_certReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'issuer': + result.issuer.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_certReceived_issuer))! + as GGetHistoryAndBalanceData_account_identity_certReceived_issuer); + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiver': + result.receiver.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_certReceived_receiver))! + as GGetHistoryAndBalanceData_account_identity_certReceived_receiver); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'updatedOn': + result.updatedOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certReceived_issuerSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_certReceived_issuer> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_certReceived_issuer, + _$GGetHistoryAndBalanceData_account_identity_certReceived_issuer + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_certReceived_issuer'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_identity_certReceived_issuer object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_certReceived_issuer deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_certReceived_issuerBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certReceived_receiverSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_certReceived_receiver> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_certReceived_receiver, + _$GGetHistoryAndBalanceData_account_identity_certReceived_receiver + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_certReceived_receiver'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_identity_certReceived_receiver object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_certReceived_receiver deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_certReceived_receiverBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate, + _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_certReceivedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_certReceivedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate))! + as GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate, + _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_linkedAccountSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_linkedAccount> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_linkedAccount, + _$GGetHistoryAndBalanceData_account_identity_linkedAccount + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_linkedAccount'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_identity_linkedAccount object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_linkedAccount deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_linkedAccountBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate, + _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate))! + as GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate, + _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_membershipHistorySerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_membershipHistory> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_membershipHistory, + _$GGetHistoryAndBalanceData_account_identity_membershipHistory + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_membershipHistory'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_identity_membershipHistory object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.eventId; + if (value != null) { + result + ..add('eventId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.eventType; + if (value != null) { + result + ..add('eventType') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GEventTypeEnum))); + } + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_membershipHistory deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_membershipHistoryBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'eventId': + result.eventId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'eventType': + result.eventType = serializers.deserialize(value, + specifiedType: const FullType(_i2.GEventTypeEnum)) + as _i2.GEventTypeEnum?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate, + _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate))! + as GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate, + _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_ownerKeyChange> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_ownerKeyChange, + _$GGetHistoryAndBalanceData_account_identity_ownerKeyChange + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_ownerKeyChange'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_identity_ownerKeyChange object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.nextId; + if (value != null) { + result + ..add('nextId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.previousId; + if (value != null) { + result + ..add('previousId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_ownerKeyChange deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_ownerKeyChangeBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'nextId': + result.nextId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'previousId': + result.previousId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate, + _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate))! + as GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate, + _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_smithSerializer + implements + StructuredSerializer<GGetHistoryAndBalanceData_account_identity_smith> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_smith, + _$GGetHistoryAndBalanceData_account_identity_smith + ]; + @override + final String wireName = 'GGetHistoryAndBalanceData_account_identity_smith'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_identity_smith object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'forged', + serializers.serialize(object.forged, specifiedType: const FullType(int)), + 'index', + serializers.serialize(object.index, specifiedType: const FullType(int)), + 'smithCertIssued', + serializers.serialize(object.smithCertIssued, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued) + ])), + 'smithCertReceived', + serializers.serialize(object.smithCertReceived, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived) + ])), + ]; + Object? value; + value = object.lastChanged; + if (value != null) { + result + ..add('lastChanged') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.lastForged; + if (value != null) { + result + ..add('lastForged') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_smith deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_smithBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'forged': + result.forged = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'index': + result.index = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'lastChanged': + result.lastChanged = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'lastForged': + result.lastForged = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'smithCertIssued': + result.smithCertIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued) + ]))! as BuiltList<Object?>); + break; + case 'smithCertReceived': + result.smithCertReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_smith_smithCertIssuedSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued, + _$GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_smith_smithCertIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_smith_smithCertReceivedSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived, + _$GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_smith_smithCertReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_identity_udHistorySerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_identity_udHistory> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_identity_udHistory, + _$GGetHistoryAndBalanceData_account_identity_udHistory + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_identity_udHistory'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_identity_udHistory object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'amount', + serializers.serialize(object.amount, specifiedType: const FullType(int)), + 'timestamp', + serializers.serialize(object.timestamp, + specifiedType: const FullType(_i2.Gtimestamptz)), + ]; + + return result; + } + + @override + GGetHistoryAndBalanceData_account_identity_udHistory deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_identity_udHistoryBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'timestamp': + result.timestamp.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.Gtimestamptz))! + as _i2.Gtimestamptz); + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_linkedIdentitySerializer + implements + StructuredSerializer<GGetHistoryAndBalanceData_account_linkedIdentity> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_linkedIdentity, + _$GGetHistoryAndBalanceData_account_linkedIdentity + ]; + @override + final String wireName = 'GGetHistoryAndBalanceData_account_linkedIdentity'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_linkedIdentity object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_linkedIdentity deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_linkedIdentityBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_removedIdentitiesSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_removedIdentities> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_removedIdentities, + _$GGetHistoryAndBalanceData_account_removedIdentities + ]; + @override + final String wireName = 'GGetHistoryAndBalanceData_account_removedIdentities'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_removedIdentities object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_removedIdentities deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_removedIdentitiesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate, + _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_removedIdentitiesAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_removedIdentitiesAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate))! + as GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate, + _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_transfersIssuedSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_transfersIssued> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_transfersIssued, + _$GGetHistoryAndBalanceData_account_transfersIssued + ]; + @override + final String wireName = 'GGetHistoryAndBalanceData_account_transfersIssued'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_transfersIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'timestamp', + serializers.serialize(object.timestamp, + specifiedType: const FullType(_i2.Gtimestamptz)), + 'amount', + serializers.serialize(object.amount, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.to; + if (value != null) { + result + ..add('to') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersIssued_to))); + } + value = object.from; + if (value != null) { + result + ..add('from') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersIssued_from))); + } + value = object.comment; + if (value != null) { + result + ..add('comment') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersIssued_comment))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_transfersIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_transfersIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'timestamp': + result.timestamp.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.Gtimestamptz))! + as _i2.Gtimestamptz); + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'to': + result.to.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersIssued_to))! + as GGetHistoryAndBalanceData_account_transfersIssued_to); + break; + case 'from': + result.from.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersIssued_from))! + as GGetHistoryAndBalanceData_account_transfersIssued_from); + break; + case 'comment': + result.comment.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersIssued_comment))! + as GGetHistoryAndBalanceData_account_transfersIssued_comment); + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_transfersIssued_toSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_transfersIssued_to> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_transfersIssued_to, + _$GGetHistoryAndBalanceData_account_transfersIssued_to + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_transfersIssued_to'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_transfersIssued_to object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GGetHistoryAndBalanceData_account_transfersIssued_to deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_transfersIssued_toBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_transfersIssued_fromSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_transfersIssued_from> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_transfersIssued_from, + _$GGetHistoryAndBalanceData_account_transfersIssued_from + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_transfersIssued_from'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_transfersIssued_from object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GGetHistoryAndBalanceData_account_transfersIssued_from deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_transfersIssued_commentSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_transfersIssued_comment> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_transfersIssued_comment, + _$GGetHistoryAndBalanceData_account_transfersIssued_comment + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_transfersIssued_comment'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_transfersIssued_comment object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'remark', + serializers.serialize(object.remark, + specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GGetHistoryAndBalanceData_account_transfersIssued_comment deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'remark': + result.remark = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_transfersIssuedAggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_transfersIssuedAggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_transfersIssuedAggregate, + _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_transfersIssuedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_transfersIssuedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_transfersIssuedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_transfersIssuedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate))! + as GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate, + _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.sum; + if (value != null) { + result + ..add('sum') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'sum': + result.sum.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum))! + as GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum); + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum, + _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.amount; + if (value != null) { + result + ..add('amount') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_transfersReceivedSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_transfersReceived> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_transfersReceived, + _$GGetHistoryAndBalanceData_account_transfersReceived + ]; + @override + final String wireName = 'GGetHistoryAndBalanceData_account_transfersReceived'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_transfersReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'timestamp', + serializers.serialize(object.timestamp, + specifiedType: const FullType(_i2.Gtimestamptz)), + 'amount', + serializers.serialize(object.amount, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.to; + if (value != null) { + result + ..add('to') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersReceived_to))); + } + value = object.from; + if (value != null) { + result + ..add('from') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersReceived_from))); + } + value = object.comment; + if (value != null) { + result + ..add('comment') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersReceived_comment))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_transfersReceived deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_transfersReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'timestamp': + result.timestamp.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.Gtimestamptz))! + as _i2.Gtimestamptz); + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'to': + result.to.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersReceived_to))! + as GGetHistoryAndBalanceData_account_transfersReceived_to); + break; + case 'from': + result.from.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersReceived_from))! + as GGetHistoryAndBalanceData_account_transfersReceived_from); + break; + case 'comment': + result.comment.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersReceived_comment))! + as GGetHistoryAndBalanceData_account_transfersReceived_comment); + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_transfersReceived_toSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_transfersReceived_to> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_transfersReceived_to, + _$GGetHistoryAndBalanceData_account_transfersReceived_to + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_transfersReceived_to'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_transfersReceived_to object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GGetHistoryAndBalanceData_account_transfersReceived_to deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_transfersReceived_toBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_transfersReceived_fromSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_transfersReceived_from> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_transfersReceived_from, + _$GGetHistoryAndBalanceData_account_transfersReceived_from + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_transfersReceived_from'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_transfersReceived_from object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GGetHistoryAndBalanceData_account_transfersReceived_from deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_transfersReceived_commentSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_transfersReceived_comment> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_transfersReceived_comment, + _$GGetHistoryAndBalanceData_account_transfersReceived_comment + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_transfersReceived_comment'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_transfersReceived_comment object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'remark', + serializers.serialize(object.remark, + specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GGetHistoryAndBalanceData_account_transfersReceived_comment deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'remark': + result.remark = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_transfersReceivedAggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_transfersReceivedAggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_transfersReceivedAggregate, + _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_transfersReceivedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_transfersReceivedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_transfersReceivedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_transfersReceivedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate))! + as GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate, + _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.sum; + if (value != null) { + result + ..add('sum') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'sum': + result.sum.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum))! + as GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum); + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum, + _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum'; + + @override + Iterable<Object?> serialize( + Serializers serializers, + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum + object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.amount; + if (value != null) { + result + ..add('amount') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum + deserialize(Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_wasIdentitySerializer + implements + StructuredSerializer<GGetHistoryAndBalanceData_account_wasIdentity> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_wasIdentity, + _$GGetHistoryAndBalanceData_account_wasIdentity + ]; + @override + final String wireName = 'GGetHistoryAndBalanceData_account_wasIdentity'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_wasIdentity object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.nextId; + if (value != null) { + result + ..add('nextId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.previousId; + if (value != null) { + result + ..add('previousId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_wasIdentity deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GGetHistoryAndBalanceData_account_wasIdentityBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'nextId': + result.nextId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'previousId': + result.previousId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_wasIdentityAggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_wasIdentityAggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_wasIdentityAggregate, + _$GGetHistoryAndBalanceData_account_wasIdentityAggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_wasIdentityAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_wasIdentityAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate))); + } + return result; + } + + @override + GGetHistoryAndBalanceData_account_wasIdentityAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_wasIdentityAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate))! + as GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateSerializer + implements + StructuredSerializer< + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate, + _$GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate + ]; + @override + final String wireName = + 'GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GCertFieldsDataSerializer + implements StructuredSerializer<GCertFieldsData> { + @override + final Iterable<Type> types = const [GCertFieldsData, _$GCertFieldsData]; + @override + final String wireName = 'GCertFieldsData'; + + @override + Iterable<Object?> serialize(Serializers serializers, GCertFieldsData object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + 'updatedOn', + serializers.serialize(object.updatedOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.issuer; + if (value != null) { + result + ..add('issuer') + ..add(serializers.serialize(value, + specifiedType: const FullType(GCertFieldsData_issuer))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiver; + if (value != null) { + result + ..add('receiver') + ..add(serializers.serialize(value, + specifiedType: const FullType(GCertFieldsData_receiver))); + } + return result; + } + + @override + GCertFieldsData deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GCertFieldsDataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'issuer': + result.issuer.replace(serializers.deserialize(value, + specifiedType: const FullType(GCertFieldsData_issuer))! + as GCertFieldsData_issuer); + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiver': + result.receiver.replace(serializers.deserialize(value, + specifiedType: const FullType(GCertFieldsData_receiver))! + as GCertFieldsData_receiver); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'updatedOn': + result.updatedOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GCertFieldsData_issuerSerializer + implements StructuredSerializer<GCertFieldsData_issuer> { + @override + final Iterable<Type> types = const [ + GCertFieldsData_issuer, + _$GCertFieldsData_issuer + ]; + @override + final String wireName = 'GCertFieldsData_issuer'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GCertFieldsData_issuer object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GCertFieldsData_issuer deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GCertFieldsData_issuerBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GCertFieldsData_receiverSerializer + implements StructuredSerializer<GCertFieldsData_receiver> { + @override + final Iterable<Type> types = const [ + GCertFieldsData_receiver, + _$GCertFieldsData_receiver + ]; + @override + final String wireName = 'GCertFieldsData_receiver'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GCertFieldsData_receiver object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GCertFieldsData_receiver deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GCertFieldsData_receiverBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GSmithCertFieldsDataSerializer + implements StructuredSerializer<GSmithCertFieldsData> { + @override + final Iterable<Type> types = const [ + GSmithCertFieldsData, + _$GSmithCertFieldsData + ]; + @override + final String wireName = 'GSmithCertFieldsData'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GSmithCertFieldsData object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GSmithCertFieldsData deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GSmithCertFieldsDataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GSmithFieldsDataSerializer + implements StructuredSerializer<GSmithFieldsData> { + @override + final Iterable<Type> types = const [GSmithFieldsData, _$GSmithFieldsData]; + @override + final String wireName = 'GSmithFieldsData'; + + @override + Iterable<Object?> serialize(Serializers serializers, GSmithFieldsData object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'forged', + serializers.serialize(object.forged, specifiedType: const FullType(int)), + 'index', + serializers.serialize(object.index, specifiedType: const FullType(int)), + 'smithCertIssued', + serializers.serialize(object.smithCertIssued, + specifiedType: const FullType(BuiltList, + const [const FullType(GSmithFieldsData_smithCertIssued)])), + 'smithCertReceived', + serializers.serialize(object.smithCertReceived, + specifiedType: const FullType(BuiltList, + const [const FullType(GSmithFieldsData_smithCertReceived)])), + ]; + Object? value; + value = object.lastChanged; + if (value != null) { + result + ..add('lastChanged') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.lastForged; + if (value != null) { + result + ..add('lastForged') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GSmithFieldsData deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GSmithFieldsDataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'forged': + result.forged = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'index': + result.index = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'lastChanged': + result.lastChanged = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'lastForged': + result.lastForged = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'smithCertIssued': + result.smithCertIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GSmithFieldsData_smithCertIssued) + ]))! as BuiltList<Object?>); + break; + case 'smithCertReceived': + result.smithCertReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GSmithFieldsData_smithCertReceived) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GSmithFieldsData_smithCertIssuedSerializer + implements StructuredSerializer<GSmithFieldsData_smithCertIssued> { + @override + final Iterable<Type> types = const [ + GSmithFieldsData_smithCertIssued, + _$GSmithFieldsData_smithCertIssued + ]; + @override + final String wireName = 'GSmithFieldsData_smithCertIssued'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GSmithFieldsData_smithCertIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GSmithFieldsData_smithCertIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GSmithFieldsData_smithCertIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GSmithFieldsData_smithCertReceivedSerializer + implements StructuredSerializer<GSmithFieldsData_smithCertReceived> { + @override + final Iterable<Type> types = const [ + GSmithFieldsData_smithCertReceived, + _$GSmithFieldsData_smithCertReceived + ]; + @override + final String wireName = 'GSmithFieldsData_smithCertReceived'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GSmithFieldsData_smithCertReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GSmithFieldsData_smithCertReceived deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GSmithFieldsData_smithCertReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GOwnerKeyChangeFieldsDataSerializer + implements StructuredSerializer<GOwnerKeyChangeFieldsData> { + @override + final Iterable<Type> types = const [ + GOwnerKeyChangeFieldsData, + _$GOwnerKeyChangeFieldsData + ]; + @override + final String wireName = 'GOwnerKeyChangeFieldsData'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GOwnerKeyChangeFieldsData object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.nextId; + if (value != null) { + result + ..add('nextId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.previousId; + if (value != null) { + result + ..add('previousId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GOwnerKeyChangeFieldsData deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GOwnerKeyChangeFieldsDataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'nextId': + result.nextId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'previousId': + result.previousId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityBasicFieldsDataSerializer + implements StructuredSerializer<GIdentityBasicFieldsData> { + @override + final Iterable<Type> types = const [ + GIdentityBasicFieldsData, + _$GIdentityBasicFieldsData + ]; + @override + final String wireName = 'GIdentityBasicFieldsData'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentityBasicFieldsData object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GIdentityBasicFieldsData deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityBasicFieldsDataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsDataSerializer + implements StructuredSerializer<GIdentityFieldsData> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData, + _$GIdentityFieldsData + ]; + @override + final String wireName = 'GIdentityFieldsData'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentityFieldsData object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'certIssued', + serializers.serialize(object.certIssued, + specifiedType: const FullType(BuiltList, + const [const FullType(GIdentityFieldsData_certIssued)])), + 'certIssuedAggregate', + serializers.serialize(object.certIssuedAggregate, + specifiedType: + const FullType(GIdentityFieldsData_certIssuedAggregate)), + 'certReceived', + serializers.serialize(object.certReceived, + specifiedType: const FullType(BuiltList, + const [const FullType(GIdentityFieldsData_certReceived)])), + 'certReceivedAggregate', + serializers.serialize(object.certReceivedAggregate, + specifiedType: + const FullType(GIdentityFieldsData_certReceivedAggregate)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'index', + serializers.serialize(object.index, specifiedType: const FullType(int)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'lastChangeOn', + serializers.serialize(object.lastChangeOn, + specifiedType: const FullType(int)), + 'linkedAccount', + serializers.serialize(object.linkedAccount, + specifiedType: const FullType(BuiltList, + const [const FullType(GIdentityFieldsData_linkedAccount)])), + 'linkedAccountAggregate', + serializers.serialize(object.linkedAccountAggregate, + specifiedType: + const FullType(GIdentityFieldsData_linkedAccountAggregate)), + 'membershipHistory', + serializers.serialize(object.membershipHistory, + specifiedType: const FullType(BuiltList, + const [const FullType(GIdentityFieldsData_membershipHistory)])), + 'membershipHistoryAggregate', + serializers.serialize(object.membershipHistoryAggregate, + specifiedType: + const FullType(GIdentityFieldsData_membershipHistoryAggregate)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'ownerKeyChange', + serializers.serialize(object.ownerKeyChange, + specifiedType: const FullType(BuiltList, + const [const FullType(GIdentityFieldsData_ownerKeyChange)])), + 'ownerKeyChangeAggregate', + serializers.serialize(object.ownerKeyChangeAggregate, + specifiedType: + const FullType(GIdentityFieldsData_ownerKeyChangeAggregate)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.accountRemovedId; + if (value != null) { + result + ..add('accountRemovedId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.createdInId; + if (value != null) { + result + ..add('createdInId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + value = object.smith; + if (value != null) { + result + ..add('smith') + ..add(serializers.serialize(value, + specifiedType: const FullType(GIdentityFieldsData_smith))); + } + value = object.udHistory; + if (value != null) { + result + ..add('udHistory') + ..add(serializers.serialize(value, + specifiedType: const FullType(BuiltList, + const [const FullType(GIdentityFieldsData_udHistory)]))); + } + return result; + } + + @override + GIdentityFieldsData deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsDataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'accountRemovedId': + result.accountRemovedId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'certIssued': + result.certIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentityFieldsData_certIssued) + ]))! as BuiltList<Object?>); + break; + case 'certIssuedAggregate': + result.certIssuedAggregate.replace(serializers.deserialize(value, + specifiedType: + const FullType(GIdentityFieldsData_certIssuedAggregate))! + as GIdentityFieldsData_certIssuedAggregate); + break; + case 'certReceived': + result.certReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentityFieldsData_certReceived) + ]))! as BuiltList<Object?>); + break; + case 'certReceivedAggregate': + result.certReceivedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentityFieldsData_certReceivedAggregate))! + as GIdentityFieldsData_certReceivedAggregate); + break; + case 'createdInId': + result.createdInId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'index': + result.index = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'lastChangeOn': + result.lastChangeOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'linkedAccount': + result.linkedAccount.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentityFieldsData_linkedAccount) + ]))! as BuiltList<Object?>); + break; + case 'linkedAccountAggregate': + result.linkedAccountAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentityFieldsData_linkedAccountAggregate))! + as GIdentityFieldsData_linkedAccountAggregate); + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'membershipHistory': + result.membershipHistory.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentityFieldsData_membershipHistory) + ]))! as BuiltList<Object?>); + break; + case 'membershipHistoryAggregate': + result.membershipHistoryAggregate.replace(serializers.deserialize( + value, + specifiedType: const FullType( + GIdentityFieldsData_membershipHistoryAggregate))! + as GIdentityFieldsData_membershipHistoryAggregate); + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'ownerKeyChange': + result.ownerKeyChange.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentityFieldsData_ownerKeyChange) + ]))! as BuiltList<Object?>); + break; + case 'ownerKeyChangeAggregate': + result.ownerKeyChangeAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentityFieldsData_ownerKeyChangeAggregate))! + as GIdentityFieldsData_ownerKeyChangeAggregate); + break; + case 'smith': + result.smith.replace(serializers.deserialize(value, + specifiedType: const FullType(GIdentityFieldsData_smith))! + as GIdentityFieldsData_smith); + break; + case 'udHistory': + result.udHistory.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentityFieldsData_udHistory) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_certIssuedSerializer + implements StructuredSerializer<GIdentityFieldsData_certIssued> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_certIssued, + _$GIdentityFieldsData_certIssued + ]; + @override + final String wireName = 'GIdentityFieldsData_certIssued'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentityFieldsData_certIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + 'updatedOn', + serializers.serialize(object.updatedOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.issuer; + if (value != null) { + result + ..add('issuer') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GIdentityFieldsData_certIssued_issuer))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiver; + if (value != null) { + result + ..add('receiver') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GIdentityFieldsData_certIssued_receiver))); + } + return result; + } + + @override + GIdentityFieldsData_certIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsData_certIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'issuer': + result.issuer.replace(serializers.deserialize(value, + specifiedType: + const FullType(GIdentityFieldsData_certIssued_issuer))! + as GIdentityFieldsData_certIssued_issuer); + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiver': + result.receiver.replace(serializers.deserialize(value, + specifiedType: + const FullType(GIdentityFieldsData_certIssued_receiver))! + as GIdentityFieldsData_certIssued_receiver); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'updatedOn': + result.updatedOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_certIssued_issuerSerializer + implements StructuredSerializer<GIdentityFieldsData_certIssued_issuer> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_certIssued_issuer, + _$GIdentityFieldsData_certIssued_issuer + ]; + @override + final String wireName = 'GIdentityFieldsData_certIssued_issuer'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentityFieldsData_certIssued_issuer object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GIdentityFieldsData_certIssued_issuer deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsData_certIssued_issuerBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_certIssued_receiverSerializer + implements StructuredSerializer<GIdentityFieldsData_certIssued_receiver> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_certIssued_receiver, + _$GIdentityFieldsData_certIssued_receiver + ]; + @override + final String wireName = 'GIdentityFieldsData_certIssued_receiver'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentityFieldsData_certIssued_receiver object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GIdentityFieldsData_certIssued_receiver deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsData_certIssued_receiverBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_certIssuedAggregateSerializer + implements StructuredSerializer<GIdentityFieldsData_certIssuedAggregate> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_certIssuedAggregate, + _$GIdentityFieldsData_certIssuedAggregate + ]; + @override + final String wireName = 'GIdentityFieldsData_certIssuedAggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentityFieldsData_certIssuedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentityFieldsData_certIssuedAggregate_aggregate))); + } + return result; + } + + @override + GIdentityFieldsData_certIssuedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsData_certIssuedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentityFieldsData_certIssuedAggregate_aggregate))! + as GIdentityFieldsData_certIssuedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_certIssuedAggregate_aggregateSerializer + implements + StructuredSerializer< + GIdentityFieldsData_certIssuedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_certIssuedAggregate_aggregate, + _$GIdentityFieldsData_certIssuedAggregate_aggregate + ]; + @override + final String wireName = 'GIdentityFieldsData_certIssuedAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentityFieldsData_certIssuedAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GIdentityFieldsData_certIssuedAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentityFieldsData_certIssuedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_certReceivedSerializer + implements StructuredSerializer<GIdentityFieldsData_certReceived> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_certReceived, + _$GIdentityFieldsData_certReceived + ]; + @override + final String wireName = 'GIdentityFieldsData_certReceived'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentityFieldsData_certReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + 'updatedOn', + serializers.serialize(object.updatedOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.issuer; + if (value != null) { + result + ..add('issuer') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GIdentityFieldsData_certReceived_issuer))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiver; + if (value != null) { + result + ..add('receiver') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GIdentityFieldsData_certReceived_receiver))); + } + return result; + } + + @override + GIdentityFieldsData_certReceived deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsData_certReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'issuer': + result.issuer.replace(serializers.deserialize(value, + specifiedType: + const FullType(GIdentityFieldsData_certReceived_issuer))! + as GIdentityFieldsData_certReceived_issuer); + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiver': + result.receiver.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentityFieldsData_certReceived_receiver))! + as GIdentityFieldsData_certReceived_receiver); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'updatedOn': + result.updatedOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_certReceived_issuerSerializer + implements StructuredSerializer<GIdentityFieldsData_certReceived_issuer> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_certReceived_issuer, + _$GIdentityFieldsData_certReceived_issuer + ]; + @override + final String wireName = 'GIdentityFieldsData_certReceived_issuer'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentityFieldsData_certReceived_issuer object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GIdentityFieldsData_certReceived_issuer deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsData_certReceived_issuerBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_certReceived_receiverSerializer + implements StructuredSerializer<GIdentityFieldsData_certReceived_receiver> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_certReceived_receiver, + _$GIdentityFieldsData_certReceived_receiver + ]; + @override + final String wireName = 'GIdentityFieldsData_certReceived_receiver'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentityFieldsData_certReceived_receiver object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GIdentityFieldsData_certReceived_receiver deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsData_certReceived_receiverBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_certReceivedAggregateSerializer + implements StructuredSerializer<GIdentityFieldsData_certReceivedAggregate> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_certReceivedAggregate, + _$GIdentityFieldsData_certReceivedAggregate + ]; + @override + final String wireName = 'GIdentityFieldsData_certReceivedAggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentityFieldsData_certReceivedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentityFieldsData_certReceivedAggregate_aggregate))); + } + return result; + } + + @override + GIdentityFieldsData_certReceivedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsData_certReceivedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentityFieldsData_certReceivedAggregate_aggregate))! + as GIdentityFieldsData_certReceivedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_certReceivedAggregate_aggregateSerializer + implements + StructuredSerializer< + GIdentityFieldsData_certReceivedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_certReceivedAggregate_aggregate, + _$GIdentityFieldsData_certReceivedAggregate_aggregate + ]; + @override + final String wireName = 'GIdentityFieldsData_certReceivedAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentityFieldsData_certReceivedAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GIdentityFieldsData_certReceivedAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentityFieldsData_certReceivedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_linkedAccountSerializer + implements StructuredSerializer<GIdentityFieldsData_linkedAccount> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_linkedAccount, + _$GIdentityFieldsData_linkedAccount + ]; + @override + final String wireName = 'GIdentityFieldsData_linkedAccount'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentityFieldsData_linkedAccount object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GIdentityFieldsData_linkedAccount deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsData_linkedAccountBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_linkedAccountAggregateSerializer + implements + StructuredSerializer<GIdentityFieldsData_linkedAccountAggregate> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_linkedAccountAggregate, + _$GIdentityFieldsData_linkedAccountAggregate + ]; + @override + final String wireName = 'GIdentityFieldsData_linkedAccountAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentityFieldsData_linkedAccountAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentityFieldsData_linkedAccountAggregate_aggregate))); + } + return result; + } + + @override + GIdentityFieldsData_linkedAccountAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsData_linkedAccountAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentityFieldsData_linkedAccountAggregate_aggregate))! + as GIdentityFieldsData_linkedAccountAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_linkedAccountAggregate_aggregateSerializer + implements + StructuredSerializer< + GIdentityFieldsData_linkedAccountAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_linkedAccountAggregate_aggregate, + _$GIdentityFieldsData_linkedAccountAggregate_aggregate + ]; + @override + final String wireName = + 'GIdentityFieldsData_linkedAccountAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentityFieldsData_linkedAccountAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GIdentityFieldsData_linkedAccountAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentityFieldsData_linkedAccountAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_membershipHistorySerializer + implements StructuredSerializer<GIdentityFieldsData_membershipHistory> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_membershipHistory, + _$GIdentityFieldsData_membershipHistory + ]; + @override + final String wireName = 'GIdentityFieldsData_membershipHistory'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentityFieldsData_membershipHistory object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.eventId; + if (value != null) { + result + ..add('eventId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.eventType; + if (value != null) { + result + ..add('eventType') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GEventTypeEnum))); + } + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GIdentityFieldsData_membershipHistory deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsData_membershipHistoryBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'eventId': + result.eventId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'eventType': + result.eventType = serializers.deserialize(value, + specifiedType: const FullType(_i2.GEventTypeEnum)) + as _i2.GEventTypeEnum?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_membershipHistoryAggregateSerializer + implements + StructuredSerializer<GIdentityFieldsData_membershipHistoryAggregate> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_membershipHistoryAggregate, + _$GIdentityFieldsData_membershipHistoryAggregate + ]; + @override + final String wireName = 'GIdentityFieldsData_membershipHistoryAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentityFieldsData_membershipHistoryAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentityFieldsData_membershipHistoryAggregate_aggregate))); + } + return result; + } + + @override + GIdentityFieldsData_membershipHistoryAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsData_membershipHistoryAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentityFieldsData_membershipHistoryAggregate_aggregate))! + as GIdentityFieldsData_membershipHistoryAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_membershipHistoryAggregate_aggregateSerializer + implements + StructuredSerializer< + GIdentityFieldsData_membershipHistoryAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_membershipHistoryAggregate_aggregate, + _$GIdentityFieldsData_membershipHistoryAggregate_aggregate + ]; + @override + final String wireName = + 'GIdentityFieldsData_membershipHistoryAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentityFieldsData_membershipHistoryAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GIdentityFieldsData_membershipHistoryAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentityFieldsData_membershipHistoryAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_ownerKeyChangeSerializer + implements StructuredSerializer<GIdentityFieldsData_ownerKeyChange> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_ownerKeyChange, + _$GIdentityFieldsData_ownerKeyChange + ]; + @override + final String wireName = 'GIdentityFieldsData_ownerKeyChange'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentityFieldsData_ownerKeyChange object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.nextId; + if (value != null) { + result + ..add('nextId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.previousId; + if (value != null) { + result + ..add('previousId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GIdentityFieldsData_ownerKeyChange deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsData_ownerKeyChangeBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'nextId': + result.nextId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'previousId': + result.previousId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_ownerKeyChangeAggregateSerializer + implements + StructuredSerializer<GIdentityFieldsData_ownerKeyChangeAggregate> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_ownerKeyChangeAggregate, + _$GIdentityFieldsData_ownerKeyChangeAggregate + ]; + @override + final String wireName = 'GIdentityFieldsData_ownerKeyChangeAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentityFieldsData_ownerKeyChangeAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GIdentityFieldsData_ownerKeyChangeAggregate_aggregate))); + } + return result; + } + + @override + GIdentityFieldsData_ownerKeyChangeAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsData_ownerKeyChangeAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GIdentityFieldsData_ownerKeyChangeAggregate_aggregate))! + as GIdentityFieldsData_ownerKeyChangeAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_ownerKeyChangeAggregate_aggregateSerializer + implements + StructuredSerializer< + GIdentityFieldsData_ownerKeyChangeAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_ownerKeyChangeAggregate_aggregate, + _$GIdentityFieldsData_ownerKeyChangeAggregate_aggregate + ]; + @override + final String wireName = + 'GIdentityFieldsData_ownerKeyChangeAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentityFieldsData_ownerKeyChangeAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GIdentityFieldsData_ownerKeyChangeAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GIdentityFieldsData_ownerKeyChangeAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_smithSerializer + implements StructuredSerializer<GIdentityFieldsData_smith> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_smith, + _$GIdentityFieldsData_smith + ]; + @override + final String wireName = 'GIdentityFieldsData_smith'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentityFieldsData_smith object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'forged', + serializers.serialize(object.forged, specifiedType: const FullType(int)), + 'index', + serializers.serialize(object.index, specifiedType: const FullType(int)), + 'smithCertIssued', + serializers.serialize(object.smithCertIssued, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentityFieldsData_smith_smithCertIssued) + ])), + 'smithCertReceived', + serializers.serialize(object.smithCertReceived, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentityFieldsData_smith_smithCertReceived) + ])), + ]; + Object? value; + value = object.lastChanged; + if (value != null) { + result + ..add('lastChanged') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.lastForged; + if (value != null) { + result + ..add('lastForged') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GIdentityFieldsData_smith deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsData_smithBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'forged': + result.forged = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'index': + result.index = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'lastChanged': + result.lastChanged = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'lastForged': + result.lastForged = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'smithCertIssued': + result.smithCertIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentityFieldsData_smith_smithCertIssued) + ]))! as BuiltList<Object?>); + break; + case 'smithCertReceived': + result.smithCertReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GIdentityFieldsData_smith_smithCertReceived) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_smith_smithCertIssuedSerializer + implements StructuredSerializer<GIdentityFieldsData_smith_smithCertIssued> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_smith_smithCertIssued, + _$GIdentityFieldsData_smith_smithCertIssued + ]; + @override + final String wireName = 'GIdentityFieldsData_smith_smithCertIssued'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentityFieldsData_smith_smithCertIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GIdentityFieldsData_smith_smithCertIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsData_smith_smithCertIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_smith_smithCertReceivedSerializer + implements + StructuredSerializer<GIdentityFieldsData_smith_smithCertReceived> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_smith_smithCertReceived, + _$GIdentityFieldsData_smith_smithCertReceived + ]; + @override + final String wireName = 'GIdentityFieldsData_smith_smithCertReceived'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GIdentityFieldsData_smith_smithCertReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GIdentityFieldsData_smith_smithCertReceived deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsData_smith_smithCertReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsData_udHistorySerializer + implements StructuredSerializer<GIdentityFieldsData_udHistory> { + @override + final Iterable<Type> types = const [ + GIdentityFieldsData_udHistory, + _$GIdentityFieldsData_udHistory + ]; + @override + final String wireName = 'GIdentityFieldsData_udHistory'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentityFieldsData_udHistory object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'amount', + serializers.serialize(object.amount, specifiedType: const FullType(int)), + 'timestamp', + serializers.serialize(object.timestamp, + specifiedType: const FullType(_i2.Gtimestamptz)), + ]; + + return result; + } + + @override + GIdentityFieldsData_udHistory deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsData_udHistoryBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'timestamp': + result.timestamp.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.Gtimestamptz))! + as _i2.Gtimestamptz); + break; + } + } + + return result.build(); + } +} + +class _$GCommentsIssuedDataSerializer + implements StructuredSerializer<GCommentsIssuedData> { + @override + final Iterable<Type> types = const [ + GCommentsIssuedData, + _$GCommentsIssuedData + ]; + @override + final String wireName = 'GCommentsIssuedData'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GCommentsIssuedData object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'hash', + serializers.serialize(object.hash, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'remark', + serializers.serialize(object.remark, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.authorId; + if (value != null) { + result + ..add('authorId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.eventId; + if (value != null) { + result + ..add('eventId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.type; + if (value != null) { + result + ..add('type') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GCommentTypeEnum))); + } + return result; + } + + @override + GCommentsIssuedData deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GCommentsIssuedDataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'authorId': + result.authorId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'eventId': + result.eventId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'hash': + result.hash = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'remark': + result.remark = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'type': + result.type = serializers.deserialize(value, + specifiedType: const FullType(_i2.GCommentTypeEnum)) + as _i2.GCommentTypeEnum?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountBasicFieldsDataSerializer + implements StructuredSerializer<GAccountBasicFieldsData> { + @override + final Iterable<Type> types = const [ + GAccountBasicFieldsData, + _$GAccountBasicFieldsData + ]; + @override + final String wireName = 'GAccountBasicFieldsData'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountBasicFieldsData object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + ]; + Object? value; + value = object.identity; + if (value != null) { + result + ..add('identity') + ..add(serializers.serialize(value, + specifiedType: const FullType(GAccountBasicFieldsData_identity))); + } + return result; + } + + @override + GAccountBasicFieldsData deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountBasicFieldsDataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'identity': + result.identity.replace(serializers.deserialize(value, + specifiedType: + const FullType(GAccountBasicFieldsData_identity))! + as GAccountBasicFieldsData_identity); + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$GAccountBasicFieldsData_identitySerializer + implements StructuredSerializer<GAccountBasicFieldsData_identity> { + @override + final Iterable<Type> types = const [ + GAccountBasicFieldsData_identity, + _$GAccountBasicFieldsData_identity + ]; + @override + final String wireName = 'GAccountBasicFieldsData_identity'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountBasicFieldsData_identity object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountBasicFieldsData_identity deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountBasicFieldsData_identityBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsDataSerializer + implements StructuredSerializer<GAccountFieldsData> { + @override + final Iterable<Type> types = const [GAccountFieldsData, _$GAccountFieldsData]; + @override + final String wireName = 'GAccountFieldsData'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountFieldsData object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'commentsIssued', + serializers.serialize(object.commentsIssued, + specifiedType: const FullType(BuiltList, + const [const FullType(GAccountFieldsData_commentsIssued)])), + 'commentsIssuedAggregate', + serializers.serialize(object.commentsIssuedAggregate, + specifiedType: + const FullType(GAccountFieldsData_commentsIssuedAggregate)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + 'removedIdentities', + serializers.serialize(object.removedIdentities, + specifiedType: const FullType(BuiltList, + const [const FullType(GAccountFieldsData_removedIdentities)])), + 'removedIdentitiesAggregate', + serializers.serialize(object.removedIdentitiesAggregate, + specifiedType: + const FullType(GAccountFieldsData_removedIdentitiesAggregate)), + 'transfersIssued', + serializers.serialize(object.transfersIssued, + specifiedType: const FullType(BuiltList, + const [const FullType(GAccountFieldsData_transfersIssued)])), + 'transfersIssuedAggregate', + serializers.serialize(object.transfersIssuedAggregate, + specifiedType: + const FullType(GAccountFieldsData_transfersIssuedAggregate)), + 'transfersReceived', + serializers.serialize(object.transfersReceived, + specifiedType: const FullType(BuiltList, + const [const FullType(GAccountFieldsData_transfersReceived)])), + 'transfersReceivedAggregate', + serializers.serialize(object.transfersReceivedAggregate, + specifiedType: + const FullType(GAccountFieldsData_transfersReceivedAggregate)), + 'wasIdentity', + serializers.serialize(object.wasIdentity, + specifiedType: const FullType(BuiltList, + const [const FullType(GAccountFieldsData_wasIdentity)])), + 'wasIdentityAggregate', + serializers.serialize(object.wasIdentityAggregate, + specifiedType: + const FullType(GAccountFieldsData_wasIdentityAggregate)), + ]; + Object? value; + value = object.identity; + if (value != null) { + result + ..add('identity') + ..add(serializers.serialize(value, + specifiedType: const FullType(GAccountFieldsData_identity))); + } + value = object.linkedIdentity; + if (value != null) { + result + ..add('linkedIdentity') + ..add(serializers.serialize(value, + specifiedType: const FullType(GAccountFieldsData_linkedIdentity))); + } + return result; + } + + @override + GAccountFieldsData deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsDataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'commentsIssued': + result.commentsIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_commentsIssued) + ]))! as BuiltList<Object?>); + break; + case 'commentsIssuedAggregate': + result.commentsIssuedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_commentsIssuedAggregate))! + as GAccountFieldsData_commentsIssuedAggregate); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'identity': + result.identity.replace(serializers.deserialize(value, + specifiedType: const FullType(GAccountFieldsData_identity))! + as GAccountFieldsData_identity); + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'linkedIdentity': + result.linkedIdentity.replace(serializers.deserialize(value, + specifiedType: + const FullType(GAccountFieldsData_linkedIdentity))! + as GAccountFieldsData_linkedIdentity); + break; + case 'removedIdentities': + result.removedIdentities.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_removedIdentities) + ]))! as BuiltList<Object?>); + break; + case 'removedIdentitiesAggregate': + result.removedIdentitiesAggregate.replace(serializers.deserialize( + value, + specifiedType: const FullType( + GAccountFieldsData_removedIdentitiesAggregate))! + as GAccountFieldsData_removedIdentitiesAggregate); + break; + case 'transfersIssued': + result.transfersIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_transfersIssued) + ]))! as BuiltList<Object?>); + break; + case 'transfersIssuedAggregate': + result.transfersIssuedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_transfersIssuedAggregate))! + as GAccountFieldsData_transfersIssuedAggregate); + break; + case 'transfersReceived': + result.transfersReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_transfersReceived) + ]))! as BuiltList<Object?>); + break; + case 'transfersReceivedAggregate': + result.transfersReceivedAggregate.replace(serializers.deserialize( + value, + specifiedType: const FullType( + GAccountFieldsData_transfersReceivedAggregate))! + as GAccountFieldsData_transfersReceivedAggregate); + break; + case 'wasIdentity': + result.wasIdentity.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_wasIdentity) + ]))! as BuiltList<Object?>); + break; + case 'wasIdentityAggregate': + result.wasIdentityAggregate.replace(serializers.deserialize(value, + specifiedType: + const FullType(GAccountFieldsData_wasIdentityAggregate))! + as GAccountFieldsData_wasIdentityAggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_commentsIssuedSerializer + implements StructuredSerializer<GAccountFieldsData_commentsIssued> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_commentsIssued, + _$GAccountFieldsData_commentsIssued + ]; + @override + final String wireName = 'GAccountFieldsData_commentsIssued'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountFieldsData_commentsIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'hash', + serializers.serialize(object.hash, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'remark', + serializers.serialize(object.remark, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.authorId; + if (value != null) { + result + ..add('authorId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.eventId; + if (value != null) { + result + ..add('eventId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.type; + if (value != null) { + result + ..add('type') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GCommentTypeEnum))); + } + return result; + } + + @override + GAccountFieldsData_commentsIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_commentsIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'authorId': + result.authorId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'eventId': + result.eventId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'hash': + result.hash = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'remark': + result.remark = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'type': + result.type = serializers.deserialize(value, + specifiedType: const FullType(_i2.GCommentTypeEnum)) + as _i2.GCommentTypeEnum?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_commentsIssuedAggregateSerializer + implements + StructuredSerializer<GAccountFieldsData_commentsIssuedAggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_commentsIssuedAggregate, + _$GAccountFieldsData_commentsIssuedAggregate + ]; + @override + final String wireName = 'GAccountFieldsData_commentsIssuedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_commentsIssuedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountFieldsData_commentsIssuedAggregate_aggregate))); + } + return result; + } + + @override + GAccountFieldsData_commentsIssuedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_commentsIssuedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_commentsIssuedAggregate_aggregate))! + as GAccountFieldsData_commentsIssuedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_commentsIssuedAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountFieldsData_commentsIssuedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_commentsIssuedAggregate_aggregate, + _$GAccountFieldsData_commentsIssuedAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountFieldsData_commentsIssuedAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_commentsIssuedAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountFieldsData_commentsIssuedAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountFieldsData_commentsIssuedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identitySerializer + implements StructuredSerializer<GAccountFieldsData_identity> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity, + _$GAccountFieldsData_identity + ]; + @override + final String wireName = 'GAccountFieldsData_identity'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountFieldsData_identity object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'certIssued', + serializers.serialize(object.certIssued, + specifiedType: const FullType(BuiltList, + const [const FullType(GAccountFieldsData_identity_certIssued)])), + 'certIssuedAggregate', + serializers.serialize(object.certIssuedAggregate, + specifiedType: + const FullType(GAccountFieldsData_identity_certIssuedAggregate)), + 'certReceived', + serializers.serialize(object.certReceived, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_identity_certReceived) + ])), + 'certReceivedAggregate', + serializers.serialize(object.certReceivedAggregate, + specifiedType: const FullType( + GAccountFieldsData_identity_certReceivedAggregate)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'index', + serializers.serialize(object.index, specifiedType: const FullType(int)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'lastChangeOn', + serializers.serialize(object.lastChangeOn, + specifiedType: const FullType(int)), + 'linkedAccount', + serializers.serialize(object.linkedAccount, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_identity_linkedAccount) + ])), + 'linkedAccountAggregate', + serializers.serialize(object.linkedAccountAggregate, + specifiedType: const FullType( + GAccountFieldsData_identity_linkedAccountAggregate)), + 'membershipHistory', + serializers.serialize(object.membershipHistory, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_identity_membershipHistory) + ])), + 'membershipHistoryAggregate', + serializers.serialize(object.membershipHistoryAggregate, + specifiedType: const FullType( + GAccountFieldsData_identity_membershipHistoryAggregate)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'ownerKeyChange', + serializers.serialize(object.ownerKeyChange, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_identity_ownerKeyChange) + ])), + 'ownerKeyChangeAggregate', + serializers.serialize(object.ownerKeyChangeAggregate, + specifiedType: const FullType( + GAccountFieldsData_identity_ownerKeyChangeAggregate)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.accountRemovedId; + if (value != null) { + result + ..add('accountRemovedId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.createdInId; + if (value != null) { + result + ..add('createdInId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + value = object.smith; + if (value != null) { + result + ..add('smith') + ..add(serializers.serialize(value, + specifiedType: const FullType(GAccountFieldsData_identity_smith))); + } + value = object.udHistory; + if (value != null) { + result + ..add('udHistory') + ..add(serializers.serialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_identity_udHistory) + ]))); + } + return result; + } + + @override + GAccountFieldsData_identity deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_identityBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'accountRemovedId': + result.accountRemovedId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'certIssued': + result.certIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_identity_certIssued) + ]))! as BuiltList<Object?>); + break; + case 'certIssuedAggregate': + result.certIssuedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_certIssuedAggregate))! + as GAccountFieldsData_identity_certIssuedAggregate); + break; + case 'certReceived': + result.certReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_identity_certReceived) + ]))! as BuiltList<Object?>); + break; + case 'certReceivedAggregate': + result.certReceivedAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_certReceivedAggregate))! + as GAccountFieldsData_identity_certReceivedAggregate); + break; + case 'createdInId': + result.createdInId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'index': + result.index = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'lastChangeOn': + result.lastChangeOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'linkedAccount': + result.linkedAccount.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_identity_linkedAccount) + ]))! as BuiltList<Object?>); + break; + case 'linkedAccountAggregate': + result.linkedAccountAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_linkedAccountAggregate))! + as GAccountFieldsData_identity_linkedAccountAggregate); + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'membershipHistory': + result.membershipHistory.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_identity_membershipHistory) + ]))! as BuiltList<Object?>); + break; + case 'membershipHistoryAggregate': + result.membershipHistoryAggregate.replace(serializers.deserialize( + value, + specifiedType: const FullType( + GAccountFieldsData_identity_membershipHistoryAggregate))! + as GAccountFieldsData_identity_membershipHistoryAggregate); + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'ownerKeyChange': + result.ownerKeyChange.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_identity_ownerKeyChange) + ]))! as BuiltList<Object?>); + break; + case 'ownerKeyChangeAggregate': + result.ownerKeyChangeAggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_ownerKeyChangeAggregate))! + as GAccountFieldsData_identity_ownerKeyChangeAggregate); + break; + case 'smith': + result.smith.replace(serializers.deserialize(value, + specifiedType: + const FullType(GAccountFieldsData_identity_smith))! + as GAccountFieldsData_identity_smith); + break; + case 'udHistory': + result.udHistory.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_identity_udHistory) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_certIssuedSerializer + implements StructuredSerializer<GAccountFieldsData_identity_certIssued> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_certIssued, + _$GAccountFieldsData_identity_certIssued + ]; + @override + final String wireName = 'GAccountFieldsData_identity_certIssued'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountFieldsData_identity_certIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + 'updatedOn', + serializers.serialize(object.updatedOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.issuer; + if (value != null) { + result + ..add('issuer') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GAccountFieldsData_identity_certIssued_issuer))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiver; + if (value != null) { + result + ..add('receiver') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_certIssued_receiver))); + } + return result; + } + + @override + GAccountFieldsData_identity_certIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_identity_certIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'issuer': + result.issuer.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_certIssued_issuer))! + as GAccountFieldsData_identity_certIssued_issuer); + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiver': + result.receiver.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_certIssued_receiver))! + as GAccountFieldsData_identity_certIssued_receiver); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'updatedOn': + result.updatedOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_certIssued_issuerSerializer + implements + StructuredSerializer<GAccountFieldsData_identity_certIssued_issuer> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_certIssued_issuer, + _$GAccountFieldsData_identity_certIssued_issuer + ]; + @override + final String wireName = 'GAccountFieldsData_identity_certIssued_issuer'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_identity_certIssued_issuer object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountFieldsData_identity_certIssued_issuer deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_identity_certIssued_issuerBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_certIssued_receiverSerializer + implements + StructuredSerializer<GAccountFieldsData_identity_certIssued_receiver> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_certIssued_receiver, + _$GAccountFieldsData_identity_certIssued_receiver + ]; + @override + final String wireName = 'GAccountFieldsData_identity_certIssued_receiver'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_identity_certIssued_receiver object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountFieldsData_identity_certIssued_receiver deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_identity_certIssued_receiverBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_certIssuedAggregateSerializer + implements + StructuredSerializer<GAccountFieldsData_identity_certIssuedAggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_certIssuedAggregate, + _$GAccountFieldsData_identity_certIssuedAggregate + ]; + @override + final String wireName = 'GAccountFieldsData_identity_certIssuedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_identity_certIssuedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_certIssuedAggregate_aggregate))); + } + return result; + } + + @override + GAccountFieldsData_identity_certIssuedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_identity_certIssuedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_certIssuedAggregate_aggregate))! + as GAccountFieldsData_identity_certIssuedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_certIssuedAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountFieldsData_identity_certIssuedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_certIssuedAggregate_aggregate, + _$GAccountFieldsData_identity_certIssuedAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountFieldsData_identity_certIssuedAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_identity_certIssuedAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountFieldsData_identity_certIssuedAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountFieldsData_identity_certIssuedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_certReceivedSerializer + implements StructuredSerializer<GAccountFieldsData_identity_certReceived> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_certReceived, + _$GAccountFieldsData_identity_certReceived + ]; + @override + final String wireName = 'GAccountFieldsData_identity_certReceived'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountFieldsData_identity_certReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + 'expireOn', + serializers.serialize(object.expireOn, + specifiedType: const FullType(int)), + 'isActive', + serializers.serialize(object.isActive, + specifiedType: const FullType(bool)), + 'updatedOn', + serializers.serialize(object.updatedOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.issuer; + if (value != null) { + result + ..add('issuer') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_certReceived_issuer))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiver; + if (value != null) { + result + ..add('receiver') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_certReceived_receiver))); + } + return result; + } + + @override + GAccountFieldsData_identity_certReceived deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_identity_certReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'issuer': + result.issuer.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_certReceived_issuer))! + as GAccountFieldsData_identity_certReceived_issuer); + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiver': + result.receiver.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_certReceived_receiver))! + as GAccountFieldsData_identity_certReceived_receiver); + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'expireOn': + result.expireOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'isActive': + result.isActive = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'updatedOn': + result.updatedOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_certReceived_issuerSerializer + implements + StructuredSerializer<GAccountFieldsData_identity_certReceived_issuer> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_certReceived_issuer, + _$GAccountFieldsData_identity_certReceived_issuer + ]; + @override + final String wireName = 'GAccountFieldsData_identity_certReceived_issuer'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_identity_certReceived_issuer object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountFieldsData_identity_certReceived_issuer deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_identity_certReceived_issuerBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_certReceived_receiverSerializer + implements + StructuredSerializer< + GAccountFieldsData_identity_certReceived_receiver> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_certReceived_receiver, + _$GAccountFieldsData_identity_certReceived_receiver + ]; + @override + final String wireName = 'GAccountFieldsData_identity_certReceived_receiver'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_identity_certReceived_receiver object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountFieldsData_identity_certReceived_receiver deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountFieldsData_identity_certReceived_receiverBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_certReceivedAggregateSerializer + implements + StructuredSerializer< + GAccountFieldsData_identity_certReceivedAggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_certReceivedAggregate, + _$GAccountFieldsData_identity_certReceivedAggregate + ]; + @override + final String wireName = 'GAccountFieldsData_identity_certReceivedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_identity_certReceivedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_certReceivedAggregate_aggregate))); + } + return result; + } + + @override + GAccountFieldsData_identity_certReceivedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountFieldsData_identity_certReceivedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_certReceivedAggregate_aggregate))! + as GAccountFieldsData_identity_certReceivedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_certReceivedAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountFieldsData_identity_certReceivedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_certReceivedAggregate_aggregate, + _$GAccountFieldsData_identity_certReceivedAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountFieldsData_identity_certReceivedAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_identity_certReceivedAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountFieldsData_identity_certReceivedAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountFieldsData_identity_certReceivedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_linkedAccountSerializer + implements StructuredSerializer<GAccountFieldsData_identity_linkedAccount> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_linkedAccount, + _$GAccountFieldsData_identity_linkedAccount + ]; + @override + final String wireName = 'GAccountFieldsData_identity_linkedAccount'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountFieldsData_identity_linkedAccount object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountFieldsData_identity_linkedAccount deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_identity_linkedAccountBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_linkedAccountAggregateSerializer + implements + StructuredSerializer< + GAccountFieldsData_identity_linkedAccountAggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_linkedAccountAggregate, + _$GAccountFieldsData_identity_linkedAccountAggregate + ]; + @override + final String wireName = 'GAccountFieldsData_identity_linkedAccountAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_identity_linkedAccountAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_linkedAccountAggregate_aggregate))); + } + return result; + } + + @override + GAccountFieldsData_identity_linkedAccountAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountFieldsData_identity_linkedAccountAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_linkedAccountAggregate_aggregate))! + as GAccountFieldsData_identity_linkedAccountAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_linkedAccountAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountFieldsData_identity_linkedAccountAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_linkedAccountAggregate_aggregate, + _$GAccountFieldsData_identity_linkedAccountAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountFieldsData_identity_linkedAccountAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_identity_linkedAccountAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountFieldsData_identity_linkedAccountAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountFieldsData_identity_linkedAccountAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_membershipHistorySerializer + implements + StructuredSerializer<GAccountFieldsData_identity_membershipHistory> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_membershipHistory, + _$GAccountFieldsData_identity_membershipHistory + ]; + @override + final String wireName = 'GAccountFieldsData_identity_membershipHistory'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_identity_membershipHistory object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.eventId; + if (value != null) { + result + ..add('eventId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.eventType; + if (value != null) { + result + ..add('eventType') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GEventTypeEnum))); + } + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GAccountFieldsData_identity_membershipHistory deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_identity_membershipHistoryBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'eventId': + result.eventId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'eventType': + result.eventType = serializers.deserialize(value, + specifiedType: const FullType(_i2.GEventTypeEnum)) + as _i2.GEventTypeEnum?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_membershipHistoryAggregateSerializer + implements + StructuredSerializer< + GAccountFieldsData_identity_membershipHistoryAggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_membershipHistoryAggregate, + _$GAccountFieldsData_identity_membershipHistoryAggregate + ]; + @override + final String wireName = + 'GAccountFieldsData_identity_membershipHistoryAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_identity_membershipHistoryAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_membershipHistoryAggregate_aggregate))); + } + return result; + } + + @override + GAccountFieldsData_identity_membershipHistoryAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountFieldsData_identity_membershipHistoryAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_membershipHistoryAggregate_aggregate))! + as GAccountFieldsData_identity_membershipHistoryAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_membershipHistoryAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountFieldsData_identity_membershipHistoryAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_membershipHistoryAggregate_aggregate, + _$GAccountFieldsData_identity_membershipHistoryAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountFieldsData_identity_membershipHistoryAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_identity_membershipHistoryAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountFieldsData_identity_membershipHistoryAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountFieldsData_identity_membershipHistoryAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_ownerKeyChangeSerializer + implements + StructuredSerializer<GAccountFieldsData_identity_ownerKeyChange> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_ownerKeyChange, + _$GAccountFieldsData_identity_ownerKeyChange + ]; + @override + final String wireName = 'GAccountFieldsData_identity_ownerKeyChange'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_identity_ownerKeyChange object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.nextId; + if (value != null) { + result + ..add('nextId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.previousId; + if (value != null) { + result + ..add('previousId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GAccountFieldsData_identity_ownerKeyChange deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_identity_ownerKeyChangeBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'nextId': + result.nextId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'previousId': + result.previousId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_ownerKeyChangeAggregateSerializer + implements + StructuredSerializer< + GAccountFieldsData_identity_ownerKeyChangeAggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_ownerKeyChangeAggregate, + _$GAccountFieldsData_identity_ownerKeyChangeAggregate + ]; + @override + final String wireName = 'GAccountFieldsData_identity_ownerKeyChangeAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_identity_ownerKeyChangeAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate))); + } + return result; + } + + @override + GAccountFieldsData_identity_ownerKeyChangeAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountFieldsData_identity_ownerKeyChangeAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate))! + as GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate, + _$GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_smithSerializer + implements StructuredSerializer<GAccountFieldsData_identity_smith> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_smith, + _$GAccountFieldsData_identity_smith + ]; + @override + final String wireName = 'GAccountFieldsData_identity_smith'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountFieldsData_identity_smith object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'forged', + serializers.serialize(object.forged, specifiedType: const FullType(int)), + 'index', + serializers.serialize(object.index, specifiedType: const FullType(int)), + 'smithCertIssued', + serializers.serialize(object.smithCertIssued, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_identity_smith_smithCertIssued) + ])), + 'smithCertReceived', + serializers.serialize(object.smithCertReceived, + specifiedType: const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_identity_smith_smithCertReceived) + ])), + ]; + Object? value; + value = object.lastChanged; + if (value != null) { + result + ..add('lastChanged') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.lastForged; + if (value != null) { + result + ..add('lastForged') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GAccountFieldsData_identity_smith deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_identity_smithBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'forged': + result.forged = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'index': + result.index = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'lastChanged': + result.lastChanged = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'lastForged': + result.lastForged = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'smithCertIssued': + result.smithCertIssued.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GAccountFieldsData_identity_smith_smithCertIssued) + ]))! as BuiltList<Object?>); + break; + case 'smithCertReceived': + result.smithCertReceived.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + GAccountFieldsData_identity_smith_smithCertReceived) + ]))! as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_smith_smithCertIssuedSerializer + implements + StructuredSerializer< + GAccountFieldsData_identity_smith_smithCertIssued> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_smith_smithCertIssued, + _$GAccountFieldsData_identity_smith_smithCertIssued + ]; + @override + final String wireName = 'GAccountFieldsData_identity_smith_smithCertIssued'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_identity_smith_smithCertIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GAccountFieldsData_identity_smith_smithCertIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountFieldsData_identity_smith_smithCertIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_smith_smithCertReceivedSerializer + implements + StructuredSerializer< + GAccountFieldsData_identity_smith_smithCertReceived> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_smith_smithCertReceived, + _$GAccountFieldsData_identity_smith_smithCertReceived + ]; + @override + final String wireName = 'GAccountFieldsData_identity_smith_smithCertReceived'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_identity_smith_smithCertReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'createdOn', + serializers.serialize(object.createdOn, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issuerId; + if (value != null) { + result + ..add('issuerId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.receiverId; + if (value != null) { + result + ..add('receiverId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GAccountFieldsData_identity_smith_smithCertReceived deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountFieldsData_identity_smith_smithCertReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'issuerId': + result.issuerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'receiverId': + result.receiverId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'createdOn': + result.createdOn = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_identity_udHistorySerializer + implements StructuredSerializer<GAccountFieldsData_identity_udHistory> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_identity_udHistory, + _$GAccountFieldsData_identity_udHistory + ]; + @override + final String wireName = 'GAccountFieldsData_identity_udHistory'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountFieldsData_identity_udHistory object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'amount', + serializers.serialize(object.amount, specifiedType: const FullType(int)), + 'timestamp', + serializers.serialize(object.timestamp, + specifiedType: const FullType(_i2.Gtimestamptz)), + ]; + + return result; + } + + @override + GAccountFieldsData_identity_udHistory deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_identity_udHistoryBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'timestamp': + result.timestamp.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.Gtimestamptz))! + as _i2.Gtimestamptz); + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_linkedIdentitySerializer + implements StructuredSerializer<GAccountFieldsData_linkedIdentity> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_linkedIdentity, + _$GAccountFieldsData_linkedIdentity + ]; + @override + final String wireName = 'GAccountFieldsData_linkedIdentity'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountFieldsData_linkedIdentity object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountFieldsData_linkedIdentity deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_linkedIdentityBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_removedIdentitiesSerializer + implements StructuredSerializer<GAccountFieldsData_removedIdentities> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_removedIdentities, + _$GAccountFieldsData_removedIdentities + ]; + @override + final String wireName = 'GAccountFieldsData_removedIdentities'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountFieldsData_removedIdentities object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'isMember', + serializers.serialize(object.isMember, + specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.accountId; + if (value != null) { + result + ..add('accountId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum))); + } + return result; + } + + @override + GAccountFieldsData_removedIdentities deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_removedIdentitiesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'accountId': + result.accountId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'isMember': + result.isMember = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentityStatusEnum)) + as _i2.GIdentityStatusEnum?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_removedIdentitiesAggregateSerializer + implements + StructuredSerializer<GAccountFieldsData_removedIdentitiesAggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_removedIdentitiesAggregate, + _$GAccountFieldsData_removedIdentitiesAggregate + ]; + @override + final String wireName = 'GAccountFieldsData_removedIdentitiesAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_removedIdentitiesAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountFieldsData_removedIdentitiesAggregate_aggregate))); + } + return result; + } + + @override + GAccountFieldsData_removedIdentitiesAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_removedIdentitiesAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_removedIdentitiesAggregate_aggregate))! + as GAccountFieldsData_removedIdentitiesAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_removedIdentitiesAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountFieldsData_removedIdentitiesAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_removedIdentitiesAggregate_aggregate, + _$GAccountFieldsData_removedIdentitiesAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountFieldsData_removedIdentitiesAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_removedIdentitiesAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountFieldsData_removedIdentitiesAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountFieldsData_removedIdentitiesAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_transfersIssuedSerializer + implements StructuredSerializer<GAccountFieldsData_transfersIssued> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_transfersIssued, + _$GAccountFieldsData_transfersIssued + ]; + @override + final String wireName = 'GAccountFieldsData_transfersIssued'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountFieldsData_transfersIssued object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'timestamp', + serializers.serialize(object.timestamp, + specifiedType: const FullType(_i2.Gtimestamptz)), + 'amount', + serializers.serialize(object.amount, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.to; + if (value != null) { + result + ..add('to') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GAccountFieldsData_transfersIssued_to))); + } + value = object.from; + if (value != null) { + result + ..add('from') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GAccountFieldsData_transfersIssued_from))); + } + value = object.comment; + if (value != null) { + result + ..add('comment') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GAccountFieldsData_transfersIssued_comment))); + } + return result; + } + + @override + GAccountFieldsData_transfersIssued deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_transfersIssuedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'timestamp': + result.timestamp.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.Gtimestamptz))! + as _i2.Gtimestamptz); + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'to': + result.to.replace(serializers.deserialize(value, + specifiedType: + const FullType(GAccountFieldsData_transfersIssued_to))! + as GAccountFieldsData_transfersIssued_to); + break; + case 'from': + result.from.replace(serializers.deserialize(value, + specifiedType: + const FullType(GAccountFieldsData_transfersIssued_from))! + as GAccountFieldsData_transfersIssued_from); + break; + case 'comment': + result.comment.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_transfersIssued_comment))! + as GAccountFieldsData_transfersIssued_comment); + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_transfersIssued_toSerializer + implements StructuredSerializer<GAccountFieldsData_transfersIssued_to> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_transfersIssued_to, + _$GAccountFieldsData_transfersIssued_to + ]; + @override + final String wireName = 'GAccountFieldsData_transfersIssued_to'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountFieldsData_transfersIssued_to object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountFieldsData_transfersIssued_to deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_transfersIssued_toBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_transfersIssued_fromSerializer + implements StructuredSerializer<GAccountFieldsData_transfersIssued_from> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_transfersIssued_from, + _$GAccountFieldsData_transfersIssued_from + ]; + @override + final String wireName = 'GAccountFieldsData_transfersIssued_from'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountFieldsData_transfersIssued_from object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountFieldsData_transfersIssued_from deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_transfersIssued_fromBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_transfersIssued_commentSerializer + implements + StructuredSerializer<GAccountFieldsData_transfersIssued_comment> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_transfersIssued_comment, + _$GAccountFieldsData_transfersIssued_comment + ]; + @override + final String wireName = 'GAccountFieldsData_transfersIssued_comment'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_transfersIssued_comment object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'remark', + serializers.serialize(object.remark, + specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountFieldsData_transfersIssued_comment deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_transfersIssued_commentBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'remark': + result.remark = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_transfersIssuedAggregateSerializer + implements + StructuredSerializer<GAccountFieldsData_transfersIssuedAggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_transfersIssuedAggregate, + _$GAccountFieldsData_transfersIssuedAggregate + ]; + @override + final String wireName = 'GAccountFieldsData_transfersIssuedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_transfersIssuedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountFieldsData_transfersIssuedAggregate_aggregate))); + } + return result; + } + + @override + GAccountFieldsData_transfersIssuedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_transfersIssuedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_transfersIssuedAggregate_aggregate))! + as GAccountFieldsData_transfersIssuedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_transfersIssuedAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountFieldsData_transfersIssuedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_transfersIssuedAggregate_aggregate, + _$GAccountFieldsData_transfersIssuedAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountFieldsData_transfersIssuedAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_transfersIssuedAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.sum; + if (value != null) { + result + ..add('sum') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountFieldsData_transfersIssuedAggregate_aggregate_sum))); + } + return result; + } + + @override + GAccountFieldsData_transfersIssuedAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountFieldsData_transfersIssuedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'sum': + result.sum.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_transfersIssuedAggregate_aggregate_sum))! + as GAccountFieldsData_transfersIssuedAggregate_aggregate_sum); + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_transfersIssuedAggregate_aggregate_sumSerializer + implements + StructuredSerializer< + GAccountFieldsData_transfersIssuedAggregate_aggregate_sum> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_transfersIssuedAggregate_aggregate_sum, + _$GAccountFieldsData_transfersIssuedAggregate_aggregate_sum + ]; + @override + final String wireName = + 'GAccountFieldsData_transfersIssuedAggregate_aggregate_sum'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_transfersIssuedAggregate_aggregate_sum object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.amount; + if (value != null) { + result + ..add('amount') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GAccountFieldsData_transfersIssuedAggregate_aggregate_sum deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountFieldsData_transfersIssuedAggregate_aggregate_sumBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_transfersReceivedSerializer + implements StructuredSerializer<GAccountFieldsData_transfersReceived> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_transfersReceived, + _$GAccountFieldsData_transfersReceived + ]; + @override + final String wireName = 'GAccountFieldsData_transfersReceived'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountFieldsData_transfersReceived object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'timestamp', + serializers.serialize(object.timestamp, + specifiedType: const FullType(_i2.Gtimestamptz)), + 'amount', + serializers.serialize(object.amount, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.to; + if (value != null) { + result + ..add('to') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GAccountFieldsData_transfersReceived_to))); + } + value = object.from; + if (value != null) { + result + ..add('from') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GAccountFieldsData_transfersReceived_from))); + } + value = object.comment; + if (value != null) { + result + ..add('comment') + ..add(serializers.serialize(value, + specifiedType: + const FullType(GAccountFieldsData_transfersReceived_comment))); + } + return result; + } + + @override + GAccountFieldsData_transfersReceived deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_transfersReceivedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'timestamp': + result.timestamp.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.Gtimestamptz))! + as _i2.Gtimestamptz); + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'to': + result.to.replace(serializers.deserialize(value, + specifiedType: + const FullType(GAccountFieldsData_transfersReceived_to))! + as GAccountFieldsData_transfersReceived_to); + break; + case 'from': + result.from.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_transfersReceived_from))! + as GAccountFieldsData_transfersReceived_from); + break; + case 'comment': + result.comment.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_transfersReceived_comment))! + as GAccountFieldsData_transfersReceived_comment); + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_transfersReceived_toSerializer + implements StructuredSerializer<GAccountFieldsData_transfersReceived_to> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_transfersReceived_to, + _$GAccountFieldsData_transfersReceived_to + ]; + @override + final String wireName = 'GAccountFieldsData_transfersReceived_to'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountFieldsData_transfersReceived_to object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountFieldsData_transfersReceived_to deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_transfersReceived_toBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_transfersReceived_fromSerializer + implements StructuredSerializer<GAccountFieldsData_transfersReceived_from> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_transfersReceived_from, + _$GAccountFieldsData_transfersReceived_from + ]; + @override + final String wireName = 'GAccountFieldsData_transfersReceived_from'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountFieldsData_transfersReceived_from object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountFieldsData_transfersReceived_from deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_transfersReceived_fromBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_transfersReceived_commentSerializer + implements + StructuredSerializer<GAccountFieldsData_transfersReceived_comment> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_transfersReceived_comment, + _$GAccountFieldsData_transfersReceived_comment + ]; + @override + final String wireName = 'GAccountFieldsData_transfersReceived_comment'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_transfersReceived_comment object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'remark', + serializers.serialize(object.remark, + specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountFieldsData_transfersReceived_comment deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_transfersReceived_commentBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'remark': + result.remark = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_transfersReceivedAggregateSerializer + implements + StructuredSerializer<GAccountFieldsData_transfersReceivedAggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_transfersReceivedAggregate, + _$GAccountFieldsData_transfersReceivedAggregate + ]; + @override + final String wireName = 'GAccountFieldsData_transfersReceivedAggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_transfersReceivedAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountFieldsData_transfersReceivedAggregate_aggregate))); + } + return result; + } + + @override + GAccountFieldsData_transfersReceivedAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_transfersReceivedAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_transfersReceivedAggregate_aggregate))! + as GAccountFieldsData_transfersReceivedAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_transfersReceivedAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountFieldsData_transfersReceivedAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_transfersReceivedAggregate_aggregate, + _$GAccountFieldsData_transfersReceivedAggregate_aggregate + ]; + @override + final String wireName = + 'GAccountFieldsData_transfersReceivedAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_transfersReceivedAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.sum; + if (value != null) { + result + ..add('sum') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountFieldsData_transfersReceivedAggregate_aggregate_sum))); + } + return result; + } + + @override + GAccountFieldsData_transfersReceivedAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountFieldsData_transfersReceivedAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'sum': + result.sum.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_transfersReceivedAggregate_aggregate_sum))! + as GAccountFieldsData_transfersReceivedAggregate_aggregate_sum); + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_transfersReceivedAggregate_aggregate_sumSerializer + implements + StructuredSerializer< + GAccountFieldsData_transfersReceivedAggregate_aggregate_sum> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_transfersReceivedAggregate_aggregate_sum, + _$GAccountFieldsData_transfersReceivedAggregate_aggregate_sum + ]; + @override + final String wireName = + 'GAccountFieldsData_transfersReceivedAggregate_aggregate_sum'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_transfersReceivedAggregate_aggregate_sum object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.amount; + if (value != null) { + result + ..add('amount') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GAccountFieldsData_transfersReceivedAggregate_aggregate_sum deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountFieldsData_transfersReceivedAggregate_aggregate_sumBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_wasIdentitySerializer + implements StructuredSerializer<GAccountFieldsData_wasIdentity> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_wasIdentity, + _$GAccountFieldsData_wasIdentity + ]; + @override + final String wireName = 'GAccountFieldsData_wasIdentity'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountFieldsData_wasIdentity object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.identityId; + if (value != null) { + result + ..add('identityId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.nextId; + if (value != null) { + result + ..add('nextId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.previousId; + if (value != null) { + result + ..add('previousId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GAccountFieldsData_wasIdentity deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_wasIdentityBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'identityId': + result.identityId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'nextId': + result.nextId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'previousId': + result.previousId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_wasIdentityAggregateSerializer + implements StructuredSerializer<GAccountFieldsData_wasIdentityAggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_wasIdentityAggregate, + _$GAccountFieldsData_wasIdentityAggregate + ]; + @override + final String wireName = 'GAccountFieldsData_wasIdentityAggregate'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountFieldsData_wasIdentityAggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.aggregate; + if (value != null) { + result + ..add('aggregate') + ..add(serializers.serialize(value, + specifiedType: const FullType( + GAccountFieldsData_wasIdentityAggregate_aggregate))); + } + return result; + } + + @override + GAccountFieldsData_wasIdentityAggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsData_wasIdentityAggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'aggregate': + result.aggregate.replace(serializers.deserialize(value, + specifiedType: const FullType( + GAccountFieldsData_wasIdentityAggregate_aggregate))! + as GAccountFieldsData_wasIdentityAggregate_aggregate); + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsData_wasIdentityAggregate_aggregateSerializer + implements + StructuredSerializer< + GAccountFieldsData_wasIdentityAggregate_aggregate> { + @override + final Iterable<Type> types = const [ + GAccountFieldsData_wasIdentityAggregate_aggregate, + _$GAccountFieldsData_wasIdentityAggregate_aggregate + ]; + @override + final String wireName = 'GAccountFieldsData_wasIdentityAggregate_aggregate'; + + @override + Iterable<Object?> serialize(Serializers serializers, + GAccountFieldsData_wasIdentityAggregate_aggregate object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'count', + serializers.serialize(object.count, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + GAccountFieldsData_wasIdentityAggregate_aggregate deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GAccountFieldsData_wasIdentityAggregate_aggregateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'count': + result.count = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$GTransferFieldsDataSerializer + implements StructuredSerializer<GTransferFieldsData> { + @override + final Iterable<Type> types = const [ + GTransferFieldsData, + _$GTransferFieldsData + ]; + @override + final String wireName = 'GTransferFieldsData'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GTransferFieldsData object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'blockNumber', + serializers.serialize(object.blockNumber, + specifiedType: const FullType(int)), + 'timestamp', + serializers.serialize(object.timestamp, + specifiedType: const FullType(_i2.Gtimestamptz)), + 'amount', + serializers.serialize(object.amount, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.to; + if (value != null) { + result + ..add('to') + ..add(serializers.serialize(value, + specifiedType: const FullType(GTransferFieldsData_to))); + } + value = object.from; + if (value != null) { + result + ..add('from') + ..add(serializers.serialize(value, + specifiedType: const FullType(GTransferFieldsData_from))); + } + value = object.comment; + if (value != null) { + result + ..add('comment') + ..add(serializers.serialize(value, + specifiedType: const FullType(GTransferFieldsData_comment))); + } + return result; + } + + @override + GTransferFieldsData deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GTransferFieldsDataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'blockNumber': + result.blockNumber = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'timestamp': + result.timestamp.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.Gtimestamptz))! + as _i2.Gtimestamptz); + break; + case 'amount': + result.amount = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'to': + result.to.replace(serializers.deserialize(value, + specifiedType: const FullType(GTransferFieldsData_to))! + as GTransferFieldsData_to); + break; + case 'from': + result.from.replace(serializers.deserialize(value, + specifiedType: const FullType(GTransferFieldsData_from))! + as GTransferFieldsData_from); + break; + case 'comment': + result.comment.replace(serializers.deserialize(value, + specifiedType: const FullType(GTransferFieldsData_comment))! + as GTransferFieldsData_comment); + break; + } + } + + return result.build(); + } +} + +class _$GTransferFieldsData_toSerializer + implements StructuredSerializer<GTransferFieldsData_to> { + @override + final Iterable<Type> types = const [ + GTransferFieldsData_to, + _$GTransferFieldsData_to + ]; + @override + final String wireName = 'GTransferFieldsData_to'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GTransferFieldsData_to object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GTransferFieldsData_to deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GTransferFieldsData_toBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GTransferFieldsData_fromSerializer + implements StructuredSerializer<GTransferFieldsData_from> { + @override + final Iterable<Type> types = const [ + GTransferFieldsData_from, + _$GTransferFieldsData_from + ]; + @override + final String wireName = 'GTransferFieldsData_from'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GTransferFieldsData_from object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GTransferFieldsData_from deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GTransferFieldsData_fromBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GTransferFieldsData_commentSerializer + implements StructuredSerializer<GTransferFieldsData_comment> { + @override + final Iterable<Type> types = const [ + GTransferFieldsData_comment, + _$GTransferFieldsData_comment + ]; + @override + final String wireName = 'GTransferFieldsData_comment'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GTransferFieldsData_comment object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + '__typename', + serializers.serialize(object.G__typename, + specifiedType: const FullType(String)), + 'remark', + serializers.serialize(object.remark, + specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GTransferFieldsData_comment deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GTransferFieldsData_commentBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '__typename': + result.G__typename = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'remark': + result.remark = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameOrPkData extends GIdentitiesByNameOrPkData { + @override + final String G__typename; + @override + final BuiltList<GIdentitiesByNameOrPkData_identity> identity; + + factory _$GIdentitiesByNameOrPkData( + [void Function(GIdentitiesByNameOrPkDataBuilder)? updates]) => + (new GIdentitiesByNameOrPkDataBuilder()..update(updates))._build(); + + _$GIdentitiesByNameOrPkData._( + {required this.G__typename, required this.identity}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentitiesByNameOrPkData', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + identity, r'GIdentitiesByNameOrPkData', 'identity'); + } + + @override + GIdentitiesByNameOrPkData rebuild( + void Function(GIdentitiesByNameOrPkDataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkDataBuilder toBuilder() => + new GIdentitiesByNameOrPkDataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameOrPkData && + G__typename == other.G__typename && + identity == other.identity; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, identity.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentitiesByNameOrPkData') + ..add('G__typename', G__typename) + ..add('identity', identity)) + .toString(); + } +} + +class GIdentitiesByNameOrPkDataBuilder + implements + Builder<GIdentitiesByNameOrPkData, GIdentitiesByNameOrPkDataBuilder> { + _$GIdentitiesByNameOrPkData? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + ListBuilder<GIdentitiesByNameOrPkData_identity>? _identity; + ListBuilder<GIdentitiesByNameOrPkData_identity> get identity => + _$this._identity ??= + new ListBuilder<GIdentitiesByNameOrPkData_identity>(); + set identity(ListBuilder<GIdentitiesByNameOrPkData_identity>? identity) => + _$this._identity = identity; + + GIdentitiesByNameOrPkDataBuilder() { + GIdentitiesByNameOrPkData._initializeBuilder(this); + } + + GIdentitiesByNameOrPkDataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _identity = $v.identity.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameOrPkData other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkData; + } + + @override + void update(void Function(GIdentitiesByNameOrPkDataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData build() => _build(); + + _$GIdentitiesByNameOrPkData _build() { + _$GIdentitiesByNameOrPkData _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameOrPkData._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentitiesByNameOrPkData', 'G__typename'), + identity: identity.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'identity'; + identity.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameOrPkData', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity + extends GIdentitiesByNameOrPkData_identity { + @override + final String G__typename; + @override + final String? accountId; + @override + final String? accountRemovedId; + @override + final BuiltList<GIdentitiesByNameOrPkData_identity_certIssued> certIssued; + @override + final GIdentitiesByNameOrPkData_identity_certIssuedAggregate + certIssuedAggregate; + @override + final BuiltList<GIdentitiesByNameOrPkData_identity_certReceived> certReceived; + @override + final GIdentitiesByNameOrPkData_identity_certReceivedAggregate + certReceivedAggregate; + @override + final String? createdInId; + @override + final int createdOn; + @override + final int expireOn; + @override + final String id; + @override + final int index; + @override + final bool isMember; + @override + final int lastChangeOn; + @override + final BuiltList<GIdentitiesByNameOrPkData_identity_linkedAccount> + linkedAccount; + @override + final GIdentitiesByNameOrPkData_identity_linkedAccountAggregate + linkedAccountAggregate; + @override + final _i2.GIdentityStatusEnum? status; + @override + final BuiltList<GIdentitiesByNameOrPkData_identity_membershipHistory> + membershipHistory; + @override + final GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate + membershipHistoryAggregate; + @override + final String name; + @override + final BuiltList<GIdentitiesByNameOrPkData_identity_ownerKeyChange> + ownerKeyChange; + @override + final GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate + ownerKeyChangeAggregate; + @override + final GIdentitiesByNameOrPkData_identity_smith? smith; + @override + final BuiltList<GIdentitiesByNameOrPkData_identity_udHistory>? udHistory; + + factory _$GIdentitiesByNameOrPkData_identity( + [void Function(GIdentitiesByNameOrPkData_identityBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identityBuilder()..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity._( + {required this.G__typename, + this.accountId, + this.accountRemovedId, + required this.certIssued, + required this.certIssuedAggregate, + required this.certReceived, + required this.certReceivedAggregate, + this.createdInId, + required this.createdOn, + required this.expireOn, + required this.id, + required this.index, + required this.isMember, + required this.lastChangeOn, + required this.linkedAccount, + required this.linkedAccountAggregate, + this.status, + required this.membershipHistory, + required this.membershipHistoryAggregate, + required this.name, + required this.ownerKeyChange, + required this.ownerKeyChangeAggregate, + this.smith, + this.udHistory}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentitiesByNameOrPkData_identity', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + certIssued, r'GIdentitiesByNameOrPkData_identity', 'certIssued'); + BuiltValueNullFieldError.checkNotNull(certIssuedAggregate, + r'GIdentitiesByNameOrPkData_identity', 'certIssuedAggregate'); + BuiltValueNullFieldError.checkNotNull( + certReceived, r'GIdentitiesByNameOrPkData_identity', 'certReceived'); + BuiltValueNullFieldError.checkNotNull(certReceivedAggregate, + r'GIdentitiesByNameOrPkData_identity', 'certReceivedAggregate'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentitiesByNameOrPkData_identity', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentitiesByNameOrPkData_identity', 'expireOn'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity', 'id'); + BuiltValueNullFieldError.checkNotNull( + index, r'GIdentitiesByNameOrPkData_identity', 'index'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GIdentitiesByNameOrPkData_identity', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + lastChangeOn, r'GIdentitiesByNameOrPkData_identity', 'lastChangeOn'); + BuiltValueNullFieldError.checkNotNull( + linkedAccount, r'GIdentitiesByNameOrPkData_identity', 'linkedAccount'); + BuiltValueNullFieldError.checkNotNull(linkedAccountAggregate, + r'GIdentitiesByNameOrPkData_identity', 'linkedAccountAggregate'); + BuiltValueNullFieldError.checkNotNull(membershipHistory, + r'GIdentitiesByNameOrPkData_identity', 'membershipHistory'); + BuiltValueNullFieldError.checkNotNull(membershipHistoryAggregate, + r'GIdentitiesByNameOrPkData_identity', 'membershipHistoryAggregate'); + BuiltValueNullFieldError.checkNotNull( + name, r'GIdentitiesByNameOrPkData_identity', 'name'); + BuiltValueNullFieldError.checkNotNull(ownerKeyChange, + r'GIdentitiesByNameOrPkData_identity', 'ownerKeyChange'); + BuiltValueNullFieldError.checkNotNull(ownerKeyChangeAggregate, + r'GIdentitiesByNameOrPkData_identity', 'ownerKeyChangeAggregate'); + } + + @override + GIdentitiesByNameOrPkData_identity rebuild( + void Function(GIdentitiesByNameOrPkData_identityBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identityBuilder toBuilder() => + new GIdentitiesByNameOrPkData_identityBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameOrPkData_identity && + G__typename == other.G__typename && + accountId == other.accountId && + accountRemovedId == other.accountRemovedId && + certIssued == other.certIssued && + certIssuedAggregate == other.certIssuedAggregate && + certReceived == other.certReceived && + certReceivedAggregate == other.certReceivedAggregate && + createdInId == other.createdInId && + createdOn == other.createdOn && + expireOn == other.expireOn && + id == other.id && + index == other.index && + isMember == other.isMember && + lastChangeOn == other.lastChangeOn && + linkedAccount == other.linkedAccount && + linkedAccountAggregate == other.linkedAccountAggregate && + status == other.status && + membershipHistory == other.membershipHistory && + membershipHistoryAggregate == other.membershipHistoryAggregate && + name == other.name && + ownerKeyChange == other.ownerKeyChange && + ownerKeyChangeAggregate == other.ownerKeyChangeAggregate && + smith == other.smith && + udHistory == other.udHistory; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, accountRemovedId.hashCode); + _$hash = $jc(_$hash, certIssued.hashCode); + _$hash = $jc(_$hash, certIssuedAggregate.hashCode); + _$hash = $jc(_$hash, certReceived.hashCode); + _$hash = $jc(_$hash, certReceivedAggregate.hashCode); + _$hash = $jc(_$hash, createdInId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, index.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, lastChangeOn.hashCode); + _$hash = $jc(_$hash, linkedAccount.hashCode); + _$hash = $jc(_$hash, linkedAccountAggregate.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, membershipHistory.hashCode); + _$hash = $jc(_$hash, membershipHistoryAggregate.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, ownerKeyChange.hashCode); + _$hash = $jc(_$hash, ownerKeyChangeAggregate.hashCode); + _$hash = $jc(_$hash, smith.hashCode); + _$hash = $jc(_$hash, udHistory.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentitiesByNameOrPkData_identity') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('accountRemovedId', accountRemovedId) + ..add('certIssued', certIssued) + ..add('certIssuedAggregate', certIssuedAggregate) + ..add('certReceived', certReceived) + ..add('certReceivedAggregate', certReceivedAggregate) + ..add('createdInId', createdInId) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('id', id) + ..add('index', index) + ..add('isMember', isMember) + ..add('lastChangeOn', lastChangeOn) + ..add('linkedAccount', linkedAccount) + ..add('linkedAccountAggregate', linkedAccountAggregate) + ..add('status', status) + ..add('membershipHistory', membershipHistory) + ..add('membershipHistoryAggregate', membershipHistoryAggregate) + ..add('name', name) + ..add('ownerKeyChange', ownerKeyChange) + ..add('ownerKeyChangeAggregate', ownerKeyChangeAggregate) + ..add('smith', smith) + ..add('udHistory', udHistory)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identityBuilder + implements + Builder<GIdentitiesByNameOrPkData_identity, + GIdentitiesByNameOrPkData_identityBuilder> { + _$GIdentitiesByNameOrPkData_identity? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _accountRemovedId; + String? get accountRemovedId => _$this._accountRemovedId; + set accountRemovedId(String? accountRemovedId) => + _$this._accountRemovedId = accountRemovedId; + + ListBuilder<GIdentitiesByNameOrPkData_identity_certIssued>? _certIssued; + ListBuilder<GIdentitiesByNameOrPkData_identity_certIssued> get certIssued => + _$this._certIssued ??= + new ListBuilder<GIdentitiesByNameOrPkData_identity_certIssued>(); + set certIssued( + ListBuilder<GIdentitiesByNameOrPkData_identity_certIssued>? + certIssued) => + _$this._certIssued = certIssued; + + GIdentitiesByNameOrPkData_identity_certIssuedAggregateBuilder? + _certIssuedAggregate; + GIdentitiesByNameOrPkData_identity_certIssuedAggregateBuilder + get certIssuedAggregate => _$this._certIssuedAggregate ??= + new GIdentitiesByNameOrPkData_identity_certIssuedAggregateBuilder(); + set certIssuedAggregate( + GIdentitiesByNameOrPkData_identity_certIssuedAggregateBuilder? + certIssuedAggregate) => + _$this._certIssuedAggregate = certIssuedAggregate; + + ListBuilder<GIdentitiesByNameOrPkData_identity_certReceived>? _certReceived; + ListBuilder<GIdentitiesByNameOrPkData_identity_certReceived> + get certReceived => _$this._certReceived ??= + new ListBuilder<GIdentitiesByNameOrPkData_identity_certReceived>(); + set certReceived( + ListBuilder<GIdentitiesByNameOrPkData_identity_certReceived>? + certReceived) => + _$this._certReceived = certReceived; + + GIdentitiesByNameOrPkData_identity_certReceivedAggregateBuilder? + _certReceivedAggregate; + GIdentitiesByNameOrPkData_identity_certReceivedAggregateBuilder + get certReceivedAggregate => _$this._certReceivedAggregate ??= + new GIdentitiesByNameOrPkData_identity_certReceivedAggregateBuilder(); + set certReceivedAggregate( + GIdentitiesByNameOrPkData_identity_certReceivedAggregateBuilder? + certReceivedAggregate) => + _$this._certReceivedAggregate = certReceivedAggregate; + + String? _createdInId; + String? get createdInId => _$this._createdInId; + set createdInId(String? createdInId) => _$this._createdInId = createdInId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _index; + int? get index => _$this._index; + set index(int? index) => _$this._index = index; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + int? _lastChangeOn; + int? get lastChangeOn => _$this._lastChangeOn; + set lastChangeOn(int? lastChangeOn) => _$this._lastChangeOn = lastChangeOn; + + ListBuilder<GIdentitiesByNameOrPkData_identity_linkedAccount>? _linkedAccount; + ListBuilder<GIdentitiesByNameOrPkData_identity_linkedAccount> + get linkedAccount => _$this._linkedAccount ??= + new ListBuilder<GIdentitiesByNameOrPkData_identity_linkedAccount>(); + set linkedAccount( + ListBuilder<GIdentitiesByNameOrPkData_identity_linkedAccount>? + linkedAccount) => + _$this._linkedAccount = linkedAccount; + + GIdentitiesByNameOrPkData_identity_linkedAccountAggregateBuilder? + _linkedAccountAggregate; + GIdentitiesByNameOrPkData_identity_linkedAccountAggregateBuilder + get linkedAccountAggregate => _$this._linkedAccountAggregate ??= + new GIdentitiesByNameOrPkData_identity_linkedAccountAggregateBuilder(); + set linkedAccountAggregate( + GIdentitiesByNameOrPkData_identity_linkedAccountAggregateBuilder? + linkedAccountAggregate) => + _$this._linkedAccountAggregate = linkedAccountAggregate; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + ListBuilder<GIdentitiesByNameOrPkData_identity_membershipHistory>? + _membershipHistory; + ListBuilder<GIdentitiesByNameOrPkData_identity_membershipHistory> + get membershipHistory => _$this._membershipHistory ??= new ListBuilder< + GIdentitiesByNameOrPkData_identity_membershipHistory>(); + set membershipHistory( + ListBuilder<GIdentitiesByNameOrPkData_identity_membershipHistory>? + membershipHistory) => + _$this._membershipHistory = membershipHistory; + + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateBuilder? + _membershipHistoryAggregate; + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateBuilder + get membershipHistoryAggregate => _$this._membershipHistoryAggregate ??= + new GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateBuilder(); + set membershipHistoryAggregate( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateBuilder? + membershipHistoryAggregate) => + _$this._membershipHistoryAggregate = membershipHistoryAggregate; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + ListBuilder<GIdentitiesByNameOrPkData_identity_ownerKeyChange>? + _ownerKeyChange; + ListBuilder<GIdentitiesByNameOrPkData_identity_ownerKeyChange> + get ownerKeyChange => _$this._ownerKeyChange ??= + new ListBuilder<GIdentitiesByNameOrPkData_identity_ownerKeyChange>(); + set ownerKeyChange( + ListBuilder<GIdentitiesByNameOrPkData_identity_ownerKeyChange>? + ownerKeyChange) => + _$this._ownerKeyChange = ownerKeyChange; + + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateBuilder? + _ownerKeyChangeAggregate; + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateBuilder + get ownerKeyChangeAggregate => _$this._ownerKeyChangeAggregate ??= + new GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateBuilder(); + set ownerKeyChangeAggregate( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateBuilder? + ownerKeyChangeAggregate) => + _$this._ownerKeyChangeAggregate = ownerKeyChangeAggregate; + + GIdentitiesByNameOrPkData_identity_smithBuilder? _smith; + GIdentitiesByNameOrPkData_identity_smithBuilder get smith => + _$this._smith ??= new GIdentitiesByNameOrPkData_identity_smithBuilder(); + set smith(GIdentitiesByNameOrPkData_identity_smithBuilder? smith) => + _$this._smith = smith; + + ListBuilder<GIdentitiesByNameOrPkData_identity_udHistory>? _udHistory; + ListBuilder<GIdentitiesByNameOrPkData_identity_udHistory> get udHistory => + _$this._udHistory ??= + new ListBuilder<GIdentitiesByNameOrPkData_identity_udHistory>(); + set udHistory( + ListBuilder<GIdentitiesByNameOrPkData_identity_udHistory>? + udHistory) => + _$this._udHistory = udHistory; + + GIdentitiesByNameOrPkData_identityBuilder() { + GIdentitiesByNameOrPkData_identity._initializeBuilder(this); + } + + GIdentitiesByNameOrPkData_identityBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _accountRemovedId = $v.accountRemovedId; + _certIssued = $v.certIssued.toBuilder(); + _certIssuedAggregate = $v.certIssuedAggregate.toBuilder(); + _certReceived = $v.certReceived.toBuilder(); + _certReceivedAggregate = $v.certReceivedAggregate.toBuilder(); + _createdInId = $v.createdInId; + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _id = $v.id; + _index = $v.index; + _isMember = $v.isMember; + _lastChangeOn = $v.lastChangeOn; + _linkedAccount = $v.linkedAccount.toBuilder(); + _linkedAccountAggregate = $v.linkedAccountAggregate.toBuilder(); + _status = $v.status; + _membershipHistory = $v.membershipHistory.toBuilder(); + _membershipHistoryAggregate = $v.membershipHistoryAggregate.toBuilder(); + _name = $v.name; + _ownerKeyChange = $v.ownerKeyChange.toBuilder(); + _ownerKeyChangeAggregate = $v.ownerKeyChangeAggregate.toBuilder(); + _smith = $v.smith?.toBuilder(); + _udHistory = $v.udHistory?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameOrPkData_identity other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkData_identity; + } + + @override + void update( + void Function(GIdentitiesByNameOrPkData_identityBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity build() => _build(); + + _$GIdentitiesByNameOrPkData_identity _build() { + _$GIdentitiesByNameOrPkData_identity _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentitiesByNameOrPkData_identity', 'G__typename'), + accountId: accountId, + accountRemovedId: accountRemovedId, + certIssued: certIssued.build(), + certIssuedAggregate: certIssuedAggregate.build(), + certReceived: certReceived.build(), + certReceivedAggregate: certReceivedAggregate.build(), + createdInId: createdInId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentitiesByNameOrPkData_identity', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentitiesByNameOrPkData_identity', 'expireOn'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity', 'id'), + index: BuiltValueNullFieldError.checkNotNull( + index, r'GIdentitiesByNameOrPkData_identity', 'index'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, r'GIdentitiesByNameOrPkData_identity', 'isMember'), + lastChangeOn: BuiltValueNullFieldError.checkNotNull(lastChangeOn, + r'GIdentitiesByNameOrPkData_identity', 'lastChangeOn'), + linkedAccount: linkedAccount.build(), + linkedAccountAggregate: linkedAccountAggregate.build(), + status: status, + membershipHistory: membershipHistory.build(), + membershipHistoryAggregate: membershipHistoryAggregate.build(), + name: BuiltValueNullFieldError.checkNotNull(name, r'GIdentitiesByNameOrPkData_identity', 'name'), + ownerKeyChange: ownerKeyChange.build(), + ownerKeyChangeAggregate: ownerKeyChangeAggregate.build(), + smith: _smith?.build(), + udHistory: _udHistory?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'certIssued'; + certIssued.build(); + _$failedField = 'certIssuedAggregate'; + certIssuedAggregate.build(); + _$failedField = 'certReceived'; + certReceived.build(); + _$failedField = 'certReceivedAggregate'; + certReceivedAggregate.build(); + + _$failedField = 'linkedAccount'; + linkedAccount.build(); + _$failedField = 'linkedAccountAggregate'; + linkedAccountAggregate.build(); + + _$failedField = 'membershipHistory'; + membershipHistory.build(); + _$failedField = 'membershipHistoryAggregate'; + membershipHistoryAggregate.build(); + + _$failedField = 'ownerKeyChange'; + ownerKeyChange.build(); + _$failedField = 'ownerKeyChangeAggregate'; + ownerKeyChangeAggregate.build(); + _$failedField = 'smith'; + _smith?.build(); + _$failedField = 'udHistory'; + _udHistory?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameOrPkData_identity', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_certIssued + extends GIdentitiesByNameOrPkData_identity_certIssued { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final GIdentitiesByNameOrPkData_identity_certIssued_issuer? issuer; + @override + final String? receiverId; + @override + final GIdentitiesByNameOrPkData_identity_certIssued_receiver? receiver; + @override + final int createdOn; + @override + final int expireOn; + @override + final bool isActive; + @override + final int updatedOn; + + factory _$GIdentitiesByNameOrPkData_identity_certIssued( + [void Function(GIdentitiesByNameOrPkData_identity_certIssuedBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_certIssuedBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_certIssued._( + {required this.G__typename, + required this.id, + this.issuerId, + this.issuer, + this.receiverId, + this.receiver, + required this.createdOn, + required this.expireOn, + required this.isActive, + required this.updatedOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameOrPkData_identity_certIssued', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity_certIssued', 'id'); + BuiltValueNullFieldError.checkNotNull(createdOn, + r'GIdentitiesByNameOrPkData_identity_certIssued', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentitiesByNameOrPkData_identity_certIssued', 'expireOn'); + BuiltValueNullFieldError.checkNotNull( + isActive, r'GIdentitiesByNameOrPkData_identity_certIssued', 'isActive'); + BuiltValueNullFieldError.checkNotNull(updatedOn, + r'GIdentitiesByNameOrPkData_identity_certIssued', 'updatedOn'); + } + + @override + GIdentitiesByNameOrPkData_identity_certIssued rebuild( + void Function(GIdentitiesByNameOrPkData_identity_certIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_certIssuedBuilder toBuilder() => + new GIdentitiesByNameOrPkData_identity_certIssuedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameOrPkData_identity_certIssued && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + issuer == other.issuer && + receiverId == other.receiverId && + receiver == other.receiver && + createdOn == other.createdOn && + expireOn == other.expireOn && + isActive == other.isActive && + updatedOn == other.updatedOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, issuer.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, receiver.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, updatedOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_certIssued') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('issuer', issuer) + ..add('receiverId', receiverId) + ..add('receiver', receiver) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('isActive', isActive) + ..add('updatedOn', updatedOn)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_certIssuedBuilder + implements + Builder<GIdentitiesByNameOrPkData_identity_certIssued, + GIdentitiesByNameOrPkData_identity_certIssuedBuilder> { + _$GIdentitiesByNameOrPkData_identity_certIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + GIdentitiesByNameOrPkData_identity_certIssued_issuerBuilder? _issuer; + GIdentitiesByNameOrPkData_identity_certIssued_issuerBuilder get issuer => + _$this._issuer ??= + new GIdentitiesByNameOrPkData_identity_certIssued_issuerBuilder(); + set issuer( + GIdentitiesByNameOrPkData_identity_certIssued_issuerBuilder? + issuer) => + _$this._issuer = issuer; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + GIdentitiesByNameOrPkData_identity_certIssued_receiverBuilder? _receiver; + GIdentitiesByNameOrPkData_identity_certIssued_receiverBuilder get receiver => + _$this._receiver ??= + new GIdentitiesByNameOrPkData_identity_certIssued_receiverBuilder(); + set receiver( + GIdentitiesByNameOrPkData_identity_certIssued_receiverBuilder? + receiver) => + _$this._receiver = receiver; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + int? _updatedOn; + int? get updatedOn => _$this._updatedOn; + set updatedOn(int? updatedOn) => _$this._updatedOn = updatedOn; + + GIdentitiesByNameOrPkData_identity_certIssuedBuilder() { + GIdentitiesByNameOrPkData_identity_certIssued._initializeBuilder(this); + } + + GIdentitiesByNameOrPkData_identity_certIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _issuer = $v.issuer?.toBuilder(); + _receiverId = $v.receiverId; + _receiver = $v.receiver?.toBuilder(); + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _isActive = $v.isActive; + _updatedOn = $v.updatedOn; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameOrPkData_identity_certIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkData_identity_certIssued; + } + + @override + void update( + void Function(GIdentitiesByNameOrPkData_identity_certIssuedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_certIssued build() => _build(); + + _$GIdentitiesByNameOrPkData_identity_certIssued _build() { + _$GIdentitiesByNameOrPkData_identity_certIssued _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_certIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_certIssued', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity_certIssued', 'id'), + issuerId: issuerId, + issuer: _issuer?.build(), + receiverId: receiverId, + receiver: _receiver?.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentitiesByNameOrPkData_identity_certIssued', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentitiesByNameOrPkData_identity_certIssued', 'expireOn'), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GIdentitiesByNameOrPkData_identity_certIssued', 'isActive'), + updatedOn: BuiltValueNullFieldError.checkNotNull( + updatedOn, + r'GIdentitiesByNameOrPkData_identity_certIssued', + 'updatedOn')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'issuer'; + _issuer?.build(); + + _$failedField = 'receiver'; + _receiver?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameOrPkData_identity_certIssued', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_certIssued_issuer + extends GIdentitiesByNameOrPkData_identity_certIssued_issuer { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GIdentitiesByNameOrPkData_identity_certIssued_issuer( + [void Function( + GIdentitiesByNameOrPkData_identity_certIssued_issuerBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_certIssued_issuerBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_certIssued_issuer._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameOrPkData_identity_certIssued_issuer', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity_certIssued_issuer', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GIdentitiesByNameOrPkData_identity_certIssued_issuer', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GIdentitiesByNameOrPkData_identity_certIssued_issuer', 'name'); + } + + @override + GIdentitiesByNameOrPkData_identity_certIssued_issuer rebuild( + void Function( + GIdentitiesByNameOrPkData_identity_certIssued_issuerBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_certIssued_issuerBuilder toBuilder() => + new GIdentitiesByNameOrPkData_identity_certIssued_issuerBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameOrPkData_identity_certIssued_issuer && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_certIssued_issuer') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_certIssued_issuerBuilder + implements + Builder<GIdentitiesByNameOrPkData_identity_certIssued_issuer, + GIdentitiesByNameOrPkData_identity_certIssued_issuerBuilder> { + _$GIdentitiesByNameOrPkData_identity_certIssued_issuer? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GIdentitiesByNameOrPkData_identity_certIssued_issuerBuilder() { + GIdentitiesByNameOrPkData_identity_certIssued_issuer._initializeBuilder( + this); + } + + GIdentitiesByNameOrPkData_identity_certIssued_issuerBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameOrPkData_identity_certIssued_issuer other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkData_identity_certIssued_issuer; + } + + @override + void update( + void Function( + GIdentitiesByNameOrPkData_identity_certIssued_issuerBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_certIssued_issuer build() => _build(); + + _$GIdentitiesByNameOrPkData_identity_certIssued_issuer _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_certIssued_issuer._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_certIssued_issuer', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull(id, + r'GIdentitiesByNameOrPkData_identity_certIssued_issuer', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GIdentitiesByNameOrPkData_identity_certIssued_issuer', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, + r'GIdentitiesByNameOrPkData_identity_certIssued_issuer', + 'name')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_certIssued_receiver + extends GIdentitiesByNameOrPkData_identity_certIssued_receiver { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GIdentitiesByNameOrPkData_identity_certIssued_receiver( + [void Function( + GIdentitiesByNameOrPkData_identity_certIssued_receiverBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_certIssued_receiverBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_certIssued_receiver._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_certIssued_receiver', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity_certIssued_receiver', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GIdentitiesByNameOrPkData_identity_certIssued_receiver', 'isMember'); + BuiltValueNullFieldError.checkNotNull(name, + r'GIdentitiesByNameOrPkData_identity_certIssued_receiver', 'name'); + } + + @override + GIdentitiesByNameOrPkData_identity_certIssued_receiver rebuild( + void Function( + GIdentitiesByNameOrPkData_identity_certIssued_receiverBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_certIssued_receiverBuilder toBuilder() => + new GIdentitiesByNameOrPkData_identity_certIssued_receiverBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameOrPkData_identity_certIssued_receiver && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_certIssued_receiver') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_certIssued_receiverBuilder + implements + Builder<GIdentitiesByNameOrPkData_identity_certIssued_receiver, + GIdentitiesByNameOrPkData_identity_certIssued_receiverBuilder> { + _$GIdentitiesByNameOrPkData_identity_certIssued_receiver? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GIdentitiesByNameOrPkData_identity_certIssued_receiverBuilder() { + GIdentitiesByNameOrPkData_identity_certIssued_receiver._initializeBuilder( + this); + } + + GIdentitiesByNameOrPkData_identity_certIssued_receiverBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameOrPkData_identity_certIssued_receiver other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkData_identity_certIssued_receiver; + } + + @override + void update( + void Function( + GIdentitiesByNameOrPkData_identity_certIssued_receiverBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_certIssued_receiver build() => _build(); + + _$GIdentitiesByNameOrPkData_identity_certIssued_receiver _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_certIssued_receiver._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_certIssued_receiver', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GIdentitiesByNameOrPkData_identity_certIssued_receiver', + 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GIdentitiesByNameOrPkData_identity_certIssued_receiver', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, + r'GIdentitiesByNameOrPkData_identity_certIssued_receiver', + 'name')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate + extends GIdentitiesByNameOrPkData_identity_certIssuedAggregate { + @override + final String G__typename; + @override + final GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate? + aggregate; + + factory _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate( + [void Function( + GIdentitiesByNameOrPkData_identity_certIssuedAggregateBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_certIssuedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_certIssuedAggregate', + 'G__typename'); + } + + @override + GIdentitiesByNameOrPkData_identity_certIssuedAggregate rebuild( + void Function( + GIdentitiesByNameOrPkData_identity_certIssuedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_certIssuedAggregateBuilder toBuilder() => + new GIdentitiesByNameOrPkData_identity_certIssuedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameOrPkData_identity_certIssuedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_certIssuedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_certIssuedAggregateBuilder + implements + Builder<GIdentitiesByNameOrPkData_identity_certIssuedAggregate, + GIdentitiesByNameOrPkData_identity_certIssuedAggregateBuilder> { + _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateBuilder? + _aggregate; + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateBuilder(); + set aggregate( + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentitiesByNameOrPkData_identity_certIssuedAggregateBuilder() { + GIdentitiesByNameOrPkData_identity_certIssuedAggregate._initializeBuilder( + this); + } + + GIdentitiesByNameOrPkData_identity_certIssuedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameOrPkData_identity_certIssuedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate; + } + + @override + void update( + void Function( + GIdentitiesByNameOrPkData_identity_certIssuedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_certIssuedAggregate build() => _build(); + + _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate _build() { + _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_certIssuedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameOrPkData_identity_certIssuedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate + extends GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate( + [void Function( + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate', + 'count'); + } + + @override + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate rebuild( + void Function( + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateBuilder + toBuilder() => + new GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateBuilder + implements + Builder< + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateBuilder> { + _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateBuilder() { + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate + ._initializeBuilder(this); + } + + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate; + } + + @override + void update( + void Function( + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate build() => + _build(); + + _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_certReceived + extends GIdentitiesByNameOrPkData_identity_certReceived { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final GIdentitiesByNameOrPkData_identity_certReceived_issuer? issuer; + @override + final String? receiverId; + @override + final GIdentitiesByNameOrPkData_identity_certReceived_receiver? receiver; + @override + final int createdOn; + @override + final int expireOn; + @override + final bool isActive; + @override + final int updatedOn; + + factory _$GIdentitiesByNameOrPkData_identity_certReceived( + [void Function( + GIdentitiesByNameOrPkData_identity_certReceivedBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_certReceivedBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_certReceived._( + {required this.G__typename, + required this.id, + this.issuerId, + this.issuer, + this.receiverId, + this.receiver, + required this.createdOn, + required this.expireOn, + required this.isActive, + required this.updatedOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameOrPkData_identity_certReceived', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity_certReceived', 'id'); + BuiltValueNullFieldError.checkNotNull(createdOn, + r'GIdentitiesByNameOrPkData_identity_certReceived', 'createdOn'); + BuiltValueNullFieldError.checkNotNull(expireOn, + r'GIdentitiesByNameOrPkData_identity_certReceived', 'expireOn'); + BuiltValueNullFieldError.checkNotNull(isActive, + r'GIdentitiesByNameOrPkData_identity_certReceived', 'isActive'); + BuiltValueNullFieldError.checkNotNull(updatedOn, + r'GIdentitiesByNameOrPkData_identity_certReceived', 'updatedOn'); + } + + @override + GIdentitiesByNameOrPkData_identity_certReceived rebuild( + void Function(GIdentitiesByNameOrPkData_identity_certReceivedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_certReceivedBuilder toBuilder() => + new GIdentitiesByNameOrPkData_identity_certReceivedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameOrPkData_identity_certReceived && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + issuer == other.issuer && + receiverId == other.receiverId && + receiver == other.receiver && + createdOn == other.createdOn && + expireOn == other.expireOn && + isActive == other.isActive && + updatedOn == other.updatedOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, issuer.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, receiver.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, updatedOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_certReceived') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('issuer', issuer) + ..add('receiverId', receiverId) + ..add('receiver', receiver) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('isActive', isActive) + ..add('updatedOn', updatedOn)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_certReceivedBuilder + implements + Builder<GIdentitiesByNameOrPkData_identity_certReceived, + GIdentitiesByNameOrPkData_identity_certReceivedBuilder> { + _$GIdentitiesByNameOrPkData_identity_certReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + GIdentitiesByNameOrPkData_identity_certReceived_issuerBuilder? _issuer; + GIdentitiesByNameOrPkData_identity_certReceived_issuerBuilder get issuer => + _$this._issuer ??= + new GIdentitiesByNameOrPkData_identity_certReceived_issuerBuilder(); + set issuer( + GIdentitiesByNameOrPkData_identity_certReceived_issuerBuilder? + issuer) => + _$this._issuer = issuer; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + GIdentitiesByNameOrPkData_identity_certReceived_receiverBuilder? _receiver; + GIdentitiesByNameOrPkData_identity_certReceived_receiverBuilder + get receiver => _$this._receiver ??= + new GIdentitiesByNameOrPkData_identity_certReceived_receiverBuilder(); + set receiver( + GIdentitiesByNameOrPkData_identity_certReceived_receiverBuilder? + receiver) => + _$this._receiver = receiver; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + int? _updatedOn; + int? get updatedOn => _$this._updatedOn; + set updatedOn(int? updatedOn) => _$this._updatedOn = updatedOn; + + GIdentitiesByNameOrPkData_identity_certReceivedBuilder() { + GIdentitiesByNameOrPkData_identity_certReceived._initializeBuilder(this); + } + + GIdentitiesByNameOrPkData_identity_certReceivedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _issuer = $v.issuer?.toBuilder(); + _receiverId = $v.receiverId; + _receiver = $v.receiver?.toBuilder(); + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _isActive = $v.isActive; + _updatedOn = $v.updatedOn; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameOrPkData_identity_certReceived other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkData_identity_certReceived; + } + + @override + void update( + void Function(GIdentitiesByNameOrPkData_identity_certReceivedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_certReceived build() => _build(); + + _$GIdentitiesByNameOrPkData_identity_certReceived _build() { + _$GIdentitiesByNameOrPkData_identity_certReceived _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_certReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_certReceived', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity_certReceived', 'id'), + issuerId: issuerId, + issuer: _issuer?.build(), + receiverId: receiverId, + receiver: _receiver?.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentitiesByNameOrPkData_identity_certReceived', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentitiesByNameOrPkData_identity_certReceived', 'expireOn'), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GIdentitiesByNameOrPkData_identity_certReceived', 'isActive'), + updatedOn: BuiltValueNullFieldError.checkNotNull( + updatedOn, + r'GIdentitiesByNameOrPkData_identity_certReceived', + 'updatedOn')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'issuer'; + _issuer?.build(); + + _$failedField = 'receiver'; + _receiver?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameOrPkData_identity_certReceived', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_certReceived_issuer + extends GIdentitiesByNameOrPkData_identity_certReceived_issuer { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GIdentitiesByNameOrPkData_identity_certReceived_issuer( + [void Function( + GIdentitiesByNameOrPkData_identity_certReceived_issuerBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_certReceived_issuerBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_certReceived_issuer._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_certReceived_issuer', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity_certReceived_issuer', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GIdentitiesByNameOrPkData_identity_certReceived_issuer', 'isMember'); + BuiltValueNullFieldError.checkNotNull(name, + r'GIdentitiesByNameOrPkData_identity_certReceived_issuer', 'name'); + } + + @override + GIdentitiesByNameOrPkData_identity_certReceived_issuer rebuild( + void Function( + GIdentitiesByNameOrPkData_identity_certReceived_issuerBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_certReceived_issuerBuilder toBuilder() => + new GIdentitiesByNameOrPkData_identity_certReceived_issuerBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameOrPkData_identity_certReceived_issuer && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_certReceived_issuer') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_certReceived_issuerBuilder + implements + Builder<GIdentitiesByNameOrPkData_identity_certReceived_issuer, + GIdentitiesByNameOrPkData_identity_certReceived_issuerBuilder> { + _$GIdentitiesByNameOrPkData_identity_certReceived_issuer? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GIdentitiesByNameOrPkData_identity_certReceived_issuerBuilder() { + GIdentitiesByNameOrPkData_identity_certReceived_issuer._initializeBuilder( + this); + } + + GIdentitiesByNameOrPkData_identity_certReceived_issuerBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameOrPkData_identity_certReceived_issuer other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkData_identity_certReceived_issuer; + } + + @override + void update( + void Function( + GIdentitiesByNameOrPkData_identity_certReceived_issuerBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_certReceived_issuer build() => _build(); + + _$GIdentitiesByNameOrPkData_identity_certReceived_issuer _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_certReceived_issuer._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_certReceived_issuer', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GIdentitiesByNameOrPkData_identity_certReceived_issuer', + 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GIdentitiesByNameOrPkData_identity_certReceived_issuer', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, + r'GIdentitiesByNameOrPkData_identity_certReceived_issuer', + 'name')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_certReceived_receiver + extends GIdentitiesByNameOrPkData_identity_certReceived_receiver { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GIdentitiesByNameOrPkData_identity_certReceived_receiver( + [void Function( + GIdentitiesByNameOrPkData_identity_certReceived_receiverBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_certReceived_receiverBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_certReceived_receiver._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_certReceived_receiver', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity_certReceived_receiver', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, + r'GIdentitiesByNameOrPkData_identity_certReceived_receiver', + 'isMember'); + BuiltValueNullFieldError.checkNotNull(name, + r'GIdentitiesByNameOrPkData_identity_certReceived_receiver', 'name'); + } + + @override + GIdentitiesByNameOrPkData_identity_certReceived_receiver rebuild( + void Function( + GIdentitiesByNameOrPkData_identity_certReceived_receiverBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_certReceived_receiverBuilder toBuilder() => + new GIdentitiesByNameOrPkData_identity_certReceived_receiverBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameOrPkData_identity_certReceived_receiver && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_certReceived_receiver') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_certReceived_receiverBuilder + implements + Builder<GIdentitiesByNameOrPkData_identity_certReceived_receiver, + GIdentitiesByNameOrPkData_identity_certReceived_receiverBuilder> { + _$GIdentitiesByNameOrPkData_identity_certReceived_receiver? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GIdentitiesByNameOrPkData_identity_certReceived_receiverBuilder() { + GIdentitiesByNameOrPkData_identity_certReceived_receiver._initializeBuilder( + this); + } + + GIdentitiesByNameOrPkData_identity_certReceived_receiverBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameOrPkData_identity_certReceived_receiver other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkData_identity_certReceived_receiver; + } + + @override + void update( + void Function( + GIdentitiesByNameOrPkData_identity_certReceived_receiverBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_certReceived_receiver build() => _build(); + + _$GIdentitiesByNameOrPkData_identity_certReceived_receiver _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_certReceived_receiver._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_certReceived_receiver', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GIdentitiesByNameOrPkData_identity_certReceived_receiver', + 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GIdentitiesByNameOrPkData_identity_certReceived_receiver', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, + r'GIdentitiesByNameOrPkData_identity_certReceived_receiver', + 'name')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate + extends GIdentitiesByNameOrPkData_identity_certReceivedAggregate { + @override + final String G__typename; + @override + final GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate? + aggregate; + + factory _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate( + [void Function( + GIdentitiesByNameOrPkData_identity_certReceivedAggregateBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_certReceivedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_certReceivedAggregate', + 'G__typename'); + } + + @override + GIdentitiesByNameOrPkData_identity_certReceivedAggregate rebuild( + void Function( + GIdentitiesByNameOrPkData_identity_certReceivedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_certReceivedAggregateBuilder toBuilder() => + new GIdentitiesByNameOrPkData_identity_certReceivedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameOrPkData_identity_certReceivedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_certReceivedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_certReceivedAggregateBuilder + implements + Builder<GIdentitiesByNameOrPkData_identity_certReceivedAggregate, + GIdentitiesByNameOrPkData_identity_certReceivedAggregateBuilder> { + _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateBuilder? + _aggregate; + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateBuilder(); + set aggregate( + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentitiesByNameOrPkData_identity_certReceivedAggregateBuilder() { + GIdentitiesByNameOrPkData_identity_certReceivedAggregate._initializeBuilder( + this); + } + + GIdentitiesByNameOrPkData_identity_certReceivedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameOrPkData_identity_certReceivedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate; + } + + @override + void update( + void Function( + GIdentitiesByNameOrPkData_identity_certReceivedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_certReceivedAggregate build() => _build(); + + _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate _build() { + _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_certReceivedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameOrPkData_identity_certReceivedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate + extends GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate( + [void Function( + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate', + 'count'); + } + + @override + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate rebuild( + void Function( + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateBuilder + toBuilder() => + new GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateBuilder + implements + Builder< + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateBuilder> { + _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateBuilder() { + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate + ._initializeBuilder(this); + } + + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate; + } + + @override + void update( + void Function( + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate build() => + _build(); + + _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_linkedAccount + extends GIdentitiesByNameOrPkData_identity_linkedAccount { + @override + final String G__typename; + @override + final String id; + + factory _$GIdentitiesByNameOrPkData_identity_linkedAccount( + [void Function( + GIdentitiesByNameOrPkData_identity_linkedAccountBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_linkedAccountBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_linkedAccount._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameOrPkData_identity_linkedAccount', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity_linkedAccount', 'id'); + } + + @override + GIdentitiesByNameOrPkData_identity_linkedAccount rebuild( + void Function(GIdentitiesByNameOrPkData_identity_linkedAccountBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_linkedAccountBuilder toBuilder() => + new GIdentitiesByNameOrPkData_identity_linkedAccountBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameOrPkData_identity_linkedAccount && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_linkedAccount') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_linkedAccountBuilder + implements + Builder<GIdentitiesByNameOrPkData_identity_linkedAccount, + GIdentitiesByNameOrPkData_identity_linkedAccountBuilder> { + _$GIdentitiesByNameOrPkData_identity_linkedAccount? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GIdentitiesByNameOrPkData_identity_linkedAccountBuilder() { + GIdentitiesByNameOrPkData_identity_linkedAccount._initializeBuilder(this); + } + + GIdentitiesByNameOrPkData_identity_linkedAccountBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameOrPkData_identity_linkedAccount other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkData_identity_linkedAccount; + } + + @override + void update( + void Function(GIdentitiesByNameOrPkData_identity_linkedAccountBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_linkedAccount build() => _build(); + + _$GIdentitiesByNameOrPkData_identity_linkedAccount _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_linkedAccount._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_linkedAccount', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity_linkedAccount', 'id')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate + extends GIdentitiesByNameOrPkData_identity_linkedAccountAggregate { + @override + final String G__typename; + @override + final GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate? + aggregate; + + factory _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate( + [void Function( + GIdentitiesByNameOrPkData_identity_linkedAccountAggregateBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_linkedAccountAggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_linkedAccountAggregate', + 'G__typename'); + } + + @override + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate rebuild( + void Function( + GIdentitiesByNameOrPkData_identity_linkedAccountAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_linkedAccountAggregateBuilder + toBuilder() => + new GIdentitiesByNameOrPkData_identity_linkedAccountAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameOrPkData_identity_linkedAccountAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_linkedAccountAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_linkedAccountAggregateBuilder + implements + Builder<GIdentitiesByNameOrPkData_identity_linkedAccountAggregate, + GIdentitiesByNameOrPkData_identity_linkedAccountAggregateBuilder> { + _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateBuilder? + _aggregate; + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateBuilder(); + set aggregate( + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentitiesByNameOrPkData_identity_linkedAccountAggregateBuilder() { + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate + ._initializeBuilder(this); + } + + GIdentitiesByNameOrPkData_identity_linkedAccountAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate; + } + + @override + void update( + void Function( + GIdentitiesByNameOrPkData_identity_linkedAccountAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate build() => _build(); + + _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate _build() { + _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_linkedAccountAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameOrPkData_identity_linkedAccountAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate + extends GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate( + [void Function( + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate', + 'count'); + } + + @override + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate rebuild( + void Function( + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateBuilder + toBuilder() => + new GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateBuilder + implements + Builder< + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateBuilder> { + _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateBuilder() { + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate + ._initializeBuilder(this); + } + + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate; + } + + @override + void update( + void Function( + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate build() => + _build(); + + _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_membershipHistory + extends GIdentitiesByNameOrPkData_identity_membershipHistory { + @override + final String G__typename; + @override + final int blockNumber; + @override + final String? eventId; + @override + final _i2.GEventTypeEnum? eventType; + @override + final String id; + @override + final String? identityId; + + factory _$GIdentitiesByNameOrPkData_identity_membershipHistory( + [void Function( + GIdentitiesByNameOrPkData_identity_membershipHistoryBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_membershipHistoryBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_membershipHistory._( + {required this.G__typename, + required this.blockNumber, + this.eventId, + this.eventType, + required this.id, + this.identityId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameOrPkData_identity_membershipHistory', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GIdentitiesByNameOrPkData_identity_membershipHistory', 'blockNumber'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity_membershipHistory', 'id'); + } + + @override + GIdentitiesByNameOrPkData_identity_membershipHistory rebuild( + void Function( + GIdentitiesByNameOrPkData_identity_membershipHistoryBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_membershipHistoryBuilder toBuilder() => + new GIdentitiesByNameOrPkData_identity_membershipHistoryBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameOrPkData_identity_membershipHistory && + G__typename == other.G__typename && + blockNumber == other.blockNumber && + eventId == other.eventId && + eventType == other.eventType && + id == other.id && + identityId == other.identityId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, eventId.hashCode); + _$hash = $jc(_$hash, eventType.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_membershipHistory') + ..add('G__typename', G__typename) + ..add('blockNumber', blockNumber) + ..add('eventId', eventId) + ..add('eventType', eventType) + ..add('id', id) + ..add('identityId', identityId)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_membershipHistoryBuilder + implements + Builder<GIdentitiesByNameOrPkData_identity_membershipHistory, + GIdentitiesByNameOrPkData_identity_membershipHistoryBuilder> { + _$GIdentitiesByNameOrPkData_identity_membershipHistory? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _eventId; + String? get eventId => _$this._eventId; + set eventId(String? eventId) => _$this._eventId = eventId; + + _i2.GEventTypeEnum? _eventType; + _i2.GEventTypeEnum? get eventType => _$this._eventType; + set eventType(_i2.GEventTypeEnum? eventType) => _$this._eventType = eventType; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + GIdentitiesByNameOrPkData_identity_membershipHistoryBuilder() { + GIdentitiesByNameOrPkData_identity_membershipHistory._initializeBuilder( + this); + } + + GIdentitiesByNameOrPkData_identity_membershipHistoryBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _blockNumber = $v.blockNumber; + _eventId = $v.eventId; + _eventType = $v.eventType; + _id = $v.id; + _identityId = $v.identityId; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameOrPkData_identity_membershipHistory other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkData_identity_membershipHistory; + } + + @override + void update( + void Function( + GIdentitiesByNameOrPkData_identity_membershipHistoryBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_membershipHistory build() => _build(); + + _$GIdentitiesByNameOrPkData_identity_membershipHistory _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_membershipHistory._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_membershipHistory', + 'G__typename'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GIdentitiesByNameOrPkData_identity_membershipHistory', + 'blockNumber'), + eventId: eventId, + eventType: eventType, + id: BuiltValueNullFieldError.checkNotNull(id, + r'GIdentitiesByNameOrPkData_identity_membershipHistory', 'id'), + identityId: identityId); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate + extends GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate { + @override + final String G__typename; + @override + final GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate? + aggregate; + + factory _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate( + [void Function( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate', + 'G__typename'); + } + + @override + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate rebuild( + void Function( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateBuilder + toBuilder() => + new GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateBuilder + implements + Builder<GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate, + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateBuilder> { + _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateBuilder? + _aggregate; + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateBuilder(); + set aggregate( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateBuilder() { + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate + ._initializeBuilder(this); + } + + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate; + } + + @override + void update( + void Function( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate build() => + _build(); + + _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate _build() { + _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate + extends GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate( + [void Function( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate', + 'count'); + } + + @override + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate rebuild( + void Function( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateBuilder + toBuilder() => + new GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateBuilder + implements + Builder< + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateBuilder> { + _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate? + _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateBuilder() { + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate + ._initializeBuilder(this); + } + + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate; + } + + @override + void update( + void Function( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate + build() => _build(); + + _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_ownerKeyChange + extends GIdentitiesByNameOrPkData_identity_ownerKeyChange { + @override + final String G__typename; + @override + final String id; + @override + final int blockNumber; + @override + final String? identityId; + @override + final String? nextId; + @override + final String? previousId; + + factory _$GIdentitiesByNameOrPkData_identity_ownerKeyChange( + [void Function( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_ownerKeyChangeBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_ownerKeyChange._( + {required this.G__typename, + required this.id, + required this.blockNumber, + this.identityId, + this.nextId, + this.previousId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameOrPkData_identity_ownerKeyChange', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity_ownerKeyChange', 'id'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GIdentitiesByNameOrPkData_identity_ownerKeyChange', 'blockNumber'); + } + + @override + GIdentitiesByNameOrPkData_identity_ownerKeyChange rebuild( + void Function( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_ownerKeyChangeBuilder toBuilder() => + new GIdentitiesByNameOrPkData_identity_ownerKeyChangeBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameOrPkData_identity_ownerKeyChange && + G__typename == other.G__typename && + id == other.id && + blockNumber == other.blockNumber && + identityId == other.identityId && + nextId == other.nextId && + previousId == other.previousId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jc(_$hash, nextId.hashCode); + _$hash = $jc(_$hash, previousId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_ownerKeyChange') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('blockNumber', blockNumber) + ..add('identityId', identityId) + ..add('nextId', nextId) + ..add('previousId', previousId)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_ownerKeyChangeBuilder + implements + Builder<GIdentitiesByNameOrPkData_identity_ownerKeyChange, + GIdentitiesByNameOrPkData_identity_ownerKeyChangeBuilder> { + _$GIdentitiesByNameOrPkData_identity_ownerKeyChange? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + String? _nextId; + String? get nextId => _$this._nextId; + set nextId(String? nextId) => _$this._nextId = nextId; + + String? _previousId; + String? get previousId => _$this._previousId; + set previousId(String? previousId) => _$this._previousId = previousId; + + GIdentitiesByNameOrPkData_identity_ownerKeyChangeBuilder() { + GIdentitiesByNameOrPkData_identity_ownerKeyChange._initializeBuilder(this); + } + + GIdentitiesByNameOrPkData_identity_ownerKeyChangeBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _blockNumber = $v.blockNumber; + _identityId = $v.identityId; + _nextId = $v.nextId; + _previousId = $v.previousId; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameOrPkData_identity_ownerKeyChange other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkData_identity_ownerKeyChange; + } + + @override + void update( + void Function(GIdentitiesByNameOrPkData_identity_ownerKeyChangeBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_ownerKeyChange build() => _build(); + + _$GIdentitiesByNameOrPkData_identity_ownerKeyChange _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_ownerKeyChange._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_ownerKeyChange', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity_ownerKeyChange', 'id'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GIdentitiesByNameOrPkData_identity_ownerKeyChange', + 'blockNumber'), + identityId: identityId, + nextId: nextId, + previousId: previousId); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate + extends GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate { + @override + final String G__typename; + @override + final GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate? + aggregate; + + factory _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate( + [void Function( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate', + 'G__typename'); + } + + @override + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate rebuild( + void Function( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateBuilder + toBuilder() => + new GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateBuilder + implements + Builder<GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate, + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateBuilder> { + _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateBuilder? + _aggregate; + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateBuilder(); + set aggregate( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateBuilder() { + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate + ._initializeBuilder(this); + } + + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate; + } + + @override + void update( + void Function( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate build() => + _build(); + + _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate _build() { + _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate + extends GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate( + [void Function( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate', + 'count'); + } + + @override + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate rebuild( + void Function( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateBuilder + toBuilder() => + new GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateBuilder + implements + Builder< + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateBuilder> { + _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateBuilder() { + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate + ._initializeBuilder(this); + } + + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate; + } + + @override + void update( + void Function( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate + build() => _build(); + + _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_smith + extends GIdentitiesByNameOrPkData_identity_smith { + @override + final String G__typename; + @override + final String id; + @override + final int forged; + @override + final int index; + @override + final int? lastChanged; + @override + final int? lastForged; + @override + final BuiltList<GIdentitiesByNameOrPkData_identity_smith_smithCertIssued> + smithCertIssued; + @override + final BuiltList<GIdentitiesByNameOrPkData_identity_smith_smithCertReceived> + smithCertReceived; + + factory _$GIdentitiesByNameOrPkData_identity_smith( + [void Function(GIdentitiesByNameOrPkData_identity_smithBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_smithBuilder()..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_smith._( + {required this.G__typename, + required this.id, + required this.forged, + required this.index, + this.lastChanged, + this.lastForged, + required this.smithCertIssued, + required this.smithCertReceived}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameOrPkData_identity_smith', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity_smith', 'id'); + BuiltValueNullFieldError.checkNotNull( + forged, r'GIdentitiesByNameOrPkData_identity_smith', 'forged'); + BuiltValueNullFieldError.checkNotNull( + index, r'GIdentitiesByNameOrPkData_identity_smith', 'index'); + BuiltValueNullFieldError.checkNotNull(smithCertIssued, + r'GIdentitiesByNameOrPkData_identity_smith', 'smithCertIssued'); + BuiltValueNullFieldError.checkNotNull(smithCertReceived, + r'GIdentitiesByNameOrPkData_identity_smith', 'smithCertReceived'); + } + + @override + GIdentitiesByNameOrPkData_identity_smith rebuild( + void Function(GIdentitiesByNameOrPkData_identity_smithBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_smithBuilder toBuilder() => + new GIdentitiesByNameOrPkData_identity_smithBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameOrPkData_identity_smith && + G__typename == other.G__typename && + id == other.id && + forged == other.forged && + index == other.index && + lastChanged == other.lastChanged && + lastForged == other.lastForged && + smithCertIssued == other.smithCertIssued && + smithCertReceived == other.smithCertReceived; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, forged.hashCode); + _$hash = $jc(_$hash, index.hashCode); + _$hash = $jc(_$hash, lastChanged.hashCode); + _$hash = $jc(_$hash, lastForged.hashCode); + _$hash = $jc(_$hash, smithCertIssued.hashCode); + _$hash = $jc(_$hash, smithCertReceived.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_smith') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('forged', forged) + ..add('index', index) + ..add('lastChanged', lastChanged) + ..add('lastForged', lastForged) + ..add('smithCertIssued', smithCertIssued) + ..add('smithCertReceived', smithCertReceived)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_smithBuilder + implements + Builder<GIdentitiesByNameOrPkData_identity_smith, + GIdentitiesByNameOrPkData_identity_smithBuilder> { + _$GIdentitiesByNameOrPkData_identity_smith? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _forged; + int? get forged => _$this._forged; + set forged(int? forged) => _$this._forged = forged; + + int? _index; + int? get index => _$this._index; + set index(int? index) => _$this._index = index; + + int? _lastChanged; + int? get lastChanged => _$this._lastChanged; + set lastChanged(int? lastChanged) => _$this._lastChanged = lastChanged; + + int? _lastForged; + int? get lastForged => _$this._lastForged; + set lastForged(int? lastForged) => _$this._lastForged = lastForged; + + ListBuilder<GIdentitiesByNameOrPkData_identity_smith_smithCertIssued>? + _smithCertIssued; + ListBuilder<GIdentitiesByNameOrPkData_identity_smith_smithCertIssued> + get smithCertIssued => _$this._smithCertIssued ??= new ListBuilder< + GIdentitiesByNameOrPkData_identity_smith_smithCertIssued>(); + set smithCertIssued( + ListBuilder<GIdentitiesByNameOrPkData_identity_smith_smithCertIssued>? + smithCertIssued) => + _$this._smithCertIssued = smithCertIssued; + + ListBuilder<GIdentitiesByNameOrPkData_identity_smith_smithCertReceived>? + _smithCertReceived; + ListBuilder<GIdentitiesByNameOrPkData_identity_smith_smithCertReceived> + get smithCertReceived => _$this._smithCertReceived ??= new ListBuilder< + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived>(); + set smithCertReceived( + ListBuilder< + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived>? + smithCertReceived) => + _$this._smithCertReceived = smithCertReceived; + + GIdentitiesByNameOrPkData_identity_smithBuilder() { + GIdentitiesByNameOrPkData_identity_smith._initializeBuilder(this); + } + + GIdentitiesByNameOrPkData_identity_smithBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _forged = $v.forged; + _index = $v.index; + _lastChanged = $v.lastChanged; + _lastForged = $v.lastForged; + _smithCertIssued = $v.smithCertIssued.toBuilder(); + _smithCertReceived = $v.smithCertReceived.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameOrPkData_identity_smith other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkData_identity_smith; + } + + @override + void update( + void Function(GIdentitiesByNameOrPkData_identity_smithBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_smith build() => _build(); + + _$GIdentitiesByNameOrPkData_identity_smith _build() { + _$GIdentitiesByNameOrPkData_identity_smith _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_smith._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameOrPkData_identity_smith', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity_smith', 'id'), + forged: BuiltValueNullFieldError.checkNotNull(forged, + r'GIdentitiesByNameOrPkData_identity_smith', 'forged'), + index: BuiltValueNullFieldError.checkNotNull( + index, r'GIdentitiesByNameOrPkData_identity_smith', 'index'), + lastChanged: lastChanged, + lastForged: lastForged, + smithCertIssued: smithCertIssued.build(), + smithCertReceived: smithCertReceived.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'smithCertIssued'; + smithCertIssued.build(); + _$failedField = 'smithCertReceived'; + smithCertReceived.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameOrPkData_identity_smith', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_smith_smithCertIssued + extends GIdentitiesByNameOrPkData_identity_smith_smithCertIssued { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final String? receiverId; + @override + final int createdOn; + + factory _$GIdentitiesByNameOrPkData_identity_smith_smithCertIssued( + [void Function( + GIdentitiesByNameOrPkData_identity_smith_smithCertIssuedBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_smith_smithCertIssuedBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_smith_smithCertIssued._( + {required this.G__typename, + required this.id, + this.issuerId, + this.receiverId, + required this.createdOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_smith_smithCertIssued', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity_smith_smithCertIssued', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GIdentitiesByNameOrPkData_identity_smith_smithCertIssued', + 'createdOn'); + } + + @override + GIdentitiesByNameOrPkData_identity_smith_smithCertIssued rebuild( + void Function( + GIdentitiesByNameOrPkData_identity_smith_smithCertIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_smith_smithCertIssuedBuilder toBuilder() => + new GIdentitiesByNameOrPkData_identity_smith_smithCertIssuedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameOrPkData_identity_smith_smithCertIssued && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + receiverId == other.receiverId && + createdOn == other.createdOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_smith_smithCertIssued') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('receiverId', receiverId) + ..add('createdOn', createdOn)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_smith_smithCertIssuedBuilder + implements + Builder<GIdentitiesByNameOrPkData_identity_smith_smithCertIssued, + GIdentitiesByNameOrPkData_identity_smith_smithCertIssuedBuilder> { + _$GIdentitiesByNameOrPkData_identity_smith_smithCertIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + GIdentitiesByNameOrPkData_identity_smith_smithCertIssuedBuilder() { + GIdentitiesByNameOrPkData_identity_smith_smithCertIssued._initializeBuilder( + this); + } + + GIdentitiesByNameOrPkData_identity_smith_smithCertIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _receiverId = $v.receiverId; + _createdOn = $v.createdOn; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameOrPkData_identity_smith_smithCertIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkData_identity_smith_smithCertIssued; + } + + @override + void update( + void Function( + GIdentitiesByNameOrPkData_identity_smith_smithCertIssuedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_smith_smithCertIssued build() => _build(); + + _$GIdentitiesByNameOrPkData_identity_smith_smithCertIssued _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_smith_smithCertIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_smith_smithCertIssued', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GIdentitiesByNameOrPkData_identity_smith_smithCertIssued', + 'id'), + issuerId: issuerId, + receiverId: receiverId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GIdentitiesByNameOrPkData_identity_smith_smithCertIssued', + 'createdOn')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_smith_smithCertReceived + extends GIdentitiesByNameOrPkData_identity_smith_smithCertReceived { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final String? receiverId; + @override + final int createdOn; + + factory _$GIdentitiesByNameOrPkData_identity_smith_smithCertReceived( + [void Function( + GIdentitiesByNameOrPkData_identity_smith_smithCertReceivedBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_smith_smithCertReceivedBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_smith_smithCertReceived._( + {required this.G__typename, + required this.id, + this.issuerId, + this.receiverId, + required this.createdOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_smith_smithCertReceived', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull(id, + r'GIdentitiesByNameOrPkData_identity_smith_smithCertReceived', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GIdentitiesByNameOrPkData_identity_smith_smithCertReceived', + 'createdOn'); + } + + @override + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived rebuild( + void Function( + GIdentitiesByNameOrPkData_identity_smith_smithCertReceivedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_smith_smithCertReceivedBuilder + toBuilder() => + new GIdentitiesByNameOrPkData_identity_smith_smithCertReceivedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GIdentitiesByNameOrPkData_identity_smith_smithCertReceived && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + receiverId == other.receiverId && + createdOn == other.createdOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_smith_smithCertReceived') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('receiverId', receiverId) + ..add('createdOn', createdOn)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_smith_smithCertReceivedBuilder + implements + Builder<GIdentitiesByNameOrPkData_identity_smith_smithCertReceived, + GIdentitiesByNameOrPkData_identity_smith_smithCertReceivedBuilder> { + _$GIdentitiesByNameOrPkData_identity_smith_smithCertReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + GIdentitiesByNameOrPkData_identity_smith_smithCertReceivedBuilder() { + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived + ._initializeBuilder(this); + } + + GIdentitiesByNameOrPkData_identity_smith_smithCertReceivedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _receiverId = $v.receiverId; + _createdOn = $v.createdOn; + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkData_identity_smith_smithCertReceived; + } + + @override + void update( + void Function( + GIdentitiesByNameOrPkData_identity_smith_smithCertReceivedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived build() => + _build(); + + _$GIdentitiesByNameOrPkData_identity_smith_smithCertReceived _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_smith_smithCertReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_smith_smithCertReceived', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GIdentitiesByNameOrPkData_identity_smith_smithCertReceived', + 'id'), + issuerId: issuerId, + receiverId: receiverId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GIdentitiesByNameOrPkData_identity_smith_smithCertReceived', + 'createdOn')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameOrPkData_identity_udHistory + extends GIdentitiesByNameOrPkData_identity_udHistory { + @override + final String G__typename; + @override + final String id; + @override + final int amount; + @override + final _i2.Gtimestamptz timestamp; + + factory _$GIdentitiesByNameOrPkData_identity_udHistory( + [void Function(GIdentitiesByNameOrPkData_identity_udHistoryBuilder)? + updates]) => + (new GIdentitiesByNameOrPkData_identity_udHistoryBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameOrPkData_identity_udHistory._( + {required this.G__typename, + required this.id, + required this.amount, + required this.timestamp}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameOrPkData_identity_udHistory', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity_udHistory', 'id'); + BuiltValueNullFieldError.checkNotNull( + amount, r'GIdentitiesByNameOrPkData_identity_udHistory', 'amount'); + BuiltValueNullFieldError.checkNotNull(timestamp, + r'GIdentitiesByNameOrPkData_identity_udHistory', 'timestamp'); + } + + @override + GIdentitiesByNameOrPkData_identity_udHistory rebuild( + void Function(GIdentitiesByNameOrPkData_identity_udHistoryBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkData_identity_udHistoryBuilder toBuilder() => + new GIdentitiesByNameOrPkData_identity_udHistoryBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameOrPkData_identity_udHistory && + G__typename == other.G__typename && + id == other.id && + amount == other.amount && + timestamp == other.timestamp; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameOrPkData_identity_udHistory') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('amount', amount) + ..add('timestamp', timestamp)) + .toString(); + } +} + +class GIdentitiesByNameOrPkData_identity_udHistoryBuilder + implements + Builder<GIdentitiesByNameOrPkData_identity_udHistory, + GIdentitiesByNameOrPkData_identity_udHistoryBuilder> { + _$GIdentitiesByNameOrPkData_identity_udHistory? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + _i2.GtimestamptzBuilder? _timestamp; + _i2.GtimestamptzBuilder get timestamp => + _$this._timestamp ??= new _i2.GtimestamptzBuilder(); + set timestamp(_i2.GtimestamptzBuilder? timestamp) => + _$this._timestamp = timestamp; + + GIdentitiesByNameOrPkData_identity_udHistoryBuilder() { + GIdentitiesByNameOrPkData_identity_udHistory._initializeBuilder(this); + } + + GIdentitiesByNameOrPkData_identity_udHistoryBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _amount = $v.amount; + _timestamp = $v.timestamp.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameOrPkData_identity_udHistory other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkData_identity_udHistory; + } + + @override + void update( + void Function(GIdentitiesByNameOrPkData_identity_udHistoryBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkData_identity_udHistory build() => _build(); + + _$GIdentitiesByNameOrPkData_identity_udHistory _build() { + _$GIdentitiesByNameOrPkData_identity_udHistory _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameOrPkData_identity_udHistory._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameOrPkData_identity_udHistory', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameOrPkData_identity_udHistory', 'id'), + amount: BuiltValueNullFieldError.checkNotNull(amount, + r'GIdentitiesByNameOrPkData_identity_udHistory', 'amount'), + timestamp: timestamp.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'timestamp'; + timestamp.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameOrPkData_identity_udHistory', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData extends GIdentitiesByPkData { + @override + final String G__typename; + @override + final BuiltList<GIdentitiesByPkData_identity> identity; + + factory _$GIdentitiesByPkData( + [void Function(GIdentitiesByPkDataBuilder)? updates]) => + (new GIdentitiesByPkDataBuilder()..update(updates))._build(); + + _$GIdentitiesByPkData._({required this.G__typename, required this.identity}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentitiesByPkData', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + identity, r'GIdentitiesByPkData', 'identity'); + } + + @override + GIdentitiesByPkData rebuild( + void Function(GIdentitiesByPkDataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkDataBuilder toBuilder() => + new GIdentitiesByPkDataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData && + G__typename == other.G__typename && + identity == other.identity; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, identity.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentitiesByPkData') + ..add('G__typename', G__typename) + ..add('identity', identity)) + .toString(); + } +} + +class GIdentitiesByPkDataBuilder + implements Builder<GIdentitiesByPkData, GIdentitiesByPkDataBuilder> { + _$GIdentitiesByPkData? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + ListBuilder<GIdentitiesByPkData_identity>? _identity; + ListBuilder<GIdentitiesByPkData_identity> get identity => + _$this._identity ??= new ListBuilder<GIdentitiesByPkData_identity>(); + set identity(ListBuilder<GIdentitiesByPkData_identity>? identity) => + _$this._identity = identity; + + GIdentitiesByPkDataBuilder() { + GIdentitiesByPkData._initializeBuilder(this); + } + + GIdentitiesByPkDataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _identity = $v.identity.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData; + } + + @override + void update(void Function(GIdentitiesByPkDataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData build() => _build(); + + _$GIdentitiesByPkData _build() { + _$GIdentitiesByPkData _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByPkData._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentitiesByPkData', 'G__typename'), + identity: identity.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'identity'; + identity.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByPkData', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity extends GIdentitiesByPkData_identity { + @override + final String G__typename; + @override + final String? accountId; + @override + final String? accountRemovedId; + @override + final BuiltList<GIdentitiesByPkData_identity_certIssued> certIssued; + @override + final GIdentitiesByPkData_identity_certIssuedAggregate certIssuedAggregate; + @override + final BuiltList<GIdentitiesByPkData_identity_certReceived> certReceived; + @override + final GIdentitiesByPkData_identity_certReceivedAggregate + certReceivedAggregate; + @override + final String? createdInId; + @override + final int createdOn; + @override + final int expireOn; + @override + final String id; + @override + final int index; + @override + final bool isMember; + @override + final int lastChangeOn; + @override + final BuiltList<GIdentitiesByPkData_identity_linkedAccount> linkedAccount; + @override + final GIdentitiesByPkData_identity_linkedAccountAggregate + linkedAccountAggregate; + @override + final _i2.GIdentityStatusEnum? status; + @override + final BuiltList<GIdentitiesByPkData_identity_membershipHistory> + membershipHistory; + @override + final GIdentitiesByPkData_identity_membershipHistoryAggregate + membershipHistoryAggregate; + @override + final String name; + @override + final BuiltList<GIdentitiesByPkData_identity_ownerKeyChange> ownerKeyChange; + @override + final GIdentitiesByPkData_identity_ownerKeyChangeAggregate + ownerKeyChangeAggregate; + @override + final GIdentitiesByPkData_identity_smith? smith; + @override + final BuiltList<GIdentitiesByPkData_identity_udHistory>? udHistory; + + factory _$GIdentitiesByPkData_identity( + [void Function(GIdentitiesByPkData_identityBuilder)? updates]) => + (new GIdentitiesByPkData_identityBuilder()..update(updates))._build(); + + _$GIdentitiesByPkData_identity._( + {required this.G__typename, + this.accountId, + this.accountRemovedId, + required this.certIssued, + required this.certIssuedAggregate, + required this.certReceived, + required this.certReceivedAggregate, + this.createdInId, + required this.createdOn, + required this.expireOn, + required this.id, + required this.index, + required this.isMember, + required this.lastChangeOn, + required this.linkedAccount, + required this.linkedAccountAggregate, + this.status, + required this.membershipHistory, + required this.membershipHistoryAggregate, + required this.name, + required this.ownerKeyChange, + required this.ownerKeyChangeAggregate, + this.smith, + this.udHistory}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentitiesByPkData_identity', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + certIssued, r'GIdentitiesByPkData_identity', 'certIssued'); + BuiltValueNullFieldError.checkNotNull(certIssuedAggregate, + r'GIdentitiesByPkData_identity', 'certIssuedAggregate'); + BuiltValueNullFieldError.checkNotNull( + certReceived, r'GIdentitiesByPkData_identity', 'certReceived'); + BuiltValueNullFieldError.checkNotNull(certReceivedAggregate, + r'GIdentitiesByPkData_identity', 'certReceivedAggregate'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentitiesByPkData_identity', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentitiesByPkData_identity', 'expireOn'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity', 'id'); + BuiltValueNullFieldError.checkNotNull( + index, r'GIdentitiesByPkData_identity', 'index'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GIdentitiesByPkData_identity', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + lastChangeOn, r'GIdentitiesByPkData_identity', 'lastChangeOn'); + BuiltValueNullFieldError.checkNotNull( + linkedAccount, r'GIdentitiesByPkData_identity', 'linkedAccount'); + BuiltValueNullFieldError.checkNotNull(linkedAccountAggregate, + r'GIdentitiesByPkData_identity', 'linkedAccountAggregate'); + BuiltValueNullFieldError.checkNotNull(membershipHistory, + r'GIdentitiesByPkData_identity', 'membershipHistory'); + BuiltValueNullFieldError.checkNotNull(membershipHistoryAggregate, + r'GIdentitiesByPkData_identity', 'membershipHistoryAggregate'); + BuiltValueNullFieldError.checkNotNull( + name, r'GIdentitiesByPkData_identity', 'name'); + BuiltValueNullFieldError.checkNotNull( + ownerKeyChange, r'GIdentitiesByPkData_identity', 'ownerKeyChange'); + BuiltValueNullFieldError.checkNotNull(ownerKeyChangeAggregate, + r'GIdentitiesByPkData_identity', 'ownerKeyChangeAggregate'); + } + + @override + GIdentitiesByPkData_identity rebuild( + void Function(GIdentitiesByPkData_identityBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identityBuilder toBuilder() => + new GIdentitiesByPkData_identityBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData_identity && + G__typename == other.G__typename && + accountId == other.accountId && + accountRemovedId == other.accountRemovedId && + certIssued == other.certIssued && + certIssuedAggregate == other.certIssuedAggregate && + certReceived == other.certReceived && + certReceivedAggregate == other.certReceivedAggregate && + createdInId == other.createdInId && + createdOn == other.createdOn && + expireOn == other.expireOn && + id == other.id && + index == other.index && + isMember == other.isMember && + lastChangeOn == other.lastChangeOn && + linkedAccount == other.linkedAccount && + linkedAccountAggregate == other.linkedAccountAggregate && + status == other.status && + membershipHistory == other.membershipHistory && + membershipHistoryAggregate == other.membershipHistoryAggregate && + name == other.name && + ownerKeyChange == other.ownerKeyChange && + ownerKeyChangeAggregate == other.ownerKeyChangeAggregate && + smith == other.smith && + udHistory == other.udHistory; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, accountRemovedId.hashCode); + _$hash = $jc(_$hash, certIssued.hashCode); + _$hash = $jc(_$hash, certIssuedAggregate.hashCode); + _$hash = $jc(_$hash, certReceived.hashCode); + _$hash = $jc(_$hash, certReceivedAggregate.hashCode); + _$hash = $jc(_$hash, createdInId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, index.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, lastChangeOn.hashCode); + _$hash = $jc(_$hash, linkedAccount.hashCode); + _$hash = $jc(_$hash, linkedAccountAggregate.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, membershipHistory.hashCode); + _$hash = $jc(_$hash, membershipHistoryAggregate.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, ownerKeyChange.hashCode); + _$hash = $jc(_$hash, ownerKeyChangeAggregate.hashCode); + _$hash = $jc(_$hash, smith.hashCode); + _$hash = $jc(_$hash, udHistory.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentitiesByPkData_identity') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('accountRemovedId', accountRemovedId) + ..add('certIssued', certIssued) + ..add('certIssuedAggregate', certIssuedAggregate) + ..add('certReceived', certReceived) + ..add('certReceivedAggregate', certReceivedAggregate) + ..add('createdInId', createdInId) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('id', id) + ..add('index', index) + ..add('isMember', isMember) + ..add('lastChangeOn', lastChangeOn) + ..add('linkedAccount', linkedAccount) + ..add('linkedAccountAggregate', linkedAccountAggregate) + ..add('status', status) + ..add('membershipHistory', membershipHistory) + ..add('membershipHistoryAggregate', membershipHistoryAggregate) + ..add('name', name) + ..add('ownerKeyChange', ownerKeyChange) + ..add('ownerKeyChangeAggregate', ownerKeyChangeAggregate) + ..add('smith', smith) + ..add('udHistory', udHistory)) + .toString(); + } +} + +class GIdentitiesByPkData_identityBuilder + implements + Builder<GIdentitiesByPkData_identity, + GIdentitiesByPkData_identityBuilder> { + _$GIdentitiesByPkData_identity? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _accountRemovedId; + String? get accountRemovedId => _$this._accountRemovedId; + set accountRemovedId(String? accountRemovedId) => + _$this._accountRemovedId = accountRemovedId; + + ListBuilder<GIdentitiesByPkData_identity_certIssued>? _certIssued; + ListBuilder<GIdentitiesByPkData_identity_certIssued> get certIssued => + _$this._certIssued ??= + new ListBuilder<GIdentitiesByPkData_identity_certIssued>(); + set certIssued( + ListBuilder<GIdentitiesByPkData_identity_certIssued>? certIssued) => + _$this._certIssued = certIssued; + + GIdentitiesByPkData_identity_certIssuedAggregateBuilder? _certIssuedAggregate; + GIdentitiesByPkData_identity_certIssuedAggregateBuilder + get certIssuedAggregate => _$this._certIssuedAggregate ??= + new GIdentitiesByPkData_identity_certIssuedAggregateBuilder(); + set certIssuedAggregate( + GIdentitiesByPkData_identity_certIssuedAggregateBuilder? + certIssuedAggregate) => + _$this._certIssuedAggregate = certIssuedAggregate; + + ListBuilder<GIdentitiesByPkData_identity_certReceived>? _certReceived; + ListBuilder<GIdentitiesByPkData_identity_certReceived> get certReceived => + _$this._certReceived ??= + new ListBuilder<GIdentitiesByPkData_identity_certReceived>(); + set certReceived( + ListBuilder<GIdentitiesByPkData_identity_certReceived>? + certReceived) => + _$this._certReceived = certReceived; + + GIdentitiesByPkData_identity_certReceivedAggregateBuilder? + _certReceivedAggregate; + GIdentitiesByPkData_identity_certReceivedAggregateBuilder + get certReceivedAggregate => _$this._certReceivedAggregate ??= + new GIdentitiesByPkData_identity_certReceivedAggregateBuilder(); + set certReceivedAggregate( + GIdentitiesByPkData_identity_certReceivedAggregateBuilder? + certReceivedAggregate) => + _$this._certReceivedAggregate = certReceivedAggregate; + + String? _createdInId; + String? get createdInId => _$this._createdInId; + set createdInId(String? createdInId) => _$this._createdInId = createdInId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _index; + int? get index => _$this._index; + set index(int? index) => _$this._index = index; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + int? _lastChangeOn; + int? get lastChangeOn => _$this._lastChangeOn; + set lastChangeOn(int? lastChangeOn) => _$this._lastChangeOn = lastChangeOn; + + ListBuilder<GIdentitiesByPkData_identity_linkedAccount>? _linkedAccount; + ListBuilder<GIdentitiesByPkData_identity_linkedAccount> get linkedAccount => + _$this._linkedAccount ??= + new ListBuilder<GIdentitiesByPkData_identity_linkedAccount>(); + set linkedAccount( + ListBuilder<GIdentitiesByPkData_identity_linkedAccount>? + linkedAccount) => + _$this._linkedAccount = linkedAccount; + + GIdentitiesByPkData_identity_linkedAccountAggregateBuilder? + _linkedAccountAggregate; + GIdentitiesByPkData_identity_linkedAccountAggregateBuilder + get linkedAccountAggregate => _$this._linkedAccountAggregate ??= + new GIdentitiesByPkData_identity_linkedAccountAggregateBuilder(); + set linkedAccountAggregate( + GIdentitiesByPkData_identity_linkedAccountAggregateBuilder? + linkedAccountAggregate) => + _$this._linkedAccountAggregate = linkedAccountAggregate; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + ListBuilder<GIdentitiesByPkData_identity_membershipHistory>? + _membershipHistory; + ListBuilder<GIdentitiesByPkData_identity_membershipHistory> + get membershipHistory => _$this._membershipHistory ??= + new ListBuilder<GIdentitiesByPkData_identity_membershipHistory>(); + set membershipHistory( + ListBuilder<GIdentitiesByPkData_identity_membershipHistory>? + membershipHistory) => + _$this._membershipHistory = membershipHistory; + + GIdentitiesByPkData_identity_membershipHistoryAggregateBuilder? + _membershipHistoryAggregate; + GIdentitiesByPkData_identity_membershipHistoryAggregateBuilder + get membershipHistoryAggregate => _$this._membershipHistoryAggregate ??= + new GIdentitiesByPkData_identity_membershipHistoryAggregateBuilder(); + set membershipHistoryAggregate( + GIdentitiesByPkData_identity_membershipHistoryAggregateBuilder? + membershipHistoryAggregate) => + _$this._membershipHistoryAggregate = membershipHistoryAggregate; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + ListBuilder<GIdentitiesByPkData_identity_ownerKeyChange>? _ownerKeyChange; + ListBuilder<GIdentitiesByPkData_identity_ownerKeyChange> get ownerKeyChange => + _$this._ownerKeyChange ??= + new ListBuilder<GIdentitiesByPkData_identity_ownerKeyChange>(); + set ownerKeyChange( + ListBuilder<GIdentitiesByPkData_identity_ownerKeyChange>? + ownerKeyChange) => + _$this._ownerKeyChange = ownerKeyChange; + + GIdentitiesByPkData_identity_ownerKeyChangeAggregateBuilder? + _ownerKeyChangeAggregate; + GIdentitiesByPkData_identity_ownerKeyChangeAggregateBuilder + get ownerKeyChangeAggregate => _$this._ownerKeyChangeAggregate ??= + new GIdentitiesByPkData_identity_ownerKeyChangeAggregateBuilder(); + set ownerKeyChangeAggregate( + GIdentitiesByPkData_identity_ownerKeyChangeAggregateBuilder? + ownerKeyChangeAggregate) => + _$this._ownerKeyChangeAggregate = ownerKeyChangeAggregate; + + GIdentitiesByPkData_identity_smithBuilder? _smith; + GIdentitiesByPkData_identity_smithBuilder get smith => + _$this._smith ??= new GIdentitiesByPkData_identity_smithBuilder(); + set smith(GIdentitiesByPkData_identity_smithBuilder? smith) => + _$this._smith = smith; + + ListBuilder<GIdentitiesByPkData_identity_udHistory>? _udHistory; + ListBuilder<GIdentitiesByPkData_identity_udHistory> get udHistory => + _$this._udHistory ??= + new ListBuilder<GIdentitiesByPkData_identity_udHistory>(); + set udHistory( + ListBuilder<GIdentitiesByPkData_identity_udHistory>? udHistory) => + _$this._udHistory = udHistory; + + GIdentitiesByPkData_identityBuilder() { + GIdentitiesByPkData_identity._initializeBuilder(this); + } + + GIdentitiesByPkData_identityBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _accountRemovedId = $v.accountRemovedId; + _certIssued = $v.certIssued.toBuilder(); + _certIssuedAggregate = $v.certIssuedAggregate.toBuilder(); + _certReceived = $v.certReceived.toBuilder(); + _certReceivedAggregate = $v.certReceivedAggregate.toBuilder(); + _createdInId = $v.createdInId; + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _id = $v.id; + _index = $v.index; + _isMember = $v.isMember; + _lastChangeOn = $v.lastChangeOn; + _linkedAccount = $v.linkedAccount.toBuilder(); + _linkedAccountAggregate = $v.linkedAccountAggregate.toBuilder(); + _status = $v.status; + _membershipHistory = $v.membershipHistory.toBuilder(); + _membershipHistoryAggregate = $v.membershipHistoryAggregate.toBuilder(); + _name = $v.name; + _ownerKeyChange = $v.ownerKeyChange.toBuilder(); + _ownerKeyChangeAggregate = $v.ownerKeyChangeAggregate.toBuilder(); + _smith = $v.smith?.toBuilder(); + _udHistory = $v.udHistory?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData_identity other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity; + } + + @override + void update(void Function(GIdentitiesByPkData_identityBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity build() => _build(); + + _$GIdentitiesByPkData_identity _build() { + _$GIdentitiesByPkData_identity _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByPkData_identity._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentitiesByPkData_identity', 'G__typename'), + accountId: accountId, + accountRemovedId: accountRemovedId, + certIssued: certIssued.build(), + certIssuedAggregate: certIssuedAggregate.build(), + certReceived: certReceived.build(), + certReceivedAggregate: certReceivedAggregate.build(), + createdInId: createdInId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentitiesByPkData_identity', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentitiesByPkData_identity', 'expireOn'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity', 'id'), + index: BuiltValueNullFieldError.checkNotNull( + index, r'GIdentitiesByPkData_identity', 'index'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, r'GIdentitiesByPkData_identity', 'isMember'), + lastChangeOn: BuiltValueNullFieldError.checkNotNull( + lastChangeOn, r'GIdentitiesByPkData_identity', 'lastChangeOn'), + linkedAccount: linkedAccount.build(), + linkedAccountAggregate: linkedAccountAggregate.build(), + status: status, + membershipHistory: membershipHistory.build(), + membershipHistoryAggregate: membershipHistoryAggregate.build(), + name: BuiltValueNullFieldError.checkNotNull( + name, r'GIdentitiesByPkData_identity', 'name'), + ownerKeyChange: ownerKeyChange.build(), + ownerKeyChangeAggregate: ownerKeyChangeAggregate.build(), + smith: _smith?.build(), + udHistory: _udHistory?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'certIssued'; + certIssued.build(); + _$failedField = 'certIssuedAggregate'; + certIssuedAggregate.build(); + _$failedField = 'certReceived'; + certReceived.build(); + _$failedField = 'certReceivedAggregate'; + certReceivedAggregate.build(); + + _$failedField = 'linkedAccount'; + linkedAccount.build(); + _$failedField = 'linkedAccountAggregate'; + linkedAccountAggregate.build(); + + _$failedField = 'membershipHistory'; + membershipHistory.build(); + _$failedField = 'membershipHistoryAggregate'; + membershipHistoryAggregate.build(); + + _$failedField = 'ownerKeyChange'; + ownerKeyChange.build(); + _$failedField = 'ownerKeyChangeAggregate'; + ownerKeyChangeAggregate.build(); + _$failedField = 'smith'; + _smith?.build(); + _$failedField = 'udHistory'; + _udHistory?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByPkData_identity', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_certIssued + extends GIdentitiesByPkData_identity_certIssued { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final GIdentitiesByPkData_identity_certIssued_issuer? issuer; + @override + final String? receiverId; + @override + final GIdentitiesByPkData_identity_certIssued_receiver? receiver; + @override + final int createdOn; + @override + final int expireOn; + @override + final bool isActive; + @override + final int updatedOn; + + factory _$GIdentitiesByPkData_identity_certIssued( + [void Function(GIdentitiesByPkData_identity_certIssuedBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_certIssuedBuilder()..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_certIssued._( + {required this.G__typename, + required this.id, + this.issuerId, + this.issuer, + this.receiverId, + this.receiver, + required this.createdOn, + required this.expireOn, + required this.isActive, + required this.updatedOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentitiesByPkData_identity_certIssued', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_certIssued', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentitiesByPkData_identity_certIssued', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentitiesByPkData_identity_certIssued', 'expireOn'); + BuiltValueNullFieldError.checkNotNull( + isActive, r'GIdentitiesByPkData_identity_certIssued', 'isActive'); + BuiltValueNullFieldError.checkNotNull( + updatedOn, r'GIdentitiesByPkData_identity_certIssued', 'updatedOn'); + } + + @override + GIdentitiesByPkData_identity_certIssued rebuild( + void Function(GIdentitiesByPkData_identity_certIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_certIssuedBuilder toBuilder() => + new GIdentitiesByPkData_identity_certIssuedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData_identity_certIssued && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + issuer == other.issuer && + receiverId == other.receiverId && + receiver == other.receiver && + createdOn == other.createdOn && + expireOn == other.expireOn && + isActive == other.isActive && + updatedOn == other.updatedOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, issuer.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, receiver.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, updatedOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_certIssued') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('issuer', issuer) + ..add('receiverId', receiverId) + ..add('receiver', receiver) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('isActive', isActive) + ..add('updatedOn', updatedOn)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_certIssuedBuilder + implements + Builder<GIdentitiesByPkData_identity_certIssued, + GIdentitiesByPkData_identity_certIssuedBuilder> { + _$GIdentitiesByPkData_identity_certIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + GIdentitiesByPkData_identity_certIssued_issuerBuilder? _issuer; + GIdentitiesByPkData_identity_certIssued_issuerBuilder get issuer => + _$this._issuer ??= + new GIdentitiesByPkData_identity_certIssued_issuerBuilder(); + set issuer(GIdentitiesByPkData_identity_certIssued_issuerBuilder? issuer) => + _$this._issuer = issuer; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + GIdentitiesByPkData_identity_certIssued_receiverBuilder? _receiver; + GIdentitiesByPkData_identity_certIssued_receiverBuilder get receiver => + _$this._receiver ??= + new GIdentitiesByPkData_identity_certIssued_receiverBuilder(); + set receiver( + GIdentitiesByPkData_identity_certIssued_receiverBuilder? receiver) => + _$this._receiver = receiver; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + int? _updatedOn; + int? get updatedOn => _$this._updatedOn; + set updatedOn(int? updatedOn) => _$this._updatedOn = updatedOn; + + GIdentitiesByPkData_identity_certIssuedBuilder() { + GIdentitiesByPkData_identity_certIssued._initializeBuilder(this); + } + + GIdentitiesByPkData_identity_certIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _issuer = $v.issuer?.toBuilder(); + _receiverId = $v.receiverId; + _receiver = $v.receiver?.toBuilder(); + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _isActive = $v.isActive; + _updatedOn = $v.updatedOn; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData_identity_certIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity_certIssued; + } + + @override + void update( + void Function(GIdentitiesByPkData_identity_certIssuedBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_certIssued build() => _build(); + + _$GIdentitiesByPkData_identity_certIssued _build() { + _$GIdentitiesByPkData_identity_certIssued _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByPkData_identity_certIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_certIssued', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_certIssued', 'id'), + issuerId: issuerId, + issuer: _issuer?.build(), + receiverId: receiverId, + receiver: _receiver?.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentitiesByPkData_identity_certIssued', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentitiesByPkData_identity_certIssued', 'expireOn'), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GIdentitiesByPkData_identity_certIssued', 'isActive'), + updatedOn: BuiltValueNullFieldError.checkNotNull(updatedOn, + r'GIdentitiesByPkData_identity_certIssued', 'updatedOn')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'issuer'; + _issuer?.build(); + + _$failedField = 'receiver'; + _receiver?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByPkData_identity_certIssued', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_certIssued_issuer + extends GIdentitiesByPkData_identity_certIssued_issuer { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GIdentitiesByPkData_identity_certIssued_issuer( + [void Function(GIdentitiesByPkData_identity_certIssued_issuerBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_certIssued_issuerBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_certIssued_issuer._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_certIssued_issuer', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_certIssued_issuer', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GIdentitiesByPkData_identity_certIssued_issuer', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GIdentitiesByPkData_identity_certIssued_issuer', 'name'); + } + + @override + GIdentitiesByPkData_identity_certIssued_issuer rebuild( + void Function(GIdentitiesByPkData_identity_certIssued_issuerBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_certIssued_issuerBuilder toBuilder() => + new GIdentitiesByPkData_identity_certIssued_issuerBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData_identity_certIssued_issuer && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_certIssued_issuer') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_certIssued_issuerBuilder + implements + Builder<GIdentitiesByPkData_identity_certIssued_issuer, + GIdentitiesByPkData_identity_certIssued_issuerBuilder> { + _$GIdentitiesByPkData_identity_certIssued_issuer? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GIdentitiesByPkData_identity_certIssued_issuerBuilder() { + GIdentitiesByPkData_identity_certIssued_issuer._initializeBuilder(this); + } + + GIdentitiesByPkData_identity_certIssued_issuerBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData_identity_certIssued_issuer other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity_certIssued_issuer; + } + + @override + void update( + void Function(GIdentitiesByPkData_identity_certIssued_issuerBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_certIssued_issuer build() => _build(); + + _$GIdentitiesByPkData_identity_certIssued_issuer _build() { + final _$result = _$v ?? + new _$GIdentitiesByPkData_identity_certIssued_issuer._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_certIssued_issuer', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_certIssued_issuer', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull(isMember, + r'GIdentitiesByPkData_identity_certIssued_issuer', 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull(name, + r'GIdentitiesByPkData_identity_certIssued_issuer', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_certIssued_receiver + extends GIdentitiesByPkData_identity_certIssued_receiver { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GIdentitiesByPkData_identity_certIssued_receiver( + [void Function( + GIdentitiesByPkData_identity_certIssued_receiverBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_certIssued_receiverBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_certIssued_receiver._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_certIssued_receiver', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_certIssued_receiver', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GIdentitiesByPkData_identity_certIssued_receiver', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GIdentitiesByPkData_identity_certIssued_receiver', 'name'); + } + + @override + GIdentitiesByPkData_identity_certIssued_receiver rebuild( + void Function(GIdentitiesByPkData_identity_certIssued_receiverBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_certIssued_receiverBuilder toBuilder() => + new GIdentitiesByPkData_identity_certIssued_receiverBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData_identity_certIssued_receiver && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_certIssued_receiver') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_certIssued_receiverBuilder + implements + Builder<GIdentitiesByPkData_identity_certIssued_receiver, + GIdentitiesByPkData_identity_certIssued_receiverBuilder> { + _$GIdentitiesByPkData_identity_certIssued_receiver? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GIdentitiesByPkData_identity_certIssued_receiverBuilder() { + GIdentitiesByPkData_identity_certIssued_receiver._initializeBuilder(this); + } + + GIdentitiesByPkData_identity_certIssued_receiverBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData_identity_certIssued_receiver other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity_certIssued_receiver; + } + + @override + void update( + void Function(GIdentitiesByPkData_identity_certIssued_receiverBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_certIssued_receiver build() => _build(); + + _$GIdentitiesByPkData_identity_certIssued_receiver _build() { + final _$result = _$v ?? + new _$GIdentitiesByPkData_identity_certIssued_receiver._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_certIssued_receiver', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_certIssued_receiver', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GIdentitiesByPkData_identity_certIssued_receiver', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull(name, + r'GIdentitiesByPkData_identity_certIssued_receiver', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_certIssuedAggregate + extends GIdentitiesByPkData_identity_certIssuedAggregate { + @override + final String G__typename; + @override + final GIdentitiesByPkData_identity_certIssuedAggregate_aggregate? aggregate; + + factory _$GIdentitiesByPkData_identity_certIssuedAggregate( + [void Function( + GIdentitiesByPkData_identity_certIssuedAggregateBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_certIssuedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_certIssuedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_certIssuedAggregate', 'G__typename'); + } + + @override + GIdentitiesByPkData_identity_certIssuedAggregate rebuild( + void Function(GIdentitiesByPkData_identity_certIssuedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_certIssuedAggregateBuilder toBuilder() => + new GIdentitiesByPkData_identity_certIssuedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData_identity_certIssuedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_certIssuedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_certIssuedAggregateBuilder + implements + Builder<GIdentitiesByPkData_identity_certIssuedAggregate, + GIdentitiesByPkData_identity_certIssuedAggregateBuilder> { + _$GIdentitiesByPkData_identity_certIssuedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentitiesByPkData_identity_certIssuedAggregate_aggregateBuilder? _aggregate; + GIdentitiesByPkData_identity_certIssuedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GIdentitiesByPkData_identity_certIssuedAggregate_aggregateBuilder(); + set aggregate( + GIdentitiesByPkData_identity_certIssuedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentitiesByPkData_identity_certIssuedAggregateBuilder() { + GIdentitiesByPkData_identity_certIssuedAggregate._initializeBuilder(this); + } + + GIdentitiesByPkData_identity_certIssuedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData_identity_certIssuedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity_certIssuedAggregate; + } + + @override + void update( + void Function(GIdentitiesByPkData_identity_certIssuedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_certIssuedAggregate build() => _build(); + + _$GIdentitiesByPkData_identity_certIssuedAggregate _build() { + _$GIdentitiesByPkData_identity_certIssuedAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByPkData_identity_certIssuedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_certIssuedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByPkData_identity_certIssuedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_certIssuedAggregate_aggregate + extends GIdentitiesByPkData_identity_certIssuedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentitiesByPkData_identity_certIssuedAggregate_aggregate( + [void Function( + GIdentitiesByPkData_identity_certIssuedAggregate_aggregateBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_certIssuedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_certIssuedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_certIssuedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull(count, + r'GIdentitiesByPkData_identity_certIssuedAggregate_aggregate', 'count'); + } + + @override + GIdentitiesByPkData_identity_certIssuedAggregate_aggregate rebuild( + void Function( + GIdentitiesByPkData_identity_certIssuedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_certIssuedAggregate_aggregateBuilder + toBuilder() => + new GIdentitiesByPkData_identity_certIssuedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GIdentitiesByPkData_identity_certIssuedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_certIssuedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_certIssuedAggregate_aggregateBuilder + implements + Builder<GIdentitiesByPkData_identity_certIssuedAggregate_aggregate, + GIdentitiesByPkData_identity_certIssuedAggregate_aggregateBuilder> { + _$GIdentitiesByPkData_identity_certIssuedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentitiesByPkData_identity_certIssuedAggregate_aggregateBuilder() { + GIdentitiesByPkData_identity_certIssuedAggregate_aggregate + ._initializeBuilder(this); + } + + GIdentitiesByPkData_identity_certIssuedAggregate_aggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByPkData_identity_certIssuedAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity_certIssuedAggregate_aggregate; + } + + @override + void update( + void Function( + GIdentitiesByPkData_identity_certIssuedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_certIssuedAggregate_aggregate build() => + _build(); + + _$GIdentitiesByPkData_identity_certIssuedAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GIdentitiesByPkData_identity_certIssuedAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_certIssuedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByPkData_identity_certIssuedAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_certReceived + extends GIdentitiesByPkData_identity_certReceived { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final GIdentitiesByPkData_identity_certReceived_issuer? issuer; + @override + final String? receiverId; + @override + final GIdentitiesByPkData_identity_certReceived_receiver? receiver; + @override + final int createdOn; + @override + final int expireOn; + @override + final bool isActive; + @override + final int updatedOn; + + factory _$GIdentitiesByPkData_identity_certReceived( + [void Function(GIdentitiesByPkData_identity_certReceivedBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_certReceivedBuilder()..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_certReceived._( + {required this.G__typename, + required this.id, + this.issuerId, + this.issuer, + this.receiverId, + this.receiver, + required this.createdOn, + required this.expireOn, + required this.isActive, + required this.updatedOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_certReceived', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_certReceived', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentitiesByPkData_identity_certReceived', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentitiesByPkData_identity_certReceived', 'expireOn'); + BuiltValueNullFieldError.checkNotNull( + isActive, r'GIdentitiesByPkData_identity_certReceived', 'isActive'); + BuiltValueNullFieldError.checkNotNull( + updatedOn, r'GIdentitiesByPkData_identity_certReceived', 'updatedOn'); + } + + @override + GIdentitiesByPkData_identity_certReceived rebuild( + void Function(GIdentitiesByPkData_identity_certReceivedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_certReceivedBuilder toBuilder() => + new GIdentitiesByPkData_identity_certReceivedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData_identity_certReceived && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + issuer == other.issuer && + receiverId == other.receiverId && + receiver == other.receiver && + createdOn == other.createdOn && + expireOn == other.expireOn && + isActive == other.isActive && + updatedOn == other.updatedOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, issuer.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, receiver.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, updatedOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_certReceived') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('issuer', issuer) + ..add('receiverId', receiverId) + ..add('receiver', receiver) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('isActive', isActive) + ..add('updatedOn', updatedOn)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_certReceivedBuilder + implements + Builder<GIdentitiesByPkData_identity_certReceived, + GIdentitiesByPkData_identity_certReceivedBuilder> { + _$GIdentitiesByPkData_identity_certReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + GIdentitiesByPkData_identity_certReceived_issuerBuilder? _issuer; + GIdentitiesByPkData_identity_certReceived_issuerBuilder get issuer => + _$this._issuer ??= + new GIdentitiesByPkData_identity_certReceived_issuerBuilder(); + set issuer(GIdentitiesByPkData_identity_certReceived_issuerBuilder? issuer) => + _$this._issuer = issuer; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + GIdentitiesByPkData_identity_certReceived_receiverBuilder? _receiver; + GIdentitiesByPkData_identity_certReceived_receiverBuilder get receiver => + _$this._receiver ??= + new GIdentitiesByPkData_identity_certReceived_receiverBuilder(); + set receiver( + GIdentitiesByPkData_identity_certReceived_receiverBuilder? + receiver) => + _$this._receiver = receiver; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + int? _updatedOn; + int? get updatedOn => _$this._updatedOn; + set updatedOn(int? updatedOn) => _$this._updatedOn = updatedOn; + + GIdentitiesByPkData_identity_certReceivedBuilder() { + GIdentitiesByPkData_identity_certReceived._initializeBuilder(this); + } + + GIdentitiesByPkData_identity_certReceivedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _issuer = $v.issuer?.toBuilder(); + _receiverId = $v.receiverId; + _receiver = $v.receiver?.toBuilder(); + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _isActive = $v.isActive; + _updatedOn = $v.updatedOn; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData_identity_certReceived other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity_certReceived; + } + + @override + void update( + void Function(GIdentitiesByPkData_identity_certReceivedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_certReceived build() => _build(); + + _$GIdentitiesByPkData_identity_certReceived _build() { + _$GIdentitiesByPkData_identity_certReceived _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByPkData_identity_certReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_certReceived', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_certReceived', 'id'), + issuerId: issuerId, + issuer: _issuer?.build(), + receiverId: receiverId, + receiver: _receiver?.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentitiesByPkData_identity_certReceived', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentitiesByPkData_identity_certReceived', 'expireOn'), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GIdentitiesByPkData_identity_certReceived', 'isActive'), + updatedOn: BuiltValueNullFieldError.checkNotNull(updatedOn, + r'GIdentitiesByPkData_identity_certReceived', 'updatedOn')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'issuer'; + _issuer?.build(); + + _$failedField = 'receiver'; + _receiver?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByPkData_identity_certReceived', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_certReceived_issuer + extends GIdentitiesByPkData_identity_certReceived_issuer { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GIdentitiesByPkData_identity_certReceived_issuer( + [void Function( + GIdentitiesByPkData_identity_certReceived_issuerBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_certReceived_issuerBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_certReceived_issuer._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_certReceived_issuer', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_certReceived_issuer', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GIdentitiesByPkData_identity_certReceived_issuer', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GIdentitiesByPkData_identity_certReceived_issuer', 'name'); + } + + @override + GIdentitiesByPkData_identity_certReceived_issuer rebuild( + void Function(GIdentitiesByPkData_identity_certReceived_issuerBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_certReceived_issuerBuilder toBuilder() => + new GIdentitiesByPkData_identity_certReceived_issuerBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData_identity_certReceived_issuer && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_certReceived_issuer') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_certReceived_issuerBuilder + implements + Builder<GIdentitiesByPkData_identity_certReceived_issuer, + GIdentitiesByPkData_identity_certReceived_issuerBuilder> { + _$GIdentitiesByPkData_identity_certReceived_issuer? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GIdentitiesByPkData_identity_certReceived_issuerBuilder() { + GIdentitiesByPkData_identity_certReceived_issuer._initializeBuilder(this); + } + + GIdentitiesByPkData_identity_certReceived_issuerBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData_identity_certReceived_issuer other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity_certReceived_issuer; + } + + @override + void update( + void Function(GIdentitiesByPkData_identity_certReceived_issuerBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_certReceived_issuer build() => _build(); + + _$GIdentitiesByPkData_identity_certReceived_issuer _build() { + final _$result = _$v ?? + new _$GIdentitiesByPkData_identity_certReceived_issuer._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_certReceived_issuer', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_certReceived_issuer', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GIdentitiesByPkData_identity_certReceived_issuer', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull(name, + r'GIdentitiesByPkData_identity_certReceived_issuer', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_certReceived_receiver + extends GIdentitiesByPkData_identity_certReceived_receiver { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GIdentitiesByPkData_identity_certReceived_receiver( + [void Function( + GIdentitiesByPkData_identity_certReceived_receiverBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_certReceived_receiverBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_certReceived_receiver._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_certReceived_receiver', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_certReceived_receiver', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GIdentitiesByPkData_identity_certReceived_receiver', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GIdentitiesByPkData_identity_certReceived_receiver', 'name'); + } + + @override + GIdentitiesByPkData_identity_certReceived_receiver rebuild( + void Function( + GIdentitiesByPkData_identity_certReceived_receiverBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_certReceived_receiverBuilder toBuilder() => + new GIdentitiesByPkData_identity_certReceived_receiverBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData_identity_certReceived_receiver && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_certReceived_receiver') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_certReceived_receiverBuilder + implements + Builder<GIdentitiesByPkData_identity_certReceived_receiver, + GIdentitiesByPkData_identity_certReceived_receiverBuilder> { + _$GIdentitiesByPkData_identity_certReceived_receiver? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GIdentitiesByPkData_identity_certReceived_receiverBuilder() { + GIdentitiesByPkData_identity_certReceived_receiver._initializeBuilder(this); + } + + GIdentitiesByPkData_identity_certReceived_receiverBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData_identity_certReceived_receiver other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity_certReceived_receiver; + } + + @override + void update( + void Function(GIdentitiesByPkData_identity_certReceived_receiverBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_certReceived_receiver build() => _build(); + + _$GIdentitiesByPkData_identity_certReceived_receiver _build() { + final _$result = _$v ?? + new _$GIdentitiesByPkData_identity_certReceived_receiver._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_certReceived_receiver', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull(id, + r'GIdentitiesByPkData_identity_certReceived_receiver', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GIdentitiesByPkData_identity_certReceived_receiver', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull(name, + r'GIdentitiesByPkData_identity_certReceived_receiver', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_certReceivedAggregate + extends GIdentitiesByPkData_identity_certReceivedAggregate { + @override + final String G__typename; + @override + final GIdentitiesByPkData_identity_certReceivedAggregate_aggregate? aggregate; + + factory _$GIdentitiesByPkData_identity_certReceivedAggregate( + [void Function( + GIdentitiesByPkData_identity_certReceivedAggregateBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_certReceivedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_certReceivedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_certReceivedAggregate', 'G__typename'); + } + + @override + GIdentitiesByPkData_identity_certReceivedAggregate rebuild( + void Function( + GIdentitiesByPkData_identity_certReceivedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_certReceivedAggregateBuilder toBuilder() => + new GIdentitiesByPkData_identity_certReceivedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData_identity_certReceivedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_certReceivedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_certReceivedAggregateBuilder + implements + Builder<GIdentitiesByPkData_identity_certReceivedAggregate, + GIdentitiesByPkData_identity_certReceivedAggregateBuilder> { + _$GIdentitiesByPkData_identity_certReceivedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentitiesByPkData_identity_certReceivedAggregate_aggregateBuilder? + _aggregate; + GIdentitiesByPkData_identity_certReceivedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GIdentitiesByPkData_identity_certReceivedAggregate_aggregateBuilder(); + set aggregate( + GIdentitiesByPkData_identity_certReceivedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentitiesByPkData_identity_certReceivedAggregateBuilder() { + GIdentitiesByPkData_identity_certReceivedAggregate._initializeBuilder(this); + } + + GIdentitiesByPkData_identity_certReceivedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData_identity_certReceivedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity_certReceivedAggregate; + } + + @override + void update( + void Function(GIdentitiesByPkData_identity_certReceivedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_certReceivedAggregate build() => _build(); + + _$GIdentitiesByPkData_identity_certReceivedAggregate _build() { + _$GIdentitiesByPkData_identity_certReceivedAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByPkData_identity_certReceivedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_certReceivedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByPkData_identity_certReceivedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_certReceivedAggregate_aggregate + extends GIdentitiesByPkData_identity_certReceivedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentitiesByPkData_identity_certReceivedAggregate_aggregate( + [void Function( + GIdentitiesByPkData_identity_certReceivedAggregate_aggregateBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_certReceivedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_certReceivedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_certReceivedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByPkData_identity_certReceivedAggregate_aggregate', + 'count'); + } + + @override + GIdentitiesByPkData_identity_certReceivedAggregate_aggregate rebuild( + void Function( + GIdentitiesByPkData_identity_certReceivedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_certReceivedAggregate_aggregateBuilder + toBuilder() => + new GIdentitiesByPkData_identity_certReceivedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GIdentitiesByPkData_identity_certReceivedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_certReceivedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_certReceivedAggregate_aggregateBuilder + implements + Builder<GIdentitiesByPkData_identity_certReceivedAggregate_aggregate, + GIdentitiesByPkData_identity_certReceivedAggregate_aggregateBuilder> { + _$GIdentitiesByPkData_identity_certReceivedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentitiesByPkData_identity_certReceivedAggregate_aggregateBuilder() { + GIdentitiesByPkData_identity_certReceivedAggregate_aggregate + ._initializeBuilder(this); + } + + GIdentitiesByPkData_identity_certReceivedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByPkData_identity_certReceivedAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = + other as _$GIdentitiesByPkData_identity_certReceivedAggregate_aggregate; + } + + @override + void update( + void Function( + GIdentitiesByPkData_identity_certReceivedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_certReceivedAggregate_aggregate build() => + _build(); + + _$GIdentitiesByPkData_identity_certReceivedAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GIdentitiesByPkData_identity_certReceivedAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_certReceivedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByPkData_identity_certReceivedAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_linkedAccount + extends GIdentitiesByPkData_identity_linkedAccount { + @override + final String G__typename; + @override + final String id; + + factory _$GIdentitiesByPkData_identity_linkedAccount( + [void Function(GIdentitiesByPkData_identity_linkedAccountBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_linkedAccountBuilder()..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_linkedAccount._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_linkedAccount', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_linkedAccount', 'id'); + } + + @override + GIdentitiesByPkData_identity_linkedAccount rebuild( + void Function(GIdentitiesByPkData_identity_linkedAccountBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_linkedAccountBuilder toBuilder() => + new GIdentitiesByPkData_identity_linkedAccountBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData_identity_linkedAccount && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_linkedAccount') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_linkedAccountBuilder + implements + Builder<GIdentitiesByPkData_identity_linkedAccount, + GIdentitiesByPkData_identity_linkedAccountBuilder> { + _$GIdentitiesByPkData_identity_linkedAccount? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GIdentitiesByPkData_identity_linkedAccountBuilder() { + GIdentitiesByPkData_identity_linkedAccount._initializeBuilder(this); + } + + GIdentitiesByPkData_identity_linkedAccountBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData_identity_linkedAccount other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity_linkedAccount; + } + + @override + void update( + void Function(GIdentitiesByPkData_identity_linkedAccountBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_linkedAccount build() => _build(); + + _$GIdentitiesByPkData_identity_linkedAccount _build() { + final _$result = _$v ?? + new _$GIdentitiesByPkData_identity_linkedAccount._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_linkedAccount', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_linkedAccount', 'id')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_linkedAccountAggregate + extends GIdentitiesByPkData_identity_linkedAccountAggregate { + @override + final String G__typename; + @override + final GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate? + aggregate; + + factory _$GIdentitiesByPkData_identity_linkedAccountAggregate( + [void Function( + GIdentitiesByPkData_identity_linkedAccountAggregateBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_linkedAccountAggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_linkedAccountAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_linkedAccountAggregate', 'G__typename'); + } + + @override + GIdentitiesByPkData_identity_linkedAccountAggregate rebuild( + void Function( + GIdentitiesByPkData_identity_linkedAccountAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_linkedAccountAggregateBuilder toBuilder() => + new GIdentitiesByPkData_identity_linkedAccountAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData_identity_linkedAccountAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_linkedAccountAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_linkedAccountAggregateBuilder + implements + Builder<GIdentitiesByPkData_identity_linkedAccountAggregate, + GIdentitiesByPkData_identity_linkedAccountAggregateBuilder> { + _$GIdentitiesByPkData_identity_linkedAccountAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateBuilder? + _aggregate; + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateBuilder(); + set aggregate( + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentitiesByPkData_identity_linkedAccountAggregateBuilder() { + GIdentitiesByPkData_identity_linkedAccountAggregate._initializeBuilder( + this); + } + + GIdentitiesByPkData_identity_linkedAccountAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData_identity_linkedAccountAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity_linkedAccountAggregate; + } + + @override + void update( + void Function(GIdentitiesByPkData_identity_linkedAccountAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_linkedAccountAggregate build() => _build(); + + _$GIdentitiesByPkData_identity_linkedAccountAggregate _build() { + _$GIdentitiesByPkData_identity_linkedAccountAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByPkData_identity_linkedAccountAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_linkedAccountAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByPkData_identity_linkedAccountAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate + extends GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate( + [void Function( + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate', + 'count'); + } + + @override + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate rebuild( + void Function( + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateBuilder + toBuilder() => + new GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateBuilder + implements + Builder<GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate, + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateBuilder> { + _$GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateBuilder() { + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate + ._initializeBuilder(this); + } + + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate; + } + + @override + void update( + void Function( + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate build() => + _build(); + + _$GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_membershipHistory + extends GIdentitiesByPkData_identity_membershipHistory { + @override + final String G__typename; + @override + final int blockNumber; + @override + final String? eventId; + @override + final _i2.GEventTypeEnum? eventType; + @override + final String id; + @override + final String? identityId; + + factory _$GIdentitiesByPkData_identity_membershipHistory( + [void Function(GIdentitiesByPkData_identity_membershipHistoryBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_membershipHistoryBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_membershipHistory._( + {required this.G__typename, + required this.blockNumber, + this.eventId, + this.eventType, + required this.id, + this.identityId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_membershipHistory', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GIdentitiesByPkData_identity_membershipHistory', 'blockNumber'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_membershipHistory', 'id'); + } + + @override + GIdentitiesByPkData_identity_membershipHistory rebuild( + void Function(GIdentitiesByPkData_identity_membershipHistoryBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_membershipHistoryBuilder toBuilder() => + new GIdentitiesByPkData_identity_membershipHistoryBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData_identity_membershipHistory && + G__typename == other.G__typename && + blockNumber == other.blockNumber && + eventId == other.eventId && + eventType == other.eventType && + id == other.id && + identityId == other.identityId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, eventId.hashCode); + _$hash = $jc(_$hash, eventType.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_membershipHistory') + ..add('G__typename', G__typename) + ..add('blockNumber', blockNumber) + ..add('eventId', eventId) + ..add('eventType', eventType) + ..add('id', id) + ..add('identityId', identityId)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_membershipHistoryBuilder + implements + Builder<GIdentitiesByPkData_identity_membershipHistory, + GIdentitiesByPkData_identity_membershipHistoryBuilder> { + _$GIdentitiesByPkData_identity_membershipHistory? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _eventId; + String? get eventId => _$this._eventId; + set eventId(String? eventId) => _$this._eventId = eventId; + + _i2.GEventTypeEnum? _eventType; + _i2.GEventTypeEnum? get eventType => _$this._eventType; + set eventType(_i2.GEventTypeEnum? eventType) => _$this._eventType = eventType; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + GIdentitiesByPkData_identity_membershipHistoryBuilder() { + GIdentitiesByPkData_identity_membershipHistory._initializeBuilder(this); + } + + GIdentitiesByPkData_identity_membershipHistoryBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _blockNumber = $v.blockNumber; + _eventId = $v.eventId; + _eventType = $v.eventType; + _id = $v.id; + _identityId = $v.identityId; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData_identity_membershipHistory other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity_membershipHistory; + } + + @override + void update( + void Function(GIdentitiesByPkData_identity_membershipHistoryBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_membershipHistory build() => _build(); + + _$GIdentitiesByPkData_identity_membershipHistory _build() { + final _$result = _$v ?? + new _$GIdentitiesByPkData_identity_membershipHistory._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_membershipHistory', + 'G__typename'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GIdentitiesByPkData_identity_membershipHistory', + 'blockNumber'), + eventId: eventId, + eventType: eventType, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_membershipHistory', 'id'), + identityId: identityId); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_membershipHistoryAggregate + extends GIdentitiesByPkData_identity_membershipHistoryAggregate { + @override + final String G__typename; + @override + final GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate? + aggregate; + + factory _$GIdentitiesByPkData_identity_membershipHistoryAggregate( + [void Function( + GIdentitiesByPkData_identity_membershipHistoryAggregateBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_membershipHistoryAggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_membershipHistoryAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_membershipHistoryAggregate', + 'G__typename'); + } + + @override + GIdentitiesByPkData_identity_membershipHistoryAggregate rebuild( + void Function( + GIdentitiesByPkData_identity_membershipHistoryAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_membershipHistoryAggregateBuilder toBuilder() => + new GIdentitiesByPkData_identity_membershipHistoryAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData_identity_membershipHistoryAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_membershipHistoryAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_membershipHistoryAggregateBuilder + implements + Builder<GIdentitiesByPkData_identity_membershipHistoryAggregate, + GIdentitiesByPkData_identity_membershipHistoryAggregateBuilder> { + _$GIdentitiesByPkData_identity_membershipHistoryAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateBuilder? + _aggregate; + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateBuilder(); + set aggregate( + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentitiesByPkData_identity_membershipHistoryAggregateBuilder() { + GIdentitiesByPkData_identity_membershipHistoryAggregate._initializeBuilder( + this); + } + + GIdentitiesByPkData_identity_membershipHistoryAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData_identity_membershipHistoryAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity_membershipHistoryAggregate; + } + + @override + void update( + void Function( + GIdentitiesByPkData_identity_membershipHistoryAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_membershipHistoryAggregate build() => _build(); + + _$GIdentitiesByPkData_identity_membershipHistoryAggregate _build() { + _$GIdentitiesByPkData_identity_membershipHistoryAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByPkData_identity_membershipHistoryAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_membershipHistoryAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByPkData_identity_membershipHistoryAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate + extends GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate( + [void Function( + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate', + 'count'); + } + + @override + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate rebuild( + void Function( + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateBuilder + toBuilder() => + new GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateBuilder + implements + Builder< + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate, + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateBuilder> { + _$GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateBuilder() { + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate + ._initializeBuilder(this); + } + + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate; + } + + @override + void update( + void Function( + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate build() => + _build(); + + _$GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_ownerKeyChange + extends GIdentitiesByPkData_identity_ownerKeyChange { + @override + final String G__typename; + @override + final String id; + @override + final int blockNumber; + @override + final String? identityId; + @override + final String? nextId; + @override + final String? previousId; + + factory _$GIdentitiesByPkData_identity_ownerKeyChange( + [void Function(GIdentitiesByPkData_identity_ownerKeyChangeBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_ownerKeyChangeBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_ownerKeyChange._( + {required this.G__typename, + required this.id, + required this.blockNumber, + this.identityId, + this.nextId, + this.previousId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_ownerKeyChange', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_ownerKeyChange', 'id'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GIdentitiesByPkData_identity_ownerKeyChange', 'blockNumber'); + } + + @override + GIdentitiesByPkData_identity_ownerKeyChange rebuild( + void Function(GIdentitiesByPkData_identity_ownerKeyChangeBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_ownerKeyChangeBuilder toBuilder() => + new GIdentitiesByPkData_identity_ownerKeyChangeBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData_identity_ownerKeyChange && + G__typename == other.G__typename && + id == other.id && + blockNumber == other.blockNumber && + identityId == other.identityId && + nextId == other.nextId && + previousId == other.previousId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jc(_$hash, nextId.hashCode); + _$hash = $jc(_$hash, previousId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_ownerKeyChange') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('blockNumber', blockNumber) + ..add('identityId', identityId) + ..add('nextId', nextId) + ..add('previousId', previousId)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_ownerKeyChangeBuilder + implements + Builder<GIdentitiesByPkData_identity_ownerKeyChange, + GIdentitiesByPkData_identity_ownerKeyChangeBuilder> { + _$GIdentitiesByPkData_identity_ownerKeyChange? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + String? _nextId; + String? get nextId => _$this._nextId; + set nextId(String? nextId) => _$this._nextId = nextId; + + String? _previousId; + String? get previousId => _$this._previousId; + set previousId(String? previousId) => _$this._previousId = previousId; + + GIdentitiesByPkData_identity_ownerKeyChangeBuilder() { + GIdentitiesByPkData_identity_ownerKeyChange._initializeBuilder(this); + } + + GIdentitiesByPkData_identity_ownerKeyChangeBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _blockNumber = $v.blockNumber; + _identityId = $v.identityId; + _nextId = $v.nextId; + _previousId = $v.previousId; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData_identity_ownerKeyChange other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity_ownerKeyChange; + } + + @override + void update( + void Function(GIdentitiesByPkData_identity_ownerKeyChangeBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_ownerKeyChange build() => _build(); + + _$GIdentitiesByPkData_identity_ownerKeyChange _build() { + final _$result = _$v ?? + new _$GIdentitiesByPkData_identity_ownerKeyChange._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_ownerKeyChange', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_ownerKeyChange', 'id'), + blockNumber: BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GIdentitiesByPkData_identity_ownerKeyChange', 'blockNumber'), + identityId: identityId, + nextId: nextId, + previousId: previousId); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate + extends GIdentitiesByPkData_identity_ownerKeyChangeAggregate { + @override + final String G__typename; + @override + final GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate? + aggregate; + + factory _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate( + [void Function( + GIdentitiesByPkData_identity_ownerKeyChangeAggregateBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_ownerKeyChangeAggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_ownerKeyChangeAggregate', 'G__typename'); + } + + @override + GIdentitiesByPkData_identity_ownerKeyChangeAggregate rebuild( + void Function( + GIdentitiesByPkData_identity_ownerKeyChangeAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_ownerKeyChangeAggregateBuilder toBuilder() => + new GIdentitiesByPkData_identity_ownerKeyChangeAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData_identity_ownerKeyChangeAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_ownerKeyChangeAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_ownerKeyChangeAggregateBuilder + implements + Builder<GIdentitiesByPkData_identity_ownerKeyChangeAggregate, + GIdentitiesByPkData_identity_ownerKeyChangeAggregateBuilder> { + _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateBuilder? + _aggregate; + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateBuilder(); + set aggregate( + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentitiesByPkData_identity_ownerKeyChangeAggregateBuilder() { + GIdentitiesByPkData_identity_ownerKeyChangeAggregate._initializeBuilder( + this); + } + + GIdentitiesByPkData_identity_ownerKeyChangeAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData_identity_ownerKeyChangeAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate; + } + + @override + void update( + void Function( + GIdentitiesByPkData_identity_ownerKeyChangeAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_ownerKeyChangeAggregate build() => _build(); + + _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate _build() { + _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_ownerKeyChangeAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByPkData_identity_ownerKeyChangeAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate + extends GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate( + [void Function( + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate', + 'count'); + } + + @override + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate rebuild( + void Function( + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateBuilder + toBuilder() => + new GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateBuilder + implements + Builder<GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate, + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateBuilder> { + _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateBuilder() { + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate + ._initializeBuilder(this); + } + + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate; + } + + @override + void update( + void Function( + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate build() => + _build(); + + _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_smith + extends GIdentitiesByPkData_identity_smith { + @override + final String G__typename; + @override + final String id; + @override + final int forged; + @override + final int index; + @override + final int? lastChanged; + @override + final int? lastForged; + @override + final BuiltList<GIdentitiesByPkData_identity_smith_smithCertIssued> + smithCertIssued; + @override + final BuiltList<GIdentitiesByPkData_identity_smith_smithCertReceived> + smithCertReceived; + + factory _$GIdentitiesByPkData_identity_smith( + [void Function(GIdentitiesByPkData_identity_smithBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_smithBuilder()..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_smith._( + {required this.G__typename, + required this.id, + required this.forged, + required this.index, + this.lastChanged, + this.lastForged, + required this.smithCertIssued, + required this.smithCertReceived}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentitiesByPkData_identity_smith', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_smith', 'id'); + BuiltValueNullFieldError.checkNotNull( + forged, r'GIdentitiesByPkData_identity_smith', 'forged'); + BuiltValueNullFieldError.checkNotNull( + index, r'GIdentitiesByPkData_identity_smith', 'index'); + BuiltValueNullFieldError.checkNotNull(smithCertIssued, + r'GIdentitiesByPkData_identity_smith', 'smithCertIssued'); + BuiltValueNullFieldError.checkNotNull(smithCertReceived, + r'GIdentitiesByPkData_identity_smith', 'smithCertReceived'); + } + + @override + GIdentitiesByPkData_identity_smith rebuild( + void Function(GIdentitiesByPkData_identity_smithBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_smithBuilder toBuilder() => + new GIdentitiesByPkData_identity_smithBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData_identity_smith && + G__typename == other.G__typename && + id == other.id && + forged == other.forged && + index == other.index && + lastChanged == other.lastChanged && + lastForged == other.lastForged && + smithCertIssued == other.smithCertIssued && + smithCertReceived == other.smithCertReceived; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, forged.hashCode); + _$hash = $jc(_$hash, index.hashCode); + _$hash = $jc(_$hash, lastChanged.hashCode); + _$hash = $jc(_$hash, lastForged.hashCode); + _$hash = $jc(_$hash, smithCertIssued.hashCode); + _$hash = $jc(_$hash, smithCertReceived.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentitiesByPkData_identity_smith') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('forged', forged) + ..add('index', index) + ..add('lastChanged', lastChanged) + ..add('lastForged', lastForged) + ..add('smithCertIssued', smithCertIssued) + ..add('smithCertReceived', smithCertReceived)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_smithBuilder + implements + Builder<GIdentitiesByPkData_identity_smith, + GIdentitiesByPkData_identity_smithBuilder> { + _$GIdentitiesByPkData_identity_smith? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _forged; + int? get forged => _$this._forged; + set forged(int? forged) => _$this._forged = forged; + + int? _index; + int? get index => _$this._index; + set index(int? index) => _$this._index = index; + + int? _lastChanged; + int? get lastChanged => _$this._lastChanged; + set lastChanged(int? lastChanged) => _$this._lastChanged = lastChanged; + + int? _lastForged; + int? get lastForged => _$this._lastForged; + set lastForged(int? lastForged) => _$this._lastForged = lastForged; + + ListBuilder<GIdentitiesByPkData_identity_smith_smithCertIssued>? + _smithCertIssued; + ListBuilder<GIdentitiesByPkData_identity_smith_smithCertIssued> + get smithCertIssued => _$this._smithCertIssued ??= + new ListBuilder<GIdentitiesByPkData_identity_smith_smithCertIssued>(); + set smithCertIssued( + ListBuilder<GIdentitiesByPkData_identity_smith_smithCertIssued>? + smithCertIssued) => + _$this._smithCertIssued = smithCertIssued; + + ListBuilder<GIdentitiesByPkData_identity_smith_smithCertReceived>? + _smithCertReceived; + ListBuilder<GIdentitiesByPkData_identity_smith_smithCertReceived> + get smithCertReceived => _$this._smithCertReceived ??= new ListBuilder< + GIdentitiesByPkData_identity_smith_smithCertReceived>(); + set smithCertReceived( + ListBuilder<GIdentitiesByPkData_identity_smith_smithCertReceived>? + smithCertReceived) => + _$this._smithCertReceived = smithCertReceived; + + GIdentitiesByPkData_identity_smithBuilder() { + GIdentitiesByPkData_identity_smith._initializeBuilder(this); + } + + GIdentitiesByPkData_identity_smithBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _forged = $v.forged; + _index = $v.index; + _lastChanged = $v.lastChanged; + _lastForged = $v.lastForged; + _smithCertIssued = $v.smithCertIssued.toBuilder(); + _smithCertReceived = $v.smithCertReceived.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData_identity_smith other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity_smith; + } + + @override + void update( + void Function(GIdentitiesByPkData_identity_smithBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_smith build() => _build(); + + _$GIdentitiesByPkData_identity_smith _build() { + _$GIdentitiesByPkData_identity_smith _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByPkData_identity_smith._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_smith', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_smith', 'id'), + forged: BuiltValueNullFieldError.checkNotNull( + forged, r'GIdentitiesByPkData_identity_smith', 'forged'), + index: BuiltValueNullFieldError.checkNotNull( + index, r'GIdentitiesByPkData_identity_smith', 'index'), + lastChanged: lastChanged, + lastForged: lastForged, + smithCertIssued: smithCertIssued.build(), + smithCertReceived: smithCertReceived.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'smithCertIssued'; + smithCertIssued.build(); + _$failedField = 'smithCertReceived'; + smithCertReceived.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByPkData_identity_smith', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_smith_smithCertIssued + extends GIdentitiesByPkData_identity_smith_smithCertIssued { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final String? receiverId; + @override + final int createdOn; + + factory _$GIdentitiesByPkData_identity_smith_smithCertIssued( + [void Function( + GIdentitiesByPkData_identity_smith_smithCertIssuedBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_smith_smithCertIssuedBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_smith_smithCertIssued._( + {required this.G__typename, + required this.id, + this.issuerId, + this.receiverId, + required this.createdOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_smith_smithCertIssued', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_smith_smithCertIssued', 'id'); + BuiltValueNullFieldError.checkNotNull(createdOn, + r'GIdentitiesByPkData_identity_smith_smithCertIssued', 'createdOn'); + } + + @override + GIdentitiesByPkData_identity_smith_smithCertIssued rebuild( + void Function( + GIdentitiesByPkData_identity_smith_smithCertIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_smith_smithCertIssuedBuilder toBuilder() => + new GIdentitiesByPkData_identity_smith_smithCertIssuedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData_identity_smith_smithCertIssued && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + receiverId == other.receiverId && + createdOn == other.createdOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_smith_smithCertIssued') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('receiverId', receiverId) + ..add('createdOn', createdOn)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_smith_smithCertIssuedBuilder + implements + Builder<GIdentitiesByPkData_identity_smith_smithCertIssued, + GIdentitiesByPkData_identity_smith_smithCertIssuedBuilder> { + _$GIdentitiesByPkData_identity_smith_smithCertIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + GIdentitiesByPkData_identity_smith_smithCertIssuedBuilder() { + GIdentitiesByPkData_identity_smith_smithCertIssued._initializeBuilder(this); + } + + GIdentitiesByPkData_identity_smith_smithCertIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _receiverId = $v.receiverId; + _createdOn = $v.createdOn; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData_identity_smith_smithCertIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity_smith_smithCertIssued; + } + + @override + void update( + void Function(GIdentitiesByPkData_identity_smith_smithCertIssuedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_smith_smithCertIssued build() => _build(); + + _$GIdentitiesByPkData_identity_smith_smithCertIssued _build() { + final _$result = _$v ?? + new _$GIdentitiesByPkData_identity_smith_smithCertIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_smith_smithCertIssued', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull(id, + r'GIdentitiesByPkData_identity_smith_smithCertIssued', 'id'), + issuerId: issuerId, + receiverId: receiverId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GIdentitiesByPkData_identity_smith_smithCertIssued', + 'createdOn')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_smith_smithCertReceived + extends GIdentitiesByPkData_identity_smith_smithCertReceived { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final String? receiverId; + @override + final int createdOn; + + factory _$GIdentitiesByPkData_identity_smith_smithCertReceived( + [void Function( + GIdentitiesByPkData_identity_smith_smithCertReceivedBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_smith_smithCertReceivedBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_smith_smithCertReceived._( + {required this.G__typename, + required this.id, + this.issuerId, + this.receiverId, + required this.createdOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_smith_smithCertReceived', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_smith_smithCertReceived', 'id'); + BuiltValueNullFieldError.checkNotNull(createdOn, + r'GIdentitiesByPkData_identity_smith_smithCertReceived', 'createdOn'); + } + + @override + GIdentitiesByPkData_identity_smith_smithCertReceived rebuild( + void Function( + GIdentitiesByPkData_identity_smith_smithCertReceivedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_smith_smithCertReceivedBuilder toBuilder() => + new GIdentitiesByPkData_identity_smith_smithCertReceivedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData_identity_smith_smithCertReceived && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + receiverId == other.receiverId && + createdOn == other.createdOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_smith_smithCertReceived') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('receiverId', receiverId) + ..add('createdOn', createdOn)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_smith_smithCertReceivedBuilder + implements + Builder<GIdentitiesByPkData_identity_smith_smithCertReceived, + GIdentitiesByPkData_identity_smith_smithCertReceivedBuilder> { + _$GIdentitiesByPkData_identity_smith_smithCertReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + GIdentitiesByPkData_identity_smith_smithCertReceivedBuilder() { + GIdentitiesByPkData_identity_smith_smithCertReceived._initializeBuilder( + this); + } + + GIdentitiesByPkData_identity_smith_smithCertReceivedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _receiverId = $v.receiverId; + _createdOn = $v.createdOn; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData_identity_smith_smithCertReceived other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity_smith_smithCertReceived; + } + + @override + void update( + void Function( + GIdentitiesByPkData_identity_smith_smithCertReceivedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_smith_smithCertReceived build() => _build(); + + _$GIdentitiesByPkData_identity_smith_smithCertReceived _build() { + final _$result = _$v ?? + new _$GIdentitiesByPkData_identity_smith_smithCertReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByPkData_identity_smith_smithCertReceived', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull(id, + r'GIdentitiesByPkData_identity_smith_smithCertReceived', 'id'), + issuerId: issuerId, + receiverId: receiverId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GIdentitiesByPkData_identity_smith_smithCertReceived', + 'createdOn')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkData_identity_udHistory + extends GIdentitiesByPkData_identity_udHistory { + @override + final String G__typename; + @override + final String id; + @override + final int amount; + @override + final _i2.Gtimestamptz timestamp; + + factory _$GIdentitiesByPkData_identity_udHistory( + [void Function(GIdentitiesByPkData_identity_udHistoryBuilder)? + updates]) => + (new GIdentitiesByPkData_identity_udHistoryBuilder()..update(updates)) + ._build(); + + _$GIdentitiesByPkData_identity_udHistory._( + {required this.G__typename, + required this.id, + required this.amount, + required this.timestamp}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentitiesByPkData_identity_udHistory', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_udHistory', 'id'); + BuiltValueNullFieldError.checkNotNull( + amount, r'GIdentitiesByPkData_identity_udHistory', 'amount'); + BuiltValueNullFieldError.checkNotNull( + timestamp, r'GIdentitiesByPkData_identity_udHistory', 'timestamp'); + } + + @override + GIdentitiesByPkData_identity_udHistory rebuild( + void Function(GIdentitiesByPkData_identity_udHistoryBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkData_identity_udHistoryBuilder toBuilder() => + new GIdentitiesByPkData_identity_udHistoryBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByPkData_identity_udHistory && + G__typename == other.G__typename && + id == other.id && + amount == other.amount && + timestamp == other.timestamp; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByPkData_identity_udHistory') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('amount', amount) + ..add('timestamp', timestamp)) + .toString(); + } +} + +class GIdentitiesByPkData_identity_udHistoryBuilder + implements + Builder<GIdentitiesByPkData_identity_udHistory, + GIdentitiesByPkData_identity_udHistoryBuilder> { + _$GIdentitiesByPkData_identity_udHistory? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + _i2.GtimestamptzBuilder? _timestamp; + _i2.GtimestamptzBuilder get timestamp => + _$this._timestamp ??= new _i2.GtimestamptzBuilder(); + set timestamp(_i2.GtimestamptzBuilder? timestamp) => + _$this._timestamp = timestamp; + + GIdentitiesByPkData_identity_udHistoryBuilder() { + GIdentitiesByPkData_identity_udHistory._initializeBuilder(this); + } + + GIdentitiesByPkData_identity_udHistoryBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _amount = $v.amount; + _timestamp = $v.timestamp.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkData_identity_udHistory other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkData_identity_udHistory; + } + + @override + void update( + void Function(GIdentitiesByPkData_identity_udHistoryBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkData_identity_udHistory build() => _build(); + + _$GIdentitiesByPkData_identity_udHistory _build() { + _$GIdentitiesByPkData_identity_udHistory _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByPkData_identity_udHistory._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByPkData_identity_udHistory', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByPkData_identity_udHistory', 'id'), + amount: BuiltValueNullFieldError.checkNotNull( + amount, r'GIdentitiesByPkData_identity_udHistory', 'amount'), + timestamp: timestamp.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'timestamp'; + timestamp.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByPkData_identity_udHistory', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData extends GIdentitiesByNameData { + @override + final String G__typename; + @override + final BuiltList<GIdentitiesByNameData_identity> identity; + + factory _$GIdentitiesByNameData( + [void Function(GIdentitiesByNameDataBuilder)? updates]) => + (new GIdentitiesByNameDataBuilder()..update(updates))._build(); + + _$GIdentitiesByNameData._({required this.G__typename, required this.identity}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentitiesByNameData', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + identity, r'GIdentitiesByNameData', 'identity'); + } + + @override + GIdentitiesByNameData rebuild( + void Function(GIdentitiesByNameDataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameDataBuilder toBuilder() => + new GIdentitiesByNameDataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData && + G__typename == other.G__typename && + identity == other.identity; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, identity.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentitiesByNameData') + ..add('G__typename', G__typename) + ..add('identity', identity)) + .toString(); + } +} + +class GIdentitiesByNameDataBuilder + implements Builder<GIdentitiesByNameData, GIdentitiesByNameDataBuilder> { + _$GIdentitiesByNameData? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + ListBuilder<GIdentitiesByNameData_identity>? _identity; + ListBuilder<GIdentitiesByNameData_identity> get identity => + _$this._identity ??= new ListBuilder<GIdentitiesByNameData_identity>(); + set identity(ListBuilder<GIdentitiesByNameData_identity>? identity) => + _$this._identity = identity; + + GIdentitiesByNameDataBuilder() { + GIdentitiesByNameData._initializeBuilder(this); + } + + GIdentitiesByNameDataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _identity = $v.identity.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameData other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData; + } + + @override + void update(void Function(GIdentitiesByNameDataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData build() => _build(); + + _$GIdentitiesByNameData _build() { + _$GIdentitiesByNameData _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameData._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentitiesByNameData', 'G__typename'), + identity: identity.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'identity'; + identity.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameData', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity extends GIdentitiesByNameData_identity { + @override + final String G__typename; + @override + final String? accountId; + @override + final String? accountRemovedId; + @override + final BuiltList<GIdentitiesByNameData_identity_certIssued> certIssued; + @override + final GIdentitiesByNameData_identity_certIssuedAggregate certIssuedAggregate; + @override + final BuiltList<GIdentitiesByNameData_identity_certReceived> certReceived; + @override + final GIdentitiesByNameData_identity_certReceivedAggregate + certReceivedAggregate; + @override + final String? createdInId; + @override + final int createdOn; + @override + final int expireOn; + @override + final String id; + @override + final int index; + @override + final bool isMember; + @override + final int lastChangeOn; + @override + final BuiltList<GIdentitiesByNameData_identity_linkedAccount> linkedAccount; + @override + final GIdentitiesByNameData_identity_linkedAccountAggregate + linkedAccountAggregate; + @override + final _i2.GIdentityStatusEnum? status; + @override + final BuiltList<GIdentitiesByNameData_identity_membershipHistory> + membershipHistory; + @override + final GIdentitiesByNameData_identity_membershipHistoryAggregate + membershipHistoryAggregate; + @override + final String name; + @override + final BuiltList<GIdentitiesByNameData_identity_ownerKeyChange> ownerKeyChange; + @override + final GIdentitiesByNameData_identity_ownerKeyChangeAggregate + ownerKeyChangeAggregate; + @override + final GIdentitiesByNameData_identity_smith? smith; + @override + final BuiltList<GIdentitiesByNameData_identity_udHistory>? udHistory; + + factory _$GIdentitiesByNameData_identity( + [void Function(GIdentitiesByNameData_identityBuilder)? updates]) => + (new GIdentitiesByNameData_identityBuilder()..update(updates))._build(); + + _$GIdentitiesByNameData_identity._( + {required this.G__typename, + this.accountId, + this.accountRemovedId, + required this.certIssued, + required this.certIssuedAggregate, + required this.certReceived, + required this.certReceivedAggregate, + this.createdInId, + required this.createdOn, + required this.expireOn, + required this.id, + required this.index, + required this.isMember, + required this.lastChangeOn, + required this.linkedAccount, + required this.linkedAccountAggregate, + this.status, + required this.membershipHistory, + required this.membershipHistoryAggregate, + required this.name, + required this.ownerKeyChange, + required this.ownerKeyChangeAggregate, + this.smith, + this.udHistory}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentitiesByNameData_identity', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + certIssued, r'GIdentitiesByNameData_identity', 'certIssued'); + BuiltValueNullFieldError.checkNotNull(certIssuedAggregate, + r'GIdentitiesByNameData_identity', 'certIssuedAggregate'); + BuiltValueNullFieldError.checkNotNull( + certReceived, r'GIdentitiesByNameData_identity', 'certReceived'); + BuiltValueNullFieldError.checkNotNull(certReceivedAggregate, + r'GIdentitiesByNameData_identity', 'certReceivedAggregate'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentitiesByNameData_identity', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentitiesByNameData_identity', 'expireOn'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity', 'id'); + BuiltValueNullFieldError.checkNotNull( + index, r'GIdentitiesByNameData_identity', 'index'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GIdentitiesByNameData_identity', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + lastChangeOn, r'GIdentitiesByNameData_identity', 'lastChangeOn'); + BuiltValueNullFieldError.checkNotNull( + linkedAccount, r'GIdentitiesByNameData_identity', 'linkedAccount'); + BuiltValueNullFieldError.checkNotNull(linkedAccountAggregate, + r'GIdentitiesByNameData_identity', 'linkedAccountAggregate'); + BuiltValueNullFieldError.checkNotNull(membershipHistory, + r'GIdentitiesByNameData_identity', 'membershipHistory'); + BuiltValueNullFieldError.checkNotNull(membershipHistoryAggregate, + r'GIdentitiesByNameData_identity', 'membershipHistoryAggregate'); + BuiltValueNullFieldError.checkNotNull( + name, r'GIdentitiesByNameData_identity', 'name'); + BuiltValueNullFieldError.checkNotNull( + ownerKeyChange, r'GIdentitiesByNameData_identity', 'ownerKeyChange'); + BuiltValueNullFieldError.checkNotNull(ownerKeyChangeAggregate, + r'GIdentitiesByNameData_identity', 'ownerKeyChangeAggregate'); + } + + @override + GIdentitiesByNameData_identity rebuild( + void Function(GIdentitiesByNameData_identityBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identityBuilder toBuilder() => + new GIdentitiesByNameData_identityBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData_identity && + G__typename == other.G__typename && + accountId == other.accountId && + accountRemovedId == other.accountRemovedId && + certIssued == other.certIssued && + certIssuedAggregate == other.certIssuedAggregate && + certReceived == other.certReceived && + certReceivedAggregate == other.certReceivedAggregate && + createdInId == other.createdInId && + createdOn == other.createdOn && + expireOn == other.expireOn && + id == other.id && + index == other.index && + isMember == other.isMember && + lastChangeOn == other.lastChangeOn && + linkedAccount == other.linkedAccount && + linkedAccountAggregate == other.linkedAccountAggregate && + status == other.status && + membershipHistory == other.membershipHistory && + membershipHistoryAggregate == other.membershipHistoryAggregate && + name == other.name && + ownerKeyChange == other.ownerKeyChange && + ownerKeyChangeAggregate == other.ownerKeyChangeAggregate && + smith == other.smith && + udHistory == other.udHistory; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, accountRemovedId.hashCode); + _$hash = $jc(_$hash, certIssued.hashCode); + _$hash = $jc(_$hash, certIssuedAggregate.hashCode); + _$hash = $jc(_$hash, certReceived.hashCode); + _$hash = $jc(_$hash, certReceivedAggregate.hashCode); + _$hash = $jc(_$hash, createdInId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, index.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, lastChangeOn.hashCode); + _$hash = $jc(_$hash, linkedAccount.hashCode); + _$hash = $jc(_$hash, linkedAccountAggregate.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, membershipHistory.hashCode); + _$hash = $jc(_$hash, membershipHistoryAggregate.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, ownerKeyChange.hashCode); + _$hash = $jc(_$hash, ownerKeyChangeAggregate.hashCode); + _$hash = $jc(_$hash, smith.hashCode); + _$hash = $jc(_$hash, udHistory.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentitiesByNameData_identity') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('accountRemovedId', accountRemovedId) + ..add('certIssued', certIssued) + ..add('certIssuedAggregate', certIssuedAggregate) + ..add('certReceived', certReceived) + ..add('certReceivedAggregate', certReceivedAggregate) + ..add('createdInId', createdInId) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('id', id) + ..add('index', index) + ..add('isMember', isMember) + ..add('lastChangeOn', lastChangeOn) + ..add('linkedAccount', linkedAccount) + ..add('linkedAccountAggregate', linkedAccountAggregate) + ..add('status', status) + ..add('membershipHistory', membershipHistory) + ..add('membershipHistoryAggregate', membershipHistoryAggregate) + ..add('name', name) + ..add('ownerKeyChange', ownerKeyChange) + ..add('ownerKeyChangeAggregate', ownerKeyChangeAggregate) + ..add('smith', smith) + ..add('udHistory', udHistory)) + .toString(); + } +} + +class GIdentitiesByNameData_identityBuilder + implements + Builder<GIdentitiesByNameData_identity, + GIdentitiesByNameData_identityBuilder> { + _$GIdentitiesByNameData_identity? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _accountRemovedId; + String? get accountRemovedId => _$this._accountRemovedId; + set accountRemovedId(String? accountRemovedId) => + _$this._accountRemovedId = accountRemovedId; + + ListBuilder<GIdentitiesByNameData_identity_certIssued>? _certIssued; + ListBuilder<GIdentitiesByNameData_identity_certIssued> get certIssued => + _$this._certIssued ??= + new ListBuilder<GIdentitiesByNameData_identity_certIssued>(); + set certIssued( + ListBuilder<GIdentitiesByNameData_identity_certIssued>? certIssued) => + _$this._certIssued = certIssued; + + GIdentitiesByNameData_identity_certIssuedAggregateBuilder? + _certIssuedAggregate; + GIdentitiesByNameData_identity_certIssuedAggregateBuilder + get certIssuedAggregate => _$this._certIssuedAggregate ??= + new GIdentitiesByNameData_identity_certIssuedAggregateBuilder(); + set certIssuedAggregate( + GIdentitiesByNameData_identity_certIssuedAggregateBuilder? + certIssuedAggregate) => + _$this._certIssuedAggregate = certIssuedAggregate; + + ListBuilder<GIdentitiesByNameData_identity_certReceived>? _certReceived; + ListBuilder<GIdentitiesByNameData_identity_certReceived> get certReceived => + _$this._certReceived ??= + new ListBuilder<GIdentitiesByNameData_identity_certReceived>(); + set certReceived( + ListBuilder<GIdentitiesByNameData_identity_certReceived>? + certReceived) => + _$this._certReceived = certReceived; + + GIdentitiesByNameData_identity_certReceivedAggregateBuilder? + _certReceivedAggregate; + GIdentitiesByNameData_identity_certReceivedAggregateBuilder + get certReceivedAggregate => _$this._certReceivedAggregate ??= + new GIdentitiesByNameData_identity_certReceivedAggregateBuilder(); + set certReceivedAggregate( + GIdentitiesByNameData_identity_certReceivedAggregateBuilder? + certReceivedAggregate) => + _$this._certReceivedAggregate = certReceivedAggregate; + + String? _createdInId; + String? get createdInId => _$this._createdInId; + set createdInId(String? createdInId) => _$this._createdInId = createdInId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _index; + int? get index => _$this._index; + set index(int? index) => _$this._index = index; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + int? _lastChangeOn; + int? get lastChangeOn => _$this._lastChangeOn; + set lastChangeOn(int? lastChangeOn) => _$this._lastChangeOn = lastChangeOn; + + ListBuilder<GIdentitiesByNameData_identity_linkedAccount>? _linkedAccount; + ListBuilder<GIdentitiesByNameData_identity_linkedAccount> get linkedAccount => + _$this._linkedAccount ??= + new ListBuilder<GIdentitiesByNameData_identity_linkedAccount>(); + set linkedAccount( + ListBuilder<GIdentitiesByNameData_identity_linkedAccount>? + linkedAccount) => + _$this._linkedAccount = linkedAccount; + + GIdentitiesByNameData_identity_linkedAccountAggregateBuilder? + _linkedAccountAggregate; + GIdentitiesByNameData_identity_linkedAccountAggregateBuilder + get linkedAccountAggregate => _$this._linkedAccountAggregate ??= + new GIdentitiesByNameData_identity_linkedAccountAggregateBuilder(); + set linkedAccountAggregate( + GIdentitiesByNameData_identity_linkedAccountAggregateBuilder? + linkedAccountAggregate) => + _$this._linkedAccountAggregate = linkedAccountAggregate; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + ListBuilder<GIdentitiesByNameData_identity_membershipHistory>? + _membershipHistory; + ListBuilder<GIdentitiesByNameData_identity_membershipHistory> + get membershipHistory => _$this._membershipHistory ??= + new ListBuilder<GIdentitiesByNameData_identity_membershipHistory>(); + set membershipHistory( + ListBuilder<GIdentitiesByNameData_identity_membershipHistory>? + membershipHistory) => + _$this._membershipHistory = membershipHistory; + + GIdentitiesByNameData_identity_membershipHistoryAggregateBuilder? + _membershipHistoryAggregate; + GIdentitiesByNameData_identity_membershipHistoryAggregateBuilder + get membershipHistoryAggregate => _$this._membershipHistoryAggregate ??= + new GIdentitiesByNameData_identity_membershipHistoryAggregateBuilder(); + set membershipHistoryAggregate( + GIdentitiesByNameData_identity_membershipHistoryAggregateBuilder? + membershipHistoryAggregate) => + _$this._membershipHistoryAggregate = membershipHistoryAggregate; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + ListBuilder<GIdentitiesByNameData_identity_ownerKeyChange>? _ownerKeyChange; + ListBuilder<GIdentitiesByNameData_identity_ownerKeyChange> + get ownerKeyChange => _$this._ownerKeyChange ??= + new ListBuilder<GIdentitiesByNameData_identity_ownerKeyChange>(); + set ownerKeyChange( + ListBuilder<GIdentitiesByNameData_identity_ownerKeyChange>? + ownerKeyChange) => + _$this._ownerKeyChange = ownerKeyChange; + + GIdentitiesByNameData_identity_ownerKeyChangeAggregateBuilder? + _ownerKeyChangeAggregate; + GIdentitiesByNameData_identity_ownerKeyChangeAggregateBuilder + get ownerKeyChangeAggregate => _$this._ownerKeyChangeAggregate ??= + new GIdentitiesByNameData_identity_ownerKeyChangeAggregateBuilder(); + set ownerKeyChangeAggregate( + GIdentitiesByNameData_identity_ownerKeyChangeAggregateBuilder? + ownerKeyChangeAggregate) => + _$this._ownerKeyChangeAggregate = ownerKeyChangeAggregate; + + GIdentitiesByNameData_identity_smithBuilder? _smith; + GIdentitiesByNameData_identity_smithBuilder get smith => + _$this._smith ??= new GIdentitiesByNameData_identity_smithBuilder(); + set smith(GIdentitiesByNameData_identity_smithBuilder? smith) => + _$this._smith = smith; + + ListBuilder<GIdentitiesByNameData_identity_udHistory>? _udHistory; + ListBuilder<GIdentitiesByNameData_identity_udHistory> get udHistory => + _$this._udHistory ??= + new ListBuilder<GIdentitiesByNameData_identity_udHistory>(); + set udHistory( + ListBuilder<GIdentitiesByNameData_identity_udHistory>? udHistory) => + _$this._udHistory = udHistory; + + GIdentitiesByNameData_identityBuilder() { + GIdentitiesByNameData_identity._initializeBuilder(this); + } + + GIdentitiesByNameData_identityBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _accountRemovedId = $v.accountRemovedId; + _certIssued = $v.certIssued.toBuilder(); + _certIssuedAggregate = $v.certIssuedAggregate.toBuilder(); + _certReceived = $v.certReceived.toBuilder(); + _certReceivedAggregate = $v.certReceivedAggregate.toBuilder(); + _createdInId = $v.createdInId; + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _id = $v.id; + _index = $v.index; + _isMember = $v.isMember; + _lastChangeOn = $v.lastChangeOn; + _linkedAccount = $v.linkedAccount.toBuilder(); + _linkedAccountAggregate = $v.linkedAccountAggregate.toBuilder(); + _status = $v.status; + _membershipHistory = $v.membershipHistory.toBuilder(); + _membershipHistoryAggregate = $v.membershipHistoryAggregate.toBuilder(); + _name = $v.name; + _ownerKeyChange = $v.ownerKeyChange.toBuilder(); + _ownerKeyChangeAggregate = $v.ownerKeyChangeAggregate.toBuilder(); + _smith = $v.smith?.toBuilder(); + _udHistory = $v.udHistory?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameData_identity other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData_identity; + } + + @override + void update(void Function(GIdentitiesByNameData_identityBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity build() => _build(); + + _$GIdentitiesByNameData_identity _build() { + _$GIdentitiesByNameData_identity _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameData_identity._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentitiesByNameData_identity', 'G__typename'), + accountId: accountId, + accountRemovedId: accountRemovedId, + certIssued: certIssued.build(), + certIssuedAggregate: certIssuedAggregate.build(), + certReceived: certReceived.build(), + certReceivedAggregate: certReceivedAggregate.build(), + createdInId: createdInId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentitiesByNameData_identity', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentitiesByNameData_identity', 'expireOn'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity', 'id'), + index: BuiltValueNullFieldError.checkNotNull( + index, r'GIdentitiesByNameData_identity', 'index'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, r'GIdentitiesByNameData_identity', 'isMember'), + lastChangeOn: BuiltValueNullFieldError.checkNotNull(lastChangeOn, + r'GIdentitiesByNameData_identity', 'lastChangeOn'), + linkedAccount: linkedAccount.build(), + linkedAccountAggregate: linkedAccountAggregate.build(), + status: status, + membershipHistory: membershipHistory.build(), + membershipHistoryAggregate: membershipHistoryAggregate.build(), + name: BuiltValueNullFieldError.checkNotNull(name, r'GIdentitiesByNameData_identity', 'name'), + ownerKeyChange: ownerKeyChange.build(), + ownerKeyChangeAggregate: ownerKeyChangeAggregate.build(), + smith: _smith?.build(), + udHistory: _udHistory?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'certIssued'; + certIssued.build(); + _$failedField = 'certIssuedAggregate'; + certIssuedAggregate.build(); + _$failedField = 'certReceived'; + certReceived.build(); + _$failedField = 'certReceivedAggregate'; + certReceivedAggregate.build(); + + _$failedField = 'linkedAccount'; + linkedAccount.build(); + _$failedField = 'linkedAccountAggregate'; + linkedAccountAggregate.build(); + + _$failedField = 'membershipHistory'; + membershipHistory.build(); + _$failedField = 'membershipHistoryAggregate'; + membershipHistoryAggregate.build(); + + _$failedField = 'ownerKeyChange'; + ownerKeyChange.build(); + _$failedField = 'ownerKeyChangeAggregate'; + ownerKeyChangeAggregate.build(); + _$failedField = 'smith'; + _smith?.build(); + _$failedField = 'udHistory'; + _udHistory?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameData_identity', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_certIssued + extends GIdentitiesByNameData_identity_certIssued { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final GIdentitiesByNameData_identity_certIssued_issuer? issuer; + @override + final String? receiverId; + @override + final GIdentitiesByNameData_identity_certIssued_receiver? receiver; + @override + final int createdOn; + @override + final int expireOn; + @override + final bool isActive; + @override + final int updatedOn; + + factory _$GIdentitiesByNameData_identity_certIssued( + [void Function(GIdentitiesByNameData_identity_certIssuedBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_certIssuedBuilder()..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_certIssued._( + {required this.G__typename, + required this.id, + this.issuerId, + this.issuer, + this.receiverId, + this.receiver, + required this.createdOn, + required this.expireOn, + required this.isActive, + required this.updatedOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameData_identity_certIssued', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_certIssued', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentitiesByNameData_identity_certIssued', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentitiesByNameData_identity_certIssued', 'expireOn'); + BuiltValueNullFieldError.checkNotNull( + isActive, r'GIdentitiesByNameData_identity_certIssued', 'isActive'); + BuiltValueNullFieldError.checkNotNull( + updatedOn, r'GIdentitiesByNameData_identity_certIssued', 'updatedOn'); + } + + @override + GIdentitiesByNameData_identity_certIssued rebuild( + void Function(GIdentitiesByNameData_identity_certIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_certIssuedBuilder toBuilder() => + new GIdentitiesByNameData_identity_certIssuedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData_identity_certIssued && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + issuer == other.issuer && + receiverId == other.receiverId && + receiver == other.receiver && + createdOn == other.createdOn && + expireOn == other.expireOn && + isActive == other.isActive && + updatedOn == other.updatedOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, issuer.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, receiver.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, updatedOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_certIssued') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('issuer', issuer) + ..add('receiverId', receiverId) + ..add('receiver', receiver) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('isActive', isActive) + ..add('updatedOn', updatedOn)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_certIssuedBuilder + implements + Builder<GIdentitiesByNameData_identity_certIssued, + GIdentitiesByNameData_identity_certIssuedBuilder> { + _$GIdentitiesByNameData_identity_certIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + GIdentitiesByNameData_identity_certIssued_issuerBuilder? _issuer; + GIdentitiesByNameData_identity_certIssued_issuerBuilder get issuer => + _$this._issuer ??= + new GIdentitiesByNameData_identity_certIssued_issuerBuilder(); + set issuer(GIdentitiesByNameData_identity_certIssued_issuerBuilder? issuer) => + _$this._issuer = issuer; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + GIdentitiesByNameData_identity_certIssued_receiverBuilder? _receiver; + GIdentitiesByNameData_identity_certIssued_receiverBuilder get receiver => + _$this._receiver ??= + new GIdentitiesByNameData_identity_certIssued_receiverBuilder(); + set receiver( + GIdentitiesByNameData_identity_certIssued_receiverBuilder? + receiver) => + _$this._receiver = receiver; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + int? _updatedOn; + int? get updatedOn => _$this._updatedOn; + set updatedOn(int? updatedOn) => _$this._updatedOn = updatedOn; + + GIdentitiesByNameData_identity_certIssuedBuilder() { + GIdentitiesByNameData_identity_certIssued._initializeBuilder(this); + } + + GIdentitiesByNameData_identity_certIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _issuer = $v.issuer?.toBuilder(); + _receiverId = $v.receiverId; + _receiver = $v.receiver?.toBuilder(); + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _isActive = $v.isActive; + _updatedOn = $v.updatedOn; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameData_identity_certIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData_identity_certIssued; + } + + @override + void update( + void Function(GIdentitiesByNameData_identity_certIssuedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_certIssued build() => _build(); + + _$GIdentitiesByNameData_identity_certIssued _build() { + _$GIdentitiesByNameData_identity_certIssued _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameData_identity_certIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameData_identity_certIssued', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_certIssued', 'id'), + issuerId: issuerId, + issuer: _issuer?.build(), + receiverId: receiverId, + receiver: _receiver?.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentitiesByNameData_identity_certIssued', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentitiesByNameData_identity_certIssued', 'expireOn'), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GIdentitiesByNameData_identity_certIssued', 'isActive'), + updatedOn: BuiltValueNullFieldError.checkNotNull(updatedOn, + r'GIdentitiesByNameData_identity_certIssued', 'updatedOn')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'issuer'; + _issuer?.build(); + + _$failedField = 'receiver'; + _receiver?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameData_identity_certIssued', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_certIssued_issuer + extends GIdentitiesByNameData_identity_certIssued_issuer { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GIdentitiesByNameData_identity_certIssued_issuer( + [void Function( + GIdentitiesByNameData_identity_certIssued_issuerBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_certIssued_issuerBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_certIssued_issuer._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameData_identity_certIssued_issuer', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_certIssued_issuer', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GIdentitiesByNameData_identity_certIssued_issuer', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GIdentitiesByNameData_identity_certIssued_issuer', 'name'); + } + + @override + GIdentitiesByNameData_identity_certIssued_issuer rebuild( + void Function(GIdentitiesByNameData_identity_certIssued_issuerBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_certIssued_issuerBuilder toBuilder() => + new GIdentitiesByNameData_identity_certIssued_issuerBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData_identity_certIssued_issuer && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_certIssued_issuer') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_certIssued_issuerBuilder + implements + Builder<GIdentitiesByNameData_identity_certIssued_issuer, + GIdentitiesByNameData_identity_certIssued_issuerBuilder> { + _$GIdentitiesByNameData_identity_certIssued_issuer? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GIdentitiesByNameData_identity_certIssued_issuerBuilder() { + GIdentitiesByNameData_identity_certIssued_issuer._initializeBuilder(this); + } + + GIdentitiesByNameData_identity_certIssued_issuerBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameData_identity_certIssued_issuer other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData_identity_certIssued_issuer; + } + + @override + void update( + void Function(GIdentitiesByNameData_identity_certIssued_issuerBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_certIssued_issuer build() => _build(); + + _$GIdentitiesByNameData_identity_certIssued_issuer _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameData_identity_certIssued_issuer._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_certIssued_issuer', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_certIssued_issuer', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GIdentitiesByNameData_identity_certIssued_issuer', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull(name, + r'GIdentitiesByNameData_identity_certIssued_issuer', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_certIssued_receiver + extends GIdentitiesByNameData_identity_certIssued_receiver { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GIdentitiesByNameData_identity_certIssued_receiver( + [void Function( + GIdentitiesByNameData_identity_certIssued_receiverBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_certIssued_receiverBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_certIssued_receiver._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameData_identity_certIssued_receiver', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_certIssued_receiver', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GIdentitiesByNameData_identity_certIssued_receiver', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GIdentitiesByNameData_identity_certIssued_receiver', 'name'); + } + + @override + GIdentitiesByNameData_identity_certIssued_receiver rebuild( + void Function( + GIdentitiesByNameData_identity_certIssued_receiverBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_certIssued_receiverBuilder toBuilder() => + new GIdentitiesByNameData_identity_certIssued_receiverBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData_identity_certIssued_receiver && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_certIssued_receiver') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_certIssued_receiverBuilder + implements + Builder<GIdentitiesByNameData_identity_certIssued_receiver, + GIdentitiesByNameData_identity_certIssued_receiverBuilder> { + _$GIdentitiesByNameData_identity_certIssued_receiver? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GIdentitiesByNameData_identity_certIssued_receiverBuilder() { + GIdentitiesByNameData_identity_certIssued_receiver._initializeBuilder(this); + } + + GIdentitiesByNameData_identity_certIssued_receiverBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameData_identity_certIssued_receiver other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData_identity_certIssued_receiver; + } + + @override + void update( + void Function(GIdentitiesByNameData_identity_certIssued_receiverBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_certIssued_receiver build() => _build(); + + _$GIdentitiesByNameData_identity_certIssued_receiver _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameData_identity_certIssued_receiver._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_certIssued_receiver', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull(id, + r'GIdentitiesByNameData_identity_certIssued_receiver', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GIdentitiesByNameData_identity_certIssued_receiver', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull(name, + r'GIdentitiesByNameData_identity_certIssued_receiver', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_certIssuedAggregate + extends GIdentitiesByNameData_identity_certIssuedAggregate { + @override + final String G__typename; + @override + final GIdentitiesByNameData_identity_certIssuedAggregate_aggregate? aggregate; + + factory _$GIdentitiesByNameData_identity_certIssuedAggregate( + [void Function( + GIdentitiesByNameData_identity_certIssuedAggregateBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_certIssuedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_certIssuedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameData_identity_certIssuedAggregate', 'G__typename'); + } + + @override + GIdentitiesByNameData_identity_certIssuedAggregate rebuild( + void Function( + GIdentitiesByNameData_identity_certIssuedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_certIssuedAggregateBuilder toBuilder() => + new GIdentitiesByNameData_identity_certIssuedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData_identity_certIssuedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_certIssuedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_certIssuedAggregateBuilder + implements + Builder<GIdentitiesByNameData_identity_certIssuedAggregate, + GIdentitiesByNameData_identity_certIssuedAggregateBuilder> { + _$GIdentitiesByNameData_identity_certIssuedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentitiesByNameData_identity_certIssuedAggregate_aggregateBuilder? + _aggregate; + GIdentitiesByNameData_identity_certIssuedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GIdentitiesByNameData_identity_certIssuedAggregate_aggregateBuilder(); + set aggregate( + GIdentitiesByNameData_identity_certIssuedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentitiesByNameData_identity_certIssuedAggregateBuilder() { + GIdentitiesByNameData_identity_certIssuedAggregate._initializeBuilder(this); + } + + GIdentitiesByNameData_identity_certIssuedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameData_identity_certIssuedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData_identity_certIssuedAggregate; + } + + @override + void update( + void Function(GIdentitiesByNameData_identity_certIssuedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_certIssuedAggregate build() => _build(); + + _$GIdentitiesByNameData_identity_certIssuedAggregate _build() { + _$GIdentitiesByNameData_identity_certIssuedAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameData_identity_certIssuedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_certIssuedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameData_identity_certIssuedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_certIssuedAggregate_aggregate + extends GIdentitiesByNameData_identity_certIssuedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentitiesByNameData_identity_certIssuedAggregate_aggregate( + [void Function( + GIdentitiesByNameData_identity_certIssuedAggregate_aggregateBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_certIssuedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_certIssuedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_certIssuedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameData_identity_certIssuedAggregate_aggregate', + 'count'); + } + + @override + GIdentitiesByNameData_identity_certIssuedAggregate_aggregate rebuild( + void Function( + GIdentitiesByNameData_identity_certIssuedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_certIssuedAggregate_aggregateBuilder + toBuilder() => + new GIdentitiesByNameData_identity_certIssuedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GIdentitiesByNameData_identity_certIssuedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_certIssuedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_certIssuedAggregate_aggregateBuilder + implements + Builder<GIdentitiesByNameData_identity_certIssuedAggregate_aggregate, + GIdentitiesByNameData_identity_certIssuedAggregate_aggregateBuilder> { + _$GIdentitiesByNameData_identity_certIssuedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentitiesByNameData_identity_certIssuedAggregate_aggregateBuilder() { + GIdentitiesByNameData_identity_certIssuedAggregate_aggregate + ._initializeBuilder(this); + } + + GIdentitiesByNameData_identity_certIssuedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByNameData_identity_certIssuedAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = + other as _$GIdentitiesByNameData_identity_certIssuedAggregate_aggregate; + } + + @override + void update( + void Function( + GIdentitiesByNameData_identity_certIssuedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_certIssuedAggregate_aggregate build() => + _build(); + + _$GIdentitiesByNameData_identity_certIssuedAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameData_identity_certIssuedAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_certIssuedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameData_identity_certIssuedAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_certReceived + extends GIdentitiesByNameData_identity_certReceived { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final GIdentitiesByNameData_identity_certReceived_issuer? issuer; + @override + final String? receiverId; + @override + final GIdentitiesByNameData_identity_certReceived_receiver? receiver; + @override + final int createdOn; + @override + final int expireOn; + @override + final bool isActive; + @override + final int updatedOn; + + factory _$GIdentitiesByNameData_identity_certReceived( + [void Function(GIdentitiesByNameData_identity_certReceivedBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_certReceivedBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_certReceived._( + {required this.G__typename, + required this.id, + this.issuerId, + this.issuer, + this.receiverId, + this.receiver, + required this.createdOn, + required this.expireOn, + required this.isActive, + required this.updatedOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameData_identity_certReceived', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_certReceived', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentitiesByNameData_identity_certReceived', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentitiesByNameData_identity_certReceived', 'expireOn'); + BuiltValueNullFieldError.checkNotNull( + isActive, r'GIdentitiesByNameData_identity_certReceived', 'isActive'); + BuiltValueNullFieldError.checkNotNull( + updatedOn, r'GIdentitiesByNameData_identity_certReceived', 'updatedOn'); + } + + @override + GIdentitiesByNameData_identity_certReceived rebuild( + void Function(GIdentitiesByNameData_identity_certReceivedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_certReceivedBuilder toBuilder() => + new GIdentitiesByNameData_identity_certReceivedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData_identity_certReceived && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + issuer == other.issuer && + receiverId == other.receiverId && + receiver == other.receiver && + createdOn == other.createdOn && + expireOn == other.expireOn && + isActive == other.isActive && + updatedOn == other.updatedOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, issuer.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, receiver.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, updatedOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_certReceived') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('issuer', issuer) + ..add('receiverId', receiverId) + ..add('receiver', receiver) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('isActive', isActive) + ..add('updatedOn', updatedOn)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_certReceivedBuilder + implements + Builder<GIdentitiesByNameData_identity_certReceived, + GIdentitiesByNameData_identity_certReceivedBuilder> { + _$GIdentitiesByNameData_identity_certReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + GIdentitiesByNameData_identity_certReceived_issuerBuilder? _issuer; + GIdentitiesByNameData_identity_certReceived_issuerBuilder get issuer => + _$this._issuer ??= + new GIdentitiesByNameData_identity_certReceived_issuerBuilder(); + set issuer( + GIdentitiesByNameData_identity_certReceived_issuerBuilder? issuer) => + _$this._issuer = issuer; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + GIdentitiesByNameData_identity_certReceived_receiverBuilder? _receiver; + GIdentitiesByNameData_identity_certReceived_receiverBuilder get receiver => + _$this._receiver ??= + new GIdentitiesByNameData_identity_certReceived_receiverBuilder(); + set receiver( + GIdentitiesByNameData_identity_certReceived_receiverBuilder? + receiver) => + _$this._receiver = receiver; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + int? _updatedOn; + int? get updatedOn => _$this._updatedOn; + set updatedOn(int? updatedOn) => _$this._updatedOn = updatedOn; + + GIdentitiesByNameData_identity_certReceivedBuilder() { + GIdentitiesByNameData_identity_certReceived._initializeBuilder(this); + } + + GIdentitiesByNameData_identity_certReceivedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _issuer = $v.issuer?.toBuilder(); + _receiverId = $v.receiverId; + _receiver = $v.receiver?.toBuilder(); + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _isActive = $v.isActive; + _updatedOn = $v.updatedOn; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameData_identity_certReceived other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData_identity_certReceived; + } + + @override + void update( + void Function(GIdentitiesByNameData_identity_certReceivedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_certReceived build() => _build(); + + _$GIdentitiesByNameData_identity_certReceived _build() { + _$GIdentitiesByNameData_identity_certReceived _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameData_identity_certReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_certReceived', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_certReceived', 'id'), + issuerId: issuerId, + issuer: _issuer?.build(), + receiverId: receiverId, + receiver: _receiver?.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentitiesByNameData_identity_certReceived', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentitiesByNameData_identity_certReceived', 'expireOn'), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GIdentitiesByNameData_identity_certReceived', 'isActive'), + updatedOn: BuiltValueNullFieldError.checkNotNull(updatedOn, + r'GIdentitiesByNameData_identity_certReceived', 'updatedOn')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'issuer'; + _issuer?.build(); + + _$failedField = 'receiver'; + _receiver?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameData_identity_certReceived', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_certReceived_issuer + extends GIdentitiesByNameData_identity_certReceived_issuer { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GIdentitiesByNameData_identity_certReceived_issuer( + [void Function( + GIdentitiesByNameData_identity_certReceived_issuerBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_certReceived_issuerBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_certReceived_issuer._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameData_identity_certReceived_issuer', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_certReceived_issuer', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GIdentitiesByNameData_identity_certReceived_issuer', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GIdentitiesByNameData_identity_certReceived_issuer', 'name'); + } + + @override + GIdentitiesByNameData_identity_certReceived_issuer rebuild( + void Function( + GIdentitiesByNameData_identity_certReceived_issuerBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_certReceived_issuerBuilder toBuilder() => + new GIdentitiesByNameData_identity_certReceived_issuerBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData_identity_certReceived_issuer && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_certReceived_issuer') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_certReceived_issuerBuilder + implements + Builder<GIdentitiesByNameData_identity_certReceived_issuer, + GIdentitiesByNameData_identity_certReceived_issuerBuilder> { + _$GIdentitiesByNameData_identity_certReceived_issuer? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GIdentitiesByNameData_identity_certReceived_issuerBuilder() { + GIdentitiesByNameData_identity_certReceived_issuer._initializeBuilder(this); + } + + GIdentitiesByNameData_identity_certReceived_issuerBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameData_identity_certReceived_issuer other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData_identity_certReceived_issuer; + } + + @override + void update( + void Function(GIdentitiesByNameData_identity_certReceived_issuerBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_certReceived_issuer build() => _build(); + + _$GIdentitiesByNameData_identity_certReceived_issuer _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameData_identity_certReceived_issuer._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_certReceived_issuer', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull(id, + r'GIdentitiesByNameData_identity_certReceived_issuer', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GIdentitiesByNameData_identity_certReceived_issuer', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull(name, + r'GIdentitiesByNameData_identity_certReceived_issuer', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_certReceived_receiver + extends GIdentitiesByNameData_identity_certReceived_receiver { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GIdentitiesByNameData_identity_certReceived_receiver( + [void Function( + GIdentitiesByNameData_identity_certReceived_receiverBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_certReceived_receiverBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_certReceived_receiver._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameData_identity_certReceived_receiver', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_certReceived_receiver', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GIdentitiesByNameData_identity_certReceived_receiver', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GIdentitiesByNameData_identity_certReceived_receiver', 'name'); + } + + @override + GIdentitiesByNameData_identity_certReceived_receiver rebuild( + void Function( + GIdentitiesByNameData_identity_certReceived_receiverBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_certReceived_receiverBuilder toBuilder() => + new GIdentitiesByNameData_identity_certReceived_receiverBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData_identity_certReceived_receiver && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_certReceived_receiver') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_certReceived_receiverBuilder + implements + Builder<GIdentitiesByNameData_identity_certReceived_receiver, + GIdentitiesByNameData_identity_certReceived_receiverBuilder> { + _$GIdentitiesByNameData_identity_certReceived_receiver? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GIdentitiesByNameData_identity_certReceived_receiverBuilder() { + GIdentitiesByNameData_identity_certReceived_receiver._initializeBuilder( + this); + } + + GIdentitiesByNameData_identity_certReceived_receiverBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameData_identity_certReceived_receiver other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData_identity_certReceived_receiver; + } + + @override + void update( + void Function( + GIdentitiesByNameData_identity_certReceived_receiverBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_certReceived_receiver build() => _build(); + + _$GIdentitiesByNameData_identity_certReceived_receiver _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameData_identity_certReceived_receiver._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_certReceived_receiver', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull(id, + r'GIdentitiesByNameData_identity_certReceived_receiver', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GIdentitiesByNameData_identity_certReceived_receiver', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, + r'GIdentitiesByNameData_identity_certReceived_receiver', + 'name')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_certReceivedAggregate + extends GIdentitiesByNameData_identity_certReceivedAggregate { + @override + final String G__typename; + @override + final GIdentitiesByNameData_identity_certReceivedAggregate_aggregate? + aggregate; + + factory _$GIdentitiesByNameData_identity_certReceivedAggregate( + [void Function( + GIdentitiesByNameData_identity_certReceivedAggregateBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_certReceivedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_certReceivedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameData_identity_certReceivedAggregate', 'G__typename'); + } + + @override + GIdentitiesByNameData_identity_certReceivedAggregate rebuild( + void Function( + GIdentitiesByNameData_identity_certReceivedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_certReceivedAggregateBuilder toBuilder() => + new GIdentitiesByNameData_identity_certReceivedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData_identity_certReceivedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_certReceivedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_certReceivedAggregateBuilder + implements + Builder<GIdentitiesByNameData_identity_certReceivedAggregate, + GIdentitiesByNameData_identity_certReceivedAggregateBuilder> { + _$GIdentitiesByNameData_identity_certReceivedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentitiesByNameData_identity_certReceivedAggregate_aggregateBuilder? + _aggregate; + GIdentitiesByNameData_identity_certReceivedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GIdentitiesByNameData_identity_certReceivedAggregate_aggregateBuilder(); + set aggregate( + GIdentitiesByNameData_identity_certReceivedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentitiesByNameData_identity_certReceivedAggregateBuilder() { + GIdentitiesByNameData_identity_certReceivedAggregate._initializeBuilder( + this); + } + + GIdentitiesByNameData_identity_certReceivedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameData_identity_certReceivedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData_identity_certReceivedAggregate; + } + + @override + void update( + void Function( + GIdentitiesByNameData_identity_certReceivedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_certReceivedAggregate build() => _build(); + + _$GIdentitiesByNameData_identity_certReceivedAggregate _build() { + _$GIdentitiesByNameData_identity_certReceivedAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameData_identity_certReceivedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_certReceivedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameData_identity_certReceivedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_certReceivedAggregate_aggregate + extends GIdentitiesByNameData_identity_certReceivedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentitiesByNameData_identity_certReceivedAggregate_aggregate( + [void Function( + GIdentitiesByNameData_identity_certReceivedAggregate_aggregateBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_certReceivedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_certReceivedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_certReceivedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameData_identity_certReceivedAggregate_aggregate', + 'count'); + } + + @override + GIdentitiesByNameData_identity_certReceivedAggregate_aggregate rebuild( + void Function( + GIdentitiesByNameData_identity_certReceivedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_certReceivedAggregate_aggregateBuilder + toBuilder() => + new GIdentitiesByNameData_identity_certReceivedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GIdentitiesByNameData_identity_certReceivedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_certReceivedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_certReceivedAggregate_aggregateBuilder + implements + Builder<GIdentitiesByNameData_identity_certReceivedAggregate_aggregate, + GIdentitiesByNameData_identity_certReceivedAggregate_aggregateBuilder> { + _$GIdentitiesByNameData_identity_certReceivedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentitiesByNameData_identity_certReceivedAggregate_aggregateBuilder() { + GIdentitiesByNameData_identity_certReceivedAggregate_aggregate + ._initializeBuilder(this); + } + + GIdentitiesByNameData_identity_certReceivedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByNameData_identity_certReceivedAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GIdentitiesByNameData_identity_certReceivedAggregate_aggregate; + } + + @override + void update( + void Function( + GIdentitiesByNameData_identity_certReceivedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_certReceivedAggregate_aggregate build() => + _build(); + + _$GIdentitiesByNameData_identity_certReceivedAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameData_identity_certReceivedAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_certReceivedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameData_identity_certReceivedAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_linkedAccount + extends GIdentitiesByNameData_identity_linkedAccount { + @override + final String G__typename; + @override + final String id; + + factory _$GIdentitiesByNameData_identity_linkedAccount( + [void Function(GIdentitiesByNameData_identity_linkedAccountBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_linkedAccountBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_linkedAccount._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameData_identity_linkedAccount', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_linkedAccount', 'id'); + } + + @override + GIdentitiesByNameData_identity_linkedAccount rebuild( + void Function(GIdentitiesByNameData_identity_linkedAccountBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_linkedAccountBuilder toBuilder() => + new GIdentitiesByNameData_identity_linkedAccountBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData_identity_linkedAccount && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_linkedAccount') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_linkedAccountBuilder + implements + Builder<GIdentitiesByNameData_identity_linkedAccount, + GIdentitiesByNameData_identity_linkedAccountBuilder> { + _$GIdentitiesByNameData_identity_linkedAccount? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GIdentitiesByNameData_identity_linkedAccountBuilder() { + GIdentitiesByNameData_identity_linkedAccount._initializeBuilder(this); + } + + GIdentitiesByNameData_identity_linkedAccountBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameData_identity_linkedAccount other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData_identity_linkedAccount; + } + + @override + void update( + void Function(GIdentitiesByNameData_identity_linkedAccountBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_linkedAccount build() => _build(); + + _$GIdentitiesByNameData_identity_linkedAccount _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameData_identity_linkedAccount._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameData_identity_linkedAccount', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_linkedAccount', 'id')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_linkedAccountAggregate + extends GIdentitiesByNameData_identity_linkedAccountAggregate { + @override + final String G__typename; + @override + final GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate? + aggregate; + + factory _$GIdentitiesByNameData_identity_linkedAccountAggregate( + [void Function( + GIdentitiesByNameData_identity_linkedAccountAggregateBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_linkedAccountAggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_linkedAccountAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_linkedAccountAggregate', + 'G__typename'); + } + + @override + GIdentitiesByNameData_identity_linkedAccountAggregate rebuild( + void Function( + GIdentitiesByNameData_identity_linkedAccountAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_linkedAccountAggregateBuilder toBuilder() => + new GIdentitiesByNameData_identity_linkedAccountAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData_identity_linkedAccountAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_linkedAccountAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_linkedAccountAggregateBuilder + implements + Builder<GIdentitiesByNameData_identity_linkedAccountAggregate, + GIdentitiesByNameData_identity_linkedAccountAggregateBuilder> { + _$GIdentitiesByNameData_identity_linkedAccountAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateBuilder? + _aggregate; + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateBuilder(); + set aggregate( + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentitiesByNameData_identity_linkedAccountAggregateBuilder() { + GIdentitiesByNameData_identity_linkedAccountAggregate._initializeBuilder( + this); + } + + GIdentitiesByNameData_identity_linkedAccountAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameData_identity_linkedAccountAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData_identity_linkedAccountAggregate; + } + + @override + void update( + void Function( + GIdentitiesByNameData_identity_linkedAccountAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_linkedAccountAggregate build() => _build(); + + _$GIdentitiesByNameData_identity_linkedAccountAggregate _build() { + _$GIdentitiesByNameData_identity_linkedAccountAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameData_identity_linkedAccountAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_linkedAccountAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameData_identity_linkedAccountAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate + extends GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate( + [void Function( + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate', + 'count'); + } + + @override + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate rebuild( + void Function( + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateBuilder + toBuilder() => + new GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateBuilder + implements + Builder<GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate, + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateBuilder> { + _$GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateBuilder() { + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate + ._initializeBuilder(this); + } + + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate; + } + + @override + void update( + void Function( + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate build() => + _build(); + + _$GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_membershipHistory + extends GIdentitiesByNameData_identity_membershipHistory { + @override + final String G__typename; + @override + final int blockNumber; + @override + final String? eventId; + @override + final _i2.GEventTypeEnum? eventType; + @override + final String id; + @override + final String? identityId; + + factory _$GIdentitiesByNameData_identity_membershipHistory( + [void Function( + GIdentitiesByNameData_identity_membershipHistoryBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_membershipHistoryBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_membershipHistory._( + {required this.G__typename, + required this.blockNumber, + this.eventId, + this.eventType, + required this.id, + this.identityId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameData_identity_membershipHistory', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GIdentitiesByNameData_identity_membershipHistory', 'blockNumber'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_membershipHistory', 'id'); + } + + @override + GIdentitiesByNameData_identity_membershipHistory rebuild( + void Function(GIdentitiesByNameData_identity_membershipHistoryBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_membershipHistoryBuilder toBuilder() => + new GIdentitiesByNameData_identity_membershipHistoryBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData_identity_membershipHistory && + G__typename == other.G__typename && + blockNumber == other.blockNumber && + eventId == other.eventId && + eventType == other.eventType && + id == other.id && + identityId == other.identityId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, eventId.hashCode); + _$hash = $jc(_$hash, eventType.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_membershipHistory') + ..add('G__typename', G__typename) + ..add('blockNumber', blockNumber) + ..add('eventId', eventId) + ..add('eventType', eventType) + ..add('id', id) + ..add('identityId', identityId)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_membershipHistoryBuilder + implements + Builder<GIdentitiesByNameData_identity_membershipHistory, + GIdentitiesByNameData_identity_membershipHistoryBuilder> { + _$GIdentitiesByNameData_identity_membershipHistory? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _eventId; + String? get eventId => _$this._eventId; + set eventId(String? eventId) => _$this._eventId = eventId; + + _i2.GEventTypeEnum? _eventType; + _i2.GEventTypeEnum? get eventType => _$this._eventType; + set eventType(_i2.GEventTypeEnum? eventType) => _$this._eventType = eventType; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + GIdentitiesByNameData_identity_membershipHistoryBuilder() { + GIdentitiesByNameData_identity_membershipHistory._initializeBuilder(this); + } + + GIdentitiesByNameData_identity_membershipHistoryBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _blockNumber = $v.blockNumber; + _eventId = $v.eventId; + _eventType = $v.eventType; + _id = $v.id; + _identityId = $v.identityId; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameData_identity_membershipHistory other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData_identity_membershipHistory; + } + + @override + void update( + void Function(GIdentitiesByNameData_identity_membershipHistoryBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_membershipHistory build() => _build(); + + _$GIdentitiesByNameData_identity_membershipHistory _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameData_identity_membershipHistory._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_membershipHistory', + 'G__typename'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GIdentitiesByNameData_identity_membershipHistory', + 'blockNumber'), + eventId: eventId, + eventType: eventType, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_membershipHistory', 'id'), + identityId: identityId); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_membershipHistoryAggregate + extends GIdentitiesByNameData_identity_membershipHistoryAggregate { + @override + final String G__typename; + @override + final GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate? + aggregate; + + factory _$GIdentitiesByNameData_identity_membershipHistoryAggregate( + [void Function( + GIdentitiesByNameData_identity_membershipHistoryAggregateBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_membershipHistoryAggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_membershipHistoryAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_membershipHistoryAggregate', + 'G__typename'); + } + + @override + GIdentitiesByNameData_identity_membershipHistoryAggregate rebuild( + void Function( + GIdentitiesByNameData_identity_membershipHistoryAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_membershipHistoryAggregateBuilder + toBuilder() => + new GIdentitiesByNameData_identity_membershipHistoryAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData_identity_membershipHistoryAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_membershipHistoryAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_membershipHistoryAggregateBuilder + implements + Builder<GIdentitiesByNameData_identity_membershipHistoryAggregate, + GIdentitiesByNameData_identity_membershipHistoryAggregateBuilder> { + _$GIdentitiesByNameData_identity_membershipHistoryAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateBuilder? + _aggregate; + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateBuilder(); + set aggregate( + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentitiesByNameData_identity_membershipHistoryAggregateBuilder() { + GIdentitiesByNameData_identity_membershipHistoryAggregate + ._initializeBuilder(this); + } + + GIdentitiesByNameData_identity_membershipHistoryAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByNameData_identity_membershipHistoryAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData_identity_membershipHistoryAggregate; + } + + @override + void update( + void Function( + GIdentitiesByNameData_identity_membershipHistoryAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_membershipHistoryAggregate build() => _build(); + + _$GIdentitiesByNameData_identity_membershipHistoryAggregate _build() { + _$GIdentitiesByNameData_identity_membershipHistoryAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameData_identity_membershipHistoryAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_membershipHistoryAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameData_identity_membershipHistoryAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate + extends GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate( + [void Function( + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate', + 'count'); + } + + @override + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate rebuild( + void Function( + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateBuilder + toBuilder() => + new GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateBuilder + implements + Builder< + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate, + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateBuilder> { + _$GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateBuilder() { + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate + ._initializeBuilder(this); + } + + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate; + } + + @override + void update( + void Function( + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate build() => + _build(); + + _$GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_ownerKeyChange + extends GIdentitiesByNameData_identity_ownerKeyChange { + @override + final String G__typename; + @override + final String id; + @override + final int blockNumber; + @override + final String? identityId; + @override + final String? nextId; + @override + final String? previousId; + + factory _$GIdentitiesByNameData_identity_ownerKeyChange( + [void Function(GIdentitiesByNameData_identity_ownerKeyChangeBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_ownerKeyChangeBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_ownerKeyChange._( + {required this.G__typename, + required this.id, + required this.blockNumber, + this.identityId, + this.nextId, + this.previousId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameData_identity_ownerKeyChange', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_ownerKeyChange', 'id'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GIdentitiesByNameData_identity_ownerKeyChange', 'blockNumber'); + } + + @override + GIdentitiesByNameData_identity_ownerKeyChange rebuild( + void Function(GIdentitiesByNameData_identity_ownerKeyChangeBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_ownerKeyChangeBuilder toBuilder() => + new GIdentitiesByNameData_identity_ownerKeyChangeBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData_identity_ownerKeyChange && + G__typename == other.G__typename && + id == other.id && + blockNumber == other.blockNumber && + identityId == other.identityId && + nextId == other.nextId && + previousId == other.previousId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jc(_$hash, nextId.hashCode); + _$hash = $jc(_$hash, previousId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_ownerKeyChange') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('blockNumber', blockNumber) + ..add('identityId', identityId) + ..add('nextId', nextId) + ..add('previousId', previousId)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_ownerKeyChangeBuilder + implements + Builder<GIdentitiesByNameData_identity_ownerKeyChange, + GIdentitiesByNameData_identity_ownerKeyChangeBuilder> { + _$GIdentitiesByNameData_identity_ownerKeyChange? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + String? _nextId; + String? get nextId => _$this._nextId; + set nextId(String? nextId) => _$this._nextId = nextId; + + String? _previousId; + String? get previousId => _$this._previousId; + set previousId(String? previousId) => _$this._previousId = previousId; + + GIdentitiesByNameData_identity_ownerKeyChangeBuilder() { + GIdentitiesByNameData_identity_ownerKeyChange._initializeBuilder(this); + } + + GIdentitiesByNameData_identity_ownerKeyChangeBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _blockNumber = $v.blockNumber; + _identityId = $v.identityId; + _nextId = $v.nextId; + _previousId = $v.previousId; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameData_identity_ownerKeyChange other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData_identity_ownerKeyChange; + } + + @override + void update( + void Function(GIdentitiesByNameData_identity_ownerKeyChangeBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_ownerKeyChange build() => _build(); + + _$GIdentitiesByNameData_identity_ownerKeyChange _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameData_identity_ownerKeyChange._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_ownerKeyChange', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_ownerKeyChange', 'id'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GIdentitiesByNameData_identity_ownerKeyChange', + 'blockNumber'), + identityId: identityId, + nextId: nextId, + previousId: previousId); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate + extends GIdentitiesByNameData_identity_ownerKeyChangeAggregate { + @override + final String G__typename; + @override + final GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate? + aggregate; + + factory _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate( + [void Function( + GIdentitiesByNameData_identity_ownerKeyChangeAggregateBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_ownerKeyChangeAggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_ownerKeyChangeAggregate', + 'G__typename'); + } + + @override + GIdentitiesByNameData_identity_ownerKeyChangeAggregate rebuild( + void Function( + GIdentitiesByNameData_identity_ownerKeyChangeAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_ownerKeyChangeAggregateBuilder toBuilder() => + new GIdentitiesByNameData_identity_ownerKeyChangeAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData_identity_ownerKeyChangeAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_ownerKeyChangeAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_ownerKeyChangeAggregateBuilder + implements + Builder<GIdentitiesByNameData_identity_ownerKeyChangeAggregate, + GIdentitiesByNameData_identity_ownerKeyChangeAggregateBuilder> { + _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateBuilder? + _aggregate; + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateBuilder(); + set aggregate( + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentitiesByNameData_identity_ownerKeyChangeAggregateBuilder() { + GIdentitiesByNameData_identity_ownerKeyChangeAggregate._initializeBuilder( + this); + } + + GIdentitiesByNameData_identity_ownerKeyChangeAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameData_identity_ownerKeyChangeAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate; + } + + @override + void update( + void Function( + GIdentitiesByNameData_identity_ownerKeyChangeAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_ownerKeyChangeAggregate build() => _build(); + + _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate _build() { + _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_ownerKeyChangeAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameData_identity_ownerKeyChangeAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate + extends GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate( + [void Function( + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate', + 'count'); + } + + @override + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate rebuild( + void Function( + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateBuilder + toBuilder() => + new GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateBuilder + implements + Builder< + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate, + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateBuilder> { + _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateBuilder() { + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate + ._initializeBuilder(this); + } + + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate; + } + + @override + void update( + void Function( + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate build() => + _build(); + + _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_smith + extends GIdentitiesByNameData_identity_smith { + @override + final String G__typename; + @override + final String id; + @override + final int forged; + @override + final int index; + @override + final int? lastChanged; + @override + final int? lastForged; + @override + final BuiltList<GIdentitiesByNameData_identity_smith_smithCertIssued> + smithCertIssued; + @override + final BuiltList<GIdentitiesByNameData_identity_smith_smithCertReceived> + smithCertReceived; + + factory _$GIdentitiesByNameData_identity_smith( + [void Function(GIdentitiesByNameData_identity_smithBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_smithBuilder()..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_smith._( + {required this.G__typename, + required this.id, + required this.forged, + required this.index, + this.lastChanged, + this.lastForged, + required this.smithCertIssued, + required this.smithCertReceived}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentitiesByNameData_identity_smith', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_smith', 'id'); + BuiltValueNullFieldError.checkNotNull( + forged, r'GIdentitiesByNameData_identity_smith', 'forged'); + BuiltValueNullFieldError.checkNotNull( + index, r'GIdentitiesByNameData_identity_smith', 'index'); + BuiltValueNullFieldError.checkNotNull(smithCertIssued, + r'GIdentitiesByNameData_identity_smith', 'smithCertIssued'); + BuiltValueNullFieldError.checkNotNull(smithCertReceived, + r'GIdentitiesByNameData_identity_smith', 'smithCertReceived'); + } + + @override + GIdentitiesByNameData_identity_smith rebuild( + void Function(GIdentitiesByNameData_identity_smithBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_smithBuilder toBuilder() => + new GIdentitiesByNameData_identity_smithBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData_identity_smith && + G__typename == other.G__typename && + id == other.id && + forged == other.forged && + index == other.index && + lastChanged == other.lastChanged && + lastForged == other.lastForged && + smithCertIssued == other.smithCertIssued && + smithCertReceived == other.smithCertReceived; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, forged.hashCode); + _$hash = $jc(_$hash, index.hashCode); + _$hash = $jc(_$hash, lastChanged.hashCode); + _$hash = $jc(_$hash, lastForged.hashCode); + _$hash = $jc(_$hash, smithCertIssued.hashCode); + _$hash = $jc(_$hash, smithCertReceived.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentitiesByNameData_identity_smith') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('forged', forged) + ..add('index', index) + ..add('lastChanged', lastChanged) + ..add('lastForged', lastForged) + ..add('smithCertIssued', smithCertIssued) + ..add('smithCertReceived', smithCertReceived)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_smithBuilder + implements + Builder<GIdentitiesByNameData_identity_smith, + GIdentitiesByNameData_identity_smithBuilder> { + _$GIdentitiesByNameData_identity_smith? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _forged; + int? get forged => _$this._forged; + set forged(int? forged) => _$this._forged = forged; + + int? _index; + int? get index => _$this._index; + set index(int? index) => _$this._index = index; + + int? _lastChanged; + int? get lastChanged => _$this._lastChanged; + set lastChanged(int? lastChanged) => _$this._lastChanged = lastChanged; + + int? _lastForged; + int? get lastForged => _$this._lastForged; + set lastForged(int? lastForged) => _$this._lastForged = lastForged; + + ListBuilder<GIdentitiesByNameData_identity_smith_smithCertIssued>? + _smithCertIssued; + ListBuilder<GIdentitiesByNameData_identity_smith_smithCertIssued> + get smithCertIssued => _$this._smithCertIssued ??= new ListBuilder< + GIdentitiesByNameData_identity_smith_smithCertIssued>(); + set smithCertIssued( + ListBuilder<GIdentitiesByNameData_identity_smith_smithCertIssued>? + smithCertIssued) => + _$this._smithCertIssued = smithCertIssued; + + ListBuilder<GIdentitiesByNameData_identity_smith_smithCertReceived>? + _smithCertReceived; + ListBuilder<GIdentitiesByNameData_identity_smith_smithCertReceived> + get smithCertReceived => _$this._smithCertReceived ??= new ListBuilder< + GIdentitiesByNameData_identity_smith_smithCertReceived>(); + set smithCertReceived( + ListBuilder<GIdentitiesByNameData_identity_smith_smithCertReceived>? + smithCertReceived) => + _$this._smithCertReceived = smithCertReceived; + + GIdentitiesByNameData_identity_smithBuilder() { + GIdentitiesByNameData_identity_smith._initializeBuilder(this); + } + + GIdentitiesByNameData_identity_smithBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _forged = $v.forged; + _index = $v.index; + _lastChanged = $v.lastChanged; + _lastForged = $v.lastForged; + _smithCertIssued = $v.smithCertIssued.toBuilder(); + _smithCertReceived = $v.smithCertReceived.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameData_identity_smith other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData_identity_smith; + } + + @override + void update( + void Function(GIdentitiesByNameData_identity_smithBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_smith build() => _build(); + + _$GIdentitiesByNameData_identity_smith _build() { + _$GIdentitiesByNameData_identity_smith _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameData_identity_smith._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameData_identity_smith', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_smith', 'id'), + forged: BuiltValueNullFieldError.checkNotNull( + forged, r'GIdentitiesByNameData_identity_smith', 'forged'), + index: BuiltValueNullFieldError.checkNotNull( + index, r'GIdentitiesByNameData_identity_smith', 'index'), + lastChanged: lastChanged, + lastForged: lastForged, + smithCertIssued: smithCertIssued.build(), + smithCertReceived: smithCertReceived.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'smithCertIssued'; + smithCertIssued.build(); + _$failedField = 'smithCertReceived'; + smithCertReceived.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameData_identity_smith', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_smith_smithCertIssued + extends GIdentitiesByNameData_identity_smith_smithCertIssued { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final String? receiverId; + @override + final int createdOn; + + factory _$GIdentitiesByNameData_identity_smith_smithCertIssued( + [void Function( + GIdentitiesByNameData_identity_smith_smithCertIssuedBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_smith_smithCertIssuedBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_smith_smithCertIssued._( + {required this.G__typename, + required this.id, + this.issuerId, + this.receiverId, + required this.createdOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameData_identity_smith_smithCertIssued', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_smith_smithCertIssued', 'id'); + BuiltValueNullFieldError.checkNotNull(createdOn, + r'GIdentitiesByNameData_identity_smith_smithCertIssued', 'createdOn'); + } + + @override + GIdentitiesByNameData_identity_smith_smithCertIssued rebuild( + void Function( + GIdentitiesByNameData_identity_smith_smithCertIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_smith_smithCertIssuedBuilder toBuilder() => + new GIdentitiesByNameData_identity_smith_smithCertIssuedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData_identity_smith_smithCertIssued && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + receiverId == other.receiverId && + createdOn == other.createdOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_smith_smithCertIssued') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('receiverId', receiverId) + ..add('createdOn', createdOn)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_smith_smithCertIssuedBuilder + implements + Builder<GIdentitiesByNameData_identity_smith_smithCertIssued, + GIdentitiesByNameData_identity_smith_smithCertIssuedBuilder> { + _$GIdentitiesByNameData_identity_smith_smithCertIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + GIdentitiesByNameData_identity_smith_smithCertIssuedBuilder() { + GIdentitiesByNameData_identity_smith_smithCertIssued._initializeBuilder( + this); + } + + GIdentitiesByNameData_identity_smith_smithCertIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _receiverId = $v.receiverId; + _createdOn = $v.createdOn; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameData_identity_smith_smithCertIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData_identity_smith_smithCertIssued; + } + + @override + void update( + void Function( + GIdentitiesByNameData_identity_smith_smithCertIssuedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_smith_smithCertIssued build() => _build(); + + _$GIdentitiesByNameData_identity_smith_smithCertIssued _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameData_identity_smith_smithCertIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_smith_smithCertIssued', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull(id, + r'GIdentitiesByNameData_identity_smith_smithCertIssued', 'id'), + issuerId: issuerId, + receiverId: receiverId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GIdentitiesByNameData_identity_smith_smithCertIssued', + 'createdOn')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_smith_smithCertReceived + extends GIdentitiesByNameData_identity_smith_smithCertReceived { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final String? receiverId; + @override + final int createdOn; + + factory _$GIdentitiesByNameData_identity_smith_smithCertReceived( + [void Function( + GIdentitiesByNameData_identity_smith_smithCertReceivedBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_smith_smithCertReceivedBuilder() + ..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_smith_smithCertReceived._( + {required this.G__typename, + required this.id, + this.issuerId, + this.receiverId, + required this.createdOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_smith_smithCertReceived', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_smith_smithCertReceived', 'id'); + BuiltValueNullFieldError.checkNotNull(createdOn, + r'GIdentitiesByNameData_identity_smith_smithCertReceived', 'createdOn'); + } + + @override + GIdentitiesByNameData_identity_smith_smithCertReceived rebuild( + void Function( + GIdentitiesByNameData_identity_smith_smithCertReceivedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_smith_smithCertReceivedBuilder toBuilder() => + new GIdentitiesByNameData_identity_smith_smithCertReceivedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData_identity_smith_smithCertReceived && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + receiverId == other.receiverId && + createdOn == other.createdOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_smith_smithCertReceived') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('receiverId', receiverId) + ..add('createdOn', createdOn)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_smith_smithCertReceivedBuilder + implements + Builder<GIdentitiesByNameData_identity_smith_smithCertReceived, + GIdentitiesByNameData_identity_smith_smithCertReceivedBuilder> { + _$GIdentitiesByNameData_identity_smith_smithCertReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + GIdentitiesByNameData_identity_smith_smithCertReceivedBuilder() { + GIdentitiesByNameData_identity_smith_smithCertReceived._initializeBuilder( + this); + } + + GIdentitiesByNameData_identity_smith_smithCertReceivedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _receiverId = $v.receiverId; + _createdOn = $v.createdOn; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameData_identity_smith_smithCertReceived other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData_identity_smith_smithCertReceived; + } + + @override + void update( + void Function( + GIdentitiesByNameData_identity_smith_smithCertReceivedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_smith_smithCertReceived build() => _build(); + + _$GIdentitiesByNameData_identity_smith_smithCertReceived _build() { + final _$result = _$v ?? + new _$GIdentitiesByNameData_identity_smith_smithCertReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentitiesByNameData_identity_smith_smithCertReceived', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GIdentitiesByNameData_identity_smith_smithCertReceived', + 'id'), + issuerId: issuerId, + receiverId: receiverId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GIdentitiesByNameData_identity_smith_smithCertReceived', + 'createdOn')); + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameData_identity_udHistory + extends GIdentitiesByNameData_identity_udHistory { + @override + final String G__typename; + @override + final String id; + @override + final int amount; + @override + final _i2.Gtimestamptz timestamp; + + factory _$GIdentitiesByNameData_identity_udHistory( + [void Function(GIdentitiesByNameData_identity_udHistoryBuilder)? + updates]) => + (new GIdentitiesByNameData_identity_udHistoryBuilder()..update(updates)) + ._build(); + + _$GIdentitiesByNameData_identity_udHistory._( + {required this.G__typename, + required this.id, + required this.amount, + required this.timestamp}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameData_identity_udHistory', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_udHistory', 'id'); + BuiltValueNullFieldError.checkNotNull( + amount, r'GIdentitiesByNameData_identity_udHistory', 'amount'); + BuiltValueNullFieldError.checkNotNull( + timestamp, r'GIdentitiesByNameData_identity_udHistory', 'timestamp'); + } + + @override + GIdentitiesByNameData_identity_udHistory rebuild( + void Function(GIdentitiesByNameData_identity_udHistoryBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameData_identity_udHistoryBuilder toBuilder() => + new GIdentitiesByNameData_identity_udHistoryBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameData_identity_udHistory && + G__typename == other.G__typename && + id == other.id && + amount == other.amount && + timestamp == other.timestamp; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentitiesByNameData_identity_udHistory') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('amount', amount) + ..add('timestamp', timestamp)) + .toString(); + } +} + +class GIdentitiesByNameData_identity_udHistoryBuilder + implements + Builder<GIdentitiesByNameData_identity_udHistory, + GIdentitiesByNameData_identity_udHistoryBuilder> { + _$GIdentitiesByNameData_identity_udHistory? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + _i2.GtimestamptzBuilder? _timestamp; + _i2.GtimestamptzBuilder get timestamp => + _$this._timestamp ??= new _i2.GtimestamptzBuilder(); + set timestamp(_i2.GtimestamptzBuilder? timestamp) => + _$this._timestamp = timestamp; + + GIdentitiesByNameData_identity_udHistoryBuilder() { + GIdentitiesByNameData_identity_udHistory._initializeBuilder(this); + } + + GIdentitiesByNameData_identity_udHistoryBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _amount = $v.amount; + _timestamp = $v.timestamp.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameData_identity_udHistory other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameData_identity_udHistory; + } + + @override + void update( + void Function(GIdentitiesByNameData_identity_udHistoryBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameData_identity_udHistory build() => _build(); + + _$GIdentitiesByNameData_identity_udHistory _build() { + _$GIdentitiesByNameData_identity_udHistory _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameData_identity_udHistory._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentitiesByNameData_identity_udHistory', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentitiesByNameData_identity_udHistory', 'id'), + amount: BuiltValueNullFieldError.checkNotNull(amount, + r'GIdentitiesByNameData_identity_udHistory', 'amount'), + timestamp: timestamp.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'timestamp'; + timestamp.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameData_identity_udHistory', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData extends GAccountByPkData { + @override + final String G__typename; + @override + final GAccountByPkData_accountByPk? accountByPk; + + factory _$GAccountByPkData( + [void Function(GAccountByPkDataBuilder)? updates]) => + (new GAccountByPkDataBuilder()..update(updates))._build(); + + _$GAccountByPkData._({required this.G__typename, this.accountByPk}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountByPkData', 'G__typename'); + } + + @override + GAccountByPkData rebuild(void Function(GAccountByPkDataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkDataBuilder toBuilder() => + new GAccountByPkDataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData && + G__typename == other.G__typename && + accountByPk == other.accountByPk; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountByPk.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountByPkData') + ..add('G__typename', G__typename) + ..add('accountByPk', accountByPk)) + .toString(); + } +} + +class GAccountByPkDataBuilder + implements Builder<GAccountByPkData, GAccountByPkDataBuilder> { + _$GAccountByPkData? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountByPkData_accountByPkBuilder? _accountByPk; + GAccountByPkData_accountByPkBuilder get accountByPk => + _$this._accountByPk ??= new GAccountByPkData_accountByPkBuilder(); + set accountByPk(GAccountByPkData_accountByPkBuilder? accountByPk) => + _$this._accountByPk = accountByPk; + + GAccountByPkDataBuilder() { + GAccountByPkData._initializeBuilder(this); + } + + GAccountByPkDataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountByPk = $v.accountByPk?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData; + } + + @override + void update(void Function(GAccountByPkDataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData build() => _build(); + + _$GAccountByPkData _build() { + _$GAccountByPkData _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountByPkData', 'G__typename'), + accountByPk: _accountByPk?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'accountByPk'; + _accountByPk?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk extends GAccountByPkData_accountByPk { + @override + final String G__typename; + @override + final BuiltList<GAccountByPkData_accountByPk_commentsIssued> commentsIssued; + @override + final GAccountByPkData_accountByPk_commentsIssuedAggregate + commentsIssuedAggregate; + @override + final int createdOn; + @override + final String id; + @override + final GAccountByPkData_accountByPk_identity? identity; + @override + final bool isActive; + @override + final GAccountByPkData_accountByPk_linkedIdentity? linkedIdentity; + @override + final BuiltList<GAccountByPkData_accountByPk_removedIdentities> + removedIdentities; + @override + final GAccountByPkData_accountByPk_removedIdentitiesAggregate + removedIdentitiesAggregate; + @override + final BuiltList<GAccountByPkData_accountByPk_transfersIssued> transfersIssued; + @override + final GAccountByPkData_accountByPk_transfersIssuedAggregate + transfersIssuedAggregate; + @override + final BuiltList<GAccountByPkData_accountByPk_transfersReceived> + transfersReceived; + @override + final GAccountByPkData_accountByPk_transfersReceivedAggregate + transfersReceivedAggregate; + @override + final BuiltList<GAccountByPkData_accountByPk_wasIdentity> wasIdentity; + @override + final GAccountByPkData_accountByPk_wasIdentityAggregate wasIdentityAggregate; + + factory _$GAccountByPkData_accountByPk( + [void Function(GAccountByPkData_accountByPkBuilder)? updates]) => + (new GAccountByPkData_accountByPkBuilder()..update(updates))._build(); + + _$GAccountByPkData_accountByPk._( + {required this.G__typename, + required this.commentsIssued, + required this.commentsIssuedAggregate, + required this.createdOn, + required this.id, + this.identity, + required this.isActive, + this.linkedIdentity, + required this.removedIdentities, + required this.removedIdentitiesAggregate, + required this.transfersIssued, + required this.transfersIssuedAggregate, + required this.transfersReceived, + required this.transfersReceivedAggregate, + required this.wasIdentity, + required this.wasIdentityAggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountByPkData_accountByPk', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + commentsIssued, r'GAccountByPkData_accountByPk', 'commentsIssued'); + BuiltValueNullFieldError.checkNotNull(commentsIssuedAggregate, + r'GAccountByPkData_accountByPk', 'commentsIssuedAggregate'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountByPkData_accountByPk', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk', 'id'); + BuiltValueNullFieldError.checkNotNull( + isActive, r'GAccountByPkData_accountByPk', 'isActive'); + BuiltValueNullFieldError.checkNotNull(removedIdentities, + r'GAccountByPkData_accountByPk', 'removedIdentities'); + BuiltValueNullFieldError.checkNotNull(removedIdentitiesAggregate, + r'GAccountByPkData_accountByPk', 'removedIdentitiesAggregate'); + BuiltValueNullFieldError.checkNotNull( + transfersIssued, r'GAccountByPkData_accountByPk', 'transfersIssued'); + BuiltValueNullFieldError.checkNotNull(transfersIssuedAggregate, + r'GAccountByPkData_accountByPk', 'transfersIssuedAggregate'); + BuiltValueNullFieldError.checkNotNull(transfersReceived, + r'GAccountByPkData_accountByPk', 'transfersReceived'); + BuiltValueNullFieldError.checkNotNull(transfersReceivedAggregate, + r'GAccountByPkData_accountByPk', 'transfersReceivedAggregate'); + BuiltValueNullFieldError.checkNotNull( + wasIdentity, r'GAccountByPkData_accountByPk', 'wasIdentity'); + BuiltValueNullFieldError.checkNotNull(wasIdentityAggregate, + r'GAccountByPkData_accountByPk', 'wasIdentityAggregate'); + } + + @override + GAccountByPkData_accountByPk rebuild( + void Function(GAccountByPkData_accountByPkBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPkBuilder toBuilder() => + new GAccountByPkData_accountByPkBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk && + G__typename == other.G__typename && + commentsIssued == other.commentsIssued && + commentsIssuedAggregate == other.commentsIssuedAggregate && + createdOn == other.createdOn && + id == other.id && + identity == other.identity && + isActive == other.isActive && + linkedIdentity == other.linkedIdentity && + removedIdentities == other.removedIdentities && + removedIdentitiesAggregate == other.removedIdentitiesAggregate && + transfersIssued == other.transfersIssued && + transfersIssuedAggregate == other.transfersIssuedAggregate && + transfersReceived == other.transfersReceived && + transfersReceivedAggregate == other.transfersReceivedAggregate && + wasIdentity == other.wasIdentity && + wasIdentityAggregate == other.wasIdentityAggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, commentsIssued.hashCode); + _$hash = $jc(_$hash, commentsIssuedAggregate.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, identity.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, linkedIdentity.hashCode); + _$hash = $jc(_$hash, removedIdentities.hashCode); + _$hash = $jc(_$hash, removedIdentitiesAggregate.hashCode); + _$hash = $jc(_$hash, transfersIssued.hashCode); + _$hash = $jc(_$hash, transfersIssuedAggregate.hashCode); + _$hash = $jc(_$hash, transfersReceived.hashCode); + _$hash = $jc(_$hash, transfersReceivedAggregate.hashCode); + _$hash = $jc(_$hash, wasIdentity.hashCode); + _$hash = $jc(_$hash, wasIdentityAggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountByPkData_accountByPk') + ..add('G__typename', G__typename) + ..add('commentsIssued', commentsIssued) + ..add('commentsIssuedAggregate', commentsIssuedAggregate) + ..add('createdOn', createdOn) + ..add('id', id) + ..add('identity', identity) + ..add('isActive', isActive) + ..add('linkedIdentity', linkedIdentity) + ..add('removedIdentities', removedIdentities) + ..add('removedIdentitiesAggregate', removedIdentitiesAggregate) + ..add('transfersIssued', transfersIssued) + ..add('transfersIssuedAggregate', transfersIssuedAggregate) + ..add('transfersReceived', transfersReceived) + ..add('transfersReceivedAggregate', transfersReceivedAggregate) + ..add('wasIdentity', wasIdentity) + ..add('wasIdentityAggregate', wasIdentityAggregate)) + .toString(); + } +} + +class GAccountByPkData_accountByPkBuilder + implements + Builder<GAccountByPkData_accountByPk, + GAccountByPkData_accountByPkBuilder> { + _$GAccountByPkData_accountByPk? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + ListBuilder<GAccountByPkData_accountByPk_commentsIssued>? _commentsIssued; + ListBuilder<GAccountByPkData_accountByPk_commentsIssued> get commentsIssued => + _$this._commentsIssued ??= + new ListBuilder<GAccountByPkData_accountByPk_commentsIssued>(); + set commentsIssued( + ListBuilder<GAccountByPkData_accountByPk_commentsIssued>? + commentsIssued) => + _$this._commentsIssued = commentsIssued; + + GAccountByPkData_accountByPk_commentsIssuedAggregateBuilder? + _commentsIssuedAggregate; + GAccountByPkData_accountByPk_commentsIssuedAggregateBuilder + get commentsIssuedAggregate => _$this._commentsIssuedAggregate ??= + new GAccountByPkData_accountByPk_commentsIssuedAggregateBuilder(); + set commentsIssuedAggregate( + GAccountByPkData_accountByPk_commentsIssuedAggregateBuilder? + commentsIssuedAggregate) => + _$this._commentsIssuedAggregate = commentsIssuedAggregate; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GAccountByPkData_accountByPk_identityBuilder? _identity; + GAccountByPkData_accountByPk_identityBuilder get identity => + _$this._identity ??= new GAccountByPkData_accountByPk_identityBuilder(); + set identity(GAccountByPkData_accountByPk_identityBuilder? identity) => + _$this._identity = identity; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + GAccountByPkData_accountByPk_linkedIdentityBuilder? _linkedIdentity; + GAccountByPkData_accountByPk_linkedIdentityBuilder get linkedIdentity => + _$this._linkedIdentity ??= + new GAccountByPkData_accountByPk_linkedIdentityBuilder(); + set linkedIdentity( + GAccountByPkData_accountByPk_linkedIdentityBuilder? linkedIdentity) => + _$this._linkedIdentity = linkedIdentity; + + ListBuilder<GAccountByPkData_accountByPk_removedIdentities>? + _removedIdentities; + ListBuilder<GAccountByPkData_accountByPk_removedIdentities> + get removedIdentities => _$this._removedIdentities ??= + new ListBuilder<GAccountByPkData_accountByPk_removedIdentities>(); + set removedIdentities( + ListBuilder<GAccountByPkData_accountByPk_removedIdentities>? + removedIdentities) => + _$this._removedIdentities = removedIdentities; + + GAccountByPkData_accountByPk_removedIdentitiesAggregateBuilder? + _removedIdentitiesAggregate; + GAccountByPkData_accountByPk_removedIdentitiesAggregateBuilder + get removedIdentitiesAggregate => _$this._removedIdentitiesAggregate ??= + new GAccountByPkData_accountByPk_removedIdentitiesAggregateBuilder(); + set removedIdentitiesAggregate( + GAccountByPkData_accountByPk_removedIdentitiesAggregateBuilder? + removedIdentitiesAggregate) => + _$this._removedIdentitiesAggregate = removedIdentitiesAggregate; + + ListBuilder<GAccountByPkData_accountByPk_transfersIssued>? _transfersIssued; + ListBuilder<GAccountByPkData_accountByPk_transfersIssued> + get transfersIssued => _$this._transfersIssued ??= + new ListBuilder<GAccountByPkData_accountByPk_transfersIssued>(); + set transfersIssued( + ListBuilder<GAccountByPkData_accountByPk_transfersIssued>? + transfersIssued) => + _$this._transfersIssued = transfersIssued; + + GAccountByPkData_accountByPk_transfersIssuedAggregateBuilder? + _transfersIssuedAggregate; + GAccountByPkData_accountByPk_transfersIssuedAggregateBuilder + get transfersIssuedAggregate => _$this._transfersIssuedAggregate ??= + new GAccountByPkData_accountByPk_transfersIssuedAggregateBuilder(); + set transfersIssuedAggregate( + GAccountByPkData_accountByPk_transfersIssuedAggregateBuilder? + transfersIssuedAggregate) => + _$this._transfersIssuedAggregate = transfersIssuedAggregate; + + ListBuilder<GAccountByPkData_accountByPk_transfersReceived>? + _transfersReceived; + ListBuilder<GAccountByPkData_accountByPk_transfersReceived> + get transfersReceived => _$this._transfersReceived ??= + new ListBuilder<GAccountByPkData_accountByPk_transfersReceived>(); + set transfersReceived( + ListBuilder<GAccountByPkData_accountByPk_transfersReceived>? + transfersReceived) => + _$this._transfersReceived = transfersReceived; + + GAccountByPkData_accountByPk_transfersReceivedAggregateBuilder? + _transfersReceivedAggregate; + GAccountByPkData_accountByPk_transfersReceivedAggregateBuilder + get transfersReceivedAggregate => _$this._transfersReceivedAggregate ??= + new GAccountByPkData_accountByPk_transfersReceivedAggregateBuilder(); + set transfersReceivedAggregate( + GAccountByPkData_accountByPk_transfersReceivedAggregateBuilder? + transfersReceivedAggregate) => + _$this._transfersReceivedAggregate = transfersReceivedAggregate; + + ListBuilder<GAccountByPkData_accountByPk_wasIdentity>? _wasIdentity; + ListBuilder<GAccountByPkData_accountByPk_wasIdentity> get wasIdentity => + _$this._wasIdentity ??= + new ListBuilder<GAccountByPkData_accountByPk_wasIdentity>(); + set wasIdentity( + ListBuilder<GAccountByPkData_accountByPk_wasIdentity>? wasIdentity) => + _$this._wasIdentity = wasIdentity; + + GAccountByPkData_accountByPk_wasIdentityAggregateBuilder? + _wasIdentityAggregate; + GAccountByPkData_accountByPk_wasIdentityAggregateBuilder + get wasIdentityAggregate => _$this._wasIdentityAggregate ??= + new GAccountByPkData_accountByPk_wasIdentityAggregateBuilder(); + set wasIdentityAggregate( + GAccountByPkData_accountByPk_wasIdentityAggregateBuilder? + wasIdentityAggregate) => + _$this._wasIdentityAggregate = wasIdentityAggregate; + + GAccountByPkData_accountByPkBuilder() { + GAccountByPkData_accountByPk._initializeBuilder(this); + } + + GAccountByPkData_accountByPkBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _commentsIssued = $v.commentsIssued.toBuilder(); + _commentsIssuedAggregate = $v.commentsIssuedAggregate.toBuilder(); + _createdOn = $v.createdOn; + _id = $v.id; + _identity = $v.identity?.toBuilder(); + _isActive = $v.isActive; + _linkedIdentity = $v.linkedIdentity?.toBuilder(); + _removedIdentities = $v.removedIdentities.toBuilder(); + _removedIdentitiesAggregate = $v.removedIdentitiesAggregate.toBuilder(); + _transfersIssued = $v.transfersIssued.toBuilder(); + _transfersIssuedAggregate = $v.transfersIssuedAggregate.toBuilder(); + _transfersReceived = $v.transfersReceived.toBuilder(); + _transfersReceivedAggregate = $v.transfersReceivedAggregate.toBuilder(); + _wasIdentity = $v.wasIdentity.toBuilder(); + _wasIdentityAggregate = $v.wasIdentityAggregate.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk; + } + + @override + void update(void Function(GAccountByPkData_accountByPkBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk build() => _build(); + + _$GAccountByPkData_accountByPk _build() { + _$GAccountByPkData_accountByPk _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountByPkData_accountByPk', 'G__typename'), + commentsIssued: commentsIssued.build(), + commentsIssuedAggregate: commentsIssuedAggregate.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountByPkData_accountByPk', 'createdOn'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk', 'id'), + identity: _identity?.build(), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GAccountByPkData_accountByPk', 'isActive'), + linkedIdentity: _linkedIdentity?.build(), + removedIdentities: removedIdentities.build(), + removedIdentitiesAggregate: removedIdentitiesAggregate.build(), + transfersIssued: transfersIssued.build(), + transfersIssuedAggregate: transfersIssuedAggregate.build(), + transfersReceived: transfersReceived.build(), + transfersReceivedAggregate: transfersReceivedAggregate.build(), + wasIdentity: wasIdentity.build(), + wasIdentityAggregate: wasIdentityAggregate.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'commentsIssued'; + commentsIssued.build(); + _$failedField = 'commentsIssuedAggregate'; + commentsIssuedAggregate.build(); + + _$failedField = 'identity'; + _identity?.build(); + + _$failedField = 'linkedIdentity'; + _linkedIdentity?.build(); + _$failedField = 'removedIdentities'; + removedIdentities.build(); + _$failedField = 'removedIdentitiesAggregate'; + removedIdentitiesAggregate.build(); + _$failedField = 'transfersIssued'; + transfersIssued.build(); + _$failedField = 'transfersIssuedAggregate'; + transfersIssuedAggregate.build(); + _$failedField = 'transfersReceived'; + transfersReceived.build(); + _$failedField = 'transfersReceivedAggregate'; + transfersReceivedAggregate.build(); + _$failedField = 'wasIdentity'; + wasIdentity.build(); + _$failedField = 'wasIdentityAggregate'; + wasIdentityAggregate.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_commentsIssued + extends GAccountByPkData_accountByPk_commentsIssued { + @override + final String G__typename; + @override + final String? authorId; + @override + final int blockNumber; + @override + final String? eventId; + @override + final String hash; + @override + final String id; + @override + final String remark; + @override + final _i2.GCommentTypeEnum? type; + + factory _$GAccountByPkData_accountByPk_commentsIssued( + [void Function(GAccountByPkData_accountByPk_commentsIssuedBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_commentsIssuedBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_commentsIssued._( + {required this.G__typename, + this.authorId, + required this.blockNumber, + this.eventId, + required this.hash, + required this.id, + required this.remark, + this.type}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_commentsIssued', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountByPkData_accountByPk_commentsIssued', 'blockNumber'); + BuiltValueNullFieldError.checkNotNull( + hash, r'GAccountByPkData_accountByPk_commentsIssued', 'hash'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_commentsIssued', 'id'); + BuiltValueNullFieldError.checkNotNull( + remark, r'GAccountByPkData_accountByPk_commentsIssued', 'remark'); + } + + @override + GAccountByPkData_accountByPk_commentsIssued rebuild( + void Function(GAccountByPkData_accountByPk_commentsIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_commentsIssuedBuilder toBuilder() => + new GAccountByPkData_accountByPk_commentsIssuedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_commentsIssued && + G__typename == other.G__typename && + authorId == other.authorId && + blockNumber == other.blockNumber && + eventId == other.eventId && + hash == other.hash && + id == other.id && + remark == other.remark && + type == other.type; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, authorId.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, eventId.hashCode); + _$hash = $jc(_$hash, hash.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, remark.hashCode); + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_commentsIssued') + ..add('G__typename', G__typename) + ..add('authorId', authorId) + ..add('blockNumber', blockNumber) + ..add('eventId', eventId) + ..add('hash', hash) + ..add('id', id) + ..add('remark', remark) + ..add('type', type)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_commentsIssuedBuilder + implements + Builder<GAccountByPkData_accountByPk_commentsIssued, + GAccountByPkData_accountByPk_commentsIssuedBuilder> { + _$GAccountByPkData_accountByPk_commentsIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _authorId; + String? get authorId => _$this._authorId; + set authorId(String? authorId) => _$this._authorId = authorId; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _eventId; + String? get eventId => _$this._eventId; + set eventId(String? eventId) => _$this._eventId = eventId; + + String? _hash; + String? get hash => _$this._hash; + set hash(String? hash) => _$this._hash = hash; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _remark; + String? get remark => _$this._remark; + set remark(String? remark) => _$this._remark = remark; + + _i2.GCommentTypeEnum? _type; + _i2.GCommentTypeEnum? get type => _$this._type; + set type(_i2.GCommentTypeEnum? type) => _$this._type = type; + + GAccountByPkData_accountByPk_commentsIssuedBuilder() { + GAccountByPkData_accountByPk_commentsIssued._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_commentsIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _authorId = $v.authorId; + _blockNumber = $v.blockNumber; + _eventId = $v.eventId; + _hash = $v.hash; + _id = $v.id; + _remark = $v.remark; + _type = $v.type; + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_commentsIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_commentsIssued; + } + + @override + void update( + void Function(GAccountByPkData_accountByPk_commentsIssuedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_commentsIssued build() => _build(); + + _$GAccountByPkData_accountByPk_commentsIssued _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_commentsIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_commentsIssued', 'G__typename'), + authorId: authorId, + blockNumber: BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountByPkData_accountByPk_commentsIssued', 'blockNumber'), + eventId: eventId, + hash: BuiltValueNullFieldError.checkNotNull( + hash, r'GAccountByPkData_accountByPk_commentsIssued', 'hash'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_commentsIssued', 'id'), + remark: BuiltValueNullFieldError.checkNotNull(remark, + r'GAccountByPkData_accountByPk_commentsIssued', 'remark'), + type: type); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_commentsIssuedAggregate + extends GAccountByPkData_accountByPk_commentsIssuedAggregate { + @override + final String G__typename; + @override + final GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate? + aggregate; + + factory _$GAccountByPkData_accountByPk_commentsIssuedAggregate( + [void Function( + GAccountByPkData_accountByPk_commentsIssuedAggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_commentsIssuedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_commentsIssuedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_commentsIssuedAggregate', 'G__typename'); + } + + @override + GAccountByPkData_accountByPk_commentsIssuedAggregate rebuild( + void Function( + GAccountByPkData_accountByPk_commentsIssuedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_commentsIssuedAggregateBuilder toBuilder() => + new GAccountByPkData_accountByPk_commentsIssuedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_commentsIssuedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_commentsIssuedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_commentsIssuedAggregateBuilder + implements + Builder<GAccountByPkData_accountByPk_commentsIssuedAggregate, + GAccountByPkData_accountByPk_commentsIssuedAggregateBuilder> { + _$GAccountByPkData_accountByPk_commentsIssuedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateBuilder? + _aggregate; + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateBuilder(); + set aggregate( + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountByPkData_accountByPk_commentsIssuedAggregateBuilder() { + GAccountByPkData_accountByPk_commentsIssuedAggregate._initializeBuilder( + this); + } + + GAccountByPkData_accountByPk_commentsIssuedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_commentsIssuedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_commentsIssuedAggregate; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_commentsIssuedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_commentsIssuedAggregate build() => _build(); + + _$GAccountByPkData_accountByPk_commentsIssuedAggregate _build() { + _$GAccountByPkData_accountByPk_commentsIssuedAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk_commentsIssuedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_commentsIssuedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk_commentsIssuedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate + extends GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate', + 'count'); + } + + @override + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate rebuild( + void Function( + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateBuilder + toBuilder() => + new GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateBuilder + implements + Builder<GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate, + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateBuilder> { + _$GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateBuilder() { + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate build() => + _build(); + + _$GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity + extends GAccountByPkData_accountByPk_identity { + @override + final String G__typename; + @override + final String? accountId; + @override + final String? accountRemovedId; + @override + final BuiltList<GAccountByPkData_accountByPk_identity_certIssued> certIssued; + @override + final GAccountByPkData_accountByPk_identity_certIssuedAggregate + certIssuedAggregate; + @override + final BuiltList<GAccountByPkData_accountByPk_identity_certReceived> + certReceived; + @override + final GAccountByPkData_accountByPk_identity_certReceivedAggregate + certReceivedAggregate; + @override + final String? createdInId; + @override + final int createdOn; + @override + final int expireOn; + @override + final String id; + @override + final int index; + @override + final bool isMember; + @override + final int lastChangeOn; + @override + final BuiltList<GAccountByPkData_accountByPk_identity_linkedAccount> + linkedAccount; + @override + final GAccountByPkData_accountByPk_identity_linkedAccountAggregate + linkedAccountAggregate; + @override + final _i2.GIdentityStatusEnum? status; + @override + final BuiltList<GAccountByPkData_accountByPk_identity_membershipHistory> + membershipHistory; + @override + final GAccountByPkData_accountByPk_identity_membershipHistoryAggregate + membershipHistoryAggregate; + @override + final String name; + @override + final BuiltList<GAccountByPkData_accountByPk_identity_ownerKeyChange> + ownerKeyChange; + @override + final GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate + ownerKeyChangeAggregate; + @override + final GAccountByPkData_accountByPk_identity_smith? smith; + @override + final BuiltList<GAccountByPkData_accountByPk_identity_udHistory>? udHistory; + + factory _$GAccountByPkData_accountByPk_identity( + [void Function(GAccountByPkData_accountByPk_identityBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identityBuilder()..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity._( + {required this.G__typename, + this.accountId, + this.accountRemovedId, + required this.certIssued, + required this.certIssuedAggregate, + required this.certReceived, + required this.certReceivedAggregate, + this.createdInId, + required this.createdOn, + required this.expireOn, + required this.id, + required this.index, + required this.isMember, + required this.lastChangeOn, + required this.linkedAccount, + required this.linkedAccountAggregate, + this.status, + required this.membershipHistory, + required this.membershipHistoryAggregate, + required this.name, + required this.ownerKeyChange, + required this.ownerKeyChangeAggregate, + this.smith, + this.udHistory}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountByPkData_accountByPk_identity', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + certIssued, r'GAccountByPkData_accountByPk_identity', 'certIssued'); + BuiltValueNullFieldError.checkNotNull(certIssuedAggregate, + r'GAccountByPkData_accountByPk_identity', 'certIssuedAggregate'); + BuiltValueNullFieldError.checkNotNull( + certReceived, r'GAccountByPkData_accountByPk_identity', 'certReceived'); + BuiltValueNullFieldError.checkNotNull(certReceivedAggregate, + r'GAccountByPkData_accountByPk_identity', 'certReceivedAggregate'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountByPkData_accountByPk_identity', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + expireOn, r'GAccountByPkData_accountByPk_identity', 'expireOn'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_identity', 'id'); + BuiltValueNullFieldError.checkNotNull( + index, r'GAccountByPkData_accountByPk_identity', 'index'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GAccountByPkData_accountByPk_identity', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + lastChangeOn, r'GAccountByPkData_accountByPk_identity', 'lastChangeOn'); + BuiltValueNullFieldError.checkNotNull(linkedAccount, + r'GAccountByPkData_accountByPk_identity', 'linkedAccount'); + BuiltValueNullFieldError.checkNotNull(linkedAccountAggregate, + r'GAccountByPkData_accountByPk_identity', 'linkedAccountAggregate'); + BuiltValueNullFieldError.checkNotNull(membershipHistory, + r'GAccountByPkData_accountByPk_identity', 'membershipHistory'); + BuiltValueNullFieldError.checkNotNull(membershipHistoryAggregate, + r'GAccountByPkData_accountByPk_identity', 'membershipHistoryAggregate'); + BuiltValueNullFieldError.checkNotNull( + name, r'GAccountByPkData_accountByPk_identity', 'name'); + BuiltValueNullFieldError.checkNotNull(ownerKeyChange, + r'GAccountByPkData_accountByPk_identity', 'ownerKeyChange'); + BuiltValueNullFieldError.checkNotNull(ownerKeyChangeAggregate, + r'GAccountByPkData_accountByPk_identity', 'ownerKeyChangeAggregate'); + } + + @override + GAccountByPkData_accountByPk_identity rebuild( + void Function(GAccountByPkData_accountByPk_identityBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identityBuilder toBuilder() => + new GAccountByPkData_accountByPk_identityBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_identity && + G__typename == other.G__typename && + accountId == other.accountId && + accountRemovedId == other.accountRemovedId && + certIssued == other.certIssued && + certIssuedAggregate == other.certIssuedAggregate && + certReceived == other.certReceived && + certReceivedAggregate == other.certReceivedAggregate && + createdInId == other.createdInId && + createdOn == other.createdOn && + expireOn == other.expireOn && + id == other.id && + index == other.index && + isMember == other.isMember && + lastChangeOn == other.lastChangeOn && + linkedAccount == other.linkedAccount && + linkedAccountAggregate == other.linkedAccountAggregate && + status == other.status && + membershipHistory == other.membershipHistory && + membershipHistoryAggregate == other.membershipHistoryAggregate && + name == other.name && + ownerKeyChange == other.ownerKeyChange && + ownerKeyChangeAggregate == other.ownerKeyChangeAggregate && + smith == other.smith && + udHistory == other.udHistory; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, accountRemovedId.hashCode); + _$hash = $jc(_$hash, certIssued.hashCode); + _$hash = $jc(_$hash, certIssuedAggregate.hashCode); + _$hash = $jc(_$hash, certReceived.hashCode); + _$hash = $jc(_$hash, certReceivedAggregate.hashCode); + _$hash = $jc(_$hash, createdInId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, index.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, lastChangeOn.hashCode); + _$hash = $jc(_$hash, linkedAccount.hashCode); + _$hash = $jc(_$hash, linkedAccountAggregate.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, membershipHistory.hashCode); + _$hash = $jc(_$hash, membershipHistoryAggregate.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, ownerKeyChange.hashCode); + _$hash = $jc(_$hash, ownerKeyChangeAggregate.hashCode); + _$hash = $jc(_$hash, smith.hashCode); + _$hash = $jc(_$hash, udHistory.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('accountRemovedId', accountRemovedId) + ..add('certIssued', certIssued) + ..add('certIssuedAggregate', certIssuedAggregate) + ..add('certReceived', certReceived) + ..add('certReceivedAggregate', certReceivedAggregate) + ..add('createdInId', createdInId) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('id', id) + ..add('index', index) + ..add('isMember', isMember) + ..add('lastChangeOn', lastChangeOn) + ..add('linkedAccount', linkedAccount) + ..add('linkedAccountAggregate', linkedAccountAggregate) + ..add('status', status) + ..add('membershipHistory', membershipHistory) + ..add('membershipHistoryAggregate', membershipHistoryAggregate) + ..add('name', name) + ..add('ownerKeyChange', ownerKeyChange) + ..add('ownerKeyChangeAggregate', ownerKeyChangeAggregate) + ..add('smith', smith) + ..add('udHistory', udHistory)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identityBuilder + implements + Builder<GAccountByPkData_accountByPk_identity, + GAccountByPkData_accountByPk_identityBuilder> { + _$GAccountByPkData_accountByPk_identity? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _accountRemovedId; + String? get accountRemovedId => _$this._accountRemovedId; + set accountRemovedId(String? accountRemovedId) => + _$this._accountRemovedId = accountRemovedId; + + ListBuilder<GAccountByPkData_accountByPk_identity_certIssued>? _certIssued; + ListBuilder<GAccountByPkData_accountByPk_identity_certIssued> + get certIssued => _$this._certIssued ??= + new ListBuilder<GAccountByPkData_accountByPk_identity_certIssued>(); + set certIssued( + ListBuilder<GAccountByPkData_accountByPk_identity_certIssued>? + certIssued) => + _$this._certIssued = certIssued; + + GAccountByPkData_accountByPk_identity_certIssuedAggregateBuilder? + _certIssuedAggregate; + GAccountByPkData_accountByPk_identity_certIssuedAggregateBuilder + get certIssuedAggregate => _$this._certIssuedAggregate ??= + new GAccountByPkData_accountByPk_identity_certIssuedAggregateBuilder(); + set certIssuedAggregate( + GAccountByPkData_accountByPk_identity_certIssuedAggregateBuilder? + certIssuedAggregate) => + _$this._certIssuedAggregate = certIssuedAggregate; + + ListBuilder<GAccountByPkData_accountByPk_identity_certReceived>? + _certReceived; + ListBuilder<GAccountByPkData_accountByPk_identity_certReceived> + get certReceived => _$this._certReceived ??= + new ListBuilder<GAccountByPkData_accountByPk_identity_certReceived>(); + set certReceived( + ListBuilder<GAccountByPkData_accountByPk_identity_certReceived>? + certReceived) => + _$this._certReceived = certReceived; + + GAccountByPkData_accountByPk_identity_certReceivedAggregateBuilder? + _certReceivedAggregate; + GAccountByPkData_accountByPk_identity_certReceivedAggregateBuilder + get certReceivedAggregate => _$this._certReceivedAggregate ??= + new GAccountByPkData_accountByPk_identity_certReceivedAggregateBuilder(); + set certReceivedAggregate( + GAccountByPkData_accountByPk_identity_certReceivedAggregateBuilder? + certReceivedAggregate) => + _$this._certReceivedAggregate = certReceivedAggregate; + + String? _createdInId; + String? get createdInId => _$this._createdInId; + set createdInId(String? createdInId) => _$this._createdInId = createdInId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _index; + int? get index => _$this._index; + set index(int? index) => _$this._index = index; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + int? _lastChangeOn; + int? get lastChangeOn => _$this._lastChangeOn; + set lastChangeOn(int? lastChangeOn) => _$this._lastChangeOn = lastChangeOn; + + ListBuilder<GAccountByPkData_accountByPk_identity_linkedAccount>? + _linkedAccount; + ListBuilder<GAccountByPkData_accountByPk_identity_linkedAccount> + get linkedAccount => _$this._linkedAccount ??= new ListBuilder< + GAccountByPkData_accountByPk_identity_linkedAccount>(); + set linkedAccount( + ListBuilder<GAccountByPkData_accountByPk_identity_linkedAccount>? + linkedAccount) => + _$this._linkedAccount = linkedAccount; + + GAccountByPkData_accountByPk_identity_linkedAccountAggregateBuilder? + _linkedAccountAggregate; + GAccountByPkData_accountByPk_identity_linkedAccountAggregateBuilder + get linkedAccountAggregate => _$this._linkedAccountAggregate ??= + new GAccountByPkData_accountByPk_identity_linkedAccountAggregateBuilder(); + set linkedAccountAggregate( + GAccountByPkData_accountByPk_identity_linkedAccountAggregateBuilder? + linkedAccountAggregate) => + _$this._linkedAccountAggregate = linkedAccountAggregate; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + ListBuilder<GAccountByPkData_accountByPk_identity_membershipHistory>? + _membershipHistory; + ListBuilder<GAccountByPkData_accountByPk_identity_membershipHistory> + get membershipHistory => _$this._membershipHistory ??= new ListBuilder< + GAccountByPkData_accountByPk_identity_membershipHistory>(); + set membershipHistory( + ListBuilder<GAccountByPkData_accountByPk_identity_membershipHistory>? + membershipHistory) => + _$this._membershipHistory = membershipHistory; + + GAccountByPkData_accountByPk_identity_membershipHistoryAggregateBuilder? + _membershipHistoryAggregate; + GAccountByPkData_accountByPk_identity_membershipHistoryAggregateBuilder + get membershipHistoryAggregate => _$this._membershipHistoryAggregate ??= + new GAccountByPkData_accountByPk_identity_membershipHistoryAggregateBuilder(); + set membershipHistoryAggregate( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregateBuilder? + membershipHistoryAggregate) => + _$this._membershipHistoryAggregate = membershipHistoryAggregate; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + ListBuilder<GAccountByPkData_accountByPk_identity_ownerKeyChange>? + _ownerKeyChange; + ListBuilder<GAccountByPkData_accountByPk_identity_ownerKeyChange> + get ownerKeyChange => _$this._ownerKeyChange ??= new ListBuilder< + GAccountByPkData_accountByPk_identity_ownerKeyChange>(); + set ownerKeyChange( + ListBuilder<GAccountByPkData_accountByPk_identity_ownerKeyChange>? + ownerKeyChange) => + _$this._ownerKeyChange = ownerKeyChange; + + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateBuilder? + _ownerKeyChangeAggregate; + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateBuilder + get ownerKeyChangeAggregate => _$this._ownerKeyChangeAggregate ??= + new GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateBuilder(); + set ownerKeyChangeAggregate( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateBuilder? + ownerKeyChangeAggregate) => + _$this._ownerKeyChangeAggregate = ownerKeyChangeAggregate; + + GAccountByPkData_accountByPk_identity_smithBuilder? _smith; + GAccountByPkData_accountByPk_identity_smithBuilder get smith => + _$this._smith ??= + new GAccountByPkData_accountByPk_identity_smithBuilder(); + set smith(GAccountByPkData_accountByPk_identity_smithBuilder? smith) => + _$this._smith = smith; + + ListBuilder<GAccountByPkData_accountByPk_identity_udHistory>? _udHistory; + ListBuilder<GAccountByPkData_accountByPk_identity_udHistory> get udHistory => + _$this._udHistory ??= + new ListBuilder<GAccountByPkData_accountByPk_identity_udHistory>(); + set udHistory( + ListBuilder<GAccountByPkData_accountByPk_identity_udHistory>? + udHistory) => + _$this._udHistory = udHistory; + + GAccountByPkData_accountByPk_identityBuilder() { + GAccountByPkData_accountByPk_identity._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identityBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _accountRemovedId = $v.accountRemovedId; + _certIssued = $v.certIssued.toBuilder(); + _certIssuedAggregate = $v.certIssuedAggregate.toBuilder(); + _certReceived = $v.certReceived.toBuilder(); + _certReceivedAggregate = $v.certReceivedAggregate.toBuilder(); + _createdInId = $v.createdInId; + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _id = $v.id; + _index = $v.index; + _isMember = $v.isMember; + _lastChangeOn = $v.lastChangeOn; + _linkedAccount = $v.linkedAccount.toBuilder(); + _linkedAccountAggregate = $v.linkedAccountAggregate.toBuilder(); + _status = $v.status; + _membershipHistory = $v.membershipHistory.toBuilder(); + _membershipHistoryAggregate = $v.membershipHistoryAggregate.toBuilder(); + _name = $v.name; + _ownerKeyChange = $v.ownerKeyChange.toBuilder(); + _ownerKeyChangeAggregate = $v.ownerKeyChangeAggregate.toBuilder(); + _smith = $v.smith?.toBuilder(); + _udHistory = $v.udHistory?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_identity other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_identity; + } + + @override + void update( + void Function(GAccountByPkData_accountByPk_identityBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity build() => _build(); + + _$GAccountByPkData_accountByPk_identity _build() { + _$GAccountByPkData_accountByPk_identity _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountByPkData_accountByPk_identity', 'G__typename'), + accountId: accountId, + accountRemovedId: accountRemovedId, + certIssued: certIssued.build(), + certIssuedAggregate: certIssuedAggregate.build(), + certReceived: certReceived.build(), + certReceivedAggregate: certReceivedAggregate.build(), + createdInId: createdInId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountByPkData_accountByPk_identity', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GAccountByPkData_accountByPk_identity', 'expireOn'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_identity', 'id'), + index: BuiltValueNullFieldError.checkNotNull( + index, r'GAccountByPkData_accountByPk_identity', 'index'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, r'GAccountByPkData_accountByPk_identity', 'isMember'), + lastChangeOn: BuiltValueNullFieldError.checkNotNull(lastChangeOn, + r'GAccountByPkData_accountByPk_identity', 'lastChangeOn'), + linkedAccount: linkedAccount.build(), + linkedAccountAggregate: linkedAccountAggregate.build(), + status: status, + membershipHistory: membershipHistory.build(), + membershipHistoryAggregate: membershipHistoryAggregate.build(), + name: BuiltValueNullFieldError.checkNotNull(name, r'GAccountByPkData_accountByPk_identity', 'name'), + ownerKeyChange: ownerKeyChange.build(), + ownerKeyChangeAggregate: ownerKeyChangeAggregate.build(), + smith: _smith?.build(), + udHistory: _udHistory?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'certIssued'; + certIssued.build(); + _$failedField = 'certIssuedAggregate'; + certIssuedAggregate.build(); + _$failedField = 'certReceived'; + certReceived.build(); + _$failedField = 'certReceivedAggregate'; + certReceivedAggregate.build(); + + _$failedField = 'linkedAccount'; + linkedAccount.build(); + _$failedField = 'linkedAccountAggregate'; + linkedAccountAggregate.build(); + + _$failedField = 'membershipHistory'; + membershipHistory.build(); + _$failedField = 'membershipHistoryAggregate'; + membershipHistoryAggregate.build(); + + _$failedField = 'ownerKeyChange'; + ownerKeyChange.build(); + _$failedField = 'ownerKeyChangeAggregate'; + ownerKeyChangeAggregate.build(); + _$failedField = 'smith'; + _smith?.build(); + _$failedField = 'udHistory'; + _udHistory?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk_identity', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_certIssued + extends GAccountByPkData_accountByPk_identity_certIssued { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final GAccountByPkData_accountByPk_identity_certIssued_issuer? issuer; + @override + final String? receiverId; + @override + final GAccountByPkData_accountByPk_identity_certIssued_receiver? receiver; + @override + final int createdOn; + @override + final int expireOn; + @override + final bool isActive; + @override + final int updatedOn; + + factory _$GAccountByPkData_accountByPk_identity_certIssued( + [void Function( + GAccountByPkData_accountByPk_identity_certIssuedBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_certIssuedBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_certIssued._( + {required this.G__typename, + required this.id, + this.issuerId, + this.issuer, + this.receiverId, + this.receiver, + required this.createdOn, + required this.expireOn, + required this.isActive, + required this.updatedOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_identity_certIssued', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_identity_certIssued', 'id'); + BuiltValueNullFieldError.checkNotNull(createdOn, + r'GAccountByPkData_accountByPk_identity_certIssued', 'createdOn'); + BuiltValueNullFieldError.checkNotNull(expireOn, + r'GAccountByPkData_accountByPk_identity_certIssued', 'expireOn'); + BuiltValueNullFieldError.checkNotNull(isActive, + r'GAccountByPkData_accountByPk_identity_certIssued', 'isActive'); + BuiltValueNullFieldError.checkNotNull(updatedOn, + r'GAccountByPkData_accountByPk_identity_certIssued', 'updatedOn'); + } + + @override + GAccountByPkData_accountByPk_identity_certIssued rebuild( + void Function(GAccountByPkData_accountByPk_identity_certIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_certIssuedBuilder toBuilder() => + new GAccountByPkData_accountByPk_identity_certIssuedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_identity_certIssued && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + issuer == other.issuer && + receiverId == other.receiverId && + receiver == other.receiver && + createdOn == other.createdOn && + expireOn == other.expireOn && + isActive == other.isActive && + updatedOn == other.updatedOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, issuer.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, receiver.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, updatedOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_certIssued') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('issuer', issuer) + ..add('receiverId', receiverId) + ..add('receiver', receiver) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('isActive', isActive) + ..add('updatedOn', updatedOn)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_certIssuedBuilder + implements + Builder<GAccountByPkData_accountByPk_identity_certIssued, + GAccountByPkData_accountByPk_identity_certIssuedBuilder> { + _$GAccountByPkData_accountByPk_identity_certIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + GAccountByPkData_accountByPk_identity_certIssued_issuerBuilder? _issuer; + GAccountByPkData_accountByPk_identity_certIssued_issuerBuilder get issuer => + _$this._issuer ??= + new GAccountByPkData_accountByPk_identity_certIssued_issuerBuilder(); + set issuer( + GAccountByPkData_accountByPk_identity_certIssued_issuerBuilder? + issuer) => + _$this._issuer = issuer; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + GAccountByPkData_accountByPk_identity_certIssued_receiverBuilder? _receiver; + GAccountByPkData_accountByPk_identity_certIssued_receiverBuilder + get receiver => _$this._receiver ??= + new GAccountByPkData_accountByPk_identity_certIssued_receiverBuilder(); + set receiver( + GAccountByPkData_accountByPk_identity_certIssued_receiverBuilder? + receiver) => + _$this._receiver = receiver; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + int? _updatedOn; + int? get updatedOn => _$this._updatedOn; + set updatedOn(int? updatedOn) => _$this._updatedOn = updatedOn; + + GAccountByPkData_accountByPk_identity_certIssuedBuilder() { + GAccountByPkData_accountByPk_identity_certIssued._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identity_certIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _issuer = $v.issuer?.toBuilder(); + _receiverId = $v.receiverId; + _receiver = $v.receiver?.toBuilder(); + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _isActive = $v.isActive; + _updatedOn = $v.updatedOn; + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_identity_certIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_identity_certIssued; + } + + @override + void update( + void Function(GAccountByPkData_accountByPk_identity_certIssuedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_certIssued build() => _build(); + + _$GAccountByPkData_accountByPk_identity_certIssued _build() { + _$GAccountByPkData_accountByPk_identity_certIssued _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_certIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_certIssued', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_identity_certIssued', 'id'), + issuerId: issuerId, + issuer: _issuer?.build(), + receiverId: receiverId, + receiver: _receiver?.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountByPkData_accountByPk_identity_certIssued', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GAccountByPkData_accountByPk_identity_certIssued', 'expireOn'), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GAccountByPkData_accountByPk_identity_certIssued', 'isActive'), + updatedOn: BuiltValueNullFieldError.checkNotNull( + updatedOn, + r'GAccountByPkData_accountByPk_identity_certIssued', + 'updatedOn')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'issuer'; + _issuer?.build(); + + _$failedField = 'receiver'; + _receiver?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk_identity_certIssued', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_certIssued_issuer + extends GAccountByPkData_accountByPk_identity_certIssued_issuer { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountByPkData_accountByPk_identity_certIssued_issuer( + [void Function( + GAccountByPkData_accountByPk_identity_certIssued_issuerBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_certIssued_issuerBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_certIssued_issuer._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_certIssued_issuer', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_identity_certIssued_issuer', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GAccountByPkData_accountByPk_identity_certIssued_issuer', 'isMember'); + BuiltValueNullFieldError.checkNotNull(name, + r'GAccountByPkData_accountByPk_identity_certIssued_issuer', 'name'); + } + + @override + GAccountByPkData_accountByPk_identity_certIssued_issuer rebuild( + void Function( + GAccountByPkData_accountByPk_identity_certIssued_issuerBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_certIssued_issuerBuilder toBuilder() => + new GAccountByPkData_accountByPk_identity_certIssued_issuerBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_identity_certIssued_issuer && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_certIssued_issuer') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_certIssued_issuerBuilder + implements + Builder<GAccountByPkData_accountByPk_identity_certIssued_issuer, + GAccountByPkData_accountByPk_identity_certIssued_issuerBuilder> { + _$GAccountByPkData_accountByPk_identity_certIssued_issuer? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountByPkData_accountByPk_identity_certIssued_issuerBuilder() { + GAccountByPkData_accountByPk_identity_certIssued_issuer._initializeBuilder( + this); + } + + GAccountByPkData_accountByPk_identity_certIssued_issuerBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_identity_certIssued_issuer other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_identity_certIssued_issuer; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_identity_certIssued_issuerBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_certIssued_issuer build() => _build(); + + _$GAccountByPkData_accountByPk_identity_certIssued_issuer _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_certIssued_issuer._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_certIssued_issuer', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GAccountByPkData_accountByPk_identity_certIssued_issuer', + 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GAccountByPkData_accountByPk_identity_certIssued_issuer', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, + r'GAccountByPkData_accountByPk_identity_certIssued_issuer', + 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_certIssued_receiver + extends GAccountByPkData_accountByPk_identity_certIssued_receiver { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountByPkData_accountByPk_identity_certIssued_receiver( + [void Function( + GAccountByPkData_accountByPk_identity_certIssued_receiverBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_certIssued_receiverBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_certIssued_receiver._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_certIssued_receiver', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_identity_certIssued_receiver', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, + r'GAccountByPkData_accountByPk_identity_certIssued_receiver', + 'isMember'); + BuiltValueNullFieldError.checkNotNull(name, + r'GAccountByPkData_accountByPk_identity_certIssued_receiver', 'name'); + } + + @override + GAccountByPkData_accountByPk_identity_certIssued_receiver rebuild( + void Function( + GAccountByPkData_accountByPk_identity_certIssued_receiverBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_certIssued_receiverBuilder + toBuilder() => + new GAccountByPkData_accountByPk_identity_certIssued_receiverBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_identity_certIssued_receiver && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_certIssued_receiver') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_certIssued_receiverBuilder + implements + Builder<GAccountByPkData_accountByPk_identity_certIssued_receiver, + GAccountByPkData_accountByPk_identity_certIssued_receiverBuilder> { + _$GAccountByPkData_accountByPk_identity_certIssued_receiver? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountByPkData_accountByPk_identity_certIssued_receiverBuilder() { + GAccountByPkData_accountByPk_identity_certIssued_receiver + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identity_certIssued_receiverBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_identity_certIssued_receiver other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_identity_certIssued_receiver; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_identity_certIssued_receiverBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_certIssued_receiver build() => _build(); + + _$GAccountByPkData_accountByPk_identity_certIssued_receiver _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_certIssued_receiver._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_certIssued_receiver', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GAccountByPkData_accountByPk_identity_certIssued_receiver', + 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GAccountByPkData_accountByPk_identity_certIssued_receiver', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, + r'GAccountByPkData_accountByPk_identity_certIssued_receiver', + 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_certIssuedAggregate + extends GAccountByPkData_accountByPk_identity_certIssuedAggregate { + @override + final String G__typename; + @override + final GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate? + aggregate; + + factory _$GAccountByPkData_accountByPk_identity_certIssuedAggregate( + [void Function( + GAccountByPkData_accountByPk_identity_certIssuedAggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_certIssuedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_certIssuedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_certIssuedAggregate', + 'G__typename'); + } + + @override + GAccountByPkData_accountByPk_identity_certIssuedAggregate rebuild( + void Function( + GAccountByPkData_accountByPk_identity_certIssuedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_certIssuedAggregateBuilder + toBuilder() => + new GAccountByPkData_accountByPk_identity_certIssuedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_identity_certIssuedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_certIssuedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_certIssuedAggregateBuilder + implements + Builder<GAccountByPkData_accountByPk_identity_certIssuedAggregate, + GAccountByPkData_accountByPk_identity_certIssuedAggregateBuilder> { + _$GAccountByPkData_accountByPk_identity_certIssuedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateBuilder? + _aggregate; + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateBuilder(); + set aggregate( + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountByPkData_accountByPk_identity_certIssuedAggregateBuilder() { + GAccountByPkData_accountByPk_identity_certIssuedAggregate + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identity_certIssuedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_identity_certIssuedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_identity_certIssuedAggregate; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_identity_certIssuedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_certIssuedAggregate build() => _build(); + + _$GAccountByPkData_accountByPk_identity_certIssuedAggregate _build() { + _$GAccountByPkData_accountByPk_identity_certIssuedAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_certIssuedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_certIssuedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk_identity_certIssuedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate + extends GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate', + 'count'); + } + + @override + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate rebuild( + void Function( + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateBuilder + toBuilder() => + new GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateBuilder + implements + Builder< + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate, + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateBuilder> { + _$GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateBuilder() { + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate build() => + _build(); + + _$GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_certReceived + extends GAccountByPkData_accountByPk_identity_certReceived { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final GAccountByPkData_accountByPk_identity_certReceived_issuer? issuer; + @override + final String? receiverId; + @override + final GAccountByPkData_accountByPk_identity_certReceived_receiver? receiver; + @override + final int createdOn; + @override + final int expireOn; + @override + final bool isActive; + @override + final int updatedOn; + + factory _$GAccountByPkData_accountByPk_identity_certReceived( + [void Function( + GAccountByPkData_accountByPk_identity_certReceivedBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_certReceivedBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_certReceived._( + {required this.G__typename, + required this.id, + this.issuerId, + this.issuer, + this.receiverId, + this.receiver, + required this.createdOn, + required this.expireOn, + required this.isActive, + required this.updatedOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_identity_certReceived', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_identity_certReceived', 'id'); + BuiltValueNullFieldError.checkNotNull(createdOn, + r'GAccountByPkData_accountByPk_identity_certReceived', 'createdOn'); + BuiltValueNullFieldError.checkNotNull(expireOn, + r'GAccountByPkData_accountByPk_identity_certReceived', 'expireOn'); + BuiltValueNullFieldError.checkNotNull(isActive, + r'GAccountByPkData_accountByPk_identity_certReceived', 'isActive'); + BuiltValueNullFieldError.checkNotNull(updatedOn, + r'GAccountByPkData_accountByPk_identity_certReceived', 'updatedOn'); + } + + @override + GAccountByPkData_accountByPk_identity_certReceived rebuild( + void Function( + GAccountByPkData_accountByPk_identity_certReceivedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_certReceivedBuilder toBuilder() => + new GAccountByPkData_accountByPk_identity_certReceivedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_identity_certReceived && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + issuer == other.issuer && + receiverId == other.receiverId && + receiver == other.receiver && + createdOn == other.createdOn && + expireOn == other.expireOn && + isActive == other.isActive && + updatedOn == other.updatedOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, issuer.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, receiver.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, updatedOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_certReceived') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('issuer', issuer) + ..add('receiverId', receiverId) + ..add('receiver', receiver) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('isActive', isActive) + ..add('updatedOn', updatedOn)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_certReceivedBuilder + implements + Builder<GAccountByPkData_accountByPk_identity_certReceived, + GAccountByPkData_accountByPk_identity_certReceivedBuilder> { + _$GAccountByPkData_accountByPk_identity_certReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + GAccountByPkData_accountByPk_identity_certReceived_issuerBuilder? _issuer; + GAccountByPkData_accountByPk_identity_certReceived_issuerBuilder get issuer => + _$this._issuer ??= + new GAccountByPkData_accountByPk_identity_certReceived_issuerBuilder(); + set issuer( + GAccountByPkData_accountByPk_identity_certReceived_issuerBuilder? + issuer) => + _$this._issuer = issuer; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + GAccountByPkData_accountByPk_identity_certReceived_receiverBuilder? _receiver; + GAccountByPkData_accountByPk_identity_certReceived_receiverBuilder + get receiver => _$this._receiver ??= + new GAccountByPkData_accountByPk_identity_certReceived_receiverBuilder(); + set receiver( + GAccountByPkData_accountByPk_identity_certReceived_receiverBuilder? + receiver) => + _$this._receiver = receiver; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + int? _updatedOn; + int? get updatedOn => _$this._updatedOn; + set updatedOn(int? updatedOn) => _$this._updatedOn = updatedOn; + + GAccountByPkData_accountByPk_identity_certReceivedBuilder() { + GAccountByPkData_accountByPk_identity_certReceived._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identity_certReceivedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _issuer = $v.issuer?.toBuilder(); + _receiverId = $v.receiverId; + _receiver = $v.receiver?.toBuilder(); + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _isActive = $v.isActive; + _updatedOn = $v.updatedOn; + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_identity_certReceived other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_identity_certReceived; + } + + @override + void update( + void Function(GAccountByPkData_accountByPk_identity_certReceivedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_certReceived build() => _build(); + + _$GAccountByPkData_accountByPk_identity_certReceived _build() { + _$GAccountByPkData_accountByPk_identity_certReceived _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_certReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_certReceived', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_identity_certReceived', 'id'), + issuerId: issuerId, + issuer: _issuer?.build(), + receiverId: receiverId, + receiver: _receiver?.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountByPkData_accountByPk_identity_certReceived', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GAccountByPkData_accountByPk_identity_certReceived', 'expireOn'), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GAccountByPkData_accountByPk_identity_certReceived', 'isActive'), + updatedOn: BuiltValueNullFieldError.checkNotNull( + updatedOn, + r'GAccountByPkData_accountByPk_identity_certReceived', + 'updatedOn')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'issuer'; + _issuer?.build(); + + _$failedField = 'receiver'; + _receiver?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk_identity_certReceived', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_certReceived_issuer + extends GAccountByPkData_accountByPk_identity_certReceived_issuer { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountByPkData_accountByPk_identity_certReceived_issuer( + [void Function( + GAccountByPkData_accountByPk_identity_certReceived_issuerBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_certReceived_issuerBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_certReceived_issuer._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_certReceived_issuer', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_identity_certReceived_issuer', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, + r'GAccountByPkData_accountByPk_identity_certReceived_issuer', + 'isMember'); + BuiltValueNullFieldError.checkNotNull(name, + r'GAccountByPkData_accountByPk_identity_certReceived_issuer', 'name'); + } + + @override + GAccountByPkData_accountByPk_identity_certReceived_issuer rebuild( + void Function( + GAccountByPkData_accountByPk_identity_certReceived_issuerBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_certReceived_issuerBuilder + toBuilder() => + new GAccountByPkData_accountByPk_identity_certReceived_issuerBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_identity_certReceived_issuer && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_certReceived_issuer') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_certReceived_issuerBuilder + implements + Builder<GAccountByPkData_accountByPk_identity_certReceived_issuer, + GAccountByPkData_accountByPk_identity_certReceived_issuerBuilder> { + _$GAccountByPkData_accountByPk_identity_certReceived_issuer? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountByPkData_accountByPk_identity_certReceived_issuerBuilder() { + GAccountByPkData_accountByPk_identity_certReceived_issuer + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identity_certReceived_issuerBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_identity_certReceived_issuer other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_identity_certReceived_issuer; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_identity_certReceived_issuerBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_certReceived_issuer build() => _build(); + + _$GAccountByPkData_accountByPk_identity_certReceived_issuer _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_certReceived_issuer._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_certReceived_issuer', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GAccountByPkData_accountByPk_identity_certReceived_issuer', + 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GAccountByPkData_accountByPk_identity_certReceived_issuer', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, + r'GAccountByPkData_accountByPk_identity_certReceived_issuer', + 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_certReceived_receiver + extends GAccountByPkData_accountByPk_identity_certReceived_receiver { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountByPkData_accountByPk_identity_certReceived_receiver( + [void Function( + GAccountByPkData_accountByPk_identity_certReceived_receiverBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_certReceived_receiverBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_certReceived_receiver._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_certReceived_receiver', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull(id, + r'GAccountByPkData_accountByPk_identity_certReceived_receiver', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, + r'GAccountByPkData_accountByPk_identity_certReceived_receiver', + 'isMember'); + BuiltValueNullFieldError.checkNotNull(name, + r'GAccountByPkData_accountByPk_identity_certReceived_receiver', 'name'); + } + + @override + GAccountByPkData_accountByPk_identity_certReceived_receiver rebuild( + void Function( + GAccountByPkData_accountByPk_identity_certReceived_receiverBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_certReceived_receiverBuilder + toBuilder() => + new GAccountByPkData_accountByPk_identity_certReceived_receiverBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountByPkData_accountByPk_identity_certReceived_receiver && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_certReceived_receiver') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_certReceived_receiverBuilder + implements + Builder<GAccountByPkData_accountByPk_identity_certReceived_receiver, + GAccountByPkData_accountByPk_identity_certReceived_receiverBuilder> { + _$GAccountByPkData_accountByPk_identity_certReceived_receiver? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountByPkData_accountByPk_identity_certReceived_receiverBuilder() { + GAccountByPkData_accountByPk_identity_certReceived_receiver + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identity_certReceived_receiverBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_identity_certReceived_receiver other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = + other as _$GAccountByPkData_accountByPk_identity_certReceived_receiver; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_identity_certReceived_receiverBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_certReceived_receiver build() => + _build(); + + _$GAccountByPkData_accountByPk_identity_certReceived_receiver _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_certReceived_receiver._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_certReceived_receiver', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GAccountByPkData_accountByPk_identity_certReceived_receiver', + 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GAccountByPkData_accountByPk_identity_certReceived_receiver', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, + r'GAccountByPkData_accountByPk_identity_certReceived_receiver', + 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_certReceivedAggregate + extends GAccountByPkData_accountByPk_identity_certReceivedAggregate { + @override + final String G__typename; + @override + final GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate? + aggregate; + + factory _$GAccountByPkData_accountByPk_identity_certReceivedAggregate( + [void Function( + GAccountByPkData_accountByPk_identity_certReceivedAggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_certReceivedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_certReceivedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_certReceivedAggregate', + 'G__typename'); + } + + @override + GAccountByPkData_accountByPk_identity_certReceivedAggregate rebuild( + void Function( + GAccountByPkData_accountByPk_identity_certReceivedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_certReceivedAggregateBuilder + toBuilder() => + new GAccountByPkData_accountByPk_identity_certReceivedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountByPkData_accountByPk_identity_certReceivedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_certReceivedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_certReceivedAggregateBuilder + implements + Builder<GAccountByPkData_accountByPk_identity_certReceivedAggregate, + GAccountByPkData_accountByPk_identity_certReceivedAggregateBuilder> { + _$GAccountByPkData_accountByPk_identity_certReceivedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateBuilder? + _aggregate; + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateBuilder(); + set aggregate( + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountByPkData_accountByPk_identity_certReceivedAggregateBuilder() { + GAccountByPkData_accountByPk_identity_certReceivedAggregate + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identity_certReceivedAggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_identity_certReceivedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = + other as _$GAccountByPkData_accountByPk_identity_certReceivedAggregate; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_identity_certReceivedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_certReceivedAggregate build() => + _build(); + + _$GAccountByPkData_accountByPk_identity_certReceivedAggregate _build() { + _$GAccountByPkData_accountByPk_identity_certReceivedAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_certReceivedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_certReceivedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk_identity_certReceivedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate + extends GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate', + 'count'); + } + + @override + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate rebuild( + void Function( + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateBuilder + toBuilder() => + new GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateBuilder + implements + Builder< + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate, + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateBuilder> { + _$GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateBuilder() { + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate + build() => _build(); + + _$GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_linkedAccount + extends GAccountByPkData_accountByPk_identity_linkedAccount { + @override + final String G__typename; + @override + final String id; + + factory _$GAccountByPkData_accountByPk_identity_linkedAccount( + [void Function( + GAccountByPkData_accountByPk_identity_linkedAccountBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_linkedAccountBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_linkedAccount._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_identity_linkedAccount', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_identity_linkedAccount', 'id'); + } + + @override + GAccountByPkData_accountByPk_identity_linkedAccount rebuild( + void Function( + GAccountByPkData_accountByPk_identity_linkedAccountBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_linkedAccountBuilder toBuilder() => + new GAccountByPkData_accountByPk_identity_linkedAccountBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_identity_linkedAccount && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_linkedAccount') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_linkedAccountBuilder + implements + Builder<GAccountByPkData_accountByPk_identity_linkedAccount, + GAccountByPkData_accountByPk_identity_linkedAccountBuilder> { + _$GAccountByPkData_accountByPk_identity_linkedAccount? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GAccountByPkData_accountByPk_identity_linkedAccountBuilder() { + GAccountByPkData_accountByPk_identity_linkedAccount._initializeBuilder( + this); + } + + GAccountByPkData_accountByPk_identity_linkedAccountBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_identity_linkedAccount other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_identity_linkedAccount; + } + + @override + void update( + void Function(GAccountByPkData_accountByPk_identity_linkedAccountBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_linkedAccount build() => _build(); + + _$GAccountByPkData_accountByPk_identity_linkedAccount _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_linkedAccount._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_linkedAccount', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull(id, + r'GAccountByPkData_accountByPk_identity_linkedAccount', 'id')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate + extends GAccountByPkData_accountByPk_identity_linkedAccountAggregate { + @override + final String G__typename; + @override + final GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate? + aggregate; + + factory _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate( + [void Function( + GAccountByPkData_accountByPk_identity_linkedAccountAggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_linkedAccountAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_linkedAccountAggregate', + 'G__typename'); + } + + @override + GAccountByPkData_accountByPk_identity_linkedAccountAggregate rebuild( + void Function( + GAccountByPkData_accountByPk_identity_linkedAccountAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_linkedAccountAggregateBuilder + toBuilder() => + new GAccountByPkData_accountByPk_identity_linkedAccountAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountByPkData_accountByPk_identity_linkedAccountAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_linkedAccountAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_linkedAccountAggregateBuilder + implements + Builder<GAccountByPkData_accountByPk_identity_linkedAccountAggregate, + GAccountByPkData_accountByPk_identity_linkedAccountAggregateBuilder> { + _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateBuilder? + _aggregate; + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateBuilder(); + set aggregate( + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountByPkData_accountByPk_identity_linkedAccountAggregateBuilder() { + GAccountByPkData_accountByPk_identity_linkedAccountAggregate + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identity_linkedAccountAggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_identity_linkedAccountAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = + other as _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_identity_linkedAccountAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_linkedAccountAggregate build() => + _build(); + + _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate _build() { + _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_linkedAccountAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk_identity_linkedAccountAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate + extends GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate', + 'count'); + } + + @override + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate rebuild( + void Function( + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateBuilder + toBuilder() => + new GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateBuilder + implements + Builder< + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate, + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateBuilder> { + _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateBuilder() { + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate + build() => _build(); + + _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_membershipHistory + extends GAccountByPkData_accountByPk_identity_membershipHistory { + @override + final String G__typename; + @override + final int blockNumber; + @override + final String? eventId; + @override + final _i2.GEventTypeEnum? eventType; + @override + final String id; + @override + final String? identityId; + + factory _$GAccountByPkData_accountByPk_identity_membershipHistory( + [void Function( + GAccountByPkData_accountByPk_identity_membershipHistoryBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_membershipHistoryBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_membershipHistory._( + {required this.G__typename, + required this.blockNumber, + this.eventId, + this.eventType, + required this.id, + this.identityId}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_membershipHistory', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GAccountByPkData_accountByPk_identity_membershipHistory', + 'blockNumber'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_identity_membershipHistory', 'id'); + } + + @override + GAccountByPkData_accountByPk_identity_membershipHistory rebuild( + void Function( + GAccountByPkData_accountByPk_identity_membershipHistoryBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_membershipHistoryBuilder toBuilder() => + new GAccountByPkData_accountByPk_identity_membershipHistoryBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_identity_membershipHistory && + G__typename == other.G__typename && + blockNumber == other.blockNumber && + eventId == other.eventId && + eventType == other.eventType && + id == other.id && + identityId == other.identityId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, eventId.hashCode); + _$hash = $jc(_$hash, eventType.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_membershipHistory') + ..add('G__typename', G__typename) + ..add('blockNumber', blockNumber) + ..add('eventId', eventId) + ..add('eventType', eventType) + ..add('id', id) + ..add('identityId', identityId)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_membershipHistoryBuilder + implements + Builder<GAccountByPkData_accountByPk_identity_membershipHistory, + GAccountByPkData_accountByPk_identity_membershipHistoryBuilder> { + _$GAccountByPkData_accountByPk_identity_membershipHistory? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _eventId; + String? get eventId => _$this._eventId; + set eventId(String? eventId) => _$this._eventId = eventId; + + _i2.GEventTypeEnum? _eventType; + _i2.GEventTypeEnum? get eventType => _$this._eventType; + set eventType(_i2.GEventTypeEnum? eventType) => _$this._eventType = eventType; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + GAccountByPkData_accountByPk_identity_membershipHistoryBuilder() { + GAccountByPkData_accountByPk_identity_membershipHistory._initializeBuilder( + this); + } + + GAccountByPkData_accountByPk_identity_membershipHistoryBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _blockNumber = $v.blockNumber; + _eventId = $v.eventId; + _eventType = $v.eventType; + _id = $v.id; + _identityId = $v.identityId; + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_identity_membershipHistory other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_identity_membershipHistory; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_identity_membershipHistoryBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_membershipHistory build() => _build(); + + _$GAccountByPkData_accountByPk_identity_membershipHistory _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_membershipHistory._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_membershipHistory', + 'G__typename'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GAccountByPkData_accountByPk_identity_membershipHistory', + 'blockNumber'), + eventId: eventId, + eventType: eventType, + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GAccountByPkData_accountByPk_identity_membershipHistory', + 'id'), + identityId: identityId); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate + extends GAccountByPkData_accountByPk_identity_membershipHistoryAggregate { + @override + final String G__typename; + @override + final GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate? + aggregate; + + factory _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate( + [void Function( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_membershipHistoryAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_membershipHistoryAggregate', + 'G__typename'); + } + + @override + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate rebuild( + void Function( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_membershipHistoryAggregateBuilder + toBuilder() => + new GAccountByPkData_accountByPk_identity_membershipHistoryAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountByPkData_accountByPk_identity_membershipHistoryAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_membershipHistoryAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_membershipHistoryAggregateBuilder + implements + Builder< + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate, + GAccountByPkData_accountByPk_identity_membershipHistoryAggregateBuilder> { + _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateBuilder? + _aggregate; + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateBuilder(); + set aggregate( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountByPkData_accountByPk_identity_membershipHistoryAggregateBuilder() { + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identity_membershipHistoryAggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate build() => + _build(); + + _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate _build() { + _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_membershipHistoryAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk_identity_membershipHistoryAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate + extends GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate', + 'count'); + } + + @override + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate + rebuild( + void Function( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateBuilder + toBuilder() => + new GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateBuilder + implements + Builder< + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate, + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateBuilder> { + _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate? + _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateBuilder() { + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate + build() => _build(); + + _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_ownerKeyChange + extends GAccountByPkData_accountByPk_identity_ownerKeyChange { + @override + final String G__typename; + @override + final String id; + @override + final int blockNumber; + @override + final String? identityId; + @override + final String? nextId; + @override + final String? previousId; + + factory _$GAccountByPkData_accountByPk_identity_ownerKeyChange( + [void Function( + GAccountByPkData_accountByPk_identity_ownerKeyChangeBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_ownerKeyChangeBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_ownerKeyChange._( + {required this.G__typename, + required this.id, + required this.blockNumber, + this.identityId, + this.nextId, + this.previousId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_identity_ownerKeyChange', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_identity_ownerKeyChange', 'id'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountByPkData_accountByPk_identity_ownerKeyChange', 'blockNumber'); + } + + @override + GAccountByPkData_accountByPk_identity_ownerKeyChange rebuild( + void Function( + GAccountByPkData_accountByPk_identity_ownerKeyChangeBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_ownerKeyChangeBuilder toBuilder() => + new GAccountByPkData_accountByPk_identity_ownerKeyChangeBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_identity_ownerKeyChange && + G__typename == other.G__typename && + id == other.id && + blockNumber == other.blockNumber && + identityId == other.identityId && + nextId == other.nextId && + previousId == other.previousId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jc(_$hash, nextId.hashCode); + _$hash = $jc(_$hash, previousId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_ownerKeyChange') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('blockNumber', blockNumber) + ..add('identityId', identityId) + ..add('nextId', nextId) + ..add('previousId', previousId)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_ownerKeyChangeBuilder + implements + Builder<GAccountByPkData_accountByPk_identity_ownerKeyChange, + GAccountByPkData_accountByPk_identity_ownerKeyChangeBuilder> { + _$GAccountByPkData_accountByPk_identity_ownerKeyChange? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + String? _nextId; + String? get nextId => _$this._nextId; + set nextId(String? nextId) => _$this._nextId = nextId; + + String? _previousId; + String? get previousId => _$this._previousId; + set previousId(String? previousId) => _$this._previousId = previousId; + + GAccountByPkData_accountByPk_identity_ownerKeyChangeBuilder() { + GAccountByPkData_accountByPk_identity_ownerKeyChange._initializeBuilder( + this); + } + + GAccountByPkData_accountByPk_identity_ownerKeyChangeBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _blockNumber = $v.blockNumber; + _identityId = $v.identityId; + _nextId = $v.nextId; + _previousId = $v.previousId; + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_identity_ownerKeyChange other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_identity_ownerKeyChange; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_identity_ownerKeyChangeBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_ownerKeyChange build() => _build(); + + _$GAccountByPkData_accountByPk_identity_ownerKeyChange _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_ownerKeyChange._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_ownerKeyChange', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull(id, + r'GAccountByPkData_accountByPk_identity_ownerKeyChange', 'id'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GAccountByPkData_accountByPk_identity_ownerKeyChange', + 'blockNumber'), + identityId: identityId, + nextId: nextId, + previousId: previousId); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate + extends GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate { + @override + final String G__typename; + @override + final GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate? + aggregate; + + factory _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate( + [void Function( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate', + 'G__typename'); + } + + @override + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate rebuild( + void Function( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateBuilder + toBuilder() => + new GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateBuilder + implements + Builder<GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate, + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateBuilder> { + _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateBuilder? + _aggregate; + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateBuilder(); + set aggregate( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateBuilder() { + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate build() => + _build(); + + _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate _build() { + _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate + extends GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate', + 'count'); + } + + @override + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate rebuild( + void Function( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateBuilder + toBuilder() => + new GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateBuilder + implements + Builder< + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate, + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateBuilder> { + _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate? + _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateBuilder() { + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate + build() => _build(); + + _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_smith + extends GAccountByPkData_accountByPk_identity_smith { + @override + final String G__typename; + @override + final String id; + @override + final int forged; + @override + final int index; + @override + final int? lastChanged; + @override + final int? lastForged; + @override + final BuiltList<GAccountByPkData_accountByPk_identity_smith_smithCertIssued> + smithCertIssued; + @override + final BuiltList<GAccountByPkData_accountByPk_identity_smith_smithCertReceived> + smithCertReceived; + + factory _$GAccountByPkData_accountByPk_identity_smith( + [void Function(GAccountByPkData_accountByPk_identity_smithBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_smithBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_smith._( + {required this.G__typename, + required this.id, + required this.forged, + required this.index, + this.lastChanged, + this.lastForged, + required this.smithCertIssued, + required this.smithCertReceived}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_identity_smith', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_identity_smith', 'id'); + BuiltValueNullFieldError.checkNotNull( + forged, r'GAccountByPkData_accountByPk_identity_smith', 'forged'); + BuiltValueNullFieldError.checkNotNull( + index, r'GAccountByPkData_accountByPk_identity_smith', 'index'); + BuiltValueNullFieldError.checkNotNull(smithCertIssued, + r'GAccountByPkData_accountByPk_identity_smith', 'smithCertIssued'); + BuiltValueNullFieldError.checkNotNull(smithCertReceived, + r'GAccountByPkData_accountByPk_identity_smith', 'smithCertReceived'); + } + + @override + GAccountByPkData_accountByPk_identity_smith rebuild( + void Function(GAccountByPkData_accountByPk_identity_smithBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_smithBuilder toBuilder() => + new GAccountByPkData_accountByPk_identity_smithBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_identity_smith && + G__typename == other.G__typename && + id == other.id && + forged == other.forged && + index == other.index && + lastChanged == other.lastChanged && + lastForged == other.lastForged && + smithCertIssued == other.smithCertIssued && + smithCertReceived == other.smithCertReceived; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, forged.hashCode); + _$hash = $jc(_$hash, index.hashCode); + _$hash = $jc(_$hash, lastChanged.hashCode); + _$hash = $jc(_$hash, lastForged.hashCode); + _$hash = $jc(_$hash, smithCertIssued.hashCode); + _$hash = $jc(_$hash, smithCertReceived.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_smith') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('forged', forged) + ..add('index', index) + ..add('lastChanged', lastChanged) + ..add('lastForged', lastForged) + ..add('smithCertIssued', smithCertIssued) + ..add('smithCertReceived', smithCertReceived)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_smithBuilder + implements + Builder<GAccountByPkData_accountByPk_identity_smith, + GAccountByPkData_accountByPk_identity_smithBuilder> { + _$GAccountByPkData_accountByPk_identity_smith? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _forged; + int? get forged => _$this._forged; + set forged(int? forged) => _$this._forged = forged; + + int? _index; + int? get index => _$this._index; + set index(int? index) => _$this._index = index; + + int? _lastChanged; + int? get lastChanged => _$this._lastChanged; + set lastChanged(int? lastChanged) => _$this._lastChanged = lastChanged; + + int? _lastForged; + int? get lastForged => _$this._lastForged; + set lastForged(int? lastForged) => _$this._lastForged = lastForged; + + ListBuilder<GAccountByPkData_accountByPk_identity_smith_smithCertIssued>? + _smithCertIssued; + ListBuilder<GAccountByPkData_accountByPk_identity_smith_smithCertIssued> + get smithCertIssued => _$this._smithCertIssued ??= new ListBuilder< + GAccountByPkData_accountByPk_identity_smith_smithCertIssued>(); + set smithCertIssued( + ListBuilder< + GAccountByPkData_accountByPk_identity_smith_smithCertIssued>? + smithCertIssued) => + _$this._smithCertIssued = smithCertIssued; + + ListBuilder<GAccountByPkData_accountByPk_identity_smith_smithCertReceived>? + _smithCertReceived; + ListBuilder<GAccountByPkData_accountByPk_identity_smith_smithCertReceived> + get smithCertReceived => _$this._smithCertReceived ??= new ListBuilder< + GAccountByPkData_accountByPk_identity_smith_smithCertReceived>(); + set smithCertReceived( + ListBuilder< + GAccountByPkData_accountByPk_identity_smith_smithCertReceived>? + smithCertReceived) => + _$this._smithCertReceived = smithCertReceived; + + GAccountByPkData_accountByPk_identity_smithBuilder() { + GAccountByPkData_accountByPk_identity_smith._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identity_smithBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _forged = $v.forged; + _index = $v.index; + _lastChanged = $v.lastChanged; + _lastForged = $v.lastForged; + _smithCertIssued = $v.smithCertIssued.toBuilder(); + _smithCertReceived = $v.smithCertReceived.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_identity_smith other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_identity_smith; + } + + @override + void update( + void Function(GAccountByPkData_accountByPk_identity_smithBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_smith build() => _build(); + + _$GAccountByPkData_accountByPk_identity_smith _build() { + _$GAccountByPkData_accountByPk_identity_smith _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_smith._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_smith', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_identity_smith', 'id'), + forged: BuiltValueNullFieldError.checkNotNull(forged, + r'GAccountByPkData_accountByPk_identity_smith', 'forged'), + index: BuiltValueNullFieldError.checkNotNull(index, + r'GAccountByPkData_accountByPk_identity_smith', 'index'), + lastChanged: lastChanged, + lastForged: lastForged, + smithCertIssued: smithCertIssued.build(), + smithCertReceived: smithCertReceived.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'smithCertIssued'; + smithCertIssued.build(); + _$failedField = 'smithCertReceived'; + smithCertReceived.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk_identity_smith', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_smith_smithCertIssued + extends GAccountByPkData_accountByPk_identity_smith_smithCertIssued { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final String? receiverId; + @override + final int createdOn; + + factory _$GAccountByPkData_accountByPk_identity_smith_smithCertIssued( + [void Function( + GAccountByPkData_accountByPk_identity_smith_smithCertIssuedBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_smith_smithCertIssuedBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_smith_smithCertIssued._( + {required this.G__typename, + required this.id, + this.issuerId, + this.receiverId, + required this.createdOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_smith_smithCertIssued', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull(id, + r'GAccountByPkData_accountByPk_identity_smith_smithCertIssued', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GAccountByPkData_accountByPk_identity_smith_smithCertIssued', + 'createdOn'); + } + + @override + GAccountByPkData_accountByPk_identity_smith_smithCertIssued rebuild( + void Function( + GAccountByPkData_accountByPk_identity_smith_smithCertIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_smith_smithCertIssuedBuilder + toBuilder() => + new GAccountByPkData_accountByPk_identity_smith_smithCertIssuedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountByPkData_accountByPk_identity_smith_smithCertIssued && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + receiverId == other.receiverId && + createdOn == other.createdOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_smith_smithCertIssued') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('receiverId', receiverId) + ..add('createdOn', createdOn)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_smith_smithCertIssuedBuilder + implements + Builder<GAccountByPkData_accountByPk_identity_smith_smithCertIssued, + GAccountByPkData_accountByPk_identity_smith_smithCertIssuedBuilder> { + _$GAccountByPkData_accountByPk_identity_smith_smithCertIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + GAccountByPkData_accountByPk_identity_smith_smithCertIssuedBuilder() { + GAccountByPkData_accountByPk_identity_smith_smithCertIssued + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identity_smith_smithCertIssuedBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _receiverId = $v.receiverId; + _createdOn = $v.createdOn; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_identity_smith_smithCertIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = + other as _$GAccountByPkData_accountByPk_identity_smith_smithCertIssued; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_identity_smith_smithCertIssuedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_smith_smithCertIssued build() => + _build(); + + _$GAccountByPkData_accountByPk_identity_smith_smithCertIssued _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_smith_smithCertIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_smith_smithCertIssued', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GAccountByPkData_accountByPk_identity_smith_smithCertIssued', + 'id'), + issuerId: issuerId, + receiverId: receiverId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GAccountByPkData_accountByPk_identity_smith_smithCertIssued', + 'createdOn')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_smith_smithCertReceived + extends GAccountByPkData_accountByPk_identity_smith_smithCertReceived { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final String? receiverId; + @override + final int createdOn; + + factory _$GAccountByPkData_accountByPk_identity_smith_smithCertReceived( + [void Function( + GAccountByPkData_accountByPk_identity_smith_smithCertReceivedBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_smith_smithCertReceivedBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_smith_smithCertReceived._( + {required this.G__typename, + required this.id, + this.issuerId, + this.receiverId, + required this.createdOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_smith_smithCertReceived', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull(id, + r'GAccountByPkData_accountByPk_identity_smith_smithCertReceived', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GAccountByPkData_accountByPk_identity_smith_smithCertReceived', + 'createdOn'); + } + + @override + GAccountByPkData_accountByPk_identity_smith_smithCertReceived rebuild( + void Function( + GAccountByPkData_accountByPk_identity_smith_smithCertReceivedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_smith_smithCertReceivedBuilder + toBuilder() => + new GAccountByPkData_accountByPk_identity_smith_smithCertReceivedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountByPkData_accountByPk_identity_smith_smithCertReceived && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + receiverId == other.receiverId && + createdOn == other.createdOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_smith_smithCertReceived') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('receiverId', receiverId) + ..add('createdOn', createdOn)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_smith_smithCertReceivedBuilder + implements + Builder<GAccountByPkData_accountByPk_identity_smith_smithCertReceived, + GAccountByPkData_accountByPk_identity_smith_smithCertReceivedBuilder> { + _$GAccountByPkData_accountByPk_identity_smith_smithCertReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + GAccountByPkData_accountByPk_identity_smith_smithCertReceivedBuilder() { + GAccountByPkData_accountByPk_identity_smith_smithCertReceived + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identity_smith_smithCertReceivedBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _receiverId = $v.receiverId; + _createdOn = $v.createdOn; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_identity_smith_smithCertReceived other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountByPkData_accountByPk_identity_smith_smithCertReceived; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_identity_smith_smithCertReceivedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_smith_smithCertReceived build() => + _build(); + + _$GAccountByPkData_accountByPk_identity_smith_smithCertReceived _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_smith_smithCertReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_smith_smithCertReceived', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GAccountByPkData_accountByPk_identity_smith_smithCertReceived', + 'id'), + issuerId: issuerId, + receiverId: receiverId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GAccountByPkData_accountByPk_identity_smith_smithCertReceived', + 'createdOn')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_identity_udHistory + extends GAccountByPkData_accountByPk_identity_udHistory { + @override + final String G__typename; + @override + final String id; + @override + final int amount; + @override + final _i2.Gtimestamptz timestamp; + + factory _$GAccountByPkData_accountByPk_identity_udHistory( + [void Function( + GAccountByPkData_accountByPk_identity_udHistoryBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_identity_udHistoryBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_identity_udHistory._( + {required this.G__typename, + required this.id, + required this.amount, + required this.timestamp}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_identity_udHistory', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_identity_udHistory', 'id'); + BuiltValueNullFieldError.checkNotNull( + amount, r'GAccountByPkData_accountByPk_identity_udHistory', 'amount'); + BuiltValueNullFieldError.checkNotNull(timestamp, + r'GAccountByPkData_accountByPk_identity_udHistory', 'timestamp'); + } + + @override + GAccountByPkData_accountByPk_identity_udHistory rebuild( + void Function(GAccountByPkData_accountByPk_identity_udHistoryBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_identity_udHistoryBuilder toBuilder() => + new GAccountByPkData_accountByPk_identity_udHistoryBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_identity_udHistory && + G__typename == other.G__typename && + id == other.id && + amount == other.amount && + timestamp == other.timestamp; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_identity_udHistory') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('amount', amount) + ..add('timestamp', timestamp)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_identity_udHistoryBuilder + implements + Builder<GAccountByPkData_accountByPk_identity_udHistory, + GAccountByPkData_accountByPk_identity_udHistoryBuilder> { + _$GAccountByPkData_accountByPk_identity_udHistory? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + _i2.GtimestamptzBuilder? _timestamp; + _i2.GtimestamptzBuilder get timestamp => + _$this._timestamp ??= new _i2.GtimestamptzBuilder(); + set timestamp(_i2.GtimestamptzBuilder? timestamp) => + _$this._timestamp = timestamp; + + GAccountByPkData_accountByPk_identity_udHistoryBuilder() { + GAccountByPkData_accountByPk_identity_udHistory._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_identity_udHistoryBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _amount = $v.amount; + _timestamp = $v.timestamp.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_identity_udHistory other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_identity_udHistory; + } + + @override + void update( + void Function(GAccountByPkData_accountByPk_identity_udHistoryBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_identity_udHistory build() => _build(); + + _$GAccountByPkData_accountByPk_identity_udHistory _build() { + _$GAccountByPkData_accountByPk_identity_udHistory _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk_identity_udHistory._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_identity_udHistory', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_identity_udHistory', 'id'), + amount: BuiltValueNullFieldError.checkNotNull(amount, + r'GAccountByPkData_accountByPk_identity_udHistory', 'amount'), + timestamp: timestamp.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'timestamp'; + timestamp.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk_identity_udHistory', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_linkedIdentity + extends GAccountByPkData_accountByPk_linkedIdentity { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountByPkData_accountByPk_linkedIdentity( + [void Function(GAccountByPkData_accountByPk_linkedIdentityBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_linkedIdentityBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_linkedIdentity._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_linkedIdentity', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_linkedIdentity', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GAccountByPkData_accountByPk_linkedIdentity', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GAccountByPkData_accountByPk_linkedIdentity', 'name'); + } + + @override + GAccountByPkData_accountByPk_linkedIdentity rebuild( + void Function(GAccountByPkData_accountByPk_linkedIdentityBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_linkedIdentityBuilder toBuilder() => + new GAccountByPkData_accountByPk_linkedIdentityBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_linkedIdentity && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_linkedIdentity') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_linkedIdentityBuilder + implements + Builder<GAccountByPkData_accountByPk_linkedIdentity, + GAccountByPkData_accountByPk_linkedIdentityBuilder> { + _$GAccountByPkData_accountByPk_linkedIdentity? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountByPkData_accountByPk_linkedIdentityBuilder() { + GAccountByPkData_accountByPk_linkedIdentity._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_linkedIdentityBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_linkedIdentity other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_linkedIdentity; + } + + @override + void update( + void Function(GAccountByPkData_accountByPk_linkedIdentityBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_linkedIdentity build() => _build(); + + _$GAccountByPkData_accountByPk_linkedIdentity _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_linkedIdentity._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_linkedIdentity', 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_linkedIdentity', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull(isMember, + r'GAccountByPkData_accountByPk_linkedIdentity', 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, r'GAccountByPkData_accountByPk_linkedIdentity', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_removedIdentities + extends GAccountByPkData_accountByPk_removedIdentities { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountByPkData_accountByPk_removedIdentities( + [void Function(GAccountByPkData_accountByPk_removedIdentitiesBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_removedIdentitiesBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_removedIdentities._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_removedIdentities', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_removedIdentities', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GAccountByPkData_accountByPk_removedIdentities', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GAccountByPkData_accountByPk_removedIdentities', 'name'); + } + + @override + GAccountByPkData_accountByPk_removedIdentities rebuild( + void Function(GAccountByPkData_accountByPk_removedIdentitiesBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_removedIdentitiesBuilder toBuilder() => + new GAccountByPkData_accountByPk_removedIdentitiesBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_removedIdentities && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_removedIdentities') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_removedIdentitiesBuilder + implements + Builder<GAccountByPkData_accountByPk_removedIdentities, + GAccountByPkData_accountByPk_removedIdentitiesBuilder> { + _$GAccountByPkData_accountByPk_removedIdentities? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountByPkData_accountByPk_removedIdentitiesBuilder() { + GAccountByPkData_accountByPk_removedIdentities._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_removedIdentitiesBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_removedIdentities other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_removedIdentities; + } + + @override + void update( + void Function(GAccountByPkData_accountByPk_removedIdentitiesBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_removedIdentities build() => _build(); + + _$GAccountByPkData_accountByPk_removedIdentities _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_removedIdentities._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_removedIdentities', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_removedIdentities', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull(isMember, + r'GAccountByPkData_accountByPk_removedIdentities', 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull(name, + r'GAccountByPkData_accountByPk_removedIdentities', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_removedIdentitiesAggregate + extends GAccountByPkData_accountByPk_removedIdentitiesAggregate { + @override + final String G__typename; + @override + final GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate? + aggregate; + + factory _$GAccountByPkData_accountByPk_removedIdentitiesAggregate( + [void Function( + GAccountByPkData_accountByPk_removedIdentitiesAggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_removedIdentitiesAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_removedIdentitiesAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_removedIdentitiesAggregate', + 'G__typename'); + } + + @override + GAccountByPkData_accountByPk_removedIdentitiesAggregate rebuild( + void Function( + GAccountByPkData_accountByPk_removedIdentitiesAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_removedIdentitiesAggregateBuilder toBuilder() => + new GAccountByPkData_accountByPk_removedIdentitiesAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_removedIdentitiesAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_removedIdentitiesAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_removedIdentitiesAggregateBuilder + implements + Builder<GAccountByPkData_accountByPk_removedIdentitiesAggregate, + GAccountByPkData_accountByPk_removedIdentitiesAggregateBuilder> { + _$GAccountByPkData_accountByPk_removedIdentitiesAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateBuilder? + _aggregate; + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateBuilder(); + set aggregate( + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountByPkData_accountByPk_removedIdentitiesAggregateBuilder() { + GAccountByPkData_accountByPk_removedIdentitiesAggregate._initializeBuilder( + this); + } + + GAccountByPkData_accountByPk_removedIdentitiesAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_removedIdentitiesAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_removedIdentitiesAggregate; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_removedIdentitiesAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_removedIdentitiesAggregate build() => _build(); + + _$GAccountByPkData_accountByPk_removedIdentitiesAggregate _build() { + _$GAccountByPkData_accountByPk_removedIdentitiesAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk_removedIdentitiesAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_removedIdentitiesAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk_removedIdentitiesAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate + extends GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate', + 'count'); + } + + @override + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate rebuild( + void Function( + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateBuilder + toBuilder() => + new GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateBuilder + implements + Builder< + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate, + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateBuilder> { + _$GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateBuilder() { + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate build() => + _build(); + + _$GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_transfersIssued + extends GAccountByPkData_accountByPk_transfersIssued { + @override + final String G__typename; + @override + final int blockNumber; + @override + final _i2.Gtimestamptz timestamp; + @override + final int amount; + @override + final GAccountByPkData_accountByPk_transfersIssued_to? to; + @override + final GAccountByPkData_accountByPk_transfersIssued_from? from; + @override + final GAccountByPkData_accountByPk_transfersIssued_comment? comment; + + factory _$GAccountByPkData_accountByPk_transfersIssued( + [void Function(GAccountByPkData_accountByPk_transfersIssuedBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_transfersIssuedBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_transfersIssued._( + {required this.G__typename, + required this.blockNumber, + required this.timestamp, + required this.amount, + this.to, + this.from, + this.comment}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_transfersIssued', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountByPkData_accountByPk_transfersIssued', 'blockNumber'); + BuiltValueNullFieldError.checkNotNull(timestamp, + r'GAccountByPkData_accountByPk_transfersIssued', 'timestamp'); + BuiltValueNullFieldError.checkNotNull( + amount, r'GAccountByPkData_accountByPk_transfersIssued', 'amount'); + } + + @override + GAccountByPkData_accountByPk_transfersIssued rebuild( + void Function(GAccountByPkData_accountByPk_transfersIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_transfersIssuedBuilder toBuilder() => + new GAccountByPkData_accountByPk_transfersIssuedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_transfersIssued && + G__typename == other.G__typename && + blockNumber == other.blockNumber && + timestamp == other.timestamp && + amount == other.amount && + to == other.to && + from == other.from && + comment == other.comment; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jc(_$hash, to.hashCode); + _$hash = $jc(_$hash, from.hashCode); + _$hash = $jc(_$hash, comment.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_transfersIssued') + ..add('G__typename', G__typename) + ..add('blockNumber', blockNumber) + ..add('timestamp', timestamp) + ..add('amount', amount) + ..add('to', to) + ..add('from', from) + ..add('comment', comment)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_transfersIssuedBuilder + implements + Builder<GAccountByPkData_accountByPk_transfersIssued, + GAccountByPkData_accountByPk_transfersIssuedBuilder> { + _$GAccountByPkData_accountByPk_transfersIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + _i2.GtimestamptzBuilder? _timestamp; + _i2.GtimestamptzBuilder get timestamp => + _$this._timestamp ??= new _i2.GtimestamptzBuilder(); + set timestamp(_i2.GtimestamptzBuilder? timestamp) => + _$this._timestamp = timestamp; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + GAccountByPkData_accountByPk_transfersIssued_toBuilder? _to; + GAccountByPkData_accountByPk_transfersIssued_toBuilder get to => + _$this._to ??= + new GAccountByPkData_accountByPk_transfersIssued_toBuilder(); + set to(GAccountByPkData_accountByPk_transfersIssued_toBuilder? to) => + _$this._to = to; + + GAccountByPkData_accountByPk_transfersIssued_fromBuilder? _from; + GAccountByPkData_accountByPk_transfersIssued_fromBuilder get from => + _$this._from ??= + new GAccountByPkData_accountByPk_transfersIssued_fromBuilder(); + set from(GAccountByPkData_accountByPk_transfersIssued_fromBuilder? from) => + _$this._from = from; + + GAccountByPkData_accountByPk_transfersIssued_commentBuilder? _comment; + GAccountByPkData_accountByPk_transfersIssued_commentBuilder get comment => + _$this._comment ??= + new GAccountByPkData_accountByPk_transfersIssued_commentBuilder(); + set comment( + GAccountByPkData_accountByPk_transfersIssued_commentBuilder? + comment) => + _$this._comment = comment; + + GAccountByPkData_accountByPk_transfersIssuedBuilder() { + GAccountByPkData_accountByPk_transfersIssued._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_transfersIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _blockNumber = $v.blockNumber; + _timestamp = $v.timestamp.toBuilder(); + _amount = $v.amount; + _to = $v.to?.toBuilder(); + _from = $v.from?.toBuilder(); + _comment = $v.comment?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_transfersIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_transfersIssued; + } + + @override + void update( + void Function(GAccountByPkData_accountByPk_transfersIssuedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_transfersIssued build() => _build(); + + _$GAccountByPkData_accountByPk_transfersIssued _build() { + _$GAccountByPkData_accountByPk_transfersIssued _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk_transfersIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersIssued', + 'G__typename'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GAccountByPkData_accountByPk_transfersIssued', + 'blockNumber'), + timestamp: timestamp.build(), + amount: BuiltValueNullFieldError.checkNotNull(amount, + r'GAccountByPkData_accountByPk_transfersIssued', 'amount'), + to: _to?.build(), + from: _from?.build(), + comment: _comment?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'timestamp'; + timestamp.build(); + + _$failedField = 'to'; + _to?.build(); + _$failedField = 'from'; + _from?.build(); + _$failedField = 'comment'; + _comment?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk_transfersIssued', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_transfersIssued_to + extends GAccountByPkData_accountByPk_transfersIssued_to { + @override + final String G__typename; + @override + final String id; + + factory _$GAccountByPkData_accountByPk_transfersIssued_to( + [void Function( + GAccountByPkData_accountByPk_transfersIssued_toBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_transfersIssued_toBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_transfersIssued_to._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_transfersIssued_to', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_transfersIssued_to', 'id'); + } + + @override + GAccountByPkData_accountByPk_transfersIssued_to rebuild( + void Function(GAccountByPkData_accountByPk_transfersIssued_toBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_transfersIssued_toBuilder toBuilder() => + new GAccountByPkData_accountByPk_transfersIssued_toBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_transfersIssued_to && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_transfersIssued_to') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_transfersIssued_toBuilder + implements + Builder<GAccountByPkData_accountByPk_transfersIssued_to, + GAccountByPkData_accountByPk_transfersIssued_toBuilder> { + _$GAccountByPkData_accountByPk_transfersIssued_to? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GAccountByPkData_accountByPk_transfersIssued_toBuilder() { + GAccountByPkData_accountByPk_transfersIssued_to._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_transfersIssued_toBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_transfersIssued_to other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_transfersIssued_to; + } + + @override + void update( + void Function(GAccountByPkData_accountByPk_transfersIssued_toBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_transfersIssued_to build() => _build(); + + _$GAccountByPkData_accountByPk_transfersIssued_to _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_transfersIssued_to._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersIssued_to', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_transfersIssued_to', 'id')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_transfersIssued_from + extends GAccountByPkData_accountByPk_transfersIssued_from { + @override + final String G__typename; + @override + final String id; + + factory _$GAccountByPkData_accountByPk_transfersIssued_from( + [void Function( + GAccountByPkData_accountByPk_transfersIssued_fromBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_transfersIssued_fromBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_transfersIssued_from._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_transfersIssued_from', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_transfersIssued_from', 'id'); + } + + @override + GAccountByPkData_accountByPk_transfersIssued_from rebuild( + void Function( + GAccountByPkData_accountByPk_transfersIssued_fromBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_transfersIssued_fromBuilder toBuilder() => + new GAccountByPkData_accountByPk_transfersIssued_fromBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_transfersIssued_from && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_transfersIssued_from') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_transfersIssued_fromBuilder + implements + Builder<GAccountByPkData_accountByPk_transfersIssued_from, + GAccountByPkData_accountByPk_transfersIssued_fromBuilder> { + _$GAccountByPkData_accountByPk_transfersIssued_from? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GAccountByPkData_accountByPk_transfersIssued_fromBuilder() { + GAccountByPkData_accountByPk_transfersIssued_from._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_transfersIssued_fromBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_transfersIssued_from other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_transfersIssued_from; + } + + @override + void update( + void Function(GAccountByPkData_accountByPk_transfersIssued_fromBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_transfersIssued_from build() => _build(); + + _$GAccountByPkData_accountByPk_transfersIssued_from _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_transfersIssued_from._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersIssued_from', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull(id, + r'GAccountByPkData_accountByPk_transfersIssued_from', 'id')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_transfersIssued_comment + extends GAccountByPkData_accountByPk_transfersIssued_comment { + @override + final String G__typename; + @override + final String remark; + + factory _$GAccountByPkData_accountByPk_transfersIssued_comment( + [void Function( + GAccountByPkData_accountByPk_transfersIssued_commentBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_transfersIssued_commentBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_transfersIssued_comment._( + {required this.G__typename, required this.remark}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_transfersIssued_comment', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(remark, + r'GAccountByPkData_accountByPk_transfersIssued_comment', 'remark'); + } + + @override + GAccountByPkData_accountByPk_transfersIssued_comment rebuild( + void Function( + GAccountByPkData_accountByPk_transfersIssued_commentBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_transfersIssued_commentBuilder toBuilder() => + new GAccountByPkData_accountByPk_transfersIssued_commentBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_transfersIssued_comment && + G__typename == other.G__typename && + remark == other.remark; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, remark.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_transfersIssued_comment') + ..add('G__typename', G__typename) + ..add('remark', remark)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_transfersIssued_commentBuilder + implements + Builder<GAccountByPkData_accountByPk_transfersIssued_comment, + GAccountByPkData_accountByPk_transfersIssued_commentBuilder> { + _$GAccountByPkData_accountByPk_transfersIssued_comment? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _remark; + String? get remark => _$this._remark; + set remark(String? remark) => _$this._remark = remark; + + GAccountByPkData_accountByPk_transfersIssued_commentBuilder() { + GAccountByPkData_accountByPk_transfersIssued_comment._initializeBuilder( + this); + } + + GAccountByPkData_accountByPk_transfersIssued_commentBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _remark = $v.remark; + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_transfersIssued_comment other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_transfersIssued_comment; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_transfersIssued_commentBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_transfersIssued_comment build() => _build(); + + _$GAccountByPkData_accountByPk_transfersIssued_comment _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_transfersIssued_comment._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersIssued_comment', + 'G__typename'), + remark: BuiltValueNullFieldError.checkNotNull( + remark, + r'GAccountByPkData_accountByPk_transfersIssued_comment', + 'remark')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_transfersIssuedAggregate + extends GAccountByPkData_accountByPk_transfersIssuedAggregate { + @override + final String G__typename; + @override + final GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate? + aggregate; + + factory _$GAccountByPkData_accountByPk_transfersIssuedAggregate( + [void Function( + GAccountByPkData_accountByPk_transfersIssuedAggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_transfersIssuedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_transfersIssuedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersIssuedAggregate', + 'G__typename'); + } + + @override + GAccountByPkData_accountByPk_transfersIssuedAggregate rebuild( + void Function( + GAccountByPkData_accountByPk_transfersIssuedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_transfersIssuedAggregateBuilder toBuilder() => + new GAccountByPkData_accountByPk_transfersIssuedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_transfersIssuedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_transfersIssuedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_transfersIssuedAggregateBuilder + implements + Builder<GAccountByPkData_accountByPk_transfersIssuedAggregate, + GAccountByPkData_accountByPk_transfersIssuedAggregateBuilder> { + _$GAccountByPkData_accountByPk_transfersIssuedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateBuilder? + _aggregate; + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateBuilder(); + set aggregate( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountByPkData_accountByPk_transfersIssuedAggregateBuilder() { + GAccountByPkData_accountByPk_transfersIssuedAggregate._initializeBuilder( + this); + } + + GAccountByPkData_accountByPk_transfersIssuedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_transfersIssuedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_transfersIssuedAggregate; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_transfersIssuedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_transfersIssuedAggregate build() => _build(); + + _$GAccountByPkData_accountByPk_transfersIssuedAggregate _build() { + _$GAccountByPkData_accountByPk_transfersIssuedAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk_transfersIssuedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersIssuedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk_transfersIssuedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate + extends GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate { + @override + final String G__typename; + @override + final GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum? + sum; + @override + final int count; + + factory _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate._( + {required this.G__typename, this.sum, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate', + 'count'); + } + + @override + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate rebuild( + void Function( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateBuilder + toBuilder() => + new GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate && + G__typename == other.G__typename && + sum == other.sum && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, sum.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('sum', sum) + ..add('count', count)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateBuilder + implements + Builder<GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate, + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateBuilder> { + _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumBuilder? + _sum; + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumBuilder + get sum => _$this._sum ??= + new GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumBuilder(); + set sum( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumBuilder? + sum) => + _$this._sum = sum; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateBuilder() { + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _sum = $v.sum?.toBuilder(); + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate build() => + _build(); + + _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate _build() { + _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate', + 'G__typename'), + sum: _sum?.build(), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate', + 'count')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'sum'; + _sum?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum + extends GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum { + @override + final String G__typename; + @override + final int? amount; + + factory _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum( + [void Function( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum._( + {required this.G__typename, this.amount}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum', + 'G__typename'); + } + + @override + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum rebuild( + void Function( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumBuilder + toBuilder() => + new GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum && + G__typename == other.G__typename && + amount == other.amount; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum') + ..add('G__typename', G__typename) + ..add('amount', amount)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumBuilder + implements + Builder< + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum, + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumBuilder> { + _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumBuilder() { + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _amount = $v.amount; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sumBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum build() => + _build(); + + _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum + _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum', + 'G__typename'), + amount: amount); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_transfersReceived + extends GAccountByPkData_accountByPk_transfersReceived { + @override + final String G__typename; + @override + final int blockNumber; + @override + final _i2.Gtimestamptz timestamp; + @override + final int amount; + @override + final GAccountByPkData_accountByPk_transfersReceived_to? to; + @override + final GAccountByPkData_accountByPk_transfersReceived_from? from; + @override + final GAccountByPkData_accountByPk_transfersReceived_comment? comment; + + factory _$GAccountByPkData_accountByPk_transfersReceived( + [void Function(GAccountByPkData_accountByPk_transfersReceivedBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_transfersReceivedBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_transfersReceived._( + {required this.G__typename, + required this.blockNumber, + required this.timestamp, + required this.amount, + this.to, + this.from, + this.comment}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_transfersReceived', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountByPkData_accountByPk_transfersReceived', 'blockNumber'); + BuiltValueNullFieldError.checkNotNull(timestamp, + r'GAccountByPkData_accountByPk_transfersReceived', 'timestamp'); + BuiltValueNullFieldError.checkNotNull( + amount, r'GAccountByPkData_accountByPk_transfersReceived', 'amount'); + } + + @override + GAccountByPkData_accountByPk_transfersReceived rebuild( + void Function(GAccountByPkData_accountByPk_transfersReceivedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_transfersReceivedBuilder toBuilder() => + new GAccountByPkData_accountByPk_transfersReceivedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_transfersReceived && + G__typename == other.G__typename && + blockNumber == other.blockNumber && + timestamp == other.timestamp && + amount == other.amount && + to == other.to && + from == other.from && + comment == other.comment; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jc(_$hash, to.hashCode); + _$hash = $jc(_$hash, from.hashCode); + _$hash = $jc(_$hash, comment.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_transfersReceived') + ..add('G__typename', G__typename) + ..add('blockNumber', blockNumber) + ..add('timestamp', timestamp) + ..add('amount', amount) + ..add('to', to) + ..add('from', from) + ..add('comment', comment)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_transfersReceivedBuilder + implements + Builder<GAccountByPkData_accountByPk_transfersReceived, + GAccountByPkData_accountByPk_transfersReceivedBuilder> { + _$GAccountByPkData_accountByPk_transfersReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + _i2.GtimestamptzBuilder? _timestamp; + _i2.GtimestamptzBuilder get timestamp => + _$this._timestamp ??= new _i2.GtimestamptzBuilder(); + set timestamp(_i2.GtimestamptzBuilder? timestamp) => + _$this._timestamp = timestamp; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + GAccountByPkData_accountByPk_transfersReceived_toBuilder? _to; + GAccountByPkData_accountByPk_transfersReceived_toBuilder get to => + _$this._to ??= + new GAccountByPkData_accountByPk_transfersReceived_toBuilder(); + set to(GAccountByPkData_accountByPk_transfersReceived_toBuilder? to) => + _$this._to = to; + + GAccountByPkData_accountByPk_transfersReceived_fromBuilder? _from; + GAccountByPkData_accountByPk_transfersReceived_fromBuilder get from => + _$this._from ??= + new GAccountByPkData_accountByPk_transfersReceived_fromBuilder(); + set from(GAccountByPkData_accountByPk_transfersReceived_fromBuilder? from) => + _$this._from = from; + + GAccountByPkData_accountByPk_transfersReceived_commentBuilder? _comment; + GAccountByPkData_accountByPk_transfersReceived_commentBuilder get comment => + _$this._comment ??= + new GAccountByPkData_accountByPk_transfersReceived_commentBuilder(); + set comment( + GAccountByPkData_accountByPk_transfersReceived_commentBuilder? + comment) => + _$this._comment = comment; + + GAccountByPkData_accountByPk_transfersReceivedBuilder() { + GAccountByPkData_accountByPk_transfersReceived._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_transfersReceivedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _blockNumber = $v.blockNumber; + _timestamp = $v.timestamp.toBuilder(); + _amount = $v.amount; + _to = $v.to?.toBuilder(); + _from = $v.from?.toBuilder(); + _comment = $v.comment?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_transfersReceived other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_transfersReceived; + } + + @override + void update( + void Function(GAccountByPkData_accountByPk_transfersReceivedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_transfersReceived build() => _build(); + + _$GAccountByPkData_accountByPk_transfersReceived _build() { + _$GAccountByPkData_accountByPk_transfersReceived _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk_transfersReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersReceived', + 'G__typename'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GAccountByPkData_accountByPk_transfersReceived', + 'blockNumber'), + timestamp: timestamp.build(), + amount: BuiltValueNullFieldError.checkNotNull(amount, + r'GAccountByPkData_accountByPk_transfersReceived', 'amount'), + to: _to?.build(), + from: _from?.build(), + comment: _comment?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'timestamp'; + timestamp.build(); + + _$failedField = 'to'; + _to?.build(); + _$failedField = 'from'; + _from?.build(); + _$failedField = 'comment'; + _comment?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk_transfersReceived', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_transfersReceived_to + extends GAccountByPkData_accountByPk_transfersReceived_to { + @override + final String G__typename; + @override + final String id; + + factory _$GAccountByPkData_accountByPk_transfersReceived_to( + [void Function( + GAccountByPkData_accountByPk_transfersReceived_toBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_transfersReceived_toBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_transfersReceived_to._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_transfersReceived_to', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_transfersReceived_to', 'id'); + } + + @override + GAccountByPkData_accountByPk_transfersReceived_to rebuild( + void Function( + GAccountByPkData_accountByPk_transfersReceived_toBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_transfersReceived_toBuilder toBuilder() => + new GAccountByPkData_accountByPk_transfersReceived_toBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_transfersReceived_to && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_transfersReceived_to') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_transfersReceived_toBuilder + implements + Builder<GAccountByPkData_accountByPk_transfersReceived_to, + GAccountByPkData_accountByPk_transfersReceived_toBuilder> { + _$GAccountByPkData_accountByPk_transfersReceived_to? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GAccountByPkData_accountByPk_transfersReceived_toBuilder() { + GAccountByPkData_accountByPk_transfersReceived_to._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_transfersReceived_toBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_transfersReceived_to other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_transfersReceived_to; + } + + @override + void update( + void Function(GAccountByPkData_accountByPk_transfersReceived_toBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_transfersReceived_to build() => _build(); + + _$GAccountByPkData_accountByPk_transfersReceived_to _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_transfersReceived_to._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersReceived_to', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull(id, + r'GAccountByPkData_accountByPk_transfersReceived_to', 'id')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_transfersReceived_from + extends GAccountByPkData_accountByPk_transfersReceived_from { + @override + final String G__typename; + @override + final String id; + + factory _$GAccountByPkData_accountByPk_transfersReceived_from( + [void Function( + GAccountByPkData_accountByPk_transfersReceived_fromBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_transfersReceived_fromBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_transfersReceived_from._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_transfersReceived_from', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_transfersReceived_from', 'id'); + } + + @override + GAccountByPkData_accountByPk_transfersReceived_from rebuild( + void Function( + GAccountByPkData_accountByPk_transfersReceived_fromBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_transfersReceived_fromBuilder toBuilder() => + new GAccountByPkData_accountByPk_transfersReceived_fromBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_transfersReceived_from && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_transfersReceived_from') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_transfersReceived_fromBuilder + implements + Builder<GAccountByPkData_accountByPk_transfersReceived_from, + GAccountByPkData_accountByPk_transfersReceived_fromBuilder> { + _$GAccountByPkData_accountByPk_transfersReceived_from? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GAccountByPkData_accountByPk_transfersReceived_fromBuilder() { + GAccountByPkData_accountByPk_transfersReceived_from._initializeBuilder( + this); + } + + GAccountByPkData_accountByPk_transfersReceived_fromBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_transfersReceived_from other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_transfersReceived_from; + } + + @override + void update( + void Function(GAccountByPkData_accountByPk_transfersReceived_fromBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_transfersReceived_from build() => _build(); + + _$GAccountByPkData_accountByPk_transfersReceived_from _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_transfersReceived_from._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersReceived_from', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull(id, + r'GAccountByPkData_accountByPk_transfersReceived_from', 'id')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_transfersReceived_comment + extends GAccountByPkData_accountByPk_transfersReceived_comment { + @override + final String G__typename; + @override + final String remark; + + factory _$GAccountByPkData_accountByPk_transfersReceived_comment( + [void Function( + GAccountByPkData_accountByPk_transfersReceived_commentBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_transfersReceived_commentBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_transfersReceived_comment._( + {required this.G__typename, required this.remark}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersReceived_comment', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull(remark, + r'GAccountByPkData_accountByPk_transfersReceived_comment', 'remark'); + } + + @override + GAccountByPkData_accountByPk_transfersReceived_comment rebuild( + void Function( + GAccountByPkData_accountByPk_transfersReceived_commentBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_transfersReceived_commentBuilder toBuilder() => + new GAccountByPkData_accountByPk_transfersReceived_commentBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_transfersReceived_comment && + G__typename == other.G__typename && + remark == other.remark; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, remark.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_transfersReceived_comment') + ..add('G__typename', G__typename) + ..add('remark', remark)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_transfersReceived_commentBuilder + implements + Builder<GAccountByPkData_accountByPk_transfersReceived_comment, + GAccountByPkData_accountByPk_transfersReceived_commentBuilder> { + _$GAccountByPkData_accountByPk_transfersReceived_comment? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _remark; + String? get remark => _$this._remark; + set remark(String? remark) => _$this._remark = remark; + + GAccountByPkData_accountByPk_transfersReceived_commentBuilder() { + GAccountByPkData_accountByPk_transfersReceived_comment._initializeBuilder( + this); + } + + GAccountByPkData_accountByPk_transfersReceived_commentBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _remark = $v.remark; + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_transfersReceived_comment other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_transfersReceived_comment; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_transfersReceived_commentBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_transfersReceived_comment build() => _build(); + + _$GAccountByPkData_accountByPk_transfersReceived_comment _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_transfersReceived_comment._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersReceived_comment', + 'G__typename'), + remark: BuiltValueNullFieldError.checkNotNull( + remark, + r'GAccountByPkData_accountByPk_transfersReceived_comment', + 'remark')); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_transfersReceivedAggregate + extends GAccountByPkData_accountByPk_transfersReceivedAggregate { + @override + final String G__typename; + @override + final GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate? + aggregate; + + factory _$GAccountByPkData_accountByPk_transfersReceivedAggregate( + [void Function( + GAccountByPkData_accountByPk_transfersReceivedAggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_transfersReceivedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_transfersReceivedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersReceivedAggregate', + 'G__typename'); + } + + @override + GAccountByPkData_accountByPk_transfersReceivedAggregate rebuild( + void Function( + GAccountByPkData_accountByPk_transfersReceivedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_transfersReceivedAggregateBuilder toBuilder() => + new GAccountByPkData_accountByPk_transfersReceivedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_transfersReceivedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_transfersReceivedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_transfersReceivedAggregateBuilder + implements + Builder<GAccountByPkData_accountByPk_transfersReceivedAggregate, + GAccountByPkData_accountByPk_transfersReceivedAggregateBuilder> { + _$GAccountByPkData_accountByPk_transfersReceivedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateBuilder? + _aggregate; + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateBuilder(); + set aggregate( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountByPkData_accountByPk_transfersReceivedAggregateBuilder() { + GAccountByPkData_accountByPk_transfersReceivedAggregate._initializeBuilder( + this); + } + + GAccountByPkData_accountByPk_transfersReceivedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_transfersReceivedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_transfersReceivedAggregate; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_transfersReceivedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_transfersReceivedAggregate build() => _build(); + + _$GAccountByPkData_accountByPk_transfersReceivedAggregate _build() { + _$GAccountByPkData_accountByPk_transfersReceivedAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk_transfersReceivedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersReceivedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk_transfersReceivedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate + extends GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate { + @override + final String G__typename; + @override + final GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum? + sum; + @override + final int count; + + factory _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate._( + {required this.G__typename, this.sum, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate', + 'count'); + } + + @override + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate rebuild( + void Function( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateBuilder + toBuilder() => + new GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate && + G__typename == other.G__typename && + sum == other.sum && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, sum.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('sum', sum) + ..add('count', count)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateBuilder + implements + Builder< + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate, + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateBuilder> { + _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumBuilder? + _sum; + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumBuilder + get sum => _$this._sum ??= + new GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumBuilder(); + set sum( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumBuilder? + sum) => + _$this._sum = sum; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateBuilder() { + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _sum = $v.sum?.toBuilder(); + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate build() => + _build(); + + _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate _build() { + _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate + _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate', + 'G__typename'), + sum: _sum?.build(), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate', + 'count')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'sum'; + _sum?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum + extends GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum { + @override + final String G__typename; + @override + final int? amount; + + factory _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum( + [void Function( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum._( + {required this.G__typename, this.amount}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum', + 'G__typename'); + } + + @override + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum rebuild( + void Function( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumBuilder + toBuilder() => + new GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum && + G__typename == other.G__typename && + amount == other.amount; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum') + ..add('G__typename', G__typename) + ..add('amount', amount)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumBuilder + implements + Builder< + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum, + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumBuilder> { + _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumBuilder() { + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _amount = $v.amount; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sumBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum + build() => _build(); + + _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum + _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum', + 'G__typename'), + amount: amount); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_wasIdentity + extends GAccountByPkData_accountByPk_wasIdentity { + @override + final String G__typename; + @override + final String id; + @override + final int blockNumber; + @override + final String? identityId; + @override + final String? nextId; + @override + final String? previousId; + + factory _$GAccountByPkData_accountByPk_wasIdentity( + [void Function(GAccountByPkData_accountByPk_wasIdentityBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_wasIdentityBuilder()..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_wasIdentity._( + {required this.G__typename, + required this.id, + required this.blockNumber, + this.identityId, + this.nextId, + this.previousId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_wasIdentity', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_wasIdentity', 'id'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountByPkData_accountByPk_wasIdentity', 'blockNumber'); + } + + @override + GAccountByPkData_accountByPk_wasIdentity rebuild( + void Function(GAccountByPkData_accountByPk_wasIdentityBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_wasIdentityBuilder toBuilder() => + new GAccountByPkData_accountByPk_wasIdentityBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_wasIdentity && + G__typename == other.G__typename && + id == other.id && + blockNumber == other.blockNumber && + identityId == other.identityId && + nextId == other.nextId && + previousId == other.previousId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jc(_$hash, nextId.hashCode); + _$hash = $jc(_$hash, previousId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_wasIdentity') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('blockNumber', blockNumber) + ..add('identityId', identityId) + ..add('nextId', nextId) + ..add('previousId', previousId)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_wasIdentityBuilder + implements + Builder<GAccountByPkData_accountByPk_wasIdentity, + GAccountByPkData_accountByPk_wasIdentityBuilder> { + _$GAccountByPkData_accountByPk_wasIdentity? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + String? _nextId; + String? get nextId => _$this._nextId; + set nextId(String? nextId) => _$this._nextId = nextId; + + String? _previousId; + String? get previousId => _$this._previousId; + set previousId(String? previousId) => _$this._previousId = previousId; + + GAccountByPkData_accountByPk_wasIdentityBuilder() { + GAccountByPkData_accountByPk_wasIdentity._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_wasIdentityBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _blockNumber = $v.blockNumber; + _identityId = $v.identityId; + _nextId = $v.nextId; + _previousId = $v.previousId; + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_wasIdentity other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_wasIdentity; + } + + @override + void update( + void Function(GAccountByPkData_accountByPk_wasIdentityBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_wasIdentity build() => _build(); + + _$GAccountByPkData_accountByPk_wasIdentity _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_wasIdentity._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_wasIdentity', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkData_accountByPk_wasIdentity', 'id'), + blockNumber: BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountByPkData_accountByPk_wasIdentity', 'blockNumber'), + identityId: identityId, + nextId: nextId, + previousId: previousId); + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_wasIdentityAggregate + extends GAccountByPkData_accountByPk_wasIdentityAggregate { + @override + final String G__typename; + @override + final GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate? aggregate; + + factory _$GAccountByPkData_accountByPk_wasIdentityAggregate( + [void Function( + GAccountByPkData_accountByPk_wasIdentityAggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_wasIdentityAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_wasIdentityAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountByPkData_accountByPk_wasIdentityAggregate', 'G__typename'); + } + + @override + GAccountByPkData_accountByPk_wasIdentityAggregate rebuild( + void Function( + GAccountByPkData_accountByPk_wasIdentityAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_wasIdentityAggregateBuilder toBuilder() => + new GAccountByPkData_accountByPk_wasIdentityAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountByPkData_accountByPk_wasIdentityAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_wasIdentityAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_wasIdentityAggregateBuilder + implements + Builder<GAccountByPkData_accountByPk_wasIdentityAggregate, + GAccountByPkData_accountByPk_wasIdentityAggregateBuilder> { + _$GAccountByPkData_accountByPk_wasIdentityAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateBuilder? + _aggregate; + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateBuilder(); + set aggregate( + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountByPkData_accountByPk_wasIdentityAggregateBuilder() { + GAccountByPkData_accountByPk_wasIdentityAggregate._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_wasIdentityAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkData_accountByPk_wasIdentityAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkData_accountByPk_wasIdentityAggregate; + } + + @override + void update( + void Function(GAccountByPkData_accountByPk_wasIdentityAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_wasIdentityAggregate build() => _build(); + + _$GAccountByPkData_accountByPk_wasIdentityAggregate _build() { + _$GAccountByPkData_accountByPk_wasIdentityAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountByPkData_accountByPk_wasIdentityAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_wasIdentityAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkData_accountByPk_wasIdentityAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate + extends GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate( + [void Function( + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateBuilder)? + updates]) => + (new GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate', + 'count'); + } + + @override + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate rebuild( + void Function( + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateBuilder + toBuilder() => + new GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateBuilder + implements + Builder<GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate, + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateBuilder> { + _$GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateBuilder() { + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = + other as _$GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate build() => + _build(); + + _$GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountBasicByPkData extends GAccountBasicByPkData { + @override + final String G__typename; + @override + final GAccountBasicByPkData_accountByPk? accountByPk; + + factory _$GAccountBasicByPkData( + [void Function(GAccountBasicByPkDataBuilder)? updates]) => + (new GAccountBasicByPkDataBuilder()..update(updates))._build(); + + _$GAccountBasicByPkData._({required this.G__typename, this.accountByPk}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountBasicByPkData', 'G__typename'); + } + + @override + GAccountBasicByPkData rebuild( + void Function(GAccountBasicByPkDataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountBasicByPkDataBuilder toBuilder() => + new GAccountBasicByPkDataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountBasicByPkData && + G__typename == other.G__typename && + accountByPk == other.accountByPk; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountByPk.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountBasicByPkData') + ..add('G__typename', G__typename) + ..add('accountByPk', accountByPk)) + .toString(); + } +} + +class GAccountBasicByPkDataBuilder + implements Builder<GAccountBasicByPkData, GAccountBasicByPkDataBuilder> { + _$GAccountBasicByPkData? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountBasicByPkData_accountByPkBuilder? _accountByPk; + GAccountBasicByPkData_accountByPkBuilder get accountByPk => + _$this._accountByPk ??= new GAccountBasicByPkData_accountByPkBuilder(); + set accountByPk(GAccountBasicByPkData_accountByPkBuilder? accountByPk) => + _$this._accountByPk = accountByPk; + + GAccountBasicByPkDataBuilder() { + GAccountBasicByPkData._initializeBuilder(this); + } + + GAccountBasicByPkDataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountByPk = $v.accountByPk?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountBasicByPkData other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountBasicByPkData; + } + + @override + void update(void Function(GAccountBasicByPkDataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountBasicByPkData build() => _build(); + + _$GAccountBasicByPkData _build() { + _$GAccountBasicByPkData _$result; + try { + _$result = _$v ?? + new _$GAccountBasicByPkData._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountBasicByPkData', 'G__typename'), + accountByPk: _accountByPk?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'accountByPk'; + _accountByPk?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountBasicByPkData', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountBasicByPkData_accountByPk + extends GAccountBasicByPkData_accountByPk { + @override + final String G__typename; + @override + final int createdOn; + @override + final String id; + @override + final GAccountBasicByPkData_accountByPk_identity? identity; + @override + final bool isActive; + + factory _$GAccountBasicByPkData_accountByPk( + [void Function(GAccountBasicByPkData_accountByPkBuilder)? updates]) => + (new GAccountBasicByPkData_accountByPkBuilder()..update(updates)) + ._build(); + + _$GAccountBasicByPkData_accountByPk._( + {required this.G__typename, + required this.createdOn, + required this.id, + this.identity, + required this.isActive}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountBasicByPkData_accountByPk', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountBasicByPkData_accountByPk', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountBasicByPkData_accountByPk', 'id'); + BuiltValueNullFieldError.checkNotNull( + isActive, r'GAccountBasicByPkData_accountByPk', 'isActive'); + } + + @override + GAccountBasicByPkData_accountByPk rebuild( + void Function(GAccountBasicByPkData_accountByPkBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountBasicByPkData_accountByPkBuilder toBuilder() => + new GAccountBasicByPkData_accountByPkBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountBasicByPkData_accountByPk && + G__typename == other.G__typename && + createdOn == other.createdOn && + id == other.id && + identity == other.identity && + isActive == other.isActive; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, identity.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountBasicByPkData_accountByPk') + ..add('G__typename', G__typename) + ..add('createdOn', createdOn) + ..add('id', id) + ..add('identity', identity) + ..add('isActive', isActive)) + .toString(); + } +} + +class GAccountBasicByPkData_accountByPkBuilder + implements + Builder<GAccountBasicByPkData_accountByPk, + GAccountBasicByPkData_accountByPkBuilder> { + _$GAccountBasicByPkData_accountByPk? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GAccountBasicByPkData_accountByPk_identityBuilder? _identity; + GAccountBasicByPkData_accountByPk_identityBuilder get identity => + _$this._identity ??= + new GAccountBasicByPkData_accountByPk_identityBuilder(); + set identity(GAccountBasicByPkData_accountByPk_identityBuilder? identity) => + _$this._identity = identity; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + GAccountBasicByPkData_accountByPkBuilder() { + GAccountBasicByPkData_accountByPk._initializeBuilder(this); + } + + GAccountBasicByPkData_accountByPkBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _createdOn = $v.createdOn; + _id = $v.id; + _identity = $v.identity?.toBuilder(); + _isActive = $v.isActive; + _$v = null; + } + return this; + } + + @override + void replace(GAccountBasicByPkData_accountByPk other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountBasicByPkData_accountByPk; + } + + @override + void update( + void Function(GAccountBasicByPkData_accountByPkBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountBasicByPkData_accountByPk build() => _build(); + + _$GAccountBasicByPkData_accountByPk _build() { + _$GAccountBasicByPkData_accountByPk _$result; + try { + _$result = _$v ?? + new _$GAccountBasicByPkData_accountByPk._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountBasicByPkData_accountByPk', 'G__typename'), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountBasicByPkData_accountByPk', 'createdOn'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountBasicByPkData_accountByPk', 'id'), + identity: _identity?.build(), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GAccountBasicByPkData_accountByPk', 'isActive')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'identity'; + _identity?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountBasicByPkData_accountByPk', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountBasicByPkData_accountByPk_identity + extends GAccountBasicByPkData_accountByPk_identity { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountBasicByPkData_accountByPk_identity( + [void Function(GAccountBasicByPkData_accountByPk_identityBuilder)? + updates]) => + (new GAccountBasicByPkData_accountByPk_identityBuilder()..update(updates)) + ._build(); + + _$GAccountBasicByPkData_accountByPk_identity._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountBasicByPkData_accountByPk_identity', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountBasicByPkData_accountByPk_identity', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GAccountBasicByPkData_accountByPk_identity', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GAccountBasicByPkData_accountByPk_identity', 'name'); + } + + @override + GAccountBasicByPkData_accountByPk_identity rebuild( + void Function(GAccountBasicByPkData_accountByPk_identityBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountBasicByPkData_accountByPk_identityBuilder toBuilder() => + new GAccountBasicByPkData_accountByPk_identityBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountBasicByPkData_accountByPk_identity && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountBasicByPkData_accountByPk_identity') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountBasicByPkData_accountByPk_identityBuilder + implements + Builder<GAccountBasicByPkData_accountByPk_identity, + GAccountBasicByPkData_accountByPk_identityBuilder> { + _$GAccountBasicByPkData_accountByPk_identity? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountBasicByPkData_accountByPk_identityBuilder() { + GAccountBasicByPkData_accountByPk_identity._initializeBuilder(this); + } + + GAccountBasicByPkData_accountByPk_identityBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GAccountBasicByPkData_accountByPk_identity other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountBasicByPkData_accountByPk_identity; + } + + @override + void update( + void Function(GAccountBasicByPkData_accountByPk_identityBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountBasicByPkData_accountByPk_identity build() => _build(); + + _$GAccountBasicByPkData_accountByPk_identity _build() { + final _$result = _$v ?? + new _$GAccountBasicByPkData_accountByPk_identity._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountBasicByPkData_accountByPk_identity', 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountBasicByPkData_accountByPk_identity', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull(isMember, + r'GAccountBasicByPkData_accountByPk_identity', 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, r'GAccountBasicByPkData_accountByPk_identity', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData extends GAccountsByPkData { + @override + final String G__typename; + @override + final BuiltList<GAccountsByPkData_account> account; + + factory _$GAccountsByPkData( + [void Function(GAccountsByPkDataBuilder)? updates]) => + (new GAccountsByPkDataBuilder()..update(updates))._build(); + + _$GAccountsByPkData._({required this.G__typename, required this.account}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountsByPkData', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + account, r'GAccountsByPkData', 'account'); + } + + @override + GAccountsByPkData rebuild(void Function(GAccountsByPkDataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkDataBuilder toBuilder() => + new GAccountsByPkDataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData && + G__typename == other.G__typename && + account == other.account; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, account.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountsByPkData') + ..add('G__typename', G__typename) + ..add('account', account)) + .toString(); + } +} + +class GAccountsByPkDataBuilder + implements Builder<GAccountsByPkData, GAccountsByPkDataBuilder> { + _$GAccountsByPkData? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + ListBuilder<GAccountsByPkData_account>? _account; + ListBuilder<GAccountsByPkData_account> get account => + _$this._account ??= new ListBuilder<GAccountsByPkData_account>(); + set account(ListBuilder<GAccountsByPkData_account>? account) => + _$this._account = account; + + GAccountsByPkDataBuilder() { + GAccountsByPkData._initializeBuilder(this); + } + + GAccountsByPkDataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _account = $v.account.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData; + } + + @override + void update(void Function(GAccountsByPkDataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData build() => _build(); + + _$GAccountsByPkData _build() { + _$GAccountsByPkData _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountsByPkData', 'G__typename'), + account: account.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'account'; + account.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account extends GAccountsByPkData_account { + @override + final String G__typename; + @override + final BuiltList<GAccountsByPkData_account_commentsIssued> commentsIssued; + @override + final GAccountsByPkData_account_commentsIssuedAggregate + commentsIssuedAggregate; + @override + final int createdOn; + @override + final String id; + @override + final GAccountsByPkData_account_identity? identity; + @override + final bool isActive; + @override + final GAccountsByPkData_account_linkedIdentity? linkedIdentity; + @override + final BuiltList<GAccountsByPkData_account_removedIdentities> + removedIdentities; + @override + final GAccountsByPkData_account_removedIdentitiesAggregate + removedIdentitiesAggregate; + @override + final BuiltList<GAccountsByPkData_account_transfersIssued> transfersIssued; + @override + final GAccountsByPkData_account_transfersIssuedAggregate + transfersIssuedAggregate; + @override + final BuiltList<GAccountsByPkData_account_transfersReceived> + transfersReceived; + @override + final GAccountsByPkData_account_transfersReceivedAggregate + transfersReceivedAggregate; + @override + final BuiltList<GAccountsByPkData_account_wasIdentity> wasIdentity; + @override + final GAccountsByPkData_account_wasIdentityAggregate wasIdentityAggregate; + + factory _$GAccountsByPkData_account( + [void Function(GAccountsByPkData_accountBuilder)? updates]) => + (new GAccountsByPkData_accountBuilder()..update(updates))._build(); + + _$GAccountsByPkData_account._( + {required this.G__typename, + required this.commentsIssued, + required this.commentsIssuedAggregate, + required this.createdOn, + required this.id, + this.identity, + required this.isActive, + this.linkedIdentity, + required this.removedIdentities, + required this.removedIdentitiesAggregate, + required this.transfersIssued, + required this.transfersIssuedAggregate, + required this.transfersReceived, + required this.transfersReceivedAggregate, + required this.wasIdentity, + required this.wasIdentityAggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountsByPkData_account', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + commentsIssued, r'GAccountsByPkData_account', 'commentsIssued'); + BuiltValueNullFieldError.checkNotNull(commentsIssuedAggregate, + r'GAccountsByPkData_account', 'commentsIssuedAggregate'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountsByPkData_account', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account', 'id'); + BuiltValueNullFieldError.checkNotNull( + isActive, r'GAccountsByPkData_account', 'isActive'); + BuiltValueNullFieldError.checkNotNull( + removedIdentities, r'GAccountsByPkData_account', 'removedIdentities'); + BuiltValueNullFieldError.checkNotNull(removedIdentitiesAggregate, + r'GAccountsByPkData_account', 'removedIdentitiesAggregate'); + BuiltValueNullFieldError.checkNotNull( + transfersIssued, r'GAccountsByPkData_account', 'transfersIssued'); + BuiltValueNullFieldError.checkNotNull(transfersIssuedAggregate, + r'GAccountsByPkData_account', 'transfersIssuedAggregate'); + BuiltValueNullFieldError.checkNotNull( + transfersReceived, r'GAccountsByPkData_account', 'transfersReceived'); + BuiltValueNullFieldError.checkNotNull(transfersReceivedAggregate, + r'GAccountsByPkData_account', 'transfersReceivedAggregate'); + BuiltValueNullFieldError.checkNotNull( + wasIdentity, r'GAccountsByPkData_account', 'wasIdentity'); + BuiltValueNullFieldError.checkNotNull(wasIdentityAggregate, + r'GAccountsByPkData_account', 'wasIdentityAggregate'); + } + + @override + GAccountsByPkData_account rebuild( + void Function(GAccountsByPkData_accountBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_accountBuilder toBuilder() => + new GAccountsByPkData_accountBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account && + G__typename == other.G__typename && + commentsIssued == other.commentsIssued && + commentsIssuedAggregate == other.commentsIssuedAggregate && + createdOn == other.createdOn && + id == other.id && + identity == other.identity && + isActive == other.isActive && + linkedIdentity == other.linkedIdentity && + removedIdentities == other.removedIdentities && + removedIdentitiesAggregate == other.removedIdentitiesAggregate && + transfersIssued == other.transfersIssued && + transfersIssuedAggregate == other.transfersIssuedAggregate && + transfersReceived == other.transfersReceived && + transfersReceivedAggregate == other.transfersReceivedAggregate && + wasIdentity == other.wasIdentity && + wasIdentityAggregate == other.wasIdentityAggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, commentsIssued.hashCode); + _$hash = $jc(_$hash, commentsIssuedAggregate.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, identity.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, linkedIdentity.hashCode); + _$hash = $jc(_$hash, removedIdentities.hashCode); + _$hash = $jc(_$hash, removedIdentitiesAggregate.hashCode); + _$hash = $jc(_$hash, transfersIssued.hashCode); + _$hash = $jc(_$hash, transfersIssuedAggregate.hashCode); + _$hash = $jc(_$hash, transfersReceived.hashCode); + _$hash = $jc(_$hash, transfersReceivedAggregate.hashCode); + _$hash = $jc(_$hash, wasIdentity.hashCode); + _$hash = $jc(_$hash, wasIdentityAggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountsByPkData_account') + ..add('G__typename', G__typename) + ..add('commentsIssued', commentsIssued) + ..add('commentsIssuedAggregate', commentsIssuedAggregate) + ..add('createdOn', createdOn) + ..add('id', id) + ..add('identity', identity) + ..add('isActive', isActive) + ..add('linkedIdentity', linkedIdentity) + ..add('removedIdentities', removedIdentities) + ..add('removedIdentitiesAggregate', removedIdentitiesAggregate) + ..add('transfersIssued', transfersIssued) + ..add('transfersIssuedAggregate', transfersIssuedAggregate) + ..add('transfersReceived', transfersReceived) + ..add('transfersReceivedAggregate', transfersReceivedAggregate) + ..add('wasIdentity', wasIdentity) + ..add('wasIdentityAggregate', wasIdentityAggregate)) + .toString(); + } +} + +class GAccountsByPkData_accountBuilder + implements + Builder<GAccountsByPkData_account, GAccountsByPkData_accountBuilder> { + _$GAccountsByPkData_account? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + ListBuilder<GAccountsByPkData_account_commentsIssued>? _commentsIssued; + ListBuilder<GAccountsByPkData_account_commentsIssued> get commentsIssued => + _$this._commentsIssued ??= + new ListBuilder<GAccountsByPkData_account_commentsIssued>(); + set commentsIssued( + ListBuilder<GAccountsByPkData_account_commentsIssued>? + commentsIssued) => + _$this._commentsIssued = commentsIssued; + + GAccountsByPkData_account_commentsIssuedAggregateBuilder? + _commentsIssuedAggregate; + GAccountsByPkData_account_commentsIssuedAggregateBuilder + get commentsIssuedAggregate => _$this._commentsIssuedAggregate ??= + new GAccountsByPkData_account_commentsIssuedAggregateBuilder(); + set commentsIssuedAggregate( + GAccountsByPkData_account_commentsIssuedAggregateBuilder? + commentsIssuedAggregate) => + _$this._commentsIssuedAggregate = commentsIssuedAggregate; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GAccountsByPkData_account_identityBuilder? _identity; + GAccountsByPkData_account_identityBuilder get identity => + _$this._identity ??= new GAccountsByPkData_account_identityBuilder(); + set identity(GAccountsByPkData_account_identityBuilder? identity) => + _$this._identity = identity; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + GAccountsByPkData_account_linkedIdentityBuilder? _linkedIdentity; + GAccountsByPkData_account_linkedIdentityBuilder get linkedIdentity => + _$this._linkedIdentity ??= + new GAccountsByPkData_account_linkedIdentityBuilder(); + set linkedIdentity( + GAccountsByPkData_account_linkedIdentityBuilder? linkedIdentity) => + _$this._linkedIdentity = linkedIdentity; + + ListBuilder<GAccountsByPkData_account_removedIdentities>? _removedIdentities; + ListBuilder<GAccountsByPkData_account_removedIdentities> + get removedIdentities => _$this._removedIdentities ??= + new ListBuilder<GAccountsByPkData_account_removedIdentities>(); + set removedIdentities( + ListBuilder<GAccountsByPkData_account_removedIdentities>? + removedIdentities) => + _$this._removedIdentities = removedIdentities; + + GAccountsByPkData_account_removedIdentitiesAggregateBuilder? + _removedIdentitiesAggregate; + GAccountsByPkData_account_removedIdentitiesAggregateBuilder + get removedIdentitiesAggregate => _$this._removedIdentitiesAggregate ??= + new GAccountsByPkData_account_removedIdentitiesAggregateBuilder(); + set removedIdentitiesAggregate( + GAccountsByPkData_account_removedIdentitiesAggregateBuilder? + removedIdentitiesAggregate) => + _$this._removedIdentitiesAggregate = removedIdentitiesAggregate; + + ListBuilder<GAccountsByPkData_account_transfersIssued>? _transfersIssued; + ListBuilder<GAccountsByPkData_account_transfersIssued> get transfersIssued => + _$this._transfersIssued ??= + new ListBuilder<GAccountsByPkData_account_transfersIssued>(); + set transfersIssued( + ListBuilder<GAccountsByPkData_account_transfersIssued>? + transfersIssued) => + _$this._transfersIssued = transfersIssued; + + GAccountsByPkData_account_transfersIssuedAggregateBuilder? + _transfersIssuedAggregate; + GAccountsByPkData_account_transfersIssuedAggregateBuilder + get transfersIssuedAggregate => _$this._transfersIssuedAggregate ??= + new GAccountsByPkData_account_transfersIssuedAggregateBuilder(); + set transfersIssuedAggregate( + GAccountsByPkData_account_transfersIssuedAggregateBuilder? + transfersIssuedAggregate) => + _$this._transfersIssuedAggregate = transfersIssuedAggregate; + + ListBuilder<GAccountsByPkData_account_transfersReceived>? _transfersReceived; + ListBuilder<GAccountsByPkData_account_transfersReceived> + get transfersReceived => _$this._transfersReceived ??= + new ListBuilder<GAccountsByPkData_account_transfersReceived>(); + set transfersReceived( + ListBuilder<GAccountsByPkData_account_transfersReceived>? + transfersReceived) => + _$this._transfersReceived = transfersReceived; + + GAccountsByPkData_account_transfersReceivedAggregateBuilder? + _transfersReceivedAggregate; + GAccountsByPkData_account_transfersReceivedAggregateBuilder + get transfersReceivedAggregate => _$this._transfersReceivedAggregate ??= + new GAccountsByPkData_account_transfersReceivedAggregateBuilder(); + set transfersReceivedAggregate( + GAccountsByPkData_account_transfersReceivedAggregateBuilder? + transfersReceivedAggregate) => + _$this._transfersReceivedAggregate = transfersReceivedAggregate; + + ListBuilder<GAccountsByPkData_account_wasIdentity>? _wasIdentity; + ListBuilder<GAccountsByPkData_account_wasIdentity> get wasIdentity => + _$this._wasIdentity ??= + new ListBuilder<GAccountsByPkData_account_wasIdentity>(); + set wasIdentity( + ListBuilder<GAccountsByPkData_account_wasIdentity>? wasIdentity) => + _$this._wasIdentity = wasIdentity; + + GAccountsByPkData_account_wasIdentityAggregateBuilder? _wasIdentityAggregate; + GAccountsByPkData_account_wasIdentityAggregateBuilder + get wasIdentityAggregate => _$this._wasIdentityAggregate ??= + new GAccountsByPkData_account_wasIdentityAggregateBuilder(); + set wasIdentityAggregate( + GAccountsByPkData_account_wasIdentityAggregateBuilder? + wasIdentityAggregate) => + _$this._wasIdentityAggregate = wasIdentityAggregate; + + GAccountsByPkData_accountBuilder() { + GAccountsByPkData_account._initializeBuilder(this); + } + + GAccountsByPkData_accountBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _commentsIssued = $v.commentsIssued.toBuilder(); + _commentsIssuedAggregate = $v.commentsIssuedAggregate.toBuilder(); + _createdOn = $v.createdOn; + _id = $v.id; + _identity = $v.identity?.toBuilder(); + _isActive = $v.isActive; + _linkedIdentity = $v.linkedIdentity?.toBuilder(); + _removedIdentities = $v.removedIdentities.toBuilder(); + _removedIdentitiesAggregate = $v.removedIdentitiesAggregate.toBuilder(); + _transfersIssued = $v.transfersIssued.toBuilder(); + _transfersIssuedAggregate = $v.transfersIssuedAggregate.toBuilder(); + _transfersReceived = $v.transfersReceived.toBuilder(); + _transfersReceivedAggregate = $v.transfersReceivedAggregate.toBuilder(); + _wasIdentity = $v.wasIdentity.toBuilder(); + _wasIdentityAggregate = $v.wasIdentityAggregate.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account; + } + + @override + void update(void Function(GAccountsByPkData_accountBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account build() => _build(); + + _$GAccountsByPkData_account _build() { + _$GAccountsByPkData_account _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountsByPkData_account', 'G__typename'), + commentsIssued: commentsIssued.build(), + commentsIssuedAggregate: commentsIssuedAggregate.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountsByPkData_account', 'createdOn'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account', 'id'), + identity: _identity?.build(), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GAccountsByPkData_account', 'isActive'), + linkedIdentity: _linkedIdentity?.build(), + removedIdentities: removedIdentities.build(), + removedIdentitiesAggregate: removedIdentitiesAggregate.build(), + transfersIssued: transfersIssued.build(), + transfersIssuedAggregate: transfersIssuedAggregate.build(), + transfersReceived: transfersReceived.build(), + transfersReceivedAggregate: transfersReceivedAggregate.build(), + wasIdentity: wasIdentity.build(), + wasIdentityAggregate: wasIdentityAggregate.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'commentsIssued'; + commentsIssued.build(); + _$failedField = 'commentsIssuedAggregate'; + commentsIssuedAggregate.build(); + + _$failedField = 'identity'; + _identity?.build(); + + _$failedField = 'linkedIdentity'; + _linkedIdentity?.build(); + _$failedField = 'removedIdentities'; + removedIdentities.build(); + _$failedField = 'removedIdentitiesAggregate'; + removedIdentitiesAggregate.build(); + _$failedField = 'transfersIssued'; + transfersIssued.build(); + _$failedField = 'transfersIssuedAggregate'; + transfersIssuedAggregate.build(); + _$failedField = 'transfersReceived'; + transfersReceived.build(); + _$failedField = 'transfersReceivedAggregate'; + transfersReceivedAggregate.build(); + _$failedField = 'wasIdentity'; + wasIdentity.build(); + _$failedField = 'wasIdentityAggregate'; + wasIdentityAggregate.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_commentsIssued + extends GAccountsByPkData_account_commentsIssued { + @override + final String G__typename; + @override + final String? authorId; + @override + final int blockNumber; + @override + final String? eventId; + @override + final String hash; + @override + final String id; + @override + final String remark; + @override + final _i2.GCommentTypeEnum? type; + + factory _$GAccountsByPkData_account_commentsIssued( + [void Function(GAccountsByPkData_account_commentsIssuedBuilder)? + updates]) => + (new GAccountsByPkData_account_commentsIssuedBuilder()..update(updates)) + ._build(); + + _$GAccountsByPkData_account_commentsIssued._( + {required this.G__typename, + this.authorId, + required this.blockNumber, + this.eventId, + required this.hash, + required this.id, + required this.remark, + this.type}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_commentsIssued', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountsByPkData_account_commentsIssued', 'blockNumber'); + BuiltValueNullFieldError.checkNotNull( + hash, r'GAccountsByPkData_account_commentsIssued', 'hash'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_commentsIssued', 'id'); + BuiltValueNullFieldError.checkNotNull( + remark, r'GAccountsByPkData_account_commentsIssued', 'remark'); + } + + @override + GAccountsByPkData_account_commentsIssued rebuild( + void Function(GAccountsByPkData_account_commentsIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_commentsIssuedBuilder toBuilder() => + new GAccountsByPkData_account_commentsIssuedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_commentsIssued && + G__typename == other.G__typename && + authorId == other.authorId && + blockNumber == other.blockNumber && + eventId == other.eventId && + hash == other.hash && + id == other.id && + remark == other.remark && + type == other.type; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, authorId.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, eventId.hashCode); + _$hash = $jc(_$hash, hash.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, remark.hashCode); + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_commentsIssued') + ..add('G__typename', G__typename) + ..add('authorId', authorId) + ..add('blockNumber', blockNumber) + ..add('eventId', eventId) + ..add('hash', hash) + ..add('id', id) + ..add('remark', remark) + ..add('type', type)) + .toString(); + } +} + +class GAccountsByPkData_account_commentsIssuedBuilder + implements + Builder<GAccountsByPkData_account_commentsIssued, + GAccountsByPkData_account_commentsIssuedBuilder> { + _$GAccountsByPkData_account_commentsIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _authorId; + String? get authorId => _$this._authorId; + set authorId(String? authorId) => _$this._authorId = authorId; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _eventId; + String? get eventId => _$this._eventId; + set eventId(String? eventId) => _$this._eventId = eventId; + + String? _hash; + String? get hash => _$this._hash; + set hash(String? hash) => _$this._hash = hash; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _remark; + String? get remark => _$this._remark; + set remark(String? remark) => _$this._remark = remark; + + _i2.GCommentTypeEnum? _type; + _i2.GCommentTypeEnum? get type => _$this._type; + set type(_i2.GCommentTypeEnum? type) => _$this._type = type; + + GAccountsByPkData_account_commentsIssuedBuilder() { + GAccountsByPkData_account_commentsIssued._initializeBuilder(this); + } + + GAccountsByPkData_account_commentsIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _authorId = $v.authorId; + _blockNumber = $v.blockNumber; + _eventId = $v.eventId; + _hash = $v.hash; + _id = $v.id; + _remark = $v.remark; + _type = $v.type; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_commentsIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_commentsIssued; + } + + @override + void update( + void Function(GAccountsByPkData_account_commentsIssuedBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_commentsIssued build() => _build(); + + _$GAccountsByPkData_account_commentsIssued _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_commentsIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_commentsIssued', 'G__typename'), + authorId: authorId, + blockNumber: BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountsByPkData_account_commentsIssued', 'blockNumber'), + eventId: eventId, + hash: BuiltValueNullFieldError.checkNotNull( + hash, r'GAccountsByPkData_account_commentsIssued', 'hash'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_commentsIssued', 'id'), + remark: BuiltValueNullFieldError.checkNotNull( + remark, r'GAccountsByPkData_account_commentsIssued', 'remark'), + type: type); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_commentsIssuedAggregate + extends GAccountsByPkData_account_commentsIssuedAggregate { + @override + final String G__typename; + @override + final GAccountsByPkData_account_commentsIssuedAggregate_aggregate? aggregate; + + factory _$GAccountsByPkData_account_commentsIssuedAggregate( + [void Function( + GAccountsByPkData_account_commentsIssuedAggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_commentsIssuedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_commentsIssuedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_commentsIssuedAggregate', 'G__typename'); + } + + @override + GAccountsByPkData_account_commentsIssuedAggregate rebuild( + void Function( + GAccountsByPkData_account_commentsIssuedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_commentsIssuedAggregateBuilder toBuilder() => + new GAccountsByPkData_account_commentsIssuedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_commentsIssuedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_commentsIssuedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountsByPkData_account_commentsIssuedAggregateBuilder + implements + Builder<GAccountsByPkData_account_commentsIssuedAggregate, + GAccountsByPkData_account_commentsIssuedAggregateBuilder> { + _$GAccountsByPkData_account_commentsIssuedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountsByPkData_account_commentsIssuedAggregate_aggregateBuilder? + _aggregate; + GAccountsByPkData_account_commentsIssuedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountsByPkData_account_commentsIssuedAggregate_aggregateBuilder(); + set aggregate( + GAccountsByPkData_account_commentsIssuedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountsByPkData_account_commentsIssuedAggregateBuilder() { + GAccountsByPkData_account_commentsIssuedAggregate._initializeBuilder(this); + } + + GAccountsByPkData_account_commentsIssuedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_commentsIssuedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_commentsIssuedAggregate; + } + + @override + void update( + void Function(GAccountsByPkData_account_commentsIssuedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_commentsIssuedAggregate build() => _build(); + + _$GAccountsByPkData_account_commentsIssuedAggregate _build() { + _$GAccountsByPkData_account_commentsIssuedAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account_commentsIssuedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_commentsIssuedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account_commentsIssuedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_commentsIssuedAggregate_aggregate + extends GAccountsByPkData_account_commentsIssuedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountsByPkData_account_commentsIssuedAggregate_aggregate( + [void Function( + GAccountsByPkData_account_commentsIssuedAggregate_aggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_commentsIssuedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_commentsIssuedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_commentsIssuedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountsByPkData_account_commentsIssuedAggregate_aggregate', + 'count'); + } + + @override + GAccountsByPkData_account_commentsIssuedAggregate_aggregate rebuild( + void Function( + GAccountsByPkData_account_commentsIssuedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_commentsIssuedAggregate_aggregateBuilder + toBuilder() => + new GAccountsByPkData_account_commentsIssuedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountsByPkData_account_commentsIssuedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_commentsIssuedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountsByPkData_account_commentsIssuedAggregate_aggregateBuilder + implements + Builder<GAccountsByPkData_account_commentsIssuedAggregate_aggregate, + GAccountsByPkData_account_commentsIssuedAggregate_aggregateBuilder> { + _$GAccountsByPkData_account_commentsIssuedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountsByPkData_account_commentsIssuedAggregate_aggregateBuilder() { + GAccountsByPkData_account_commentsIssuedAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountsByPkData_account_commentsIssuedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountsByPkData_account_commentsIssuedAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = + other as _$GAccountsByPkData_account_commentsIssuedAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountsByPkData_account_commentsIssuedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_commentsIssuedAggregate_aggregate build() => + _build(); + + _$GAccountsByPkData_account_commentsIssuedAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_commentsIssuedAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_commentsIssuedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountsByPkData_account_commentsIssuedAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity + extends GAccountsByPkData_account_identity { + @override + final String G__typename; + @override + final String? accountId; + @override + final String? accountRemovedId; + @override + final BuiltList<GAccountsByPkData_account_identity_certIssued> certIssued; + @override + final GAccountsByPkData_account_identity_certIssuedAggregate + certIssuedAggregate; + @override + final BuiltList<GAccountsByPkData_account_identity_certReceived> certReceived; + @override + final GAccountsByPkData_account_identity_certReceivedAggregate + certReceivedAggregate; + @override + final String? createdInId; + @override + final int createdOn; + @override + final int expireOn; + @override + final String id; + @override + final int index; + @override + final bool isMember; + @override + final int lastChangeOn; + @override + final BuiltList<GAccountsByPkData_account_identity_linkedAccount> + linkedAccount; + @override + final GAccountsByPkData_account_identity_linkedAccountAggregate + linkedAccountAggregate; + @override + final _i2.GIdentityStatusEnum? status; + @override + final BuiltList<GAccountsByPkData_account_identity_membershipHistory> + membershipHistory; + @override + final GAccountsByPkData_account_identity_membershipHistoryAggregate + membershipHistoryAggregate; + @override + final String name; + @override + final BuiltList<GAccountsByPkData_account_identity_ownerKeyChange> + ownerKeyChange; + @override + final GAccountsByPkData_account_identity_ownerKeyChangeAggregate + ownerKeyChangeAggregate; + @override + final GAccountsByPkData_account_identity_smith? smith; + @override + final BuiltList<GAccountsByPkData_account_identity_udHistory>? udHistory; + + factory _$GAccountsByPkData_account_identity( + [void Function(GAccountsByPkData_account_identityBuilder)? + updates]) => + (new GAccountsByPkData_account_identityBuilder()..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity._( + {required this.G__typename, + this.accountId, + this.accountRemovedId, + required this.certIssued, + required this.certIssuedAggregate, + required this.certReceived, + required this.certReceivedAggregate, + this.createdInId, + required this.createdOn, + required this.expireOn, + required this.id, + required this.index, + required this.isMember, + required this.lastChangeOn, + required this.linkedAccount, + required this.linkedAccountAggregate, + this.status, + required this.membershipHistory, + required this.membershipHistoryAggregate, + required this.name, + required this.ownerKeyChange, + required this.ownerKeyChangeAggregate, + this.smith, + this.udHistory}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountsByPkData_account_identity', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + certIssued, r'GAccountsByPkData_account_identity', 'certIssued'); + BuiltValueNullFieldError.checkNotNull(certIssuedAggregate, + r'GAccountsByPkData_account_identity', 'certIssuedAggregate'); + BuiltValueNullFieldError.checkNotNull( + certReceived, r'GAccountsByPkData_account_identity', 'certReceived'); + BuiltValueNullFieldError.checkNotNull(certReceivedAggregate, + r'GAccountsByPkData_account_identity', 'certReceivedAggregate'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountsByPkData_account_identity', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + expireOn, r'GAccountsByPkData_account_identity', 'expireOn'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity', 'id'); + BuiltValueNullFieldError.checkNotNull( + index, r'GAccountsByPkData_account_identity', 'index'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GAccountsByPkData_account_identity', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + lastChangeOn, r'GAccountsByPkData_account_identity', 'lastChangeOn'); + BuiltValueNullFieldError.checkNotNull( + linkedAccount, r'GAccountsByPkData_account_identity', 'linkedAccount'); + BuiltValueNullFieldError.checkNotNull(linkedAccountAggregate, + r'GAccountsByPkData_account_identity', 'linkedAccountAggregate'); + BuiltValueNullFieldError.checkNotNull(membershipHistory, + r'GAccountsByPkData_account_identity', 'membershipHistory'); + BuiltValueNullFieldError.checkNotNull(membershipHistoryAggregate, + r'GAccountsByPkData_account_identity', 'membershipHistoryAggregate'); + BuiltValueNullFieldError.checkNotNull( + name, r'GAccountsByPkData_account_identity', 'name'); + BuiltValueNullFieldError.checkNotNull(ownerKeyChange, + r'GAccountsByPkData_account_identity', 'ownerKeyChange'); + BuiltValueNullFieldError.checkNotNull(ownerKeyChangeAggregate, + r'GAccountsByPkData_account_identity', 'ownerKeyChangeAggregate'); + } + + @override + GAccountsByPkData_account_identity rebuild( + void Function(GAccountsByPkData_account_identityBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identityBuilder toBuilder() => + new GAccountsByPkData_account_identityBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_identity && + G__typename == other.G__typename && + accountId == other.accountId && + accountRemovedId == other.accountRemovedId && + certIssued == other.certIssued && + certIssuedAggregate == other.certIssuedAggregate && + certReceived == other.certReceived && + certReceivedAggregate == other.certReceivedAggregate && + createdInId == other.createdInId && + createdOn == other.createdOn && + expireOn == other.expireOn && + id == other.id && + index == other.index && + isMember == other.isMember && + lastChangeOn == other.lastChangeOn && + linkedAccount == other.linkedAccount && + linkedAccountAggregate == other.linkedAccountAggregate && + status == other.status && + membershipHistory == other.membershipHistory && + membershipHistoryAggregate == other.membershipHistoryAggregate && + name == other.name && + ownerKeyChange == other.ownerKeyChange && + ownerKeyChangeAggregate == other.ownerKeyChangeAggregate && + smith == other.smith && + udHistory == other.udHistory; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, accountRemovedId.hashCode); + _$hash = $jc(_$hash, certIssued.hashCode); + _$hash = $jc(_$hash, certIssuedAggregate.hashCode); + _$hash = $jc(_$hash, certReceived.hashCode); + _$hash = $jc(_$hash, certReceivedAggregate.hashCode); + _$hash = $jc(_$hash, createdInId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, index.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, lastChangeOn.hashCode); + _$hash = $jc(_$hash, linkedAccount.hashCode); + _$hash = $jc(_$hash, linkedAccountAggregate.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, membershipHistory.hashCode); + _$hash = $jc(_$hash, membershipHistoryAggregate.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, ownerKeyChange.hashCode); + _$hash = $jc(_$hash, ownerKeyChangeAggregate.hashCode); + _$hash = $jc(_$hash, smith.hashCode); + _$hash = $jc(_$hash, udHistory.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountsByPkData_account_identity') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('accountRemovedId', accountRemovedId) + ..add('certIssued', certIssued) + ..add('certIssuedAggregate', certIssuedAggregate) + ..add('certReceived', certReceived) + ..add('certReceivedAggregate', certReceivedAggregate) + ..add('createdInId', createdInId) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('id', id) + ..add('index', index) + ..add('isMember', isMember) + ..add('lastChangeOn', lastChangeOn) + ..add('linkedAccount', linkedAccount) + ..add('linkedAccountAggregate', linkedAccountAggregate) + ..add('status', status) + ..add('membershipHistory', membershipHistory) + ..add('membershipHistoryAggregate', membershipHistoryAggregate) + ..add('name', name) + ..add('ownerKeyChange', ownerKeyChange) + ..add('ownerKeyChangeAggregate', ownerKeyChangeAggregate) + ..add('smith', smith) + ..add('udHistory', udHistory)) + .toString(); + } +} + +class GAccountsByPkData_account_identityBuilder + implements + Builder<GAccountsByPkData_account_identity, + GAccountsByPkData_account_identityBuilder> { + _$GAccountsByPkData_account_identity? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _accountRemovedId; + String? get accountRemovedId => _$this._accountRemovedId; + set accountRemovedId(String? accountRemovedId) => + _$this._accountRemovedId = accountRemovedId; + + ListBuilder<GAccountsByPkData_account_identity_certIssued>? _certIssued; + ListBuilder<GAccountsByPkData_account_identity_certIssued> get certIssued => + _$this._certIssued ??= + new ListBuilder<GAccountsByPkData_account_identity_certIssued>(); + set certIssued( + ListBuilder<GAccountsByPkData_account_identity_certIssued>? + certIssued) => + _$this._certIssued = certIssued; + + GAccountsByPkData_account_identity_certIssuedAggregateBuilder? + _certIssuedAggregate; + GAccountsByPkData_account_identity_certIssuedAggregateBuilder + get certIssuedAggregate => _$this._certIssuedAggregate ??= + new GAccountsByPkData_account_identity_certIssuedAggregateBuilder(); + set certIssuedAggregate( + GAccountsByPkData_account_identity_certIssuedAggregateBuilder? + certIssuedAggregate) => + _$this._certIssuedAggregate = certIssuedAggregate; + + ListBuilder<GAccountsByPkData_account_identity_certReceived>? _certReceived; + ListBuilder<GAccountsByPkData_account_identity_certReceived> + get certReceived => _$this._certReceived ??= + new ListBuilder<GAccountsByPkData_account_identity_certReceived>(); + set certReceived( + ListBuilder<GAccountsByPkData_account_identity_certReceived>? + certReceived) => + _$this._certReceived = certReceived; + + GAccountsByPkData_account_identity_certReceivedAggregateBuilder? + _certReceivedAggregate; + GAccountsByPkData_account_identity_certReceivedAggregateBuilder + get certReceivedAggregate => _$this._certReceivedAggregate ??= + new GAccountsByPkData_account_identity_certReceivedAggregateBuilder(); + set certReceivedAggregate( + GAccountsByPkData_account_identity_certReceivedAggregateBuilder? + certReceivedAggregate) => + _$this._certReceivedAggregate = certReceivedAggregate; + + String? _createdInId; + String? get createdInId => _$this._createdInId; + set createdInId(String? createdInId) => _$this._createdInId = createdInId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _index; + int? get index => _$this._index; + set index(int? index) => _$this._index = index; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + int? _lastChangeOn; + int? get lastChangeOn => _$this._lastChangeOn; + set lastChangeOn(int? lastChangeOn) => _$this._lastChangeOn = lastChangeOn; + + ListBuilder<GAccountsByPkData_account_identity_linkedAccount>? _linkedAccount; + ListBuilder<GAccountsByPkData_account_identity_linkedAccount> + get linkedAccount => _$this._linkedAccount ??= + new ListBuilder<GAccountsByPkData_account_identity_linkedAccount>(); + set linkedAccount( + ListBuilder<GAccountsByPkData_account_identity_linkedAccount>? + linkedAccount) => + _$this._linkedAccount = linkedAccount; + + GAccountsByPkData_account_identity_linkedAccountAggregateBuilder? + _linkedAccountAggregate; + GAccountsByPkData_account_identity_linkedAccountAggregateBuilder + get linkedAccountAggregate => _$this._linkedAccountAggregate ??= + new GAccountsByPkData_account_identity_linkedAccountAggregateBuilder(); + set linkedAccountAggregate( + GAccountsByPkData_account_identity_linkedAccountAggregateBuilder? + linkedAccountAggregate) => + _$this._linkedAccountAggregate = linkedAccountAggregate; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + ListBuilder<GAccountsByPkData_account_identity_membershipHistory>? + _membershipHistory; + ListBuilder<GAccountsByPkData_account_identity_membershipHistory> + get membershipHistory => _$this._membershipHistory ??= new ListBuilder< + GAccountsByPkData_account_identity_membershipHistory>(); + set membershipHistory( + ListBuilder<GAccountsByPkData_account_identity_membershipHistory>? + membershipHistory) => + _$this._membershipHistory = membershipHistory; + + GAccountsByPkData_account_identity_membershipHistoryAggregateBuilder? + _membershipHistoryAggregate; + GAccountsByPkData_account_identity_membershipHistoryAggregateBuilder + get membershipHistoryAggregate => _$this._membershipHistoryAggregate ??= + new GAccountsByPkData_account_identity_membershipHistoryAggregateBuilder(); + set membershipHistoryAggregate( + GAccountsByPkData_account_identity_membershipHistoryAggregateBuilder? + membershipHistoryAggregate) => + _$this._membershipHistoryAggregate = membershipHistoryAggregate; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + ListBuilder<GAccountsByPkData_account_identity_ownerKeyChange>? + _ownerKeyChange; + ListBuilder<GAccountsByPkData_account_identity_ownerKeyChange> + get ownerKeyChange => _$this._ownerKeyChange ??= + new ListBuilder<GAccountsByPkData_account_identity_ownerKeyChange>(); + set ownerKeyChange( + ListBuilder<GAccountsByPkData_account_identity_ownerKeyChange>? + ownerKeyChange) => + _$this._ownerKeyChange = ownerKeyChange; + + GAccountsByPkData_account_identity_ownerKeyChangeAggregateBuilder? + _ownerKeyChangeAggregate; + GAccountsByPkData_account_identity_ownerKeyChangeAggregateBuilder + get ownerKeyChangeAggregate => _$this._ownerKeyChangeAggregate ??= + new GAccountsByPkData_account_identity_ownerKeyChangeAggregateBuilder(); + set ownerKeyChangeAggregate( + GAccountsByPkData_account_identity_ownerKeyChangeAggregateBuilder? + ownerKeyChangeAggregate) => + _$this._ownerKeyChangeAggregate = ownerKeyChangeAggregate; + + GAccountsByPkData_account_identity_smithBuilder? _smith; + GAccountsByPkData_account_identity_smithBuilder get smith => + _$this._smith ??= new GAccountsByPkData_account_identity_smithBuilder(); + set smith(GAccountsByPkData_account_identity_smithBuilder? smith) => + _$this._smith = smith; + + ListBuilder<GAccountsByPkData_account_identity_udHistory>? _udHistory; + ListBuilder<GAccountsByPkData_account_identity_udHistory> get udHistory => + _$this._udHistory ??= + new ListBuilder<GAccountsByPkData_account_identity_udHistory>(); + set udHistory( + ListBuilder<GAccountsByPkData_account_identity_udHistory>? + udHistory) => + _$this._udHistory = udHistory; + + GAccountsByPkData_account_identityBuilder() { + GAccountsByPkData_account_identity._initializeBuilder(this); + } + + GAccountsByPkData_account_identityBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _accountRemovedId = $v.accountRemovedId; + _certIssued = $v.certIssued.toBuilder(); + _certIssuedAggregate = $v.certIssuedAggregate.toBuilder(); + _certReceived = $v.certReceived.toBuilder(); + _certReceivedAggregate = $v.certReceivedAggregate.toBuilder(); + _createdInId = $v.createdInId; + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _id = $v.id; + _index = $v.index; + _isMember = $v.isMember; + _lastChangeOn = $v.lastChangeOn; + _linkedAccount = $v.linkedAccount.toBuilder(); + _linkedAccountAggregate = $v.linkedAccountAggregate.toBuilder(); + _status = $v.status; + _membershipHistory = $v.membershipHistory.toBuilder(); + _membershipHistoryAggregate = $v.membershipHistoryAggregate.toBuilder(); + _name = $v.name; + _ownerKeyChange = $v.ownerKeyChange.toBuilder(); + _ownerKeyChangeAggregate = $v.ownerKeyChangeAggregate.toBuilder(); + _smith = $v.smith?.toBuilder(); + _udHistory = $v.udHistory?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_identity other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_identity; + } + + @override + void update( + void Function(GAccountsByPkData_account_identityBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity build() => _build(); + + _$GAccountsByPkData_account_identity _build() { + _$GAccountsByPkData_account_identity _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account_identity._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountsByPkData_account_identity', 'G__typename'), + accountId: accountId, + accountRemovedId: accountRemovedId, + certIssued: certIssued.build(), + certIssuedAggregate: certIssuedAggregate.build(), + certReceived: certReceived.build(), + certReceivedAggregate: certReceivedAggregate.build(), + createdInId: createdInId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountsByPkData_account_identity', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GAccountsByPkData_account_identity', 'expireOn'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity', 'id'), + index: BuiltValueNullFieldError.checkNotNull( + index, r'GAccountsByPkData_account_identity', 'index'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, r'GAccountsByPkData_account_identity', 'isMember'), + lastChangeOn: BuiltValueNullFieldError.checkNotNull(lastChangeOn, + r'GAccountsByPkData_account_identity', 'lastChangeOn'), + linkedAccount: linkedAccount.build(), + linkedAccountAggregate: linkedAccountAggregate.build(), + status: status, + membershipHistory: membershipHistory.build(), + membershipHistoryAggregate: membershipHistoryAggregate.build(), + name: BuiltValueNullFieldError.checkNotNull(name, r'GAccountsByPkData_account_identity', 'name'), + ownerKeyChange: ownerKeyChange.build(), + ownerKeyChangeAggregate: ownerKeyChangeAggregate.build(), + smith: _smith?.build(), + udHistory: _udHistory?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'certIssued'; + certIssued.build(); + _$failedField = 'certIssuedAggregate'; + certIssuedAggregate.build(); + _$failedField = 'certReceived'; + certReceived.build(); + _$failedField = 'certReceivedAggregate'; + certReceivedAggregate.build(); + + _$failedField = 'linkedAccount'; + linkedAccount.build(); + _$failedField = 'linkedAccountAggregate'; + linkedAccountAggregate.build(); + + _$failedField = 'membershipHistory'; + membershipHistory.build(); + _$failedField = 'membershipHistoryAggregate'; + membershipHistoryAggregate.build(); + + _$failedField = 'ownerKeyChange'; + ownerKeyChange.build(); + _$failedField = 'ownerKeyChangeAggregate'; + ownerKeyChangeAggregate.build(); + _$failedField = 'smith'; + _smith?.build(); + _$failedField = 'udHistory'; + _udHistory?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account_identity', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_certIssued + extends GAccountsByPkData_account_identity_certIssued { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final GAccountsByPkData_account_identity_certIssued_issuer? issuer; + @override + final String? receiverId; + @override + final GAccountsByPkData_account_identity_certIssued_receiver? receiver; + @override + final int createdOn; + @override + final int expireOn; + @override + final bool isActive; + @override + final int updatedOn; + + factory _$GAccountsByPkData_account_identity_certIssued( + [void Function(GAccountsByPkData_account_identity_certIssuedBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_certIssuedBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_certIssued._( + {required this.G__typename, + required this.id, + this.issuerId, + this.issuer, + this.receiverId, + this.receiver, + required this.createdOn, + required this.expireOn, + required this.isActive, + required this.updatedOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_identity_certIssued', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity_certIssued', 'id'); + BuiltValueNullFieldError.checkNotNull(createdOn, + r'GAccountsByPkData_account_identity_certIssued', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + expireOn, r'GAccountsByPkData_account_identity_certIssued', 'expireOn'); + BuiltValueNullFieldError.checkNotNull( + isActive, r'GAccountsByPkData_account_identity_certIssued', 'isActive'); + BuiltValueNullFieldError.checkNotNull(updatedOn, + r'GAccountsByPkData_account_identity_certIssued', 'updatedOn'); + } + + @override + GAccountsByPkData_account_identity_certIssued rebuild( + void Function(GAccountsByPkData_account_identity_certIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_certIssuedBuilder toBuilder() => + new GAccountsByPkData_account_identity_certIssuedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_identity_certIssued && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + issuer == other.issuer && + receiverId == other.receiverId && + receiver == other.receiver && + createdOn == other.createdOn && + expireOn == other.expireOn && + isActive == other.isActive && + updatedOn == other.updatedOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, issuer.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, receiver.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, updatedOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_certIssued') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('issuer', issuer) + ..add('receiverId', receiverId) + ..add('receiver', receiver) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('isActive', isActive) + ..add('updatedOn', updatedOn)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_certIssuedBuilder + implements + Builder<GAccountsByPkData_account_identity_certIssued, + GAccountsByPkData_account_identity_certIssuedBuilder> { + _$GAccountsByPkData_account_identity_certIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + GAccountsByPkData_account_identity_certIssued_issuerBuilder? _issuer; + GAccountsByPkData_account_identity_certIssued_issuerBuilder get issuer => + _$this._issuer ??= + new GAccountsByPkData_account_identity_certIssued_issuerBuilder(); + set issuer( + GAccountsByPkData_account_identity_certIssued_issuerBuilder? + issuer) => + _$this._issuer = issuer; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + GAccountsByPkData_account_identity_certIssued_receiverBuilder? _receiver; + GAccountsByPkData_account_identity_certIssued_receiverBuilder get receiver => + _$this._receiver ??= + new GAccountsByPkData_account_identity_certIssued_receiverBuilder(); + set receiver( + GAccountsByPkData_account_identity_certIssued_receiverBuilder? + receiver) => + _$this._receiver = receiver; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + int? _updatedOn; + int? get updatedOn => _$this._updatedOn; + set updatedOn(int? updatedOn) => _$this._updatedOn = updatedOn; + + GAccountsByPkData_account_identity_certIssuedBuilder() { + GAccountsByPkData_account_identity_certIssued._initializeBuilder(this); + } + + GAccountsByPkData_account_identity_certIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _issuer = $v.issuer?.toBuilder(); + _receiverId = $v.receiverId; + _receiver = $v.receiver?.toBuilder(); + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _isActive = $v.isActive; + _updatedOn = $v.updatedOn; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_identity_certIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_identity_certIssued; + } + + @override + void update( + void Function(GAccountsByPkData_account_identity_certIssuedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_certIssued build() => _build(); + + _$GAccountsByPkData_account_identity_certIssued _build() { + _$GAccountsByPkData_account_identity_certIssued _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account_identity_certIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_certIssued', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity_certIssued', 'id'), + issuerId: issuerId, + issuer: _issuer?.build(), + receiverId: receiverId, + receiver: _receiver?.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountsByPkData_account_identity_certIssued', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GAccountsByPkData_account_identity_certIssued', 'expireOn'), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GAccountsByPkData_account_identity_certIssued', 'isActive'), + updatedOn: BuiltValueNullFieldError.checkNotNull( + updatedOn, + r'GAccountsByPkData_account_identity_certIssued', + 'updatedOn')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'issuer'; + _issuer?.build(); + + _$failedField = 'receiver'; + _receiver?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account_identity_certIssued', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_certIssued_issuer + extends GAccountsByPkData_account_identity_certIssued_issuer { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountsByPkData_account_identity_certIssued_issuer( + [void Function( + GAccountsByPkData_account_identity_certIssued_issuerBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_certIssued_issuerBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_certIssued_issuer._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_identity_certIssued_issuer', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity_certIssued_issuer', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GAccountsByPkData_account_identity_certIssued_issuer', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GAccountsByPkData_account_identity_certIssued_issuer', 'name'); + } + + @override + GAccountsByPkData_account_identity_certIssued_issuer rebuild( + void Function( + GAccountsByPkData_account_identity_certIssued_issuerBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_certIssued_issuerBuilder toBuilder() => + new GAccountsByPkData_account_identity_certIssued_issuerBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_identity_certIssued_issuer && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_certIssued_issuer') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_certIssued_issuerBuilder + implements + Builder<GAccountsByPkData_account_identity_certIssued_issuer, + GAccountsByPkData_account_identity_certIssued_issuerBuilder> { + _$GAccountsByPkData_account_identity_certIssued_issuer? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountsByPkData_account_identity_certIssued_issuerBuilder() { + GAccountsByPkData_account_identity_certIssued_issuer._initializeBuilder( + this); + } + + GAccountsByPkData_account_identity_certIssued_issuerBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_identity_certIssued_issuer other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_identity_certIssued_issuer; + } + + @override + void update( + void Function( + GAccountsByPkData_account_identity_certIssued_issuerBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_certIssued_issuer build() => _build(); + + _$GAccountsByPkData_account_identity_certIssued_issuer _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_identity_certIssued_issuer._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_certIssued_issuer', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull(id, + r'GAccountsByPkData_account_identity_certIssued_issuer', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GAccountsByPkData_account_identity_certIssued_issuer', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, + r'GAccountsByPkData_account_identity_certIssued_issuer', + 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_certIssued_receiver + extends GAccountsByPkData_account_identity_certIssued_receiver { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountsByPkData_account_identity_certIssued_receiver( + [void Function( + GAccountsByPkData_account_identity_certIssued_receiverBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_certIssued_receiverBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_certIssued_receiver._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_certIssued_receiver', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity_certIssued_receiver', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GAccountsByPkData_account_identity_certIssued_receiver', 'isMember'); + BuiltValueNullFieldError.checkNotNull(name, + r'GAccountsByPkData_account_identity_certIssued_receiver', 'name'); + } + + @override + GAccountsByPkData_account_identity_certIssued_receiver rebuild( + void Function( + GAccountsByPkData_account_identity_certIssued_receiverBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_certIssued_receiverBuilder toBuilder() => + new GAccountsByPkData_account_identity_certIssued_receiverBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_identity_certIssued_receiver && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_certIssued_receiver') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_certIssued_receiverBuilder + implements + Builder<GAccountsByPkData_account_identity_certIssued_receiver, + GAccountsByPkData_account_identity_certIssued_receiverBuilder> { + _$GAccountsByPkData_account_identity_certIssued_receiver? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountsByPkData_account_identity_certIssued_receiverBuilder() { + GAccountsByPkData_account_identity_certIssued_receiver._initializeBuilder( + this); + } + + GAccountsByPkData_account_identity_certIssued_receiverBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_identity_certIssued_receiver other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_identity_certIssued_receiver; + } + + @override + void update( + void Function( + GAccountsByPkData_account_identity_certIssued_receiverBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_certIssued_receiver build() => _build(); + + _$GAccountsByPkData_account_identity_certIssued_receiver _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_identity_certIssued_receiver._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_certIssued_receiver', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GAccountsByPkData_account_identity_certIssued_receiver', + 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GAccountsByPkData_account_identity_certIssued_receiver', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, + r'GAccountsByPkData_account_identity_certIssued_receiver', + 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_certIssuedAggregate + extends GAccountsByPkData_account_identity_certIssuedAggregate { + @override + final String G__typename; + @override + final GAccountsByPkData_account_identity_certIssuedAggregate_aggregate? + aggregate; + + factory _$GAccountsByPkData_account_identity_certIssuedAggregate( + [void Function( + GAccountsByPkData_account_identity_certIssuedAggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_certIssuedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_certIssuedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_certIssuedAggregate', + 'G__typename'); + } + + @override + GAccountsByPkData_account_identity_certIssuedAggregate rebuild( + void Function( + GAccountsByPkData_account_identity_certIssuedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_certIssuedAggregateBuilder toBuilder() => + new GAccountsByPkData_account_identity_certIssuedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_identity_certIssuedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_certIssuedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_certIssuedAggregateBuilder + implements + Builder<GAccountsByPkData_account_identity_certIssuedAggregate, + GAccountsByPkData_account_identity_certIssuedAggregateBuilder> { + _$GAccountsByPkData_account_identity_certIssuedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountsByPkData_account_identity_certIssuedAggregate_aggregateBuilder? + _aggregate; + GAccountsByPkData_account_identity_certIssuedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountsByPkData_account_identity_certIssuedAggregate_aggregateBuilder(); + set aggregate( + GAccountsByPkData_account_identity_certIssuedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountsByPkData_account_identity_certIssuedAggregateBuilder() { + GAccountsByPkData_account_identity_certIssuedAggregate._initializeBuilder( + this); + } + + GAccountsByPkData_account_identity_certIssuedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_identity_certIssuedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_identity_certIssuedAggregate; + } + + @override + void update( + void Function( + GAccountsByPkData_account_identity_certIssuedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_certIssuedAggregate build() => _build(); + + _$GAccountsByPkData_account_identity_certIssuedAggregate _build() { + _$GAccountsByPkData_account_identity_certIssuedAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account_identity_certIssuedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_certIssuedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account_identity_certIssuedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_certIssuedAggregate_aggregate + extends GAccountsByPkData_account_identity_certIssuedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountsByPkData_account_identity_certIssuedAggregate_aggregate( + [void Function( + GAccountsByPkData_account_identity_certIssuedAggregate_aggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_certIssuedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_certIssuedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_certIssuedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountsByPkData_account_identity_certIssuedAggregate_aggregate', + 'count'); + } + + @override + GAccountsByPkData_account_identity_certIssuedAggregate_aggregate rebuild( + void Function( + GAccountsByPkData_account_identity_certIssuedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_certIssuedAggregate_aggregateBuilder + toBuilder() => + new GAccountsByPkData_account_identity_certIssuedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountsByPkData_account_identity_certIssuedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_certIssuedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_certIssuedAggregate_aggregateBuilder + implements + Builder< + GAccountsByPkData_account_identity_certIssuedAggregate_aggregate, + GAccountsByPkData_account_identity_certIssuedAggregate_aggregateBuilder> { + _$GAccountsByPkData_account_identity_certIssuedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountsByPkData_account_identity_certIssuedAggregate_aggregateBuilder() { + GAccountsByPkData_account_identity_certIssuedAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountsByPkData_account_identity_certIssuedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountsByPkData_account_identity_certIssuedAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountsByPkData_account_identity_certIssuedAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountsByPkData_account_identity_certIssuedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_certIssuedAggregate_aggregate build() => + _build(); + + _$GAccountsByPkData_account_identity_certIssuedAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_identity_certIssuedAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_certIssuedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountsByPkData_account_identity_certIssuedAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_certReceived + extends GAccountsByPkData_account_identity_certReceived { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final GAccountsByPkData_account_identity_certReceived_issuer? issuer; + @override + final String? receiverId; + @override + final GAccountsByPkData_account_identity_certReceived_receiver? receiver; + @override + final int createdOn; + @override + final int expireOn; + @override + final bool isActive; + @override + final int updatedOn; + + factory _$GAccountsByPkData_account_identity_certReceived( + [void Function( + GAccountsByPkData_account_identity_certReceivedBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_certReceivedBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_certReceived._( + {required this.G__typename, + required this.id, + this.issuerId, + this.issuer, + this.receiverId, + this.receiver, + required this.createdOn, + required this.expireOn, + required this.isActive, + required this.updatedOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_identity_certReceived', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity_certReceived', 'id'); + BuiltValueNullFieldError.checkNotNull(createdOn, + r'GAccountsByPkData_account_identity_certReceived', 'createdOn'); + BuiltValueNullFieldError.checkNotNull(expireOn, + r'GAccountsByPkData_account_identity_certReceived', 'expireOn'); + BuiltValueNullFieldError.checkNotNull(isActive, + r'GAccountsByPkData_account_identity_certReceived', 'isActive'); + BuiltValueNullFieldError.checkNotNull(updatedOn, + r'GAccountsByPkData_account_identity_certReceived', 'updatedOn'); + } + + @override + GAccountsByPkData_account_identity_certReceived rebuild( + void Function(GAccountsByPkData_account_identity_certReceivedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_certReceivedBuilder toBuilder() => + new GAccountsByPkData_account_identity_certReceivedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_identity_certReceived && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + issuer == other.issuer && + receiverId == other.receiverId && + receiver == other.receiver && + createdOn == other.createdOn && + expireOn == other.expireOn && + isActive == other.isActive && + updatedOn == other.updatedOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, issuer.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, receiver.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, updatedOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_certReceived') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('issuer', issuer) + ..add('receiverId', receiverId) + ..add('receiver', receiver) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('isActive', isActive) + ..add('updatedOn', updatedOn)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_certReceivedBuilder + implements + Builder<GAccountsByPkData_account_identity_certReceived, + GAccountsByPkData_account_identity_certReceivedBuilder> { + _$GAccountsByPkData_account_identity_certReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + GAccountsByPkData_account_identity_certReceived_issuerBuilder? _issuer; + GAccountsByPkData_account_identity_certReceived_issuerBuilder get issuer => + _$this._issuer ??= + new GAccountsByPkData_account_identity_certReceived_issuerBuilder(); + set issuer( + GAccountsByPkData_account_identity_certReceived_issuerBuilder? + issuer) => + _$this._issuer = issuer; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + GAccountsByPkData_account_identity_certReceived_receiverBuilder? _receiver; + GAccountsByPkData_account_identity_certReceived_receiverBuilder + get receiver => _$this._receiver ??= + new GAccountsByPkData_account_identity_certReceived_receiverBuilder(); + set receiver( + GAccountsByPkData_account_identity_certReceived_receiverBuilder? + receiver) => + _$this._receiver = receiver; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + int? _updatedOn; + int? get updatedOn => _$this._updatedOn; + set updatedOn(int? updatedOn) => _$this._updatedOn = updatedOn; + + GAccountsByPkData_account_identity_certReceivedBuilder() { + GAccountsByPkData_account_identity_certReceived._initializeBuilder(this); + } + + GAccountsByPkData_account_identity_certReceivedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _issuer = $v.issuer?.toBuilder(); + _receiverId = $v.receiverId; + _receiver = $v.receiver?.toBuilder(); + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _isActive = $v.isActive; + _updatedOn = $v.updatedOn; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_identity_certReceived other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_identity_certReceived; + } + + @override + void update( + void Function(GAccountsByPkData_account_identity_certReceivedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_certReceived build() => _build(); + + _$GAccountsByPkData_account_identity_certReceived _build() { + _$GAccountsByPkData_account_identity_certReceived _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account_identity_certReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_certReceived', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity_certReceived', 'id'), + issuerId: issuerId, + issuer: _issuer?.build(), + receiverId: receiverId, + receiver: _receiver?.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountsByPkData_account_identity_certReceived', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GAccountsByPkData_account_identity_certReceived', 'expireOn'), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GAccountsByPkData_account_identity_certReceived', 'isActive'), + updatedOn: BuiltValueNullFieldError.checkNotNull( + updatedOn, + r'GAccountsByPkData_account_identity_certReceived', + 'updatedOn')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'issuer'; + _issuer?.build(); + + _$failedField = 'receiver'; + _receiver?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account_identity_certReceived', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_certReceived_issuer + extends GAccountsByPkData_account_identity_certReceived_issuer { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountsByPkData_account_identity_certReceived_issuer( + [void Function( + GAccountsByPkData_account_identity_certReceived_issuerBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_certReceived_issuerBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_certReceived_issuer._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_certReceived_issuer', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity_certReceived_issuer', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GAccountsByPkData_account_identity_certReceived_issuer', 'isMember'); + BuiltValueNullFieldError.checkNotNull(name, + r'GAccountsByPkData_account_identity_certReceived_issuer', 'name'); + } + + @override + GAccountsByPkData_account_identity_certReceived_issuer rebuild( + void Function( + GAccountsByPkData_account_identity_certReceived_issuerBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_certReceived_issuerBuilder toBuilder() => + new GAccountsByPkData_account_identity_certReceived_issuerBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_identity_certReceived_issuer && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_certReceived_issuer') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_certReceived_issuerBuilder + implements + Builder<GAccountsByPkData_account_identity_certReceived_issuer, + GAccountsByPkData_account_identity_certReceived_issuerBuilder> { + _$GAccountsByPkData_account_identity_certReceived_issuer? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountsByPkData_account_identity_certReceived_issuerBuilder() { + GAccountsByPkData_account_identity_certReceived_issuer._initializeBuilder( + this); + } + + GAccountsByPkData_account_identity_certReceived_issuerBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_identity_certReceived_issuer other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_identity_certReceived_issuer; + } + + @override + void update( + void Function( + GAccountsByPkData_account_identity_certReceived_issuerBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_certReceived_issuer build() => _build(); + + _$GAccountsByPkData_account_identity_certReceived_issuer _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_identity_certReceived_issuer._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_certReceived_issuer', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GAccountsByPkData_account_identity_certReceived_issuer', + 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GAccountsByPkData_account_identity_certReceived_issuer', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, + r'GAccountsByPkData_account_identity_certReceived_issuer', + 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_certReceived_receiver + extends GAccountsByPkData_account_identity_certReceived_receiver { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountsByPkData_account_identity_certReceived_receiver( + [void Function( + GAccountsByPkData_account_identity_certReceived_receiverBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_certReceived_receiverBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_certReceived_receiver._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_certReceived_receiver', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity_certReceived_receiver', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, + r'GAccountsByPkData_account_identity_certReceived_receiver', + 'isMember'); + BuiltValueNullFieldError.checkNotNull(name, + r'GAccountsByPkData_account_identity_certReceived_receiver', 'name'); + } + + @override + GAccountsByPkData_account_identity_certReceived_receiver rebuild( + void Function( + GAccountsByPkData_account_identity_certReceived_receiverBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_certReceived_receiverBuilder toBuilder() => + new GAccountsByPkData_account_identity_certReceived_receiverBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_identity_certReceived_receiver && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_certReceived_receiver') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_certReceived_receiverBuilder + implements + Builder<GAccountsByPkData_account_identity_certReceived_receiver, + GAccountsByPkData_account_identity_certReceived_receiverBuilder> { + _$GAccountsByPkData_account_identity_certReceived_receiver? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountsByPkData_account_identity_certReceived_receiverBuilder() { + GAccountsByPkData_account_identity_certReceived_receiver._initializeBuilder( + this); + } + + GAccountsByPkData_account_identity_certReceived_receiverBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_identity_certReceived_receiver other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_identity_certReceived_receiver; + } + + @override + void update( + void Function( + GAccountsByPkData_account_identity_certReceived_receiverBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_certReceived_receiver build() => _build(); + + _$GAccountsByPkData_account_identity_certReceived_receiver _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_identity_certReceived_receiver._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_certReceived_receiver', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GAccountsByPkData_account_identity_certReceived_receiver', + 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GAccountsByPkData_account_identity_certReceived_receiver', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, + r'GAccountsByPkData_account_identity_certReceived_receiver', + 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_certReceivedAggregate + extends GAccountsByPkData_account_identity_certReceivedAggregate { + @override + final String G__typename; + @override + final GAccountsByPkData_account_identity_certReceivedAggregate_aggregate? + aggregate; + + factory _$GAccountsByPkData_account_identity_certReceivedAggregate( + [void Function( + GAccountsByPkData_account_identity_certReceivedAggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_certReceivedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_certReceivedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_certReceivedAggregate', + 'G__typename'); + } + + @override + GAccountsByPkData_account_identity_certReceivedAggregate rebuild( + void Function( + GAccountsByPkData_account_identity_certReceivedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_certReceivedAggregateBuilder toBuilder() => + new GAccountsByPkData_account_identity_certReceivedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_identity_certReceivedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_certReceivedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_certReceivedAggregateBuilder + implements + Builder<GAccountsByPkData_account_identity_certReceivedAggregate, + GAccountsByPkData_account_identity_certReceivedAggregateBuilder> { + _$GAccountsByPkData_account_identity_certReceivedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountsByPkData_account_identity_certReceivedAggregate_aggregateBuilder? + _aggregate; + GAccountsByPkData_account_identity_certReceivedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountsByPkData_account_identity_certReceivedAggregate_aggregateBuilder(); + set aggregate( + GAccountsByPkData_account_identity_certReceivedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountsByPkData_account_identity_certReceivedAggregateBuilder() { + GAccountsByPkData_account_identity_certReceivedAggregate._initializeBuilder( + this); + } + + GAccountsByPkData_account_identity_certReceivedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_identity_certReceivedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_identity_certReceivedAggregate; + } + + @override + void update( + void Function( + GAccountsByPkData_account_identity_certReceivedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_certReceivedAggregate build() => _build(); + + _$GAccountsByPkData_account_identity_certReceivedAggregate _build() { + _$GAccountsByPkData_account_identity_certReceivedAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account_identity_certReceivedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_certReceivedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account_identity_certReceivedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_certReceivedAggregate_aggregate + extends GAccountsByPkData_account_identity_certReceivedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountsByPkData_account_identity_certReceivedAggregate_aggregate( + [void Function( + GAccountsByPkData_account_identity_certReceivedAggregate_aggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_certReceivedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_certReceivedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_certReceivedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountsByPkData_account_identity_certReceivedAggregate_aggregate', + 'count'); + } + + @override + GAccountsByPkData_account_identity_certReceivedAggregate_aggregate rebuild( + void Function( + GAccountsByPkData_account_identity_certReceivedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_certReceivedAggregate_aggregateBuilder + toBuilder() => + new GAccountsByPkData_account_identity_certReceivedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountsByPkData_account_identity_certReceivedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_certReceivedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_certReceivedAggregate_aggregateBuilder + implements + Builder< + GAccountsByPkData_account_identity_certReceivedAggregate_aggregate, + GAccountsByPkData_account_identity_certReceivedAggregate_aggregateBuilder> { + _$GAccountsByPkData_account_identity_certReceivedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountsByPkData_account_identity_certReceivedAggregate_aggregateBuilder() { + GAccountsByPkData_account_identity_certReceivedAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountsByPkData_account_identity_certReceivedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountsByPkData_account_identity_certReceivedAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountsByPkData_account_identity_certReceivedAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountsByPkData_account_identity_certReceivedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_certReceivedAggregate_aggregate build() => + _build(); + + _$GAccountsByPkData_account_identity_certReceivedAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_identity_certReceivedAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_certReceivedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountsByPkData_account_identity_certReceivedAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_linkedAccount + extends GAccountsByPkData_account_identity_linkedAccount { + @override + final String G__typename; + @override + final String id; + + factory _$GAccountsByPkData_account_identity_linkedAccount( + [void Function( + GAccountsByPkData_account_identity_linkedAccountBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_linkedAccountBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_linkedAccount._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_identity_linkedAccount', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity_linkedAccount', 'id'); + } + + @override + GAccountsByPkData_account_identity_linkedAccount rebuild( + void Function(GAccountsByPkData_account_identity_linkedAccountBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_linkedAccountBuilder toBuilder() => + new GAccountsByPkData_account_identity_linkedAccountBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_identity_linkedAccount && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_linkedAccount') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_linkedAccountBuilder + implements + Builder<GAccountsByPkData_account_identity_linkedAccount, + GAccountsByPkData_account_identity_linkedAccountBuilder> { + _$GAccountsByPkData_account_identity_linkedAccount? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GAccountsByPkData_account_identity_linkedAccountBuilder() { + GAccountsByPkData_account_identity_linkedAccount._initializeBuilder(this); + } + + GAccountsByPkData_account_identity_linkedAccountBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_identity_linkedAccount other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_identity_linkedAccount; + } + + @override + void update( + void Function(GAccountsByPkData_account_identity_linkedAccountBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_linkedAccount build() => _build(); + + _$GAccountsByPkData_account_identity_linkedAccount _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_identity_linkedAccount._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_linkedAccount', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity_linkedAccount', 'id')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_linkedAccountAggregate + extends GAccountsByPkData_account_identity_linkedAccountAggregate { + @override + final String G__typename; + @override + final GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate? + aggregate; + + factory _$GAccountsByPkData_account_identity_linkedAccountAggregate( + [void Function( + GAccountsByPkData_account_identity_linkedAccountAggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_linkedAccountAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_linkedAccountAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_linkedAccountAggregate', + 'G__typename'); + } + + @override + GAccountsByPkData_account_identity_linkedAccountAggregate rebuild( + void Function( + GAccountsByPkData_account_identity_linkedAccountAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_linkedAccountAggregateBuilder + toBuilder() => + new GAccountsByPkData_account_identity_linkedAccountAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_identity_linkedAccountAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_linkedAccountAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_linkedAccountAggregateBuilder + implements + Builder<GAccountsByPkData_account_identity_linkedAccountAggregate, + GAccountsByPkData_account_identity_linkedAccountAggregateBuilder> { + _$GAccountsByPkData_account_identity_linkedAccountAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateBuilder? + _aggregate; + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateBuilder(); + set aggregate( + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountsByPkData_account_identity_linkedAccountAggregateBuilder() { + GAccountsByPkData_account_identity_linkedAccountAggregate + ._initializeBuilder(this); + } + + GAccountsByPkData_account_identity_linkedAccountAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GAccountsByPkData_account_identity_linkedAccountAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_identity_linkedAccountAggregate; + } + + @override + void update( + void Function( + GAccountsByPkData_account_identity_linkedAccountAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_linkedAccountAggregate build() => _build(); + + _$GAccountsByPkData_account_identity_linkedAccountAggregate _build() { + _$GAccountsByPkData_account_identity_linkedAccountAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account_identity_linkedAccountAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_linkedAccountAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account_identity_linkedAccountAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate + extends GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate( + [void Function( + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate', + 'count'); + } + + @override + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate rebuild( + void Function( + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateBuilder + toBuilder() => + new GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateBuilder + implements + Builder< + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate, + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateBuilder> { + _$GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateBuilder() { + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate build() => + _build(); + + _$GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_membershipHistory + extends GAccountsByPkData_account_identity_membershipHistory { + @override + final String G__typename; + @override + final int blockNumber; + @override + final String? eventId; + @override + final _i2.GEventTypeEnum? eventType; + @override + final String id; + @override + final String? identityId; + + factory _$GAccountsByPkData_account_identity_membershipHistory( + [void Function( + GAccountsByPkData_account_identity_membershipHistoryBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_membershipHistoryBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_membershipHistory._( + {required this.G__typename, + required this.blockNumber, + this.eventId, + this.eventType, + required this.id, + this.identityId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_identity_membershipHistory', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountsByPkData_account_identity_membershipHistory', 'blockNumber'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity_membershipHistory', 'id'); + } + + @override + GAccountsByPkData_account_identity_membershipHistory rebuild( + void Function( + GAccountsByPkData_account_identity_membershipHistoryBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_membershipHistoryBuilder toBuilder() => + new GAccountsByPkData_account_identity_membershipHistoryBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_identity_membershipHistory && + G__typename == other.G__typename && + blockNumber == other.blockNumber && + eventId == other.eventId && + eventType == other.eventType && + id == other.id && + identityId == other.identityId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, eventId.hashCode); + _$hash = $jc(_$hash, eventType.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_membershipHistory') + ..add('G__typename', G__typename) + ..add('blockNumber', blockNumber) + ..add('eventId', eventId) + ..add('eventType', eventType) + ..add('id', id) + ..add('identityId', identityId)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_membershipHistoryBuilder + implements + Builder<GAccountsByPkData_account_identity_membershipHistory, + GAccountsByPkData_account_identity_membershipHistoryBuilder> { + _$GAccountsByPkData_account_identity_membershipHistory? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _eventId; + String? get eventId => _$this._eventId; + set eventId(String? eventId) => _$this._eventId = eventId; + + _i2.GEventTypeEnum? _eventType; + _i2.GEventTypeEnum? get eventType => _$this._eventType; + set eventType(_i2.GEventTypeEnum? eventType) => _$this._eventType = eventType; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + GAccountsByPkData_account_identity_membershipHistoryBuilder() { + GAccountsByPkData_account_identity_membershipHistory._initializeBuilder( + this); + } + + GAccountsByPkData_account_identity_membershipHistoryBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _blockNumber = $v.blockNumber; + _eventId = $v.eventId; + _eventType = $v.eventType; + _id = $v.id; + _identityId = $v.identityId; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_identity_membershipHistory other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_identity_membershipHistory; + } + + @override + void update( + void Function( + GAccountsByPkData_account_identity_membershipHistoryBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_membershipHistory build() => _build(); + + _$GAccountsByPkData_account_identity_membershipHistory _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_identity_membershipHistory._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_membershipHistory', + 'G__typename'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GAccountsByPkData_account_identity_membershipHistory', + 'blockNumber'), + eventId: eventId, + eventType: eventType, + id: BuiltValueNullFieldError.checkNotNull(id, + r'GAccountsByPkData_account_identity_membershipHistory', 'id'), + identityId: identityId); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_membershipHistoryAggregate + extends GAccountsByPkData_account_identity_membershipHistoryAggregate { + @override + final String G__typename; + @override + final GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate? + aggregate; + + factory _$GAccountsByPkData_account_identity_membershipHistoryAggregate( + [void Function( + GAccountsByPkData_account_identity_membershipHistoryAggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_membershipHistoryAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_membershipHistoryAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_membershipHistoryAggregate', + 'G__typename'); + } + + @override + GAccountsByPkData_account_identity_membershipHistoryAggregate rebuild( + void Function( + GAccountsByPkData_account_identity_membershipHistoryAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_membershipHistoryAggregateBuilder + toBuilder() => + new GAccountsByPkData_account_identity_membershipHistoryAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountsByPkData_account_identity_membershipHistoryAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_membershipHistoryAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_membershipHistoryAggregateBuilder + implements + Builder<GAccountsByPkData_account_identity_membershipHistoryAggregate, + GAccountsByPkData_account_identity_membershipHistoryAggregateBuilder> { + _$GAccountsByPkData_account_identity_membershipHistoryAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateBuilder? + _aggregate; + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateBuilder(); + set aggregate( + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountsByPkData_account_identity_membershipHistoryAggregateBuilder() { + GAccountsByPkData_account_identity_membershipHistoryAggregate + ._initializeBuilder(this); + } + + GAccountsByPkData_account_identity_membershipHistoryAggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GAccountsByPkData_account_identity_membershipHistoryAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountsByPkData_account_identity_membershipHistoryAggregate; + } + + @override + void update( + void Function( + GAccountsByPkData_account_identity_membershipHistoryAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_membershipHistoryAggregate build() => + _build(); + + _$GAccountsByPkData_account_identity_membershipHistoryAggregate _build() { + _$GAccountsByPkData_account_identity_membershipHistoryAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account_identity_membershipHistoryAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_membershipHistoryAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account_identity_membershipHistoryAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate + extends GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate( + [void Function( + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate', + 'count'); + } + + @override + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate rebuild( + void Function( + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateBuilder + toBuilder() => + new GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateBuilder + implements + Builder< + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate, + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateBuilder> { + _$GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate? + _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateBuilder() { + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate + build() => _build(); + + _$GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_ownerKeyChange + extends GAccountsByPkData_account_identity_ownerKeyChange { + @override + final String G__typename; + @override + final String id; + @override + final int blockNumber; + @override + final String? identityId; + @override + final String? nextId; + @override + final String? previousId; + + factory _$GAccountsByPkData_account_identity_ownerKeyChange( + [void Function( + GAccountsByPkData_account_identity_ownerKeyChangeBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_ownerKeyChangeBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_ownerKeyChange._( + {required this.G__typename, + required this.id, + required this.blockNumber, + this.identityId, + this.nextId, + this.previousId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_identity_ownerKeyChange', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity_ownerKeyChange', 'id'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountsByPkData_account_identity_ownerKeyChange', 'blockNumber'); + } + + @override + GAccountsByPkData_account_identity_ownerKeyChange rebuild( + void Function( + GAccountsByPkData_account_identity_ownerKeyChangeBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_ownerKeyChangeBuilder toBuilder() => + new GAccountsByPkData_account_identity_ownerKeyChangeBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_identity_ownerKeyChange && + G__typename == other.G__typename && + id == other.id && + blockNumber == other.blockNumber && + identityId == other.identityId && + nextId == other.nextId && + previousId == other.previousId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jc(_$hash, nextId.hashCode); + _$hash = $jc(_$hash, previousId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_ownerKeyChange') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('blockNumber', blockNumber) + ..add('identityId', identityId) + ..add('nextId', nextId) + ..add('previousId', previousId)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_ownerKeyChangeBuilder + implements + Builder<GAccountsByPkData_account_identity_ownerKeyChange, + GAccountsByPkData_account_identity_ownerKeyChangeBuilder> { + _$GAccountsByPkData_account_identity_ownerKeyChange? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + String? _nextId; + String? get nextId => _$this._nextId; + set nextId(String? nextId) => _$this._nextId = nextId; + + String? _previousId; + String? get previousId => _$this._previousId; + set previousId(String? previousId) => _$this._previousId = previousId; + + GAccountsByPkData_account_identity_ownerKeyChangeBuilder() { + GAccountsByPkData_account_identity_ownerKeyChange._initializeBuilder(this); + } + + GAccountsByPkData_account_identity_ownerKeyChangeBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _blockNumber = $v.blockNumber; + _identityId = $v.identityId; + _nextId = $v.nextId; + _previousId = $v.previousId; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_identity_ownerKeyChange other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_identity_ownerKeyChange; + } + + @override + void update( + void Function(GAccountsByPkData_account_identity_ownerKeyChangeBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_ownerKeyChange build() => _build(); + + _$GAccountsByPkData_account_identity_ownerKeyChange _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_identity_ownerKeyChange._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_ownerKeyChange', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity_ownerKeyChange', 'id'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GAccountsByPkData_account_identity_ownerKeyChange', + 'blockNumber'), + identityId: identityId, + nextId: nextId, + previousId: previousId); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate + extends GAccountsByPkData_account_identity_ownerKeyChangeAggregate { + @override + final String G__typename; + @override + final GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate? + aggregate; + + factory _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate( + [void Function( + GAccountsByPkData_account_identity_ownerKeyChangeAggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_ownerKeyChangeAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_ownerKeyChangeAggregate', + 'G__typename'); + } + + @override + GAccountsByPkData_account_identity_ownerKeyChangeAggregate rebuild( + void Function( + GAccountsByPkData_account_identity_ownerKeyChangeAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_ownerKeyChangeAggregateBuilder + toBuilder() => + new GAccountsByPkData_account_identity_ownerKeyChangeAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountsByPkData_account_identity_ownerKeyChangeAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_ownerKeyChangeAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_ownerKeyChangeAggregateBuilder + implements + Builder<GAccountsByPkData_account_identity_ownerKeyChangeAggregate, + GAccountsByPkData_account_identity_ownerKeyChangeAggregateBuilder> { + _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateBuilder? + _aggregate; + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateBuilder(); + set aggregate( + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountsByPkData_account_identity_ownerKeyChangeAggregateBuilder() { + GAccountsByPkData_account_identity_ownerKeyChangeAggregate + ._initializeBuilder(this); + } + + GAccountsByPkData_account_identity_ownerKeyChangeAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GAccountsByPkData_account_identity_ownerKeyChangeAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate; + } + + @override + void update( + void Function( + GAccountsByPkData_account_identity_ownerKeyChangeAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_ownerKeyChangeAggregate build() => + _build(); + + _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate _build() { + _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_ownerKeyChangeAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account_identity_ownerKeyChangeAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate + extends GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate( + [void Function( + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate', + 'count'); + } + + @override + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate rebuild( + void Function( + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateBuilder + toBuilder() => + new GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateBuilder + implements + Builder< + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate, + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateBuilder> { + _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateBuilder() { + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate + build() => _build(); + + _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_smith + extends GAccountsByPkData_account_identity_smith { + @override + final String G__typename; + @override + final String id; + @override + final int forged; + @override + final int index; + @override + final int? lastChanged; + @override + final int? lastForged; + @override + final BuiltList<GAccountsByPkData_account_identity_smith_smithCertIssued> + smithCertIssued; + @override + final BuiltList<GAccountsByPkData_account_identity_smith_smithCertReceived> + smithCertReceived; + + factory _$GAccountsByPkData_account_identity_smith( + [void Function(GAccountsByPkData_account_identity_smithBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_smithBuilder()..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_smith._( + {required this.G__typename, + required this.id, + required this.forged, + required this.index, + this.lastChanged, + this.lastForged, + required this.smithCertIssued, + required this.smithCertReceived}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_identity_smith', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity_smith', 'id'); + BuiltValueNullFieldError.checkNotNull( + forged, r'GAccountsByPkData_account_identity_smith', 'forged'); + BuiltValueNullFieldError.checkNotNull( + index, r'GAccountsByPkData_account_identity_smith', 'index'); + BuiltValueNullFieldError.checkNotNull(smithCertIssued, + r'GAccountsByPkData_account_identity_smith', 'smithCertIssued'); + BuiltValueNullFieldError.checkNotNull(smithCertReceived, + r'GAccountsByPkData_account_identity_smith', 'smithCertReceived'); + } + + @override + GAccountsByPkData_account_identity_smith rebuild( + void Function(GAccountsByPkData_account_identity_smithBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_smithBuilder toBuilder() => + new GAccountsByPkData_account_identity_smithBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_identity_smith && + G__typename == other.G__typename && + id == other.id && + forged == other.forged && + index == other.index && + lastChanged == other.lastChanged && + lastForged == other.lastForged && + smithCertIssued == other.smithCertIssued && + smithCertReceived == other.smithCertReceived; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, forged.hashCode); + _$hash = $jc(_$hash, index.hashCode); + _$hash = $jc(_$hash, lastChanged.hashCode); + _$hash = $jc(_$hash, lastForged.hashCode); + _$hash = $jc(_$hash, smithCertIssued.hashCode); + _$hash = $jc(_$hash, smithCertReceived.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_smith') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('forged', forged) + ..add('index', index) + ..add('lastChanged', lastChanged) + ..add('lastForged', lastForged) + ..add('smithCertIssued', smithCertIssued) + ..add('smithCertReceived', smithCertReceived)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_smithBuilder + implements + Builder<GAccountsByPkData_account_identity_smith, + GAccountsByPkData_account_identity_smithBuilder> { + _$GAccountsByPkData_account_identity_smith? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _forged; + int? get forged => _$this._forged; + set forged(int? forged) => _$this._forged = forged; + + int? _index; + int? get index => _$this._index; + set index(int? index) => _$this._index = index; + + int? _lastChanged; + int? get lastChanged => _$this._lastChanged; + set lastChanged(int? lastChanged) => _$this._lastChanged = lastChanged; + + int? _lastForged; + int? get lastForged => _$this._lastForged; + set lastForged(int? lastForged) => _$this._lastForged = lastForged; + + ListBuilder<GAccountsByPkData_account_identity_smith_smithCertIssued>? + _smithCertIssued; + ListBuilder<GAccountsByPkData_account_identity_smith_smithCertIssued> + get smithCertIssued => _$this._smithCertIssued ??= new ListBuilder< + GAccountsByPkData_account_identity_smith_smithCertIssued>(); + set smithCertIssued( + ListBuilder<GAccountsByPkData_account_identity_smith_smithCertIssued>? + smithCertIssued) => + _$this._smithCertIssued = smithCertIssued; + + ListBuilder<GAccountsByPkData_account_identity_smith_smithCertReceived>? + _smithCertReceived; + ListBuilder<GAccountsByPkData_account_identity_smith_smithCertReceived> + get smithCertReceived => _$this._smithCertReceived ??= new ListBuilder< + GAccountsByPkData_account_identity_smith_smithCertReceived>(); + set smithCertReceived( + ListBuilder< + GAccountsByPkData_account_identity_smith_smithCertReceived>? + smithCertReceived) => + _$this._smithCertReceived = smithCertReceived; + + GAccountsByPkData_account_identity_smithBuilder() { + GAccountsByPkData_account_identity_smith._initializeBuilder(this); + } + + GAccountsByPkData_account_identity_smithBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _forged = $v.forged; + _index = $v.index; + _lastChanged = $v.lastChanged; + _lastForged = $v.lastForged; + _smithCertIssued = $v.smithCertIssued.toBuilder(); + _smithCertReceived = $v.smithCertReceived.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_identity_smith other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_identity_smith; + } + + @override + void update( + void Function(GAccountsByPkData_account_identity_smithBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_smith build() => _build(); + + _$GAccountsByPkData_account_identity_smith _build() { + _$GAccountsByPkData_account_identity_smith _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account_identity_smith._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_identity_smith', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity_smith', 'id'), + forged: BuiltValueNullFieldError.checkNotNull(forged, + r'GAccountsByPkData_account_identity_smith', 'forged'), + index: BuiltValueNullFieldError.checkNotNull( + index, r'GAccountsByPkData_account_identity_smith', 'index'), + lastChanged: lastChanged, + lastForged: lastForged, + smithCertIssued: smithCertIssued.build(), + smithCertReceived: smithCertReceived.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'smithCertIssued'; + smithCertIssued.build(); + _$failedField = 'smithCertReceived'; + smithCertReceived.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account_identity_smith', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_smith_smithCertIssued + extends GAccountsByPkData_account_identity_smith_smithCertIssued { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final String? receiverId; + @override + final int createdOn; + + factory _$GAccountsByPkData_account_identity_smith_smithCertIssued( + [void Function( + GAccountsByPkData_account_identity_smith_smithCertIssuedBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_smith_smithCertIssuedBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_smith_smithCertIssued._( + {required this.G__typename, + required this.id, + this.issuerId, + this.receiverId, + required this.createdOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_smith_smithCertIssued', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity_smith_smithCertIssued', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GAccountsByPkData_account_identity_smith_smithCertIssued', + 'createdOn'); + } + + @override + GAccountsByPkData_account_identity_smith_smithCertIssued rebuild( + void Function( + GAccountsByPkData_account_identity_smith_smithCertIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_smith_smithCertIssuedBuilder toBuilder() => + new GAccountsByPkData_account_identity_smith_smithCertIssuedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_identity_smith_smithCertIssued && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + receiverId == other.receiverId && + createdOn == other.createdOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_smith_smithCertIssued') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('receiverId', receiverId) + ..add('createdOn', createdOn)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_smith_smithCertIssuedBuilder + implements + Builder<GAccountsByPkData_account_identity_smith_smithCertIssued, + GAccountsByPkData_account_identity_smith_smithCertIssuedBuilder> { + _$GAccountsByPkData_account_identity_smith_smithCertIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + GAccountsByPkData_account_identity_smith_smithCertIssuedBuilder() { + GAccountsByPkData_account_identity_smith_smithCertIssued._initializeBuilder( + this); + } + + GAccountsByPkData_account_identity_smith_smithCertIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _receiverId = $v.receiverId; + _createdOn = $v.createdOn; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_identity_smith_smithCertIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_identity_smith_smithCertIssued; + } + + @override + void update( + void Function( + GAccountsByPkData_account_identity_smith_smithCertIssuedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_smith_smithCertIssued build() => _build(); + + _$GAccountsByPkData_account_identity_smith_smithCertIssued _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_identity_smith_smithCertIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_smith_smithCertIssued', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GAccountsByPkData_account_identity_smith_smithCertIssued', + 'id'), + issuerId: issuerId, + receiverId: receiverId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GAccountsByPkData_account_identity_smith_smithCertIssued', + 'createdOn')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_smith_smithCertReceived + extends GAccountsByPkData_account_identity_smith_smithCertReceived { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final String? receiverId; + @override + final int createdOn; + + factory _$GAccountsByPkData_account_identity_smith_smithCertReceived( + [void Function( + GAccountsByPkData_account_identity_smith_smithCertReceivedBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_smith_smithCertReceivedBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_smith_smithCertReceived._( + {required this.G__typename, + required this.id, + this.issuerId, + this.receiverId, + required this.createdOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_smith_smithCertReceived', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull(id, + r'GAccountsByPkData_account_identity_smith_smithCertReceived', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GAccountsByPkData_account_identity_smith_smithCertReceived', + 'createdOn'); + } + + @override + GAccountsByPkData_account_identity_smith_smithCertReceived rebuild( + void Function( + GAccountsByPkData_account_identity_smith_smithCertReceivedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_smith_smithCertReceivedBuilder + toBuilder() => + new GAccountsByPkData_account_identity_smith_smithCertReceivedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountsByPkData_account_identity_smith_smithCertReceived && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + receiverId == other.receiverId && + createdOn == other.createdOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_smith_smithCertReceived') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('receiverId', receiverId) + ..add('createdOn', createdOn)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_smith_smithCertReceivedBuilder + implements + Builder<GAccountsByPkData_account_identity_smith_smithCertReceived, + GAccountsByPkData_account_identity_smith_smithCertReceivedBuilder> { + _$GAccountsByPkData_account_identity_smith_smithCertReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + GAccountsByPkData_account_identity_smith_smithCertReceivedBuilder() { + GAccountsByPkData_account_identity_smith_smithCertReceived + ._initializeBuilder(this); + } + + GAccountsByPkData_account_identity_smith_smithCertReceivedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _receiverId = $v.receiverId; + _createdOn = $v.createdOn; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountsByPkData_account_identity_smith_smithCertReceived other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_identity_smith_smithCertReceived; + } + + @override + void update( + void Function( + GAccountsByPkData_account_identity_smith_smithCertReceivedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_smith_smithCertReceived build() => + _build(); + + _$GAccountsByPkData_account_identity_smith_smithCertReceived _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_identity_smith_smithCertReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_smith_smithCertReceived', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GAccountsByPkData_account_identity_smith_smithCertReceived', + 'id'), + issuerId: issuerId, + receiverId: receiverId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GAccountsByPkData_account_identity_smith_smithCertReceived', + 'createdOn')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_identity_udHistory + extends GAccountsByPkData_account_identity_udHistory { + @override + final String G__typename; + @override + final String id; + @override + final int amount; + @override + final _i2.Gtimestamptz timestamp; + + factory _$GAccountsByPkData_account_identity_udHistory( + [void Function(GAccountsByPkData_account_identity_udHistoryBuilder)? + updates]) => + (new GAccountsByPkData_account_identity_udHistoryBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_identity_udHistory._( + {required this.G__typename, + required this.id, + required this.amount, + required this.timestamp}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_identity_udHistory', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity_udHistory', 'id'); + BuiltValueNullFieldError.checkNotNull( + amount, r'GAccountsByPkData_account_identity_udHistory', 'amount'); + BuiltValueNullFieldError.checkNotNull(timestamp, + r'GAccountsByPkData_account_identity_udHistory', 'timestamp'); + } + + @override + GAccountsByPkData_account_identity_udHistory rebuild( + void Function(GAccountsByPkData_account_identity_udHistoryBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_identity_udHistoryBuilder toBuilder() => + new GAccountsByPkData_account_identity_udHistoryBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_identity_udHistory && + G__typename == other.G__typename && + id == other.id && + amount == other.amount && + timestamp == other.timestamp; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_identity_udHistory') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('amount', amount) + ..add('timestamp', timestamp)) + .toString(); + } +} + +class GAccountsByPkData_account_identity_udHistoryBuilder + implements + Builder<GAccountsByPkData_account_identity_udHistory, + GAccountsByPkData_account_identity_udHistoryBuilder> { + _$GAccountsByPkData_account_identity_udHistory? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + _i2.GtimestamptzBuilder? _timestamp; + _i2.GtimestamptzBuilder get timestamp => + _$this._timestamp ??= new _i2.GtimestamptzBuilder(); + set timestamp(_i2.GtimestamptzBuilder? timestamp) => + _$this._timestamp = timestamp; + + GAccountsByPkData_account_identity_udHistoryBuilder() { + GAccountsByPkData_account_identity_udHistory._initializeBuilder(this); + } + + GAccountsByPkData_account_identity_udHistoryBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _amount = $v.amount; + _timestamp = $v.timestamp.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_identity_udHistory other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_identity_udHistory; + } + + @override + void update( + void Function(GAccountsByPkData_account_identity_udHistoryBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_identity_udHistory build() => _build(); + + _$GAccountsByPkData_account_identity_udHistory _build() { + _$GAccountsByPkData_account_identity_udHistory _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account_identity_udHistory._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_identity_udHistory', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_identity_udHistory', 'id'), + amount: BuiltValueNullFieldError.checkNotNull(amount, + r'GAccountsByPkData_account_identity_udHistory', 'amount'), + timestamp: timestamp.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'timestamp'; + timestamp.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account_identity_udHistory', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_linkedIdentity + extends GAccountsByPkData_account_linkedIdentity { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountsByPkData_account_linkedIdentity( + [void Function(GAccountsByPkData_account_linkedIdentityBuilder)? + updates]) => + (new GAccountsByPkData_account_linkedIdentityBuilder()..update(updates)) + ._build(); + + _$GAccountsByPkData_account_linkedIdentity._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_linkedIdentity', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_linkedIdentity', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GAccountsByPkData_account_linkedIdentity', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GAccountsByPkData_account_linkedIdentity', 'name'); + } + + @override + GAccountsByPkData_account_linkedIdentity rebuild( + void Function(GAccountsByPkData_account_linkedIdentityBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_linkedIdentityBuilder toBuilder() => + new GAccountsByPkData_account_linkedIdentityBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_linkedIdentity && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_linkedIdentity') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountsByPkData_account_linkedIdentityBuilder + implements + Builder<GAccountsByPkData_account_linkedIdentity, + GAccountsByPkData_account_linkedIdentityBuilder> { + _$GAccountsByPkData_account_linkedIdentity? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountsByPkData_account_linkedIdentityBuilder() { + GAccountsByPkData_account_linkedIdentity._initializeBuilder(this); + } + + GAccountsByPkData_account_linkedIdentityBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_linkedIdentity other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_linkedIdentity; + } + + @override + void update( + void Function(GAccountsByPkData_account_linkedIdentityBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_linkedIdentity build() => _build(); + + _$GAccountsByPkData_account_linkedIdentity _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_linkedIdentity._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_linkedIdentity', 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_linkedIdentity', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull(isMember, + r'GAccountsByPkData_account_linkedIdentity', 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, r'GAccountsByPkData_account_linkedIdentity', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_removedIdentities + extends GAccountsByPkData_account_removedIdentities { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountsByPkData_account_removedIdentities( + [void Function(GAccountsByPkData_account_removedIdentitiesBuilder)? + updates]) => + (new GAccountsByPkData_account_removedIdentitiesBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_removedIdentities._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_removedIdentities', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_removedIdentities', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GAccountsByPkData_account_removedIdentities', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GAccountsByPkData_account_removedIdentities', 'name'); + } + + @override + GAccountsByPkData_account_removedIdentities rebuild( + void Function(GAccountsByPkData_account_removedIdentitiesBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_removedIdentitiesBuilder toBuilder() => + new GAccountsByPkData_account_removedIdentitiesBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_removedIdentities && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_removedIdentities') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountsByPkData_account_removedIdentitiesBuilder + implements + Builder<GAccountsByPkData_account_removedIdentities, + GAccountsByPkData_account_removedIdentitiesBuilder> { + _$GAccountsByPkData_account_removedIdentities? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountsByPkData_account_removedIdentitiesBuilder() { + GAccountsByPkData_account_removedIdentities._initializeBuilder(this); + } + + GAccountsByPkData_account_removedIdentitiesBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_removedIdentities other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_removedIdentities; + } + + @override + void update( + void Function(GAccountsByPkData_account_removedIdentitiesBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_removedIdentities build() => _build(); + + _$GAccountsByPkData_account_removedIdentities _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_removedIdentities._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_removedIdentities', 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_removedIdentities', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull(isMember, + r'GAccountsByPkData_account_removedIdentities', 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, r'GAccountsByPkData_account_removedIdentities', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_removedIdentitiesAggregate + extends GAccountsByPkData_account_removedIdentitiesAggregate { + @override + final String G__typename; + @override + final GAccountsByPkData_account_removedIdentitiesAggregate_aggregate? + aggregate; + + factory _$GAccountsByPkData_account_removedIdentitiesAggregate( + [void Function( + GAccountsByPkData_account_removedIdentitiesAggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_removedIdentitiesAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_removedIdentitiesAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_removedIdentitiesAggregate', 'G__typename'); + } + + @override + GAccountsByPkData_account_removedIdentitiesAggregate rebuild( + void Function( + GAccountsByPkData_account_removedIdentitiesAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_removedIdentitiesAggregateBuilder toBuilder() => + new GAccountsByPkData_account_removedIdentitiesAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_removedIdentitiesAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_removedIdentitiesAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountsByPkData_account_removedIdentitiesAggregateBuilder + implements + Builder<GAccountsByPkData_account_removedIdentitiesAggregate, + GAccountsByPkData_account_removedIdentitiesAggregateBuilder> { + _$GAccountsByPkData_account_removedIdentitiesAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountsByPkData_account_removedIdentitiesAggregate_aggregateBuilder? + _aggregate; + GAccountsByPkData_account_removedIdentitiesAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountsByPkData_account_removedIdentitiesAggregate_aggregateBuilder(); + set aggregate( + GAccountsByPkData_account_removedIdentitiesAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountsByPkData_account_removedIdentitiesAggregateBuilder() { + GAccountsByPkData_account_removedIdentitiesAggregate._initializeBuilder( + this); + } + + GAccountsByPkData_account_removedIdentitiesAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_removedIdentitiesAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_removedIdentitiesAggregate; + } + + @override + void update( + void Function( + GAccountsByPkData_account_removedIdentitiesAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_removedIdentitiesAggregate build() => _build(); + + _$GAccountsByPkData_account_removedIdentitiesAggregate _build() { + _$GAccountsByPkData_account_removedIdentitiesAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account_removedIdentitiesAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_removedIdentitiesAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account_removedIdentitiesAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_removedIdentitiesAggregate_aggregate + extends GAccountsByPkData_account_removedIdentitiesAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountsByPkData_account_removedIdentitiesAggregate_aggregate( + [void Function( + GAccountsByPkData_account_removedIdentitiesAggregate_aggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_removedIdentitiesAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_removedIdentitiesAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_removedIdentitiesAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountsByPkData_account_removedIdentitiesAggregate_aggregate', + 'count'); + } + + @override + GAccountsByPkData_account_removedIdentitiesAggregate_aggregate rebuild( + void Function( + GAccountsByPkData_account_removedIdentitiesAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_removedIdentitiesAggregate_aggregateBuilder + toBuilder() => + new GAccountsByPkData_account_removedIdentitiesAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountsByPkData_account_removedIdentitiesAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_removedIdentitiesAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountsByPkData_account_removedIdentitiesAggregate_aggregateBuilder + implements + Builder<GAccountsByPkData_account_removedIdentitiesAggregate_aggregate, + GAccountsByPkData_account_removedIdentitiesAggregate_aggregateBuilder> { + _$GAccountsByPkData_account_removedIdentitiesAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountsByPkData_account_removedIdentitiesAggregate_aggregateBuilder() { + GAccountsByPkData_account_removedIdentitiesAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountsByPkData_account_removedIdentitiesAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountsByPkData_account_removedIdentitiesAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountsByPkData_account_removedIdentitiesAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountsByPkData_account_removedIdentitiesAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_removedIdentitiesAggregate_aggregate build() => + _build(); + + _$GAccountsByPkData_account_removedIdentitiesAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_removedIdentitiesAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_removedIdentitiesAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountsByPkData_account_removedIdentitiesAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_transfersIssued + extends GAccountsByPkData_account_transfersIssued { + @override + final String G__typename; + @override + final int blockNumber; + @override + final _i2.Gtimestamptz timestamp; + @override + final int amount; + @override + final GAccountsByPkData_account_transfersIssued_to? to; + @override + final GAccountsByPkData_account_transfersIssued_from? from; + @override + final GAccountsByPkData_account_transfersIssued_comment? comment; + + factory _$GAccountsByPkData_account_transfersIssued( + [void Function(GAccountsByPkData_account_transfersIssuedBuilder)? + updates]) => + (new GAccountsByPkData_account_transfersIssuedBuilder()..update(updates)) + ._build(); + + _$GAccountsByPkData_account_transfersIssued._( + {required this.G__typename, + required this.blockNumber, + required this.timestamp, + required this.amount, + this.to, + this.from, + this.comment}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_transfersIssued', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountsByPkData_account_transfersIssued', 'blockNumber'); + BuiltValueNullFieldError.checkNotNull( + timestamp, r'GAccountsByPkData_account_transfersIssued', 'timestamp'); + BuiltValueNullFieldError.checkNotNull( + amount, r'GAccountsByPkData_account_transfersIssued', 'amount'); + } + + @override + GAccountsByPkData_account_transfersIssued rebuild( + void Function(GAccountsByPkData_account_transfersIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_transfersIssuedBuilder toBuilder() => + new GAccountsByPkData_account_transfersIssuedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_transfersIssued && + G__typename == other.G__typename && + blockNumber == other.blockNumber && + timestamp == other.timestamp && + amount == other.amount && + to == other.to && + from == other.from && + comment == other.comment; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jc(_$hash, to.hashCode); + _$hash = $jc(_$hash, from.hashCode); + _$hash = $jc(_$hash, comment.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_transfersIssued') + ..add('G__typename', G__typename) + ..add('blockNumber', blockNumber) + ..add('timestamp', timestamp) + ..add('amount', amount) + ..add('to', to) + ..add('from', from) + ..add('comment', comment)) + .toString(); + } +} + +class GAccountsByPkData_account_transfersIssuedBuilder + implements + Builder<GAccountsByPkData_account_transfersIssued, + GAccountsByPkData_account_transfersIssuedBuilder> { + _$GAccountsByPkData_account_transfersIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + _i2.GtimestamptzBuilder? _timestamp; + _i2.GtimestamptzBuilder get timestamp => + _$this._timestamp ??= new _i2.GtimestamptzBuilder(); + set timestamp(_i2.GtimestamptzBuilder? timestamp) => + _$this._timestamp = timestamp; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + GAccountsByPkData_account_transfersIssued_toBuilder? _to; + GAccountsByPkData_account_transfersIssued_toBuilder get to => + _$this._to ??= new GAccountsByPkData_account_transfersIssued_toBuilder(); + set to(GAccountsByPkData_account_transfersIssued_toBuilder? to) => + _$this._to = to; + + GAccountsByPkData_account_transfersIssued_fromBuilder? _from; + GAccountsByPkData_account_transfersIssued_fromBuilder get from => + _$this._from ??= + new GAccountsByPkData_account_transfersIssued_fromBuilder(); + set from(GAccountsByPkData_account_transfersIssued_fromBuilder? from) => + _$this._from = from; + + GAccountsByPkData_account_transfersIssued_commentBuilder? _comment; + GAccountsByPkData_account_transfersIssued_commentBuilder get comment => + _$this._comment ??= + new GAccountsByPkData_account_transfersIssued_commentBuilder(); + set comment( + GAccountsByPkData_account_transfersIssued_commentBuilder? comment) => + _$this._comment = comment; + + GAccountsByPkData_account_transfersIssuedBuilder() { + GAccountsByPkData_account_transfersIssued._initializeBuilder(this); + } + + GAccountsByPkData_account_transfersIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _blockNumber = $v.blockNumber; + _timestamp = $v.timestamp.toBuilder(); + _amount = $v.amount; + _to = $v.to?.toBuilder(); + _from = $v.from?.toBuilder(); + _comment = $v.comment?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_transfersIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_transfersIssued; + } + + @override + void update( + void Function(GAccountsByPkData_account_transfersIssuedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_transfersIssued build() => _build(); + + _$GAccountsByPkData_account_transfersIssued _build() { + _$GAccountsByPkData_account_transfersIssued _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account_transfersIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_transfersIssued', 'G__typename'), + blockNumber: BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountsByPkData_account_transfersIssued', 'blockNumber'), + timestamp: timestamp.build(), + amount: BuiltValueNullFieldError.checkNotNull(amount, + r'GAccountsByPkData_account_transfersIssued', 'amount'), + to: _to?.build(), + from: _from?.build(), + comment: _comment?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'timestamp'; + timestamp.build(); + + _$failedField = 'to'; + _to?.build(); + _$failedField = 'from'; + _from?.build(); + _$failedField = 'comment'; + _comment?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account_transfersIssued', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_transfersIssued_to + extends GAccountsByPkData_account_transfersIssued_to { + @override + final String G__typename; + @override + final String id; + + factory _$GAccountsByPkData_account_transfersIssued_to( + [void Function(GAccountsByPkData_account_transfersIssued_toBuilder)? + updates]) => + (new GAccountsByPkData_account_transfersIssued_toBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_transfersIssued_to._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_transfersIssued_to', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_transfersIssued_to', 'id'); + } + + @override + GAccountsByPkData_account_transfersIssued_to rebuild( + void Function(GAccountsByPkData_account_transfersIssued_toBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_transfersIssued_toBuilder toBuilder() => + new GAccountsByPkData_account_transfersIssued_toBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_transfersIssued_to && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_transfersIssued_to') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GAccountsByPkData_account_transfersIssued_toBuilder + implements + Builder<GAccountsByPkData_account_transfersIssued_to, + GAccountsByPkData_account_transfersIssued_toBuilder> { + _$GAccountsByPkData_account_transfersIssued_to? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GAccountsByPkData_account_transfersIssued_toBuilder() { + GAccountsByPkData_account_transfersIssued_to._initializeBuilder(this); + } + + GAccountsByPkData_account_transfersIssued_toBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_transfersIssued_to other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_transfersIssued_to; + } + + @override + void update( + void Function(GAccountsByPkData_account_transfersIssued_toBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_transfersIssued_to build() => _build(); + + _$GAccountsByPkData_account_transfersIssued_to _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_transfersIssued_to._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_transfersIssued_to', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_transfersIssued_to', 'id')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_transfersIssued_from + extends GAccountsByPkData_account_transfersIssued_from { + @override + final String G__typename; + @override + final String id; + + factory _$GAccountsByPkData_account_transfersIssued_from( + [void Function(GAccountsByPkData_account_transfersIssued_fromBuilder)? + updates]) => + (new GAccountsByPkData_account_transfersIssued_fromBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_transfersIssued_from._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_transfersIssued_from', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_transfersIssued_from', 'id'); + } + + @override + GAccountsByPkData_account_transfersIssued_from rebuild( + void Function(GAccountsByPkData_account_transfersIssued_fromBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_transfersIssued_fromBuilder toBuilder() => + new GAccountsByPkData_account_transfersIssued_fromBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_transfersIssued_from && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_transfersIssued_from') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GAccountsByPkData_account_transfersIssued_fromBuilder + implements + Builder<GAccountsByPkData_account_transfersIssued_from, + GAccountsByPkData_account_transfersIssued_fromBuilder> { + _$GAccountsByPkData_account_transfersIssued_from? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GAccountsByPkData_account_transfersIssued_fromBuilder() { + GAccountsByPkData_account_transfersIssued_from._initializeBuilder(this); + } + + GAccountsByPkData_account_transfersIssued_fromBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_transfersIssued_from other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_transfersIssued_from; + } + + @override + void update( + void Function(GAccountsByPkData_account_transfersIssued_fromBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_transfersIssued_from build() => _build(); + + _$GAccountsByPkData_account_transfersIssued_from _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_transfersIssued_from._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_transfersIssued_from', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_transfersIssued_from', 'id')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_transfersIssued_comment + extends GAccountsByPkData_account_transfersIssued_comment { + @override + final String G__typename; + @override + final String remark; + + factory _$GAccountsByPkData_account_transfersIssued_comment( + [void Function( + GAccountsByPkData_account_transfersIssued_commentBuilder)? + updates]) => + (new GAccountsByPkData_account_transfersIssued_commentBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_transfersIssued_comment._( + {required this.G__typename, required this.remark}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_transfersIssued_comment', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + remark, r'GAccountsByPkData_account_transfersIssued_comment', 'remark'); + } + + @override + GAccountsByPkData_account_transfersIssued_comment rebuild( + void Function( + GAccountsByPkData_account_transfersIssued_commentBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_transfersIssued_commentBuilder toBuilder() => + new GAccountsByPkData_account_transfersIssued_commentBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_transfersIssued_comment && + G__typename == other.G__typename && + remark == other.remark; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, remark.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_transfersIssued_comment') + ..add('G__typename', G__typename) + ..add('remark', remark)) + .toString(); + } +} + +class GAccountsByPkData_account_transfersIssued_commentBuilder + implements + Builder<GAccountsByPkData_account_transfersIssued_comment, + GAccountsByPkData_account_transfersIssued_commentBuilder> { + _$GAccountsByPkData_account_transfersIssued_comment? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _remark; + String? get remark => _$this._remark; + set remark(String? remark) => _$this._remark = remark; + + GAccountsByPkData_account_transfersIssued_commentBuilder() { + GAccountsByPkData_account_transfersIssued_comment._initializeBuilder(this); + } + + GAccountsByPkData_account_transfersIssued_commentBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _remark = $v.remark; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_transfersIssued_comment other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_transfersIssued_comment; + } + + @override + void update( + void Function(GAccountsByPkData_account_transfersIssued_commentBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_transfersIssued_comment build() => _build(); + + _$GAccountsByPkData_account_transfersIssued_comment _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_transfersIssued_comment._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_transfersIssued_comment', + 'G__typename'), + remark: BuiltValueNullFieldError.checkNotNull( + remark, + r'GAccountsByPkData_account_transfersIssued_comment', + 'remark')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_transfersIssuedAggregate + extends GAccountsByPkData_account_transfersIssuedAggregate { + @override + final String G__typename; + @override + final GAccountsByPkData_account_transfersIssuedAggregate_aggregate? aggregate; + + factory _$GAccountsByPkData_account_transfersIssuedAggregate( + [void Function( + GAccountsByPkData_account_transfersIssuedAggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_transfersIssuedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_transfersIssuedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_transfersIssuedAggregate', 'G__typename'); + } + + @override + GAccountsByPkData_account_transfersIssuedAggregate rebuild( + void Function( + GAccountsByPkData_account_transfersIssuedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_transfersIssuedAggregateBuilder toBuilder() => + new GAccountsByPkData_account_transfersIssuedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_transfersIssuedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_transfersIssuedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountsByPkData_account_transfersIssuedAggregateBuilder + implements + Builder<GAccountsByPkData_account_transfersIssuedAggregate, + GAccountsByPkData_account_transfersIssuedAggregateBuilder> { + _$GAccountsByPkData_account_transfersIssuedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountsByPkData_account_transfersIssuedAggregate_aggregateBuilder? + _aggregate; + GAccountsByPkData_account_transfersIssuedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountsByPkData_account_transfersIssuedAggregate_aggregateBuilder(); + set aggregate( + GAccountsByPkData_account_transfersIssuedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountsByPkData_account_transfersIssuedAggregateBuilder() { + GAccountsByPkData_account_transfersIssuedAggregate._initializeBuilder(this); + } + + GAccountsByPkData_account_transfersIssuedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_transfersIssuedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_transfersIssuedAggregate; + } + + @override + void update( + void Function(GAccountsByPkData_account_transfersIssuedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_transfersIssuedAggregate build() => _build(); + + _$GAccountsByPkData_account_transfersIssuedAggregate _build() { + _$GAccountsByPkData_account_transfersIssuedAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account_transfersIssuedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_transfersIssuedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account_transfersIssuedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate + extends GAccountsByPkData_account_transfersIssuedAggregate_aggregate { + @override + final String G__typename; + @override + final GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum? sum; + @override + final int count; + + factory _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate( + [void Function( + GAccountsByPkData_account_transfersIssuedAggregate_aggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_transfersIssuedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate._( + {required this.G__typename, this.sum, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_transfersIssuedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountsByPkData_account_transfersIssuedAggregate_aggregate', + 'count'); + } + + @override + GAccountsByPkData_account_transfersIssuedAggregate_aggregate rebuild( + void Function( + GAccountsByPkData_account_transfersIssuedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_transfersIssuedAggregate_aggregateBuilder + toBuilder() => + new GAccountsByPkData_account_transfersIssuedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountsByPkData_account_transfersIssuedAggregate_aggregate && + G__typename == other.G__typename && + sum == other.sum && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, sum.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_transfersIssuedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('sum', sum) + ..add('count', count)) + .toString(); + } +} + +class GAccountsByPkData_account_transfersIssuedAggregate_aggregateBuilder + implements + Builder<GAccountsByPkData_account_transfersIssuedAggregate_aggregate, + GAccountsByPkData_account_transfersIssuedAggregate_aggregateBuilder> { + _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumBuilder? _sum; + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumBuilder + get sum => _$this._sum ??= + new GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumBuilder(); + set sum( + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumBuilder? + sum) => + _$this._sum = sum; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountsByPkData_account_transfersIssuedAggregate_aggregateBuilder() { + GAccountsByPkData_account_transfersIssuedAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountsByPkData_account_transfersIssuedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _sum = $v.sum?.toBuilder(); + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountsByPkData_account_transfersIssuedAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = + other as _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountsByPkData_account_transfersIssuedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_transfersIssuedAggregate_aggregate build() => + _build(); + + _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate _build() { + _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_transfersIssuedAggregate_aggregate', + 'G__typename'), + sum: _sum?.build(), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountsByPkData_account_transfersIssuedAggregate_aggregate', + 'count')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'sum'; + _sum?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account_transfersIssuedAggregate_aggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum + extends GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum { + @override + final String G__typename; + @override + final int? amount; + + factory _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum( + [void Function( + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumBuilder)? + updates]) => + (new GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum._( + {required this.G__typename, this.amount}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum', + 'G__typename'); + } + + @override + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum rebuild( + void Function( + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumBuilder + toBuilder() => + new GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum && + G__typename == other.G__typename && + amount == other.amount; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum') + ..add('G__typename', G__typename) + ..add('amount', amount)) + .toString(); + } +} + +class GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumBuilder + implements + Builder< + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum, + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumBuilder> { + _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumBuilder() { + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum + ._initializeBuilder(this); + } + + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _amount = $v.amount; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum; + } + + @override + void update( + void Function( + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sumBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum build() => + _build(); + + _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum', + 'G__typename'), + amount: amount); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_transfersReceived + extends GAccountsByPkData_account_transfersReceived { + @override + final String G__typename; + @override + final int blockNumber; + @override + final _i2.Gtimestamptz timestamp; + @override + final int amount; + @override + final GAccountsByPkData_account_transfersReceived_to? to; + @override + final GAccountsByPkData_account_transfersReceived_from? from; + @override + final GAccountsByPkData_account_transfersReceived_comment? comment; + + factory _$GAccountsByPkData_account_transfersReceived( + [void Function(GAccountsByPkData_account_transfersReceivedBuilder)? + updates]) => + (new GAccountsByPkData_account_transfersReceivedBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_transfersReceived._( + {required this.G__typename, + required this.blockNumber, + required this.timestamp, + required this.amount, + this.to, + this.from, + this.comment}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_transfersReceived', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountsByPkData_account_transfersReceived', 'blockNumber'); + BuiltValueNullFieldError.checkNotNull( + timestamp, r'GAccountsByPkData_account_transfersReceived', 'timestamp'); + BuiltValueNullFieldError.checkNotNull( + amount, r'GAccountsByPkData_account_transfersReceived', 'amount'); + } + + @override + GAccountsByPkData_account_transfersReceived rebuild( + void Function(GAccountsByPkData_account_transfersReceivedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_transfersReceivedBuilder toBuilder() => + new GAccountsByPkData_account_transfersReceivedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_transfersReceived && + G__typename == other.G__typename && + blockNumber == other.blockNumber && + timestamp == other.timestamp && + amount == other.amount && + to == other.to && + from == other.from && + comment == other.comment; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jc(_$hash, to.hashCode); + _$hash = $jc(_$hash, from.hashCode); + _$hash = $jc(_$hash, comment.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_transfersReceived') + ..add('G__typename', G__typename) + ..add('blockNumber', blockNumber) + ..add('timestamp', timestamp) + ..add('amount', amount) + ..add('to', to) + ..add('from', from) + ..add('comment', comment)) + .toString(); + } +} + +class GAccountsByPkData_account_transfersReceivedBuilder + implements + Builder<GAccountsByPkData_account_transfersReceived, + GAccountsByPkData_account_transfersReceivedBuilder> { + _$GAccountsByPkData_account_transfersReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + _i2.GtimestamptzBuilder? _timestamp; + _i2.GtimestamptzBuilder get timestamp => + _$this._timestamp ??= new _i2.GtimestamptzBuilder(); + set timestamp(_i2.GtimestamptzBuilder? timestamp) => + _$this._timestamp = timestamp; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + GAccountsByPkData_account_transfersReceived_toBuilder? _to; + GAccountsByPkData_account_transfersReceived_toBuilder get to => _$this._to ??= + new GAccountsByPkData_account_transfersReceived_toBuilder(); + set to(GAccountsByPkData_account_transfersReceived_toBuilder? to) => + _$this._to = to; + + GAccountsByPkData_account_transfersReceived_fromBuilder? _from; + GAccountsByPkData_account_transfersReceived_fromBuilder get from => + _$this._from ??= + new GAccountsByPkData_account_transfersReceived_fromBuilder(); + set from(GAccountsByPkData_account_transfersReceived_fromBuilder? from) => + _$this._from = from; + + GAccountsByPkData_account_transfersReceived_commentBuilder? _comment; + GAccountsByPkData_account_transfersReceived_commentBuilder get comment => + _$this._comment ??= + new GAccountsByPkData_account_transfersReceived_commentBuilder(); + set comment( + GAccountsByPkData_account_transfersReceived_commentBuilder? + comment) => + _$this._comment = comment; + + GAccountsByPkData_account_transfersReceivedBuilder() { + GAccountsByPkData_account_transfersReceived._initializeBuilder(this); + } + + GAccountsByPkData_account_transfersReceivedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _blockNumber = $v.blockNumber; + _timestamp = $v.timestamp.toBuilder(); + _amount = $v.amount; + _to = $v.to?.toBuilder(); + _from = $v.from?.toBuilder(); + _comment = $v.comment?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_transfersReceived other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_transfersReceived; + } + + @override + void update( + void Function(GAccountsByPkData_account_transfersReceivedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_transfersReceived build() => _build(); + + _$GAccountsByPkData_account_transfersReceived _build() { + _$GAccountsByPkData_account_transfersReceived _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account_transfersReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_transfersReceived', + 'G__typename'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GAccountsByPkData_account_transfersReceived', + 'blockNumber'), + timestamp: timestamp.build(), + amount: BuiltValueNullFieldError.checkNotNull(amount, + r'GAccountsByPkData_account_transfersReceived', 'amount'), + to: _to?.build(), + from: _from?.build(), + comment: _comment?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'timestamp'; + timestamp.build(); + + _$failedField = 'to'; + _to?.build(); + _$failedField = 'from'; + _from?.build(); + _$failedField = 'comment'; + _comment?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account_transfersReceived', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_transfersReceived_to + extends GAccountsByPkData_account_transfersReceived_to { + @override + final String G__typename; + @override + final String id; + + factory _$GAccountsByPkData_account_transfersReceived_to( + [void Function(GAccountsByPkData_account_transfersReceived_toBuilder)? + updates]) => + (new GAccountsByPkData_account_transfersReceived_toBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_transfersReceived_to._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_transfersReceived_to', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_transfersReceived_to', 'id'); + } + + @override + GAccountsByPkData_account_transfersReceived_to rebuild( + void Function(GAccountsByPkData_account_transfersReceived_toBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_transfersReceived_toBuilder toBuilder() => + new GAccountsByPkData_account_transfersReceived_toBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_transfersReceived_to && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_transfersReceived_to') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GAccountsByPkData_account_transfersReceived_toBuilder + implements + Builder<GAccountsByPkData_account_transfersReceived_to, + GAccountsByPkData_account_transfersReceived_toBuilder> { + _$GAccountsByPkData_account_transfersReceived_to? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GAccountsByPkData_account_transfersReceived_toBuilder() { + GAccountsByPkData_account_transfersReceived_to._initializeBuilder(this); + } + + GAccountsByPkData_account_transfersReceived_toBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_transfersReceived_to other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_transfersReceived_to; + } + + @override + void update( + void Function(GAccountsByPkData_account_transfersReceived_toBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_transfersReceived_to build() => _build(); + + _$GAccountsByPkData_account_transfersReceived_to _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_transfersReceived_to._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_transfersReceived_to', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_transfersReceived_to', 'id')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_transfersReceived_from + extends GAccountsByPkData_account_transfersReceived_from { + @override + final String G__typename; + @override + final String id; + + factory _$GAccountsByPkData_account_transfersReceived_from( + [void Function( + GAccountsByPkData_account_transfersReceived_fromBuilder)? + updates]) => + (new GAccountsByPkData_account_transfersReceived_fromBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_transfersReceived_from._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_transfersReceived_from', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_transfersReceived_from', 'id'); + } + + @override + GAccountsByPkData_account_transfersReceived_from rebuild( + void Function(GAccountsByPkData_account_transfersReceived_fromBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_transfersReceived_fromBuilder toBuilder() => + new GAccountsByPkData_account_transfersReceived_fromBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_transfersReceived_from && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_transfersReceived_from') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GAccountsByPkData_account_transfersReceived_fromBuilder + implements + Builder<GAccountsByPkData_account_transfersReceived_from, + GAccountsByPkData_account_transfersReceived_fromBuilder> { + _$GAccountsByPkData_account_transfersReceived_from? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GAccountsByPkData_account_transfersReceived_fromBuilder() { + GAccountsByPkData_account_transfersReceived_from._initializeBuilder(this); + } + + GAccountsByPkData_account_transfersReceived_fromBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_transfersReceived_from other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_transfersReceived_from; + } + + @override + void update( + void Function(GAccountsByPkData_account_transfersReceived_fromBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_transfersReceived_from build() => _build(); + + _$GAccountsByPkData_account_transfersReceived_from _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_transfersReceived_from._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_transfersReceived_from', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_transfersReceived_from', 'id')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_transfersReceived_comment + extends GAccountsByPkData_account_transfersReceived_comment { + @override + final String G__typename; + @override + final String remark; + + factory _$GAccountsByPkData_account_transfersReceived_comment( + [void Function( + GAccountsByPkData_account_transfersReceived_commentBuilder)? + updates]) => + (new GAccountsByPkData_account_transfersReceived_commentBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_transfersReceived_comment._( + {required this.G__typename, required this.remark}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_transfersReceived_comment', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(remark, + r'GAccountsByPkData_account_transfersReceived_comment', 'remark'); + } + + @override + GAccountsByPkData_account_transfersReceived_comment rebuild( + void Function( + GAccountsByPkData_account_transfersReceived_commentBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_transfersReceived_commentBuilder toBuilder() => + new GAccountsByPkData_account_transfersReceived_commentBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_transfersReceived_comment && + G__typename == other.G__typename && + remark == other.remark; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, remark.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_transfersReceived_comment') + ..add('G__typename', G__typename) + ..add('remark', remark)) + .toString(); + } +} + +class GAccountsByPkData_account_transfersReceived_commentBuilder + implements + Builder<GAccountsByPkData_account_transfersReceived_comment, + GAccountsByPkData_account_transfersReceived_commentBuilder> { + _$GAccountsByPkData_account_transfersReceived_comment? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _remark; + String? get remark => _$this._remark; + set remark(String? remark) => _$this._remark = remark; + + GAccountsByPkData_account_transfersReceived_commentBuilder() { + GAccountsByPkData_account_transfersReceived_comment._initializeBuilder( + this); + } + + GAccountsByPkData_account_transfersReceived_commentBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _remark = $v.remark; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_transfersReceived_comment other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_transfersReceived_comment; + } + + @override + void update( + void Function(GAccountsByPkData_account_transfersReceived_commentBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_transfersReceived_comment build() => _build(); + + _$GAccountsByPkData_account_transfersReceived_comment _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_transfersReceived_comment._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_transfersReceived_comment', + 'G__typename'), + remark: BuiltValueNullFieldError.checkNotNull( + remark, + r'GAccountsByPkData_account_transfersReceived_comment', + 'remark')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_transfersReceivedAggregate + extends GAccountsByPkData_account_transfersReceivedAggregate { + @override + final String G__typename; + @override + final GAccountsByPkData_account_transfersReceivedAggregate_aggregate? + aggregate; + + factory _$GAccountsByPkData_account_transfersReceivedAggregate( + [void Function( + GAccountsByPkData_account_transfersReceivedAggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_transfersReceivedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_transfersReceivedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_transfersReceivedAggregate', 'G__typename'); + } + + @override + GAccountsByPkData_account_transfersReceivedAggregate rebuild( + void Function( + GAccountsByPkData_account_transfersReceivedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_transfersReceivedAggregateBuilder toBuilder() => + new GAccountsByPkData_account_transfersReceivedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_transfersReceivedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_transfersReceivedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountsByPkData_account_transfersReceivedAggregateBuilder + implements + Builder<GAccountsByPkData_account_transfersReceivedAggregate, + GAccountsByPkData_account_transfersReceivedAggregateBuilder> { + _$GAccountsByPkData_account_transfersReceivedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountsByPkData_account_transfersReceivedAggregate_aggregateBuilder? + _aggregate; + GAccountsByPkData_account_transfersReceivedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountsByPkData_account_transfersReceivedAggregate_aggregateBuilder(); + set aggregate( + GAccountsByPkData_account_transfersReceivedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountsByPkData_account_transfersReceivedAggregateBuilder() { + GAccountsByPkData_account_transfersReceivedAggregate._initializeBuilder( + this); + } + + GAccountsByPkData_account_transfersReceivedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_transfersReceivedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_transfersReceivedAggregate; + } + + @override + void update( + void Function( + GAccountsByPkData_account_transfersReceivedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_transfersReceivedAggregate build() => _build(); + + _$GAccountsByPkData_account_transfersReceivedAggregate _build() { + _$GAccountsByPkData_account_transfersReceivedAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account_transfersReceivedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_transfersReceivedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account_transfersReceivedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate + extends GAccountsByPkData_account_transfersReceivedAggregate_aggregate { + @override + final String G__typename; + @override + final GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum? sum; + @override + final int count; + + factory _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate( + [void Function( + GAccountsByPkData_account_transfersReceivedAggregate_aggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_transfersReceivedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate._( + {required this.G__typename, this.sum, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_transfersReceivedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountsByPkData_account_transfersReceivedAggregate_aggregate', + 'count'); + } + + @override + GAccountsByPkData_account_transfersReceivedAggregate_aggregate rebuild( + void Function( + GAccountsByPkData_account_transfersReceivedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_transfersReceivedAggregate_aggregateBuilder + toBuilder() => + new GAccountsByPkData_account_transfersReceivedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountsByPkData_account_transfersReceivedAggregate_aggregate && + G__typename == other.G__typename && + sum == other.sum && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, sum.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_transfersReceivedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('sum', sum) + ..add('count', count)) + .toString(); + } +} + +class GAccountsByPkData_account_transfersReceivedAggregate_aggregateBuilder + implements + Builder<GAccountsByPkData_account_transfersReceivedAggregate_aggregate, + GAccountsByPkData_account_transfersReceivedAggregate_aggregateBuilder> { + _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumBuilder? + _sum; + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumBuilder + get sum => _$this._sum ??= + new GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumBuilder(); + set sum( + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumBuilder? + sum) => + _$this._sum = sum; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountsByPkData_account_transfersReceivedAggregate_aggregateBuilder() { + GAccountsByPkData_account_transfersReceivedAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountsByPkData_account_transfersReceivedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _sum = $v.sum?.toBuilder(); + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountsByPkData_account_transfersReceivedAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountsByPkData_account_transfersReceivedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_transfersReceivedAggregate_aggregate build() => + _build(); + + _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate _build() { + _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_transfersReceivedAggregate_aggregate', + 'G__typename'), + sum: _sum?.build(), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountsByPkData_account_transfersReceivedAggregate_aggregate', + 'count')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'sum'; + _sum?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account_transfersReceivedAggregate_aggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum + extends GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum { + @override + final String G__typename; + @override + final int? amount; + + factory _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum( + [void Function( + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumBuilder)? + updates]) => + (new GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum._( + {required this.G__typename, this.amount}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum', + 'G__typename'); + } + + @override + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum rebuild( + void Function( + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumBuilder + toBuilder() => + new GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum && + G__typename == other.G__typename && + amount == other.amount; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum') + ..add('G__typename', G__typename) + ..add('amount', amount)) + .toString(); + } +} + +class GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumBuilder + implements + Builder< + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum, + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumBuilder> { + _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumBuilder() { + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum + ._initializeBuilder(this); + } + + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _amount = $v.amount; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum; + } + + @override + void update( + void Function( + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sumBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum build() => + _build(); + + _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum + _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum', + 'G__typename'), + amount: amount); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_wasIdentity + extends GAccountsByPkData_account_wasIdentity { + @override + final String G__typename; + @override + final String id; + @override + final int blockNumber; + @override + final String? identityId; + @override + final String? nextId; + @override + final String? previousId; + + factory _$GAccountsByPkData_account_wasIdentity( + [void Function(GAccountsByPkData_account_wasIdentityBuilder)? + updates]) => + (new GAccountsByPkData_account_wasIdentityBuilder()..update(updates)) + ._build(); + + _$GAccountsByPkData_account_wasIdentity._( + {required this.G__typename, + required this.id, + required this.blockNumber, + this.identityId, + this.nextId, + this.previousId}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountsByPkData_account_wasIdentity', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_wasIdentity', 'id'); + BuiltValueNullFieldError.checkNotNull( + blockNumber, r'GAccountsByPkData_account_wasIdentity', 'blockNumber'); + } + + @override + GAccountsByPkData_account_wasIdentity rebuild( + void Function(GAccountsByPkData_account_wasIdentityBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_wasIdentityBuilder toBuilder() => + new GAccountsByPkData_account_wasIdentityBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_wasIdentity && + G__typename == other.G__typename && + id == other.id && + blockNumber == other.blockNumber && + identityId == other.identityId && + nextId == other.nextId && + previousId == other.previousId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jc(_$hash, nextId.hashCode); + _$hash = $jc(_$hash, previousId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_wasIdentity') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('blockNumber', blockNumber) + ..add('identityId', identityId) + ..add('nextId', nextId) + ..add('previousId', previousId)) + .toString(); + } +} + +class GAccountsByPkData_account_wasIdentityBuilder + implements + Builder<GAccountsByPkData_account_wasIdentity, + GAccountsByPkData_account_wasIdentityBuilder> { + _$GAccountsByPkData_account_wasIdentity? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + String? _nextId; + String? get nextId => _$this._nextId; + set nextId(String? nextId) => _$this._nextId = nextId; + + String? _previousId; + String? get previousId => _$this._previousId; + set previousId(String? previousId) => _$this._previousId = previousId; + + GAccountsByPkData_account_wasIdentityBuilder() { + GAccountsByPkData_account_wasIdentity._initializeBuilder(this); + } + + GAccountsByPkData_account_wasIdentityBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _blockNumber = $v.blockNumber; + _identityId = $v.identityId; + _nextId = $v.nextId; + _previousId = $v.previousId; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_wasIdentity other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_wasIdentity; + } + + @override + void update( + void Function(GAccountsByPkData_account_wasIdentityBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_wasIdentity build() => _build(); + + _$GAccountsByPkData_account_wasIdentity _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_wasIdentity._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_wasIdentity', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountsByPkData_account_wasIdentity', 'id'), + blockNumber: BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountsByPkData_account_wasIdentity', 'blockNumber'), + identityId: identityId, + nextId: nextId, + previousId: previousId); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_wasIdentityAggregate + extends GAccountsByPkData_account_wasIdentityAggregate { + @override + final String G__typename; + @override + final GAccountsByPkData_account_wasIdentityAggregate_aggregate? aggregate; + + factory _$GAccountsByPkData_account_wasIdentityAggregate( + [void Function(GAccountsByPkData_account_wasIdentityAggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_wasIdentityAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_wasIdentityAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountsByPkData_account_wasIdentityAggregate', 'G__typename'); + } + + @override + GAccountsByPkData_account_wasIdentityAggregate rebuild( + void Function(GAccountsByPkData_account_wasIdentityAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_wasIdentityAggregateBuilder toBuilder() => + new GAccountsByPkData_account_wasIdentityAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_wasIdentityAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_wasIdentityAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountsByPkData_account_wasIdentityAggregateBuilder + implements + Builder<GAccountsByPkData_account_wasIdentityAggregate, + GAccountsByPkData_account_wasIdentityAggregateBuilder> { + _$GAccountsByPkData_account_wasIdentityAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountsByPkData_account_wasIdentityAggregate_aggregateBuilder? _aggregate; + GAccountsByPkData_account_wasIdentityAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountsByPkData_account_wasIdentityAggregate_aggregateBuilder(); + set aggregate( + GAccountsByPkData_account_wasIdentityAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountsByPkData_account_wasIdentityAggregateBuilder() { + GAccountsByPkData_account_wasIdentityAggregate._initializeBuilder(this); + } + + GAccountsByPkData_account_wasIdentityAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_wasIdentityAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_wasIdentityAggregate; + } + + @override + void update( + void Function(GAccountsByPkData_account_wasIdentityAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_wasIdentityAggregate build() => _build(); + + _$GAccountsByPkData_account_wasIdentityAggregate _build() { + _$GAccountsByPkData_account_wasIdentityAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkData_account_wasIdentityAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_wasIdentityAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkData_account_wasIdentityAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkData_account_wasIdentityAggregate_aggregate + extends GAccountsByPkData_account_wasIdentityAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountsByPkData_account_wasIdentityAggregate_aggregate( + [void Function( + GAccountsByPkData_account_wasIdentityAggregate_aggregateBuilder)? + updates]) => + (new GAccountsByPkData_account_wasIdentityAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountsByPkData_account_wasIdentityAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_wasIdentityAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull(count, + r'GAccountsByPkData_account_wasIdentityAggregate_aggregate', 'count'); + } + + @override + GAccountsByPkData_account_wasIdentityAggregate_aggregate rebuild( + void Function( + GAccountsByPkData_account_wasIdentityAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkData_account_wasIdentityAggregate_aggregateBuilder toBuilder() => + new GAccountsByPkData_account_wasIdentityAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkData_account_wasIdentityAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountsByPkData_account_wasIdentityAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountsByPkData_account_wasIdentityAggregate_aggregateBuilder + implements + Builder<GAccountsByPkData_account_wasIdentityAggregate_aggregate, + GAccountsByPkData_account_wasIdentityAggregate_aggregateBuilder> { + _$GAccountsByPkData_account_wasIdentityAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountsByPkData_account_wasIdentityAggregate_aggregateBuilder() { + GAccountsByPkData_account_wasIdentityAggregate_aggregate._initializeBuilder( + this); + } + + GAccountsByPkData_account_wasIdentityAggregate_aggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkData_account_wasIdentityAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkData_account_wasIdentityAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountsByPkData_account_wasIdentityAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkData_account_wasIdentityAggregate_aggregate build() => _build(); + + _$GAccountsByPkData_account_wasIdentityAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GAccountsByPkData_account_wasIdentityAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountsByPkData_account_wasIdentityAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountsByPkData_account_wasIdentityAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GLastBlockData extends GLastBlockData { + @override + final String G__typename; + @override + final BuiltList<GLastBlockData_block> block; + + factory _$GLastBlockData([void Function(GLastBlockDataBuilder)? updates]) => + (new GLastBlockDataBuilder()..update(updates))._build(); + + _$GLastBlockData._({required this.G__typename, required this.block}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GLastBlockData', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(block, r'GLastBlockData', 'block'); + } + + @override + GLastBlockData rebuild(void Function(GLastBlockDataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GLastBlockDataBuilder toBuilder() => + new GLastBlockDataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GLastBlockData && + G__typename == other.G__typename && + block == other.block; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, block.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GLastBlockData') + ..add('G__typename', G__typename) + ..add('block', block)) + .toString(); + } +} + +class GLastBlockDataBuilder + implements Builder<GLastBlockData, GLastBlockDataBuilder> { + _$GLastBlockData? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + ListBuilder<GLastBlockData_block>? _block; + ListBuilder<GLastBlockData_block> get block => + _$this._block ??= new ListBuilder<GLastBlockData_block>(); + set block(ListBuilder<GLastBlockData_block>? block) => _$this._block = block; + + GLastBlockDataBuilder() { + GLastBlockData._initializeBuilder(this); + } + + GLastBlockDataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _block = $v.block.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GLastBlockData other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GLastBlockData; + } + + @override + void update(void Function(GLastBlockDataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GLastBlockData build() => _build(); + + _$GLastBlockData _build() { + _$GLastBlockData _$result; + try { + _$result = _$v ?? + new _$GLastBlockData._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GLastBlockData', 'G__typename'), + block: block.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'block'; + block.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GLastBlockData', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GLastBlockData_block extends GLastBlockData_block { + @override + final String G__typename; + @override + final int height; + + factory _$GLastBlockData_block( + [void Function(GLastBlockData_blockBuilder)? updates]) => + (new GLastBlockData_blockBuilder()..update(updates))._build(); + + _$GLastBlockData_block._({required this.G__typename, required this.height}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GLastBlockData_block', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + height, r'GLastBlockData_block', 'height'); + } + + @override + GLastBlockData_block rebuild( + void Function(GLastBlockData_blockBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GLastBlockData_blockBuilder toBuilder() => + new GLastBlockData_blockBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GLastBlockData_block && + G__typename == other.G__typename && + height == other.height; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, height.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GLastBlockData_block') + ..add('G__typename', G__typename) + ..add('height', height)) + .toString(); + } +} + +class GLastBlockData_blockBuilder + implements Builder<GLastBlockData_block, GLastBlockData_blockBuilder> { + _$GLastBlockData_block? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _height; + int? get height => _$this._height; + set height(int? height) => _$this._height = height; + + GLastBlockData_blockBuilder() { + GLastBlockData_block._initializeBuilder(this); + } + + GLastBlockData_blockBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _height = $v.height; + _$v = null; + } + return this; + } + + @override + void replace(GLastBlockData_block other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GLastBlockData_block; + } + + @override + void update(void Function(GLastBlockData_blockBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GLastBlockData_block build() => _build(); + + _$GLastBlockData_block _build() { + final _$result = _$v ?? + new _$GLastBlockData_block._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GLastBlockData_block', 'G__typename'), + height: BuiltValueNullFieldError.checkNotNull( + height, r'GLastBlockData_block', 'height')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData extends GGetHistoryAndBalanceData { + @override + final String G__typename; + @override + final BuiltList<GGetHistoryAndBalanceData_account> account; + + factory _$GGetHistoryAndBalanceData( + [void Function(GGetHistoryAndBalanceDataBuilder)? updates]) => + (new GGetHistoryAndBalanceDataBuilder()..update(updates))._build(); + + _$GGetHistoryAndBalanceData._( + {required this.G__typename, required this.account}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GGetHistoryAndBalanceData', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + account, r'GGetHistoryAndBalanceData', 'account'); + } + + @override + GGetHistoryAndBalanceData rebuild( + void Function(GGetHistoryAndBalanceDataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceDataBuilder toBuilder() => + new GGetHistoryAndBalanceDataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData && + G__typename == other.G__typename && + account == other.account; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, account.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GGetHistoryAndBalanceData') + ..add('G__typename', G__typename) + ..add('account', account)) + .toString(); + } +} + +class GGetHistoryAndBalanceDataBuilder + implements + Builder<GGetHistoryAndBalanceData, GGetHistoryAndBalanceDataBuilder> { + _$GGetHistoryAndBalanceData? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + ListBuilder<GGetHistoryAndBalanceData_account>? _account; + ListBuilder<GGetHistoryAndBalanceData_account> get account => + _$this._account ??= new ListBuilder<GGetHistoryAndBalanceData_account>(); + set account(ListBuilder<GGetHistoryAndBalanceData_account>? account) => + _$this._account = account; + + GGetHistoryAndBalanceDataBuilder() { + GGetHistoryAndBalanceData._initializeBuilder(this); + } + + GGetHistoryAndBalanceDataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _account = $v.account.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceData other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData; + } + + @override + void update(void Function(GGetHistoryAndBalanceDataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData build() => _build(); + + _$GGetHistoryAndBalanceData _build() { + _$GGetHistoryAndBalanceData _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GGetHistoryAndBalanceData', 'G__typename'), + account: account.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'account'; + account.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account + extends GGetHistoryAndBalanceData_account { + @override + final String G__typename; + @override + final BuiltList<GGetHistoryAndBalanceData_account_commentsIssued> + commentsIssued; + @override + final GGetHistoryAndBalanceData_account_commentsIssuedAggregate + commentsIssuedAggregate; + @override + final int createdOn; + @override + final String id; + @override + final GGetHistoryAndBalanceData_account_identity? identity; + @override + final bool isActive; + @override + final GGetHistoryAndBalanceData_account_linkedIdentity? linkedIdentity; + @override + final BuiltList<GGetHistoryAndBalanceData_account_removedIdentities> + removedIdentities; + @override + final GGetHistoryAndBalanceData_account_removedIdentitiesAggregate + removedIdentitiesAggregate; + @override + final BuiltList<GGetHistoryAndBalanceData_account_transfersIssued> + transfersIssued; + @override + final GGetHistoryAndBalanceData_account_transfersIssuedAggregate + transfersIssuedAggregate; + @override + final BuiltList<GGetHistoryAndBalanceData_account_transfersReceived> + transfersReceived; + @override + final GGetHistoryAndBalanceData_account_transfersReceivedAggregate + transfersReceivedAggregate; + @override + final BuiltList<GGetHistoryAndBalanceData_account_wasIdentity> wasIdentity; + @override + final GGetHistoryAndBalanceData_account_wasIdentityAggregate + wasIdentityAggregate; + + factory _$GGetHistoryAndBalanceData_account( + [void Function(GGetHistoryAndBalanceData_accountBuilder)? updates]) => + (new GGetHistoryAndBalanceData_accountBuilder()..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account._( + {required this.G__typename, + required this.commentsIssued, + required this.commentsIssuedAggregate, + required this.createdOn, + required this.id, + this.identity, + required this.isActive, + this.linkedIdentity, + required this.removedIdentities, + required this.removedIdentitiesAggregate, + required this.transfersIssued, + required this.transfersIssuedAggregate, + required this.transfersReceived, + required this.transfersReceivedAggregate, + required this.wasIdentity, + required this.wasIdentityAggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GGetHistoryAndBalanceData_account', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + commentsIssued, r'GGetHistoryAndBalanceData_account', 'commentsIssued'); + BuiltValueNullFieldError.checkNotNull(commentsIssuedAggregate, + r'GGetHistoryAndBalanceData_account', 'commentsIssuedAggregate'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GGetHistoryAndBalanceData_account', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account', 'id'); + BuiltValueNullFieldError.checkNotNull( + isActive, r'GGetHistoryAndBalanceData_account', 'isActive'); + BuiltValueNullFieldError.checkNotNull(removedIdentities, + r'GGetHistoryAndBalanceData_account', 'removedIdentities'); + BuiltValueNullFieldError.checkNotNull(removedIdentitiesAggregate, + r'GGetHistoryAndBalanceData_account', 'removedIdentitiesAggregate'); + BuiltValueNullFieldError.checkNotNull(transfersIssued, + r'GGetHistoryAndBalanceData_account', 'transfersIssued'); + BuiltValueNullFieldError.checkNotNull(transfersIssuedAggregate, + r'GGetHistoryAndBalanceData_account', 'transfersIssuedAggregate'); + BuiltValueNullFieldError.checkNotNull(transfersReceived, + r'GGetHistoryAndBalanceData_account', 'transfersReceived'); + BuiltValueNullFieldError.checkNotNull(transfersReceivedAggregate, + r'GGetHistoryAndBalanceData_account', 'transfersReceivedAggregate'); + BuiltValueNullFieldError.checkNotNull( + wasIdentity, r'GGetHistoryAndBalanceData_account', 'wasIdentity'); + BuiltValueNullFieldError.checkNotNull(wasIdentityAggregate, + r'GGetHistoryAndBalanceData_account', 'wasIdentityAggregate'); + } + + @override + GGetHistoryAndBalanceData_account rebuild( + void Function(GGetHistoryAndBalanceData_accountBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_accountBuilder toBuilder() => + new GGetHistoryAndBalanceData_accountBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account && + G__typename == other.G__typename && + commentsIssued == other.commentsIssued && + commentsIssuedAggregate == other.commentsIssuedAggregate && + createdOn == other.createdOn && + id == other.id && + identity == other.identity && + isActive == other.isActive && + linkedIdentity == other.linkedIdentity && + removedIdentities == other.removedIdentities && + removedIdentitiesAggregate == other.removedIdentitiesAggregate && + transfersIssued == other.transfersIssued && + transfersIssuedAggregate == other.transfersIssuedAggregate && + transfersReceived == other.transfersReceived && + transfersReceivedAggregate == other.transfersReceivedAggregate && + wasIdentity == other.wasIdentity && + wasIdentityAggregate == other.wasIdentityAggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, commentsIssued.hashCode); + _$hash = $jc(_$hash, commentsIssuedAggregate.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, identity.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, linkedIdentity.hashCode); + _$hash = $jc(_$hash, removedIdentities.hashCode); + _$hash = $jc(_$hash, removedIdentitiesAggregate.hashCode); + _$hash = $jc(_$hash, transfersIssued.hashCode); + _$hash = $jc(_$hash, transfersIssuedAggregate.hashCode); + _$hash = $jc(_$hash, transfersReceived.hashCode); + _$hash = $jc(_$hash, transfersReceivedAggregate.hashCode); + _$hash = $jc(_$hash, wasIdentity.hashCode); + _$hash = $jc(_$hash, wasIdentityAggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GGetHistoryAndBalanceData_account') + ..add('G__typename', G__typename) + ..add('commentsIssued', commentsIssued) + ..add('commentsIssuedAggregate', commentsIssuedAggregate) + ..add('createdOn', createdOn) + ..add('id', id) + ..add('identity', identity) + ..add('isActive', isActive) + ..add('linkedIdentity', linkedIdentity) + ..add('removedIdentities', removedIdentities) + ..add('removedIdentitiesAggregate', removedIdentitiesAggregate) + ..add('transfersIssued', transfersIssued) + ..add('transfersIssuedAggregate', transfersIssuedAggregate) + ..add('transfersReceived', transfersReceived) + ..add('transfersReceivedAggregate', transfersReceivedAggregate) + ..add('wasIdentity', wasIdentity) + ..add('wasIdentityAggregate', wasIdentityAggregate)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_accountBuilder + implements + Builder<GGetHistoryAndBalanceData_account, + GGetHistoryAndBalanceData_accountBuilder> { + _$GGetHistoryAndBalanceData_account? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + ListBuilder<GGetHistoryAndBalanceData_account_commentsIssued>? + _commentsIssued; + ListBuilder<GGetHistoryAndBalanceData_account_commentsIssued> + get commentsIssued => _$this._commentsIssued ??= + new ListBuilder<GGetHistoryAndBalanceData_account_commentsIssued>(); + set commentsIssued( + ListBuilder<GGetHistoryAndBalanceData_account_commentsIssued>? + commentsIssued) => + _$this._commentsIssued = commentsIssued; + + GGetHistoryAndBalanceData_account_commentsIssuedAggregateBuilder? + _commentsIssuedAggregate; + GGetHistoryAndBalanceData_account_commentsIssuedAggregateBuilder + get commentsIssuedAggregate => _$this._commentsIssuedAggregate ??= + new GGetHistoryAndBalanceData_account_commentsIssuedAggregateBuilder(); + set commentsIssuedAggregate( + GGetHistoryAndBalanceData_account_commentsIssuedAggregateBuilder? + commentsIssuedAggregate) => + _$this._commentsIssuedAggregate = commentsIssuedAggregate; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GGetHistoryAndBalanceData_account_identityBuilder? _identity; + GGetHistoryAndBalanceData_account_identityBuilder get identity => + _$this._identity ??= + new GGetHistoryAndBalanceData_account_identityBuilder(); + set identity(GGetHistoryAndBalanceData_account_identityBuilder? identity) => + _$this._identity = identity; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + GGetHistoryAndBalanceData_account_linkedIdentityBuilder? _linkedIdentity; + GGetHistoryAndBalanceData_account_linkedIdentityBuilder get linkedIdentity => + _$this._linkedIdentity ??= + new GGetHistoryAndBalanceData_account_linkedIdentityBuilder(); + set linkedIdentity( + GGetHistoryAndBalanceData_account_linkedIdentityBuilder? + linkedIdentity) => + _$this._linkedIdentity = linkedIdentity; + + ListBuilder<GGetHistoryAndBalanceData_account_removedIdentities>? + _removedIdentities; + ListBuilder<GGetHistoryAndBalanceData_account_removedIdentities> + get removedIdentities => _$this._removedIdentities ??= new ListBuilder< + GGetHistoryAndBalanceData_account_removedIdentities>(); + set removedIdentities( + ListBuilder<GGetHistoryAndBalanceData_account_removedIdentities>? + removedIdentities) => + _$this._removedIdentities = removedIdentities; + + GGetHistoryAndBalanceData_account_removedIdentitiesAggregateBuilder? + _removedIdentitiesAggregate; + GGetHistoryAndBalanceData_account_removedIdentitiesAggregateBuilder + get removedIdentitiesAggregate => _$this._removedIdentitiesAggregate ??= + new GGetHistoryAndBalanceData_account_removedIdentitiesAggregateBuilder(); + set removedIdentitiesAggregate( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregateBuilder? + removedIdentitiesAggregate) => + _$this._removedIdentitiesAggregate = removedIdentitiesAggregate; + + ListBuilder<GGetHistoryAndBalanceData_account_transfersIssued>? + _transfersIssued; + ListBuilder<GGetHistoryAndBalanceData_account_transfersIssued> + get transfersIssued => _$this._transfersIssued ??= + new ListBuilder<GGetHistoryAndBalanceData_account_transfersIssued>(); + set transfersIssued( + ListBuilder<GGetHistoryAndBalanceData_account_transfersIssued>? + transfersIssued) => + _$this._transfersIssued = transfersIssued; + + GGetHistoryAndBalanceData_account_transfersIssuedAggregateBuilder? + _transfersIssuedAggregate; + GGetHistoryAndBalanceData_account_transfersIssuedAggregateBuilder + get transfersIssuedAggregate => _$this._transfersIssuedAggregate ??= + new GGetHistoryAndBalanceData_account_transfersIssuedAggregateBuilder(); + set transfersIssuedAggregate( + GGetHistoryAndBalanceData_account_transfersIssuedAggregateBuilder? + transfersIssuedAggregate) => + _$this._transfersIssuedAggregate = transfersIssuedAggregate; + + ListBuilder<GGetHistoryAndBalanceData_account_transfersReceived>? + _transfersReceived; + ListBuilder<GGetHistoryAndBalanceData_account_transfersReceived> + get transfersReceived => _$this._transfersReceived ??= new ListBuilder< + GGetHistoryAndBalanceData_account_transfersReceived>(); + set transfersReceived( + ListBuilder<GGetHistoryAndBalanceData_account_transfersReceived>? + transfersReceived) => + _$this._transfersReceived = transfersReceived; + + GGetHistoryAndBalanceData_account_transfersReceivedAggregateBuilder? + _transfersReceivedAggregate; + GGetHistoryAndBalanceData_account_transfersReceivedAggregateBuilder + get transfersReceivedAggregate => _$this._transfersReceivedAggregate ??= + new GGetHistoryAndBalanceData_account_transfersReceivedAggregateBuilder(); + set transfersReceivedAggregate( + GGetHistoryAndBalanceData_account_transfersReceivedAggregateBuilder? + transfersReceivedAggregate) => + _$this._transfersReceivedAggregate = transfersReceivedAggregate; + + ListBuilder<GGetHistoryAndBalanceData_account_wasIdentity>? _wasIdentity; + ListBuilder<GGetHistoryAndBalanceData_account_wasIdentity> get wasIdentity => + _$this._wasIdentity ??= + new ListBuilder<GGetHistoryAndBalanceData_account_wasIdentity>(); + set wasIdentity( + ListBuilder<GGetHistoryAndBalanceData_account_wasIdentity>? + wasIdentity) => + _$this._wasIdentity = wasIdentity; + + GGetHistoryAndBalanceData_account_wasIdentityAggregateBuilder? + _wasIdentityAggregate; + GGetHistoryAndBalanceData_account_wasIdentityAggregateBuilder + get wasIdentityAggregate => _$this._wasIdentityAggregate ??= + new GGetHistoryAndBalanceData_account_wasIdentityAggregateBuilder(); + set wasIdentityAggregate( + GGetHistoryAndBalanceData_account_wasIdentityAggregateBuilder? + wasIdentityAggregate) => + _$this._wasIdentityAggregate = wasIdentityAggregate; + + GGetHistoryAndBalanceData_accountBuilder() { + GGetHistoryAndBalanceData_account._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_accountBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _commentsIssued = $v.commentsIssued.toBuilder(); + _commentsIssuedAggregate = $v.commentsIssuedAggregate.toBuilder(); + _createdOn = $v.createdOn; + _id = $v.id; + _identity = $v.identity?.toBuilder(); + _isActive = $v.isActive; + _linkedIdentity = $v.linkedIdentity?.toBuilder(); + _removedIdentities = $v.removedIdentities.toBuilder(); + _removedIdentitiesAggregate = $v.removedIdentitiesAggregate.toBuilder(); + _transfersIssued = $v.transfersIssued.toBuilder(); + _transfersIssuedAggregate = $v.transfersIssuedAggregate.toBuilder(); + _transfersReceived = $v.transfersReceived.toBuilder(); + _transfersReceivedAggregate = $v.transfersReceivedAggregate.toBuilder(); + _wasIdentity = $v.wasIdentity.toBuilder(); + _wasIdentityAggregate = $v.wasIdentityAggregate.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceData_account other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account; + } + + @override + void update( + void Function(GGetHistoryAndBalanceData_accountBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account build() => _build(); + + _$GGetHistoryAndBalanceData_account _build() { + _$GGetHistoryAndBalanceData_account _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GGetHistoryAndBalanceData_account', 'G__typename'), + commentsIssued: commentsIssued.build(), + commentsIssuedAggregate: commentsIssuedAggregate.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GGetHistoryAndBalanceData_account', 'createdOn'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account', 'id'), + identity: _identity?.build(), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GGetHistoryAndBalanceData_account', 'isActive'), + linkedIdentity: _linkedIdentity?.build(), + removedIdentities: removedIdentities.build(), + removedIdentitiesAggregate: removedIdentitiesAggregate.build(), + transfersIssued: transfersIssued.build(), + transfersIssuedAggregate: transfersIssuedAggregate.build(), + transfersReceived: transfersReceived.build(), + transfersReceivedAggregate: transfersReceivedAggregate.build(), + wasIdentity: wasIdentity.build(), + wasIdentityAggregate: wasIdentityAggregate.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'commentsIssued'; + commentsIssued.build(); + _$failedField = 'commentsIssuedAggregate'; + commentsIssuedAggregate.build(); + + _$failedField = 'identity'; + _identity?.build(); + + _$failedField = 'linkedIdentity'; + _linkedIdentity?.build(); + _$failedField = 'removedIdentities'; + removedIdentities.build(); + _$failedField = 'removedIdentitiesAggregate'; + removedIdentitiesAggregate.build(); + _$failedField = 'transfersIssued'; + transfersIssued.build(); + _$failedField = 'transfersIssuedAggregate'; + transfersIssuedAggregate.build(); + _$failedField = 'transfersReceived'; + transfersReceived.build(); + _$failedField = 'transfersReceivedAggregate'; + transfersReceivedAggregate.build(); + _$failedField = 'wasIdentity'; + wasIdentity.build(); + _$failedField = 'wasIdentityAggregate'; + wasIdentityAggregate.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_commentsIssued + extends GGetHistoryAndBalanceData_account_commentsIssued { + @override + final String G__typename; + @override + final String? authorId; + @override + final int blockNumber; + @override + final String? eventId; + @override + final String hash; + @override + final String id; + @override + final String remark; + @override + final _i2.GCommentTypeEnum? type; + + factory _$GGetHistoryAndBalanceData_account_commentsIssued( + [void Function( + GGetHistoryAndBalanceData_account_commentsIssuedBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_commentsIssuedBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_commentsIssued._( + {required this.G__typename, + this.authorId, + required this.blockNumber, + this.eventId, + required this.hash, + required this.id, + required this.remark, + this.type}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GGetHistoryAndBalanceData_account_commentsIssued', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GGetHistoryAndBalanceData_account_commentsIssued', 'blockNumber'); + BuiltValueNullFieldError.checkNotNull( + hash, r'GGetHistoryAndBalanceData_account_commentsIssued', 'hash'); + BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_commentsIssued', 'id'); + BuiltValueNullFieldError.checkNotNull( + remark, r'GGetHistoryAndBalanceData_account_commentsIssued', 'remark'); + } + + @override + GGetHistoryAndBalanceData_account_commentsIssued rebuild( + void Function(GGetHistoryAndBalanceData_account_commentsIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_commentsIssuedBuilder toBuilder() => + new GGetHistoryAndBalanceData_account_commentsIssuedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_commentsIssued && + G__typename == other.G__typename && + authorId == other.authorId && + blockNumber == other.blockNumber && + eventId == other.eventId && + hash == other.hash && + id == other.id && + remark == other.remark && + type == other.type; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, authorId.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, eventId.hashCode); + _$hash = $jc(_$hash, hash.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, remark.hashCode); + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_commentsIssued') + ..add('G__typename', G__typename) + ..add('authorId', authorId) + ..add('blockNumber', blockNumber) + ..add('eventId', eventId) + ..add('hash', hash) + ..add('id', id) + ..add('remark', remark) + ..add('type', type)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_commentsIssuedBuilder + implements + Builder<GGetHistoryAndBalanceData_account_commentsIssued, + GGetHistoryAndBalanceData_account_commentsIssuedBuilder> { + _$GGetHistoryAndBalanceData_account_commentsIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _authorId; + String? get authorId => _$this._authorId; + set authorId(String? authorId) => _$this._authorId = authorId; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _eventId; + String? get eventId => _$this._eventId; + set eventId(String? eventId) => _$this._eventId = eventId; + + String? _hash; + String? get hash => _$this._hash; + set hash(String? hash) => _$this._hash = hash; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _remark; + String? get remark => _$this._remark; + set remark(String? remark) => _$this._remark = remark; + + _i2.GCommentTypeEnum? _type; + _i2.GCommentTypeEnum? get type => _$this._type; + set type(_i2.GCommentTypeEnum? type) => _$this._type = type; + + GGetHistoryAndBalanceData_account_commentsIssuedBuilder() { + GGetHistoryAndBalanceData_account_commentsIssued._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_commentsIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _authorId = $v.authorId; + _blockNumber = $v.blockNumber; + _eventId = $v.eventId; + _hash = $v.hash; + _id = $v.id; + _remark = $v.remark; + _type = $v.type; + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceData_account_commentsIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_commentsIssued; + } + + @override + void update( + void Function(GGetHistoryAndBalanceData_account_commentsIssuedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_commentsIssued build() => _build(); + + _$GGetHistoryAndBalanceData_account_commentsIssued _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_commentsIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_commentsIssued', + 'G__typename'), + authorId: authorId, + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GGetHistoryAndBalanceData_account_commentsIssued', + 'blockNumber'), + eventId: eventId, + hash: BuiltValueNullFieldError.checkNotNull( + hash, r'GGetHistoryAndBalanceData_account_commentsIssued', 'hash'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_commentsIssued', 'id'), + remark: BuiltValueNullFieldError.checkNotNull(remark, + r'GGetHistoryAndBalanceData_account_commentsIssued', 'remark'), + type: type); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate + extends GGetHistoryAndBalanceData_account_commentsIssuedAggregate { + @override + final String G__typename; + @override + final GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate? + aggregate; + + factory _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate( + [void Function( + GGetHistoryAndBalanceData_account_commentsIssuedAggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_commentsIssuedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_commentsIssuedAggregate', + 'G__typename'); + } + + @override + GGetHistoryAndBalanceData_account_commentsIssuedAggregate rebuild( + void Function( + GGetHistoryAndBalanceData_account_commentsIssuedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_commentsIssuedAggregateBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_commentsIssuedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_commentsIssuedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_commentsIssuedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_commentsIssuedAggregateBuilder + implements + Builder<GGetHistoryAndBalanceData_account_commentsIssuedAggregate, + GGetHistoryAndBalanceData_account_commentsIssuedAggregateBuilder> { + _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateBuilder? + _aggregate; + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateBuilder(); + set aggregate( + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GGetHistoryAndBalanceData_account_commentsIssuedAggregateBuilder() { + GGetHistoryAndBalanceData_account_commentsIssuedAggregate + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_commentsIssuedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_commentsIssuedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_commentsIssuedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_commentsIssuedAggregate build() => _build(); + + _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate _build() { + _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_commentsIssuedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account_commentsIssuedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate + extends GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate', + 'count'); + } + + @override + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate rebuild( + void Function( + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateBuilder + implements + Builder< + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate, + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateBuilder> { + _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateBuilder() { + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate build() => + _build(); + + _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity + extends GGetHistoryAndBalanceData_account_identity { + @override + final String G__typename; + @override + final String? accountId; + @override + final String? accountRemovedId; + @override + final BuiltList<GGetHistoryAndBalanceData_account_identity_certIssued> + certIssued; + @override + final GGetHistoryAndBalanceData_account_identity_certIssuedAggregate + certIssuedAggregate; + @override + final BuiltList<GGetHistoryAndBalanceData_account_identity_certReceived> + certReceived; + @override + final GGetHistoryAndBalanceData_account_identity_certReceivedAggregate + certReceivedAggregate; + @override + final String? createdInId; + @override + final int createdOn; + @override + final int expireOn; + @override + final String id; + @override + final int index; + @override + final bool isMember; + @override + final int lastChangeOn; + @override + final BuiltList<GGetHistoryAndBalanceData_account_identity_linkedAccount> + linkedAccount; + @override + final GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate + linkedAccountAggregate; + @override + final _i2.GIdentityStatusEnum? status; + @override + final BuiltList<GGetHistoryAndBalanceData_account_identity_membershipHistory> + membershipHistory; + @override + final GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate + membershipHistoryAggregate; + @override + final String name; + @override + final BuiltList<GGetHistoryAndBalanceData_account_identity_ownerKeyChange> + ownerKeyChange; + @override + final GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate + ownerKeyChangeAggregate; + @override + final GGetHistoryAndBalanceData_account_identity_smith? smith; + @override + final BuiltList<GGetHistoryAndBalanceData_account_identity_udHistory>? + udHistory; + + factory _$GGetHistoryAndBalanceData_account_identity( + [void Function(GGetHistoryAndBalanceData_account_identityBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identityBuilder()..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity._( + {required this.G__typename, + this.accountId, + this.accountRemovedId, + required this.certIssued, + required this.certIssuedAggregate, + required this.certReceived, + required this.certReceivedAggregate, + this.createdInId, + required this.createdOn, + required this.expireOn, + required this.id, + required this.index, + required this.isMember, + required this.lastChangeOn, + required this.linkedAccount, + required this.linkedAccountAggregate, + this.status, + required this.membershipHistory, + required this.membershipHistoryAggregate, + required this.name, + required this.ownerKeyChange, + required this.ownerKeyChangeAggregate, + this.smith, + this.udHistory}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GGetHistoryAndBalanceData_account_identity', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(certIssued, + r'GGetHistoryAndBalanceData_account_identity', 'certIssued'); + BuiltValueNullFieldError.checkNotNull(certIssuedAggregate, + r'GGetHistoryAndBalanceData_account_identity', 'certIssuedAggregate'); + BuiltValueNullFieldError.checkNotNull(certReceived, + r'GGetHistoryAndBalanceData_account_identity', 'certReceived'); + BuiltValueNullFieldError.checkNotNull(certReceivedAggregate, + r'GGetHistoryAndBalanceData_account_identity', 'certReceivedAggregate'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GGetHistoryAndBalanceData_account_identity', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + expireOn, r'GGetHistoryAndBalanceData_account_identity', 'expireOn'); + BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_identity', 'id'); + BuiltValueNullFieldError.checkNotNull( + index, r'GGetHistoryAndBalanceData_account_identity', 'index'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GGetHistoryAndBalanceData_account_identity', 'isMember'); + BuiltValueNullFieldError.checkNotNull(lastChangeOn, + r'GGetHistoryAndBalanceData_account_identity', 'lastChangeOn'); + BuiltValueNullFieldError.checkNotNull(linkedAccount, + r'GGetHistoryAndBalanceData_account_identity', 'linkedAccount'); + BuiltValueNullFieldError.checkNotNull( + linkedAccountAggregate, + r'GGetHistoryAndBalanceData_account_identity', + 'linkedAccountAggregate'); + BuiltValueNullFieldError.checkNotNull(membershipHistory, + r'GGetHistoryAndBalanceData_account_identity', 'membershipHistory'); + BuiltValueNullFieldError.checkNotNull( + membershipHistoryAggregate, + r'GGetHistoryAndBalanceData_account_identity', + 'membershipHistoryAggregate'); + BuiltValueNullFieldError.checkNotNull( + name, r'GGetHistoryAndBalanceData_account_identity', 'name'); + BuiltValueNullFieldError.checkNotNull(ownerKeyChange, + r'GGetHistoryAndBalanceData_account_identity', 'ownerKeyChange'); + BuiltValueNullFieldError.checkNotNull( + ownerKeyChangeAggregate, + r'GGetHistoryAndBalanceData_account_identity', + 'ownerKeyChangeAggregate'); + } + + @override + GGetHistoryAndBalanceData_account_identity rebuild( + void Function(GGetHistoryAndBalanceData_account_identityBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identityBuilder toBuilder() => + new GGetHistoryAndBalanceData_account_identityBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_identity && + G__typename == other.G__typename && + accountId == other.accountId && + accountRemovedId == other.accountRemovedId && + certIssued == other.certIssued && + certIssuedAggregate == other.certIssuedAggregate && + certReceived == other.certReceived && + certReceivedAggregate == other.certReceivedAggregate && + createdInId == other.createdInId && + createdOn == other.createdOn && + expireOn == other.expireOn && + id == other.id && + index == other.index && + isMember == other.isMember && + lastChangeOn == other.lastChangeOn && + linkedAccount == other.linkedAccount && + linkedAccountAggregate == other.linkedAccountAggregate && + status == other.status && + membershipHistory == other.membershipHistory && + membershipHistoryAggregate == other.membershipHistoryAggregate && + name == other.name && + ownerKeyChange == other.ownerKeyChange && + ownerKeyChangeAggregate == other.ownerKeyChangeAggregate && + smith == other.smith && + udHistory == other.udHistory; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, accountRemovedId.hashCode); + _$hash = $jc(_$hash, certIssued.hashCode); + _$hash = $jc(_$hash, certIssuedAggregate.hashCode); + _$hash = $jc(_$hash, certReceived.hashCode); + _$hash = $jc(_$hash, certReceivedAggregate.hashCode); + _$hash = $jc(_$hash, createdInId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, index.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, lastChangeOn.hashCode); + _$hash = $jc(_$hash, linkedAccount.hashCode); + _$hash = $jc(_$hash, linkedAccountAggregate.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, membershipHistory.hashCode); + _$hash = $jc(_$hash, membershipHistoryAggregate.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, ownerKeyChange.hashCode); + _$hash = $jc(_$hash, ownerKeyChangeAggregate.hashCode); + _$hash = $jc(_$hash, smith.hashCode); + _$hash = $jc(_$hash, udHistory.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('accountRemovedId', accountRemovedId) + ..add('certIssued', certIssued) + ..add('certIssuedAggregate', certIssuedAggregate) + ..add('certReceived', certReceived) + ..add('certReceivedAggregate', certReceivedAggregate) + ..add('createdInId', createdInId) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('id', id) + ..add('index', index) + ..add('isMember', isMember) + ..add('lastChangeOn', lastChangeOn) + ..add('linkedAccount', linkedAccount) + ..add('linkedAccountAggregate', linkedAccountAggregate) + ..add('status', status) + ..add('membershipHistory', membershipHistory) + ..add('membershipHistoryAggregate', membershipHistoryAggregate) + ..add('name', name) + ..add('ownerKeyChange', ownerKeyChange) + ..add('ownerKeyChangeAggregate', ownerKeyChangeAggregate) + ..add('smith', smith) + ..add('udHistory', udHistory)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identityBuilder + implements + Builder<GGetHistoryAndBalanceData_account_identity, + GGetHistoryAndBalanceData_account_identityBuilder> { + _$GGetHistoryAndBalanceData_account_identity? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _accountRemovedId; + String? get accountRemovedId => _$this._accountRemovedId; + set accountRemovedId(String? accountRemovedId) => + _$this._accountRemovedId = accountRemovedId; + + ListBuilder<GGetHistoryAndBalanceData_account_identity_certIssued>? + _certIssued; + ListBuilder<GGetHistoryAndBalanceData_account_identity_certIssued> + get certIssued => _$this._certIssued ??= new ListBuilder< + GGetHistoryAndBalanceData_account_identity_certIssued>(); + set certIssued( + ListBuilder<GGetHistoryAndBalanceData_account_identity_certIssued>? + certIssued) => + _$this._certIssued = certIssued; + + GGetHistoryAndBalanceData_account_identity_certIssuedAggregateBuilder? + _certIssuedAggregate; + GGetHistoryAndBalanceData_account_identity_certIssuedAggregateBuilder + get certIssuedAggregate => _$this._certIssuedAggregate ??= + new GGetHistoryAndBalanceData_account_identity_certIssuedAggregateBuilder(); + set certIssuedAggregate( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregateBuilder? + certIssuedAggregate) => + _$this._certIssuedAggregate = certIssuedAggregate; + + ListBuilder<GGetHistoryAndBalanceData_account_identity_certReceived>? + _certReceived; + ListBuilder<GGetHistoryAndBalanceData_account_identity_certReceived> + get certReceived => _$this._certReceived ??= new ListBuilder< + GGetHistoryAndBalanceData_account_identity_certReceived>(); + set certReceived( + ListBuilder<GGetHistoryAndBalanceData_account_identity_certReceived>? + certReceived) => + _$this._certReceived = certReceived; + + GGetHistoryAndBalanceData_account_identity_certReceivedAggregateBuilder? + _certReceivedAggregate; + GGetHistoryAndBalanceData_account_identity_certReceivedAggregateBuilder + get certReceivedAggregate => _$this._certReceivedAggregate ??= + new GGetHistoryAndBalanceData_account_identity_certReceivedAggregateBuilder(); + set certReceivedAggregate( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregateBuilder? + certReceivedAggregate) => + _$this._certReceivedAggregate = certReceivedAggregate; + + String? _createdInId; + String? get createdInId => _$this._createdInId; + set createdInId(String? createdInId) => _$this._createdInId = createdInId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _index; + int? get index => _$this._index; + set index(int? index) => _$this._index = index; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + int? _lastChangeOn; + int? get lastChangeOn => _$this._lastChangeOn; + set lastChangeOn(int? lastChangeOn) => _$this._lastChangeOn = lastChangeOn; + + ListBuilder<GGetHistoryAndBalanceData_account_identity_linkedAccount>? + _linkedAccount; + ListBuilder<GGetHistoryAndBalanceData_account_identity_linkedAccount> + get linkedAccount => _$this._linkedAccount ??= new ListBuilder< + GGetHistoryAndBalanceData_account_identity_linkedAccount>(); + set linkedAccount( + ListBuilder<GGetHistoryAndBalanceData_account_identity_linkedAccount>? + linkedAccount) => + _$this._linkedAccount = linkedAccount; + + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateBuilder? + _linkedAccountAggregate; + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateBuilder + get linkedAccountAggregate => _$this._linkedAccountAggregate ??= + new GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateBuilder(); + set linkedAccountAggregate( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateBuilder? + linkedAccountAggregate) => + _$this._linkedAccountAggregate = linkedAccountAggregate; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + ListBuilder<GGetHistoryAndBalanceData_account_identity_membershipHistory>? + _membershipHistory; + ListBuilder<GGetHistoryAndBalanceData_account_identity_membershipHistory> + get membershipHistory => _$this._membershipHistory ??= new ListBuilder< + GGetHistoryAndBalanceData_account_identity_membershipHistory>(); + set membershipHistory( + ListBuilder< + GGetHistoryAndBalanceData_account_identity_membershipHistory>? + membershipHistory) => + _$this._membershipHistory = membershipHistory; + + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateBuilder? + _membershipHistoryAggregate; + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateBuilder + get membershipHistoryAggregate => _$this._membershipHistoryAggregate ??= + new GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateBuilder(); + set membershipHistoryAggregate( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateBuilder? + membershipHistoryAggregate) => + _$this._membershipHistoryAggregate = membershipHistoryAggregate; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + ListBuilder<GGetHistoryAndBalanceData_account_identity_ownerKeyChange>? + _ownerKeyChange; + ListBuilder<GGetHistoryAndBalanceData_account_identity_ownerKeyChange> + get ownerKeyChange => _$this._ownerKeyChange ??= new ListBuilder< + GGetHistoryAndBalanceData_account_identity_ownerKeyChange>(); + set ownerKeyChange( + ListBuilder< + GGetHistoryAndBalanceData_account_identity_ownerKeyChange>? + ownerKeyChange) => + _$this._ownerKeyChange = ownerKeyChange; + + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateBuilder? + _ownerKeyChangeAggregate; + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateBuilder + get ownerKeyChangeAggregate => _$this._ownerKeyChangeAggregate ??= + new GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateBuilder(); + set ownerKeyChangeAggregate( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateBuilder? + ownerKeyChangeAggregate) => + _$this._ownerKeyChangeAggregate = ownerKeyChangeAggregate; + + GGetHistoryAndBalanceData_account_identity_smithBuilder? _smith; + GGetHistoryAndBalanceData_account_identity_smithBuilder get smith => + _$this._smith ??= + new GGetHistoryAndBalanceData_account_identity_smithBuilder(); + set smith(GGetHistoryAndBalanceData_account_identity_smithBuilder? smith) => + _$this._smith = smith; + + ListBuilder<GGetHistoryAndBalanceData_account_identity_udHistory>? _udHistory; + ListBuilder<GGetHistoryAndBalanceData_account_identity_udHistory> + get udHistory => _$this._udHistory ??= new ListBuilder< + GGetHistoryAndBalanceData_account_identity_udHistory>(); + set udHistory( + ListBuilder<GGetHistoryAndBalanceData_account_identity_udHistory>? + udHistory) => + _$this._udHistory = udHistory; + + GGetHistoryAndBalanceData_account_identityBuilder() { + GGetHistoryAndBalanceData_account_identity._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identityBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _accountRemovedId = $v.accountRemovedId; + _certIssued = $v.certIssued.toBuilder(); + _certIssuedAggregate = $v.certIssuedAggregate.toBuilder(); + _certReceived = $v.certReceived.toBuilder(); + _certReceivedAggregate = $v.certReceivedAggregate.toBuilder(); + _createdInId = $v.createdInId; + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _id = $v.id; + _index = $v.index; + _isMember = $v.isMember; + _lastChangeOn = $v.lastChangeOn; + _linkedAccount = $v.linkedAccount.toBuilder(); + _linkedAccountAggregate = $v.linkedAccountAggregate.toBuilder(); + _status = $v.status; + _membershipHistory = $v.membershipHistory.toBuilder(); + _membershipHistoryAggregate = $v.membershipHistoryAggregate.toBuilder(); + _name = $v.name; + _ownerKeyChange = $v.ownerKeyChange.toBuilder(); + _ownerKeyChangeAggregate = $v.ownerKeyChangeAggregate.toBuilder(); + _smith = $v.smith?.toBuilder(); + _udHistory = $v.udHistory?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceData_account_identity other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_identity; + } + + @override + void update( + void Function(GGetHistoryAndBalanceData_account_identityBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity build() => _build(); + + _$GGetHistoryAndBalanceData_account_identity _build() { + _$GGetHistoryAndBalanceData_account_identity _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GGetHistoryAndBalanceData_account_identity', 'G__typename'), + accountId: accountId, + accountRemovedId: accountRemovedId, + certIssued: certIssued.build(), + certIssuedAggregate: certIssuedAggregate.build(), + certReceived: certReceived.build(), + certReceivedAggregate: certReceivedAggregate.build(), + createdInId: createdInId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GGetHistoryAndBalanceData_account_identity', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GGetHistoryAndBalanceData_account_identity', 'expireOn'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_identity', 'id'), + index: BuiltValueNullFieldError.checkNotNull( + index, r'GGetHistoryAndBalanceData_account_identity', 'index'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, r'GGetHistoryAndBalanceData_account_identity', 'isMember'), + lastChangeOn: BuiltValueNullFieldError.checkNotNull( + lastChangeOn, r'GGetHistoryAndBalanceData_account_identity', 'lastChangeOn'), + linkedAccount: linkedAccount.build(), + linkedAccountAggregate: linkedAccountAggregate.build(), + status: status, + membershipHistory: membershipHistory.build(), + membershipHistoryAggregate: membershipHistoryAggregate.build(), + name: BuiltValueNullFieldError.checkNotNull(name, r'GGetHistoryAndBalanceData_account_identity', 'name'), + ownerKeyChange: ownerKeyChange.build(), + ownerKeyChangeAggregate: ownerKeyChangeAggregate.build(), + smith: _smith?.build(), + udHistory: _udHistory?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'certIssued'; + certIssued.build(); + _$failedField = 'certIssuedAggregate'; + certIssuedAggregate.build(); + _$failedField = 'certReceived'; + certReceived.build(); + _$failedField = 'certReceivedAggregate'; + certReceivedAggregate.build(); + + _$failedField = 'linkedAccount'; + linkedAccount.build(); + _$failedField = 'linkedAccountAggregate'; + linkedAccountAggregate.build(); + + _$failedField = 'membershipHistory'; + membershipHistory.build(); + _$failedField = 'membershipHistoryAggregate'; + membershipHistoryAggregate.build(); + + _$failedField = 'ownerKeyChange'; + ownerKeyChange.build(); + _$failedField = 'ownerKeyChangeAggregate'; + ownerKeyChangeAggregate.build(); + _$failedField = 'smith'; + _smith?.build(); + _$failedField = 'udHistory'; + _udHistory?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account_identity', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certIssued + extends GGetHistoryAndBalanceData_account_identity_certIssued { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final GGetHistoryAndBalanceData_account_identity_certIssued_issuer? issuer; + @override + final String? receiverId; + @override + final GGetHistoryAndBalanceData_account_identity_certIssued_receiver? + receiver; + @override + final int createdOn; + @override + final int expireOn; + @override + final bool isActive; + @override + final int updatedOn; + + factory _$GGetHistoryAndBalanceData_account_identity_certIssued( + [void Function( + GGetHistoryAndBalanceData_account_identity_certIssuedBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_certIssuedBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_certIssued._( + {required this.G__typename, + required this.id, + this.issuerId, + this.issuer, + this.receiverId, + this.receiver, + required this.createdOn, + required this.expireOn, + required this.isActive, + required this.updatedOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certIssued', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_identity_certIssued', 'id'); + BuiltValueNullFieldError.checkNotNull(createdOn, + r'GGetHistoryAndBalanceData_account_identity_certIssued', 'createdOn'); + BuiltValueNullFieldError.checkNotNull(expireOn, + r'GGetHistoryAndBalanceData_account_identity_certIssued', 'expireOn'); + BuiltValueNullFieldError.checkNotNull(isActive, + r'GGetHistoryAndBalanceData_account_identity_certIssued', 'isActive'); + BuiltValueNullFieldError.checkNotNull(updatedOn, + r'GGetHistoryAndBalanceData_account_identity_certIssued', 'updatedOn'); + } + + @override + GGetHistoryAndBalanceData_account_identity_certIssued rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_certIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_certIssuedBuilder toBuilder() => + new GGetHistoryAndBalanceData_account_identity_certIssuedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_identity_certIssued && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + issuer == other.issuer && + receiverId == other.receiverId && + receiver == other.receiver && + createdOn == other.createdOn && + expireOn == other.expireOn && + isActive == other.isActive && + updatedOn == other.updatedOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, issuer.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, receiver.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, updatedOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_certIssued') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('issuer', issuer) + ..add('receiverId', receiverId) + ..add('receiver', receiver) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('isActive', isActive) + ..add('updatedOn', updatedOn)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_certIssuedBuilder + implements + Builder<GGetHistoryAndBalanceData_account_identity_certIssued, + GGetHistoryAndBalanceData_account_identity_certIssuedBuilder> { + _$GGetHistoryAndBalanceData_account_identity_certIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + GGetHistoryAndBalanceData_account_identity_certIssued_issuerBuilder? _issuer; + GGetHistoryAndBalanceData_account_identity_certIssued_issuerBuilder + get issuer => _$this._issuer ??= + new GGetHistoryAndBalanceData_account_identity_certIssued_issuerBuilder(); + set issuer( + GGetHistoryAndBalanceData_account_identity_certIssued_issuerBuilder? + issuer) => + _$this._issuer = issuer; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + GGetHistoryAndBalanceData_account_identity_certIssued_receiverBuilder? + _receiver; + GGetHistoryAndBalanceData_account_identity_certIssued_receiverBuilder + get receiver => _$this._receiver ??= + new GGetHistoryAndBalanceData_account_identity_certIssued_receiverBuilder(); + set receiver( + GGetHistoryAndBalanceData_account_identity_certIssued_receiverBuilder? + receiver) => + _$this._receiver = receiver; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + int? _updatedOn; + int? get updatedOn => _$this._updatedOn; + set updatedOn(int? updatedOn) => _$this._updatedOn = updatedOn; + + GGetHistoryAndBalanceData_account_identity_certIssuedBuilder() { + GGetHistoryAndBalanceData_account_identity_certIssued._initializeBuilder( + this); + } + + GGetHistoryAndBalanceData_account_identity_certIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _issuer = $v.issuer?.toBuilder(); + _receiverId = $v.receiverId; + _receiver = $v.receiver?.toBuilder(); + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _isActive = $v.isActive; + _updatedOn = $v.updatedOn; + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceData_account_identity_certIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_identity_certIssued; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_certIssuedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_certIssued build() => _build(); + + _$GGetHistoryAndBalanceData_account_identity_certIssued _build() { + _$GGetHistoryAndBalanceData_account_identity_certIssued _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_certIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certIssued', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_identity_certIssued', 'id'), + issuerId: issuerId, + issuer: _issuer?.build(), + receiverId: receiverId, + receiver: _receiver?.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GGetHistoryAndBalanceData_account_identity_certIssued', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GGetHistoryAndBalanceData_account_identity_certIssued', 'expireOn'), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GGetHistoryAndBalanceData_account_identity_certIssued', 'isActive'), + updatedOn: BuiltValueNullFieldError.checkNotNull( + updatedOn, + r'GGetHistoryAndBalanceData_account_identity_certIssued', + 'updatedOn')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'issuer'; + _issuer?.build(); + + _$failedField = 'receiver'; + _receiver?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account_identity_certIssued', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certIssued_issuer + extends GGetHistoryAndBalanceData_account_identity_certIssued_issuer { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GGetHistoryAndBalanceData_account_identity_certIssued_issuer( + [void Function( + GGetHistoryAndBalanceData_account_identity_certIssued_issuerBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_certIssued_issuerBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_certIssued_issuer._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certIssued_issuer', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull(id, + r'GGetHistoryAndBalanceData_account_identity_certIssued_issuer', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, + r'GGetHistoryAndBalanceData_account_identity_certIssued_issuer', + 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, + r'GGetHistoryAndBalanceData_account_identity_certIssued_issuer', + 'name'); + } + + @override + GGetHistoryAndBalanceData_account_identity_certIssued_issuer rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_certIssued_issuerBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_certIssued_issuerBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_identity_certIssued_issuerBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_identity_certIssued_issuer && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_certIssued_issuer') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_certIssued_issuerBuilder + implements + Builder<GGetHistoryAndBalanceData_account_identity_certIssued_issuer, + GGetHistoryAndBalanceData_account_identity_certIssued_issuerBuilder> { + _$GGetHistoryAndBalanceData_account_identity_certIssued_issuer? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GGetHistoryAndBalanceData_account_identity_certIssued_issuerBuilder() { + GGetHistoryAndBalanceData_account_identity_certIssued_issuer + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identity_certIssued_issuerBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_identity_certIssued_issuer other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = + other as _$GGetHistoryAndBalanceData_account_identity_certIssued_issuer; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_certIssued_issuerBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_certIssued_issuer build() => + _build(); + + _$GGetHistoryAndBalanceData_account_identity_certIssued_issuer _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_certIssued_issuer._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certIssued_issuer', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GGetHistoryAndBalanceData_account_identity_certIssued_issuer', + 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GGetHistoryAndBalanceData_account_identity_certIssued_issuer', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, + r'GGetHistoryAndBalanceData_account_identity_certIssued_issuer', + 'name')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certIssued_receiver + extends GGetHistoryAndBalanceData_account_identity_certIssued_receiver { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GGetHistoryAndBalanceData_account_identity_certIssued_receiver( + [void Function( + GGetHistoryAndBalanceData_account_identity_certIssued_receiverBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_certIssued_receiverBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_certIssued_receiver._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certIssued_receiver', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, + r'GGetHistoryAndBalanceData_account_identity_certIssued_receiver', + 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, + r'GGetHistoryAndBalanceData_account_identity_certIssued_receiver', + 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, + r'GGetHistoryAndBalanceData_account_identity_certIssued_receiver', + 'name'); + } + + @override + GGetHistoryAndBalanceData_account_identity_certIssued_receiver rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_certIssued_receiverBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_certIssued_receiverBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_identity_certIssued_receiverBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_identity_certIssued_receiver && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_certIssued_receiver') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_certIssued_receiverBuilder + implements + Builder<GGetHistoryAndBalanceData_account_identity_certIssued_receiver, + GGetHistoryAndBalanceData_account_identity_certIssued_receiverBuilder> { + _$GGetHistoryAndBalanceData_account_identity_certIssued_receiver? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GGetHistoryAndBalanceData_account_identity_certIssued_receiverBuilder() { + GGetHistoryAndBalanceData_account_identity_certIssued_receiver + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identity_certIssued_receiverBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_identity_certIssued_receiver other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_identity_certIssued_receiver; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_certIssued_receiverBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_certIssued_receiver build() => + _build(); + + _$GGetHistoryAndBalanceData_account_identity_certIssued_receiver _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_certIssued_receiver._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certIssued_receiver', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GGetHistoryAndBalanceData_account_identity_certIssued_receiver', + 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GGetHistoryAndBalanceData_account_identity_certIssued_receiver', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, + r'GGetHistoryAndBalanceData_account_identity_certIssued_receiver', + 'name')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate + extends GGetHistoryAndBalanceData_account_identity_certIssuedAggregate { + @override + final String G__typename; + @override + final GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate? + aggregate; + + factory _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_certIssuedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certIssuedAggregate', + 'G__typename'); + } + + @override + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_certIssuedAggregateBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_identity_certIssuedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_identity_certIssuedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_certIssuedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_certIssuedAggregateBuilder + implements + Builder<GGetHistoryAndBalanceData_account_identity_certIssuedAggregate, + GGetHistoryAndBalanceData_account_identity_certIssuedAggregateBuilder> { + _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateBuilder? + _aggregate; + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateBuilder(); + set aggregate( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GGetHistoryAndBalanceData_account_identity_certIssuedAggregateBuilder() { + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identity_certIssuedAggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate build() => + _build(); + + _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate _build() { + _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certIssuedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account_identity_certIssuedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate + extends GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate', + 'count'); + } + + @override + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateBuilder + implements + Builder< + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateBuilder> { + _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate? + _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateBuilder() { + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate + build() => _build(); + + _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certReceived + extends GGetHistoryAndBalanceData_account_identity_certReceived { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final GGetHistoryAndBalanceData_account_identity_certReceived_issuer? issuer; + @override + final String? receiverId; + @override + final GGetHistoryAndBalanceData_account_identity_certReceived_receiver? + receiver; + @override + final int createdOn; + @override + final int expireOn; + @override + final bool isActive; + @override + final int updatedOn; + + factory _$GGetHistoryAndBalanceData_account_identity_certReceived( + [void Function( + GGetHistoryAndBalanceData_account_identity_certReceivedBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_certReceivedBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_certReceived._( + {required this.G__typename, + required this.id, + this.issuerId, + this.issuer, + this.receiverId, + this.receiver, + required this.createdOn, + required this.expireOn, + required this.isActive, + required this.updatedOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certReceived', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_identity_certReceived', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GGetHistoryAndBalanceData_account_identity_certReceived', + 'createdOn'); + BuiltValueNullFieldError.checkNotNull(expireOn, + r'GGetHistoryAndBalanceData_account_identity_certReceived', 'expireOn'); + BuiltValueNullFieldError.checkNotNull(isActive, + r'GGetHistoryAndBalanceData_account_identity_certReceived', 'isActive'); + BuiltValueNullFieldError.checkNotNull( + updatedOn, + r'GGetHistoryAndBalanceData_account_identity_certReceived', + 'updatedOn'); + } + + @override + GGetHistoryAndBalanceData_account_identity_certReceived rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_certReceivedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_certReceivedBuilder toBuilder() => + new GGetHistoryAndBalanceData_account_identity_certReceivedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_identity_certReceived && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + issuer == other.issuer && + receiverId == other.receiverId && + receiver == other.receiver && + createdOn == other.createdOn && + expireOn == other.expireOn && + isActive == other.isActive && + updatedOn == other.updatedOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, issuer.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, receiver.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, updatedOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_certReceived') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('issuer', issuer) + ..add('receiverId', receiverId) + ..add('receiver', receiver) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('isActive', isActive) + ..add('updatedOn', updatedOn)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_certReceivedBuilder + implements + Builder<GGetHistoryAndBalanceData_account_identity_certReceived, + GGetHistoryAndBalanceData_account_identity_certReceivedBuilder> { + _$GGetHistoryAndBalanceData_account_identity_certReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + GGetHistoryAndBalanceData_account_identity_certReceived_issuerBuilder? + _issuer; + GGetHistoryAndBalanceData_account_identity_certReceived_issuerBuilder + get issuer => _$this._issuer ??= + new GGetHistoryAndBalanceData_account_identity_certReceived_issuerBuilder(); + set issuer( + GGetHistoryAndBalanceData_account_identity_certReceived_issuerBuilder? + issuer) => + _$this._issuer = issuer; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + GGetHistoryAndBalanceData_account_identity_certReceived_receiverBuilder? + _receiver; + GGetHistoryAndBalanceData_account_identity_certReceived_receiverBuilder + get receiver => _$this._receiver ??= + new GGetHistoryAndBalanceData_account_identity_certReceived_receiverBuilder(); + set receiver( + GGetHistoryAndBalanceData_account_identity_certReceived_receiverBuilder? + receiver) => + _$this._receiver = receiver; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + int? _updatedOn; + int? get updatedOn => _$this._updatedOn; + set updatedOn(int? updatedOn) => _$this._updatedOn = updatedOn; + + GGetHistoryAndBalanceData_account_identity_certReceivedBuilder() { + GGetHistoryAndBalanceData_account_identity_certReceived._initializeBuilder( + this); + } + + GGetHistoryAndBalanceData_account_identity_certReceivedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _issuer = $v.issuer?.toBuilder(); + _receiverId = $v.receiverId; + _receiver = $v.receiver?.toBuilder(); + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _isActive = $v.isActive; + _updatedOn = $v.updatedOn; + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceData_account_identity_certReceived other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_identity_certReceived; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_certReceivedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_certReceived build() => _build(); + + _$GGetHistoryAndBalanceData_account_identity_certReceived _build() { + _$GGetHistoryAndBalanceData_account_identity_certReceived _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_certReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certReceived', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_identity_certReceived', 'id'), + issuerId: issuerId, + issuer: _issuer?.build(), + receiverId: receiverId, + receiver: _receiver?.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GGetHistoryAndBalanceData_account_identity_certReceived', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GGetHistoryAndBalanceData_account_identity_certReceived', 'expireOn'), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GGetHistoryAndBalanceData_account_identity_certReceived', 'isActive'), + updatedOn: BuiltValueNullFieldError.checkNotNull( + updatedOn, r'GGetHistoryAndBalanceData_account_identity_certReceived', 'updatedOn')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'issuer'; + _issuer?.build(); + + _$failedField = 'receiver'; + _receiver?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account_identity_certReceived', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certReceived_issuer + extends GGetHistoryAndBalanceData_account_identity_certReceived_issuer { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GGetHistoryAndBalanceData_account_identity_certReceived_issuer( + [void Function( + GGetHistoryAndBalanceData_account_identity_certReceived_issuerBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_certReceived_issuerBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_certReceived_issuer._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certReceived_issuer', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, + r'GGetHistoryAndBalanceData_account_identity_certReceived_issuer', + 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, + r'GGetHistoryAndBalanceData_account_identity_certReceived_issuer', + 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, + r'GGetHistoryAndBalanceData_account_identity_certReceived_issuer', + 'name'); + } + + @override + GGetHistoryAndBalanceData_account_identity_certReceived_issuer rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_certReceived_issuerBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_certReceived_issuerBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_identity_certReceived_issuerBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_identity_certReceived_issuer && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_certReceived_issuer') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_certReceived_issuerBuilder + implements + Builder<GGetHistoryAndBalanceData_account_identity_certReceived_issuer, + GGetHistoryAndBalanceData_account_identity_certReceived_issuerBuilder> { + _$GGetHistoryAndBalanceData_account_identity_certReceived_issuer? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GGetHistoryAndBalanceData_account_identity_certReceived_issuerBuilder() { + GGetHistoryAndBalanceData_account_identity_certReceived_issuer + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identity_certReceived_issuerBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_identity_certReceived_issuer other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_identity_certReceived_issuer; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_certReceived_issuerBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_certReceived_issuer build() => + _build(); + + _$GGetHistoryAndBalanceData_account_identity_certReceived_issuer _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_certReceived_issuer._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certReceived_issuer', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GGetHistoryAndBalanceData_account_identity_certReceived_issuer', + 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GGetHistoryAndBalanceData_account_identity_certReceived_issuer', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, + r'GGetHistoryAndBalanceData_account_identity_certReceived_issuer', + 'name')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certReceived_receiver + extends GGetHistoryAndBalanceData_account_identity_certReceived_receiver { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GGetHistoryAndBalanceData_account_identity_certReceived_receiver( + [void Function( + GGetHistoryAndBalanceData_account_identity_certReceived_receiverBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_certReceived_receiverBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_certReceived_receiver._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certReceived_receiver', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, + r'GGetHistoryAndBalanceData_account_identity_certReceived_receiver', + 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, + r'GGetHistoryAndBalanceData_account_identity_certReceived_receiver', + 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, + r'GGetHistoryAndBalanceData_account_identity_certReceived_receiver', + 'name'); + } + + @override + GGetHistoryAndBalanceData_account_identity_certReceived_receiver rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_certReceived_receiverBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_certReceived_receiverBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_identity_certReceived_receiverBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_identity_certReceived_receiver && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_certReceived_receiver') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_certReceived_receiverBuilder + implements + Builder< + GGetHistoryAndBalanceData_account_identity_certReceived_receiver, + GGetHistoryAndBalanceData_account_identity_certReceived_receiverBuilder> { + _$GGetHistoryAndBalanceData_account_identity_certReceived_receiver? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GGetHistoryAndBalanceData_account_identity_certReceived_receiverBuilder() { + GGetHistoryAndBalanceData_account_identity_certReceived_receiver + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identity_certReceived_receiverBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_identity_certReceived_receiver other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_identity_certReceived_receiver; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_certReceived_receiverBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_certReceived_receiver build() => + _build(); + + _$GGetHistoryAndBalanceData_account_identity_certReceived_receiver _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_certReceived_receiver._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certReceived_receiver', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GGetHistoryAndBalanceData_account_identity_certReceived_receiver', + 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GGetHistoryAndBalanceData_account_identity_certReceived_receiver', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, + r'GGetHistoryAndBalanceData_account_identity_certReceived_receiver', + 'name')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate + extends GGetHistoryAndBalanceData_account_identity_certReceivedAggregate { + @override + final String G__typename; + @override + final GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate? + aggregate; + + factory _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_certReceivedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certReceivedAggregate', + 'G__typename'); + } + + @override + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_certReceivedAggregateBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_identity_certReceivedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_identity_certReceivedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_certReceivedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_certReceivedAggregateBuilder + implements + Builder< + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate, + GGetHistoryAndBalanceData_account_identity_certReceivedAggregateBuilder> { + _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateBuilder? + _aggregate; + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateBuilder(); + set aggregate( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GGetHistoryAndBalanceData_account_identity_certReceivedAggregateBuilder() { + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identity_certReceivedAggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate build() => + _build(); + + _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate _build() { + _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certReceivedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account_identity_certReceivedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate + extends GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate', + 'count'); + } + + @override + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate + rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateBuilder + implements + Builder< + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateBuilder> { + _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate? + _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateBuilder() { + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate + build() => _build(); + + _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_linkedAccount + extends GGetHistoryAndBalanceData_account_identity_linkedAccount { + @override + final String G__typename; + @override + final String id; + + factory _$GGetHistoryAndBalanceData_account_identity_linkedAccount( + [void Function( + GGetHistoryAndBalanceData_account_identity_linkedAccountBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_linkedAccountBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_linkedAccount._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_linkedAccount', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_identity_linkedAccount', 'id'); + } + + @override + GGetHistoryAndBalanceData_account_identity_linkedAccount rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_linkedAccountBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_linkedAccountBuilder toBuilder() => + new GGetHistoryAndBalanceData_account_identity_linkedAccountBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_identity_linkedAccount && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_linkedAccount') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_linkedAccountBuilder + implements + Builder<GGetHistoryAndBalanceData_account_identity_linkedAccount, + GGetHistoryAndBalanceData_account_identity_linkedAccountBuilder> { + _$GGetHistoryAndBalanceData_account_identity_linkedAccount? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GGetHistoryAndBalanceData_account_identity_linkedAccountBuilder() { + GGetHistoryAndBalanceData_account_identity_linkedAccount._initializeBuilder( + this); + } + + GGetHistoryAndBalanceData_account_identity_linkedAccountBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceData_account_identity_linkedAccount other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_identity_linkedAccount; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_linkedAccountBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_linkedAccount build() => _build(); + + _$GGetHistoryAndBalanceData_account_identity_linkedAccount _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_linkedAccount._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_linkedAccount', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GGetHistoryAndBalanceData_account_identity_linkedAccount', + 'id')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate + extends GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate { + @override + final String G__typename; + @override + final GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate? + aggregate; + + factory _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate', + 'G__typename'); + } + + @override + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateBuilder + implements + Builder< + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate, + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateBuilder> { + _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateBuilder? + _aggregate; + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateBuilder(); + set aggregate( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateBuilder() { + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate build() => + _build(); + + _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate _build() { + _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate + _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate + extends GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate', + 'count'); + } + + @override + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate + rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateBuilder + implements + Builder< + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateBuilder> { + _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate? + _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateBuilder() { + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate + build() => _build(); + + _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_membershipHistory + extends GGetHistoryAndBalanceData_account_identity_membershipHistory { + @override + final String G__typename; + @override + final int blockNumber; + @override + final String? eventId; + @override + final _i2.GEventTypeEnum? eventType; + @override + final String id; + @override + final String? identityId; + + factory _$GGetHistoryAndBalanceData_account_identity_membershipHistory( + [void Function( + GGetHistoryAndBalanceData_account_identity_membershipHistoryBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_membershipHistoryBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_membershipHistory._( + {required this.G__typename, + required this.blockNumber, + this.eventId, + this.eventType, + required this.id, + this.identityId}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_membershipHistory', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GGetHistoryAndBalanceData_account_identity_membershipHistory', + 'blockNumber'); + BuiltValueNullFieldError.checkNotNull(id, + r'GGetHistoryAndBalanceData_account_identity_membershipHistory', 'id'); + } + + @override + GGetHistoryAndBalanceData_account_identity_membershipHistory rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_membershipHistoryBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_membershipHistoryBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_identity_membershipHistoryBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_identity_membershipHistory && + G__typename == other.G__typename && + blockNumber == other.blockNumber && + eventId == other.eventId && + eventType == other.eventType && + id == other.id && + identityId == other.identityId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, eventId.hashCode); + _$hash = $jc(_$hash, eventType.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_membershipHistory') + ..add('G__typename', G__typename) + ..add('blockNumber', blockNumber) + ..add('eventId', eventId) + ..add('eventType', eventType) + ..add('id', id) + ..add('identityId', identityId)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_membershipHistoryBuilder + implements + Builder<GGetHistoryAndBalanceData_account_identity_membershipHistory, + GGetHistoryAndBalanceData_account_identity_membershipHistoryBuilder> { + _$GGetHistoryAndBalanceData_account_identity_membershipHistory? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _eventId; + String? get eventId => _$this._eventId; + set eventId(String? eventId) => _$this._eventId = eventId; + + _i2.GEventTypeEnum? _eventType; + _i2.GEventTypeEnum? get eventType => _$this._eventType; + set eventType(_i2.GEventTypeEnum? eventType) => _$this._eventType = eventType; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + GGetHistoryAndBalanceData_account_identity_membershipHistoryBuilder() { + GGetHistoryAndBalanceData_account_identity_membershipHistory + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identity_membershipHistoryBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _blockNumber = $v.blockNumber; + _eventId = $v.eventId; + _eventType = $v.eventType; + _id = $v.id; + _identityId = $v.identityId; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_identity_membershipHistory other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = + other as _$GGetHistoryAndBalanceData_account_identity_membershipHistory; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_membershipHistoryBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_membershipHistory build() => + _build(); + + _$GGetHistoryAndBalanceData_account_identity_membershipHistory _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_membershipHistory._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_membershipHistory', + 'G__typename'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GGetHistoryAndBalanceData_account_identity_membershipHistory', + 'blockNumber'), + eventId: eventId, + eventType: eventType, + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GGetHistoryAndBalanceData_account_identity_membershipHistory', + 'id'), + identityId: identityId); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate + extends GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate { + @override + final String G__typename; + @override + final GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate? + aggregate; + + factory _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate', + 'G__typename'); + } + + @override + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateBuilder + implements + Builder< + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate, + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateBuilder> { + _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateBuilder? + _aggregate; + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateBuilder(); + set aggregate( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateBuilder() { + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate + build() => _build(); + + _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate + _build() { + _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate + _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate + extends GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate', + 'count'); + } + + @override + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate + rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateBuilder + implements + Builder< + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateBuilder> { + _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate? + _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateBuilder() { + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate + build() => _build(); + + _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_ownerKeyChange + extends GGetHistoryAndBalanceData_account_identity_ownerKeyChange { + @override + final String G__typename; + @override + final String id; + @override + final int blockNumber; + @override + final String? identityId; + @override + final String? nextId; + @override + final String? previousId; + + factory _$GGetHistoryAndBalanceData_account_identity_ownerKeyChange( + [void Function( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_ownerKeyChangeBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_ownerKeyChange._( + {required this.G__typename, + required this.id, + required this.blockNumber, + this.identityId, + this.nextId, + this.previousId}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_ownerKeyChange', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_identity_ownerKeyChange', 'id'); + BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GGetHistoryAndBalanceData_account_identity_ownerKeyChange', + 'blockNumber'); + } + + @override + GGetHistoryAndBalanceData_account_identity_ownerKeyChange rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_identity_ownerKeyChangeBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_identity_ownerKeyChange && + G__typename == other.G__typename && + id == other.id && + blockNumber == other.blockNumber && + identityId == other.identityId && + nextId == other.nextId && + previousId == other.previousId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jc(_$hash, nextId.hashCode); + _$hash = $jc(_$hash, previousId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_ownerKeyChange') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('blockNumber', blockNumber) + ..add('identityId', identityId) + ..add('nextId', nextId) + ..add('previousId', previousId)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_ownerKeyChangeBuilder + implements + Builder<GGetHistoryAndBalanceData_account_identity_ownerKeyChange, + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeBuilder> { + _$GGetHistoryAndBalanceData_account_identity_ownerKeyChange? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + String? _nextId; + String? get nextId => _$this._nextId; + set nextId(String? nextId) => _$this._nextId = nextId; + + String? _previousId; + String? get previousId => _$this._previousId; + set previousId(String? previousId) => _$this._previousId = previousId; + + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeBuilder() { + GGetHistoryAndBalanceData_account_identity_ownerKeyChange + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _blockNumber = $v.blockNumber; + _identityId = $v.identityId; + _nextId = $v.nextId; + _previousId = $v.previousId; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_identity_ownerKeyChange other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_identity_ownerKeyChange; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_ownerKeyChange build() => _build(); + + _$GGetHistoryAndBalanceData_account_identity_ownerKeyChange _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_ownerKeyChange._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_ownerKeyChange', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GGetHistoryAndBalanceData_account_identity_ownerKeyChange', + 'id'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GGetHistoryAndBalanceData_account_identity_ownerKeyChange', + 'blockNumber'), + identityId: identityId, + nextId: nextId, + previousId: previousId); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate + extends GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate { + @override + final String G__typename; + @override + final GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate? + aggregate; + + factory _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate', + 'G__typename'); + } + + @override + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateBuilder + implements + Builder< + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate, + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateBuilder> { + _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateBuilder? + _aggregate; + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateBuilder(); + set aggregate( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateBuilder() { + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate build() => + _build(); + + _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate + _build() { + _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate + _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate + extends GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate', + 'count'); + } + + @override + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate + rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateBuilder + implements + Builder< + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateBuilder> { + _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate? + _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateBuilder() { + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate + build() => _build(); + + _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_smith + extends GGetHistoryAndBalanceData_account_identity_smith { + @override + final String G__typename; + @override + final String id; + @override + final int forged; + @override + final int index; + @override + final int? lastChanged; + @override + final int? lastForged; + @override + final BuiltList< + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued> + smithCertIssued; + @override + final BuiltList< + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived> + smithCertReceived; + + factory _$GGetHistoryAndBalanceData_account_identity_smith( + [void Function( + GGetHistoryAndBalanceData_account_identity_smithBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_smithBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_smith._( + {required this.G__typename, + required this.id, + required this.forged, + required this.index, + this.lastChanged, + this.lastForged, + required this.smithCertIssued, + required this.smithCertReceived}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GGetHistoryAndBalanceData_account_identity_smith', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_identity_smith', 'id'); + BuiltValueNullFieldError.checkNotNull( + forged, r'GGetHistoryAndBalanceData_account_identity_smith', 'forged'); + BuiltValueNullFieldError.checkNotNull( + index, r'GGetHistoryAndBalanceData_account_identity_smith', 'index'); + BuiltValueNullFieldError.checkNotNull(smithCertIssued, + r'GGetHistoryAndBalanceData_account_identity_smith', 'smithCertIssued'); + BuiltValueNullFieldError.checkNotNull( + smithCertReceived, + r'GGetHistoryAndBalanceData_account_identity_smith', + 'smithCertReceived'); + } + + @override + GGetHistoryAndBalanceData_account_identity_smith rebuild( + void Function(GGetHistoryAndBalanceData_account_identity_smithBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_smithBuilder toBuilder() => + new GGetHistoryAndBalanceData_account_identity_smithBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_identity_smith && + G__typename == other.G__typename && + id == other.id && + forged == other.forged && + index == other.index && + lastChanged == other.lastChanged && + lastForged == other.lastForged && + smithCertIssued == other.smithCertIssued && + smithCertReceived == other.smithCertReceived; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, forged.hashCode); + _$hash = $jc(_$hash, index.hashCode); + _$hash = $jc(_$hash, lastChanged.hashCode); + _$hash = $jc(_$hash, lastForged.hashCode); + _$hash = $jc(_$hash, smithCertIssued.hashCode); + _$hash = $jc(_$hash, smithCertReceived.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_smith') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('forged', forged) + ..add('index', index) + ..add('lastChanged', lastChanged) + ..add('lastForged', lastForged) + ..add('smithCertIssued', smithCertIssued) + ..add('smithCertReceived', smithCertReceived)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_smithBuilder + implements + Builder<GGetHistoryAndBalanceData_account_identity_smith, + GGetHistoryAndBalanceData_account_identity_smithBuilder> { + _$GGetHistoryAndBalanceData_account_identity_smith? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _forged; + int? get forged => _$this._forged; + set forged(int? forged) => _$this._forged = forged; + + int? _index; + int? get index => _$this._index; + set index(int? index) => _$this._index = index; + + int? _lastChanged; + int? get lastChanged => _$this._lastChanged; + set lastChanged(int? lastChanged) => _$this._lastChanged = lastChanged; + + int? _lastForged; + int? get lastForged => _$this._lastForged; + set lastForged(int? lastForged) => _$this._lastForged = lastForged; + + ListBuilder<GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued>? + _smithCertIssued; + ListBuilder<GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued> + get smithCertIssued => _$this._smithCertIssued ??= new ListBuilder< + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued>(); + set smithCertIssued( + ListBuilder< + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued>? + smithCertIssued) => + _$this._smithCertIssued = smithCertIssued; + + ListBuilder< + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived>? + _smithCertReceived; + ListBuilder< + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived> + get smithCertReceived => _$this._smithCertReceived ??= new ListBuilder< + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived>(); + set smithCertReceived( + ListBuilder< + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived>? + smithCertReceived) => + _$this._smithCertReceived = smithCertReceived; + + GGetHistoryAndBalanceData_account_identity_smithBuilder() { + GGetHistoryAndBalanceData_account_identity_smith._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identity_smithBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _forged = $v.forged; + _index = $v.index; + _lastChanged = $v.lastChanged; + _lastForged = $v.lastForged; + _smithCertIssued = $v.smithCertIssued.toBuilder(); + _smithCertReceived = $v.smithCertReceived.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceData_account_identity_smith other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_identity_smith; + } + + @override + void update( + void Function(GGetHistoryAndBalanceData_account_identity_smithBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_smith build() => _build(); + + _$GGetHistoryAndBalanceData_account_identity_smith _build() { + _$GGetHistoryAndBalanceData_account_identity_smith _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_smith._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_smith', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull(id, + r'GGetHistoryAndBalanceData_account_identity_smith', 'id'), + forged: BuiltValueNullFieldError.checkNotNull( + forged, + r'GGetHistoryAndBalanceData_account_identity_smith', + 'forged'), + index: BuiltValueNullFieldError.checkNotNull(index, + r'GGetHistoryAndBalanceData_account_identity_smith', 'index'), + lastChanged: lastChanged, + lastForged: lastForged, + smithCertIssued: smithCertIssued.build(), + smithCertReceived: smithCertReceived.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'smithCertIssued'; + smithCertIssued.build(); + _$failedField = 'smithCertReceived'; + smithCertReceived.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account_identity_smith', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued + extends GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final String? receiverId; + @override + final int createdOn; + + factory _$GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued( + [void Function( + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssuedBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_smith_smithCertIssuedBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued._( + {required this.G__typename, + required this.id, + this.issuerId, + this.receiverId, + required this.createdOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, + r'GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued', + 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued', + 'createdOn'); + } + + @override + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssuedBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_identity_smith_smithCertIssuedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + receiverId == other.receiverId && + createdOn == other.createdOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('receiverId', receiverId) + ..add('createdOn', createdOn)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_smith_smithCertIssuedBuilder + implements + Builder< + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued, + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssuedBuilder> { + _$GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssuedBuilder() { + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssuedBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _receiverId = $v.receiverId; + _createdOn = $v.createdOn; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssuedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued build() => + _build(); + + _$GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued', + 'id'), + issuerId: issuerId, + receiverId: receiverId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued', + 'createdOn')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived + extends GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final String? receiverId; + @override + final int createdOn; + + factory _$GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived( + [void Function( + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceivedBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_smith_smithCertReceivedBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived._( + {required this.G__typename, + required this.id, + this.issuerId, + this.receiverId, + required this.createdOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, + r'GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived', + 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived', + 'createdOn'); + } + + @override + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceivedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceivedBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_identity_smith_smithCertReceivedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + receiverId == other.receiverId && + createdOn == other.createdOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('receiverId', receiverId) + ..add('createdOn', createdOn)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_smith_smithCertReceivedBuilder + implements + Builder< + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived, + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceivedBuilder> { + _$GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceivedBuilder() { + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceivedBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _receiverId = $v.receiverId; + _createdOn = $v.createdOn; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceivedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived build() => + _build(); + + _$GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived + _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived', + 'id'), + issuerId: issuerId, + receiverId: receiverId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived', + 'createdOn')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_identity_udHistory + extends GGetHistoryAndBalanceData_account_identity_udHistory { + @override + final String G__typename; + @override + final String id; + @override + final int amount; + @override + final _i2.Gtimestamptz timestamp; + + factory _$GGetHistoryAndBalanceData_account_identity_udHistory( + [void Function( + GGetHistoryAndBalanceData_account_identity_udHistoryBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_identity_udHistoryBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_identity_udHistory._( + {required this.G__typename, + required this.id, + required this.amount, + required this.timestamp}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GGetHistoryAndBalanceData_account_identity_udHistory', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_identity_udHistory', 'id'); + BuiltValueNullFieldError.checkNotNull(amount, + r'GGetHistoryAndBalanceData_account_identity_udHistory', 'amount'); + BuiltValueNullFieldError.checkNotNull(timestamp, + r'GGetHistoryAndBalanceData_account_identity_udHistory', 'timestamp'); + } + + @override + GGetHistoryAndBalanceData_account_identity_udHistory rebuild( + void Function( + GGetHistoryAndBalanceData_account_identity_udHistoryBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_identity_udHistoryBuilder toBuilder() => + new GGetHistoryAndBalanceData_account_identity_udHistoryBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_identity_udHistory && + G__typename == other.G__typename && + id == other.id && + amount == other.amount && + timestamp == other.timestamp; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_identity_udHistory') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('amount', amount) + ..add('timestamp', timestamp)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_identity_udHistoryBuilder + implements + Builder<GGetHistoryAndBalanceData_account_identity_udHistory, + GGetHistoryAndBalanceData_account_identity_udHistoryBuilder> { + _$GGetHistoryAndBalanceData_account_identity_udHistory? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + _i2.GtimestamptzBuilder? _timestamp; + _i2.GtimestamptzBuilder get timestamp => + _$this._timestamp ??= new _i2.GtimestamptzBuilder(); + set timestamp(_i2.GtimestamptzBuilder? timestamp) => + _$this._timestamp = timestamp; + + GGetHistoryAndBalanceData_account_identity_udHistoryBuilder() { + GGetHistoryAndBalanceData_account_identity_udHistory._initializeBuilder( + this); + } + + GGetHistoryAndBalanceData_account_identity_udHistoryBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _amount = $v.amount; + _timestamp = $v.timestamp.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceData_account_identity_udHistory other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_identity_udHistory; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_identity_udHistoryBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_identity_udHistory build() => _build(); + + _$GGetHistoryAndBalanceData_account_identity_udHistory _build() { + _$GGetHistoryAndBalanceData_account_identity_udHistory _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_identity_udHistory._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_identity_udHistory', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GGetHistoryAndBalanceData_account_identity_udHistory', + 'id'), + amount: BuiltValueNullFieldError.checkNotNull( + amount, + r'GGetHistoryAndBalanceData_account_identity_udHistory', + 'amount'), + timestamp: timestamp.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'timestamp'; + timestamp.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account_identity_udHistory', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_linkedIdentity + extends GGetHistoryAndBalanceData_account_linkedIdentity { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GGetHistoryAndBalanceData_account_linkedIdentity( + [void Function( + GGetHistoryAndBalanceData_account_linkedIdentityBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_linkedIdentityBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_linkedIdentity._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GGetHistoryAndBalanceData_account_linkedIdentity', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_linkedIdentity', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GGetHistoryAndBalanceData_account_linkedIdentity', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GGetHistoryAndBalanceData_account_linkedIdentity', 'name'); + } + + @override + GGetHistoryAndBalanceData_account_linkedIdentity rebuild( + void Function(GGetHistoryAndBalanceData_account_linkedIdentityBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_linkedIdentityBuilder toBuilder() => + new GGetHistoryAndBalanceData_account_linkedIdentityBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_linkedIdentity && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_linkedIdentity') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_linkedIdentityBuilder + implements + Builder<GGetHistoryAndBalanceData_account_linkedIdentity, + GGetHistoryAndBalanceData_account_linkedIdentityBuilder> { + _$GGetHistoryAndBalanceData_account_linkedIdentity? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GGetHistoryAndBalanceData_account_linkedIdentityBuilder() { + GGetHistoryAndBalanceData_account_linkedIdentity._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_linkedIdentityBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceData_account_linkedIdentity other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_linkedIdentity; + } + + @override + void update( + void Function(GGetHistoryAndBalanceData_account_linkedIdentityBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_linkedIdentity build() => _build(); + + _$GGetHistoryAndBalanceData_account_linkedIdentity _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_linkedIdentity._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_linkedIdentity', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_linkedIdentity', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GGetHistoryAndBalanceData_account_linkedIdentity', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull(name, + r'GGetHistoryAndBalanceData_account_linkedIdentity', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_removedIdentities + extends GGetHistoryAndBalanceData_account_removedIdentities { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GGetHistoryAndBalanceData_account_removedIdentities( + [void Function( + GGetHistoryAndBalanceData_account_removedIdentitiesBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_removedIdentitiesBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_removedIdentities._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GGetHistoryAndBalanceData_account_removedIdentities', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_removedIdentities', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GGetHistoryAndBalanceData_account_removedIdentities', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GGetHistoryAndBalanceData_account_removedIdentities', 'name'); + } + + @override + GGetHistoryAndBalanceData_account_removedIdentities rebuild( + void Function( + GGetHistoryAndBalanceData_account_removedIdentitiesBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_removedIdentitiesBuilder toBuilder() => + new GGetHistoryAndBalanceData_account_removedIdentitiesBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_removedIdentities && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_removedIdentities') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_removedIdentitiesBuilder + implements + Builder<GGetHistoryAndBalanceData_account_removedIdentities, + GGetHistoryAndBalanceData_account_removedIdentitiesBuilder> { + _$GGetHistoryAndBalanceData_account_removedIdentities? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GGetHistoryAndBalanceData_account_removedIdentitiesBuilder() { + GGetHistoryAndBalanceData_account_removedIdentities._initializeBuilder( + this); + } + + GGetHistoryAndBalanceData_account_removedIdentitiesBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceData_account_removedIdentities other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_removedIdentities; + } + + @override + void update( + void Function(GGetHistoryAndBalanceData_account_removedIdentitiesBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_removedIdentities build() => _build(); + + _$GGetHistoryAndBalanceData_account_removedIdentities _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_removedIdentities._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_removedIdentities', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull(id, + r'GGetHistoryAndBalanceData_account_removedIdentities', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GGetHistoryAndBalanceData_account_removedIdentities', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, + r'GGetHistoryAndBalanceData_account_removedIdentities', + 'name')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate + extends GGetHistoryAndBalanceData_account_removedIdentitiesAggregate { + @override + final String G__typename; + @override + final GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate? + aggregate; + + factory _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate( + [void Function( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_removedIdentitiesAggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_removedIdentitiesAggregate', + 'G__typename'); + } + + @override + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate rebuild( + void Function( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_removedIdentitiesAggregateBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_removedIdentitiesAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_removedIdentitiesAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_removedIdentitiesAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_removedIdentitiesAggregateBuilder + implements + Builder<GGetHistoryAndBalanceData_account_removedIdentitiesAggregate, + GGetHistoryAndBalanceData_account_removedIdentitiesAggregateBuilder> { + _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateBuilder? + _aggregate; + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateBuilder(); + set aggregate( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GGetHistoryAndBalanceData_account_removedIdentitiesAggregateBuilder() { + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_removedIdentitiesAggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = + other as _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate build() => + _build(); + + _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate _build() { + _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_removedIdentitiesAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account_removedIdentitiesAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate + extends GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate', + 'count'); + } + + @override + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate rebuild( + void Function( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateBuilder + implements + Builder< + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate, + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateBuilder> { + _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateBuilder() { + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate + build() => _build(); + + _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate + _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_transfersIssued + extends GGetHistoryAndBalanceData_account_transfersIssued { + @override + final String G__typename; + @override + final int blockNumber; + @override + final _i2.Gtimestamptz timestamp; + @override + final int amount; + @override + final GGetHistoryAndBalanceData_account_transfersIssued_to? to; + @override + final GGetHistoryAndBalanceData_account_transfersIssued_from? from; + @override + final GGetHistoryAndBalanceData_account_transfersIssued_comment? comment; + + factory _$GGetHistoryAndBalanceData_account_transfersIssued( + [void Function( + GGetHistoryAndBalanceData_account_transfersIssuedBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_transfersIssuedBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_transfersIssued._( + {required this.G__typename, + required this.blockNumber, + required this.timestamp, + required this.amount, + this.to, + this.from, + this.comment}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GGetHistoryAndBalanceData_account_transfersIssued', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GGetHistoryAndBalanceData_account_transfersIssued', 'blockNumber'); + BuiltValueNullFieldError.checkNotNull(timestamp, + r'GGetHistoryAndBalanceData_account_transfersIssued', 'timestamp'); + BuiltValueNullFieldError.checkNotNull( + amount, r'GGetHistoryAndBalanceData_account_transfersIssued', 'amount'); + } + + @override + GGetHistoryAndBalanceData_account_transfersIssued rebuild( + void Function( + GGetHistoryAndBalanceData_account_transfersIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_transfersIssuedBuilder toBuilder() => + new GGetHistoryAndBalanceData_account_transfersIssuedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_transfersIssued && + G__typename == other.G__typename && + blockNumber == other.blockNumber && + timestamp == other.timestamp && + amount == other.amount && + to == other.to && + from == other.from && + comment == other.comment; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jc(_$hash, to.hashCode); + _$hash = $jc(_$hash, from.hashCode); + _$hash = $jc(_$hash, comment.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_transfersIssued') + ..add('G__typename', G__typename) + ..add('blockNumber', blockNumber) + ..add('timestamp', timestamp) + ..add('amount', amount) + ..add('to', to) + ..add('from', from) + ..add('comment', comment)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_transfersIssuedBuilder + implements + Builder<GGetHistoryAndBalanceData_account_transfersIssued, + GGetHistoryAndBalanceData_account_transfersIssuedBuilder> { + _$GGetHistoryAndBalanceData_account_transfersIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + _i2.GtimestamptzBuilder? _timestamp; + _i2.GtimestamptzBuilder get timestamp => + _$this._timestamp ??= new _i2.GtimestamptzBuilder(); + set timestamp(_i2.GtimestamptzBuilder? timestamp) => + _$this._timestamp = timestamp; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + GGetHistoryAndBalanceData_account_transfersIssued_toBuilder? _to; + GGetHistoryAndBalanceData_account_transfersIssued_toBuilder get to => + _$this._to ??= + new GGetHistoryAndBalanceData_account_transfersIssued_toBuilder(); + set to(GGetHistoryAndBalanceData_account_transfersIssued_toBuilder? to) => + _$this._to = to; + + GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder? _from; + GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder get from => + _$this._from ??= + new GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder(); + set from( + GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder? + from) => + _$this._from = from; + + GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder? _comment; + GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder + get comment => _$this._comment ??= + new GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder(); + set comment( + GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder? + comment) => + _$this._comment = comment; + + GGetHistoryAndBalanceData_account_transfersIssuedBuilder() { + GGetHistoryAndBalanceData_account_transfersIssued._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_transfersIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _blockNumber = $v.blockNumber; + _timestamp = $v.timestamp.toBuilder(); + _amount = $v.amount; + _to = $v.to?.toBuilder(); + _from = $v.from?.toBuilder(); + _comment = $v.comment?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceData_account_transfersIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_transfersIssued; + } + + @override + void update( + void Function(GGetHistoryAndBalanceData_account_transfersIssuedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_transfersIssued build() => _build(); + + _$GGetHistoryAndBalanceData_account_transfersIssued _build() { + _$GGetHistoryAndBalanceData_account_transfersIssued _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_transfersIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersIssued', + 'G__typename'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GGetHistoryAndBalanceData_account_transfersIssued', + 'blockNumber'), + timestamp: timestamp.build(), + amount: BuiltValueNullFieldError.checkNotNull( + amount, + r'GGetHistoryAndBalanceData_account_transfersIssued', + 'amount'), + to: _to?.build(), + from: _from?.build(), + comment: _comment?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'timestamp'; + timestamp.build(); + + _$failedField = 'to'; + _to?.build(); + _$failedField = 'from'; + _from?.build(); + _$failedField = 'comment'; + _comment?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account_transfersIssued', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_transfersIssued_to + extends GGetHistoryAndBalanceData_account_transfersIssued_to { + @override + final String G__typename; + @override + final String id; + + factory _$GGetHistoryAndBalanceData_account_transfersIssued_to( + [void Function( + GGetHistoryAndBalanceData_account_transfersIssued_toBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_transfersIssued_toBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_transfersIssued_to._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GGetHistoryAndBalanceData_account_transfersIssued_to', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_transfersIssued_to', 'id'); + } + + @override + GGetHistoryAndBalanceData_account_transfersIssued_to rebuild( + void Function( + GGetHistoryAndBalanceData_account_transfersIssued_toBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_transfersIssued_toBuilder toBuilder() => + new GGetHistoryAndBalanceData_account_transfersIssued_toBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_transfersIssued_to && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_transfersIssued_to') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_transfersIssued_toBuilder + implements + Builder<GGetHistoryAndBalanceData_account_transfersIssued_to, + GGetHistoryAndBalanceData_account_transfersIssued_toBuilder> { + _$GGetHistoryAndBalanceData_account_transfersIssued_to? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GGetHistoryAndBalanceData_account_transfersIssued_toBuilder() { + GGetHistoryAndBalanceData_account_transfersIssued_to._initializeBuilder( + this); + } + + GGetHistoryAndBalanceData_account_transfersIssued_toBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceData_account_transfersIssued_to other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_transfersIssued_to; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_transfersIssued_toBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_transfersIssued_to build() => _build(); + + _$GGetHistoryAndBalanceData_account_transfersIssued_to _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_transfersIssued_to._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersIssued_to', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull(id, + r'GGetHistoryAndBalanceData_account_transfersIssued_to', 'id')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_transfersIssued_from + extends GGetHistoryAndBalanceData_account_transfersIssued_from { + @override + final String G__typename; + @override + final String id; + + factory _$GGetHistoryAndBalanceData_account_transfersIssued_from( + [void Function( + GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_transfersIssued_from._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersIssued_from', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_transfersIssued_from', 'id'); + } + + @override + GGetHistoryAndBalanceData_account_transfersIssued_from rebuild( + void Function( + GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder toBuilder() => + new GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_transfersIssued_from && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_transfersIssued_from') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder + implements + Builder<GGetHistoryAndBalanceData_account_transfersIssued_from, + GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder> { + _$GGetHistoryAndBalanceData_account_transfersIssued_from? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder() { + GGetHistoryAndBalanceData_account_transfersIssued_from._initializeBuilder( + this); + } + + GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceData_account_transfersIssued_from other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_transfersIssued_from; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_transfersIssued_from build() => _build(); + + _$GGetHistoryAndBalanceData_account_transfersIssued_from _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_transfersIssued_from._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersIssued_from', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GGetHistoryAndBalanceData_account_transfersIssued_from', + 'id')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_transfersIssued_comment + extends GGetHistoryAndBalanceData_account_transfersIssued_comment { + @override + final String G__typename; + @override + final String remark; + + factory _$GGetHistoryAndBalanceData_account_transfersIssued_comment( + [void Function( + GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_transfersIssued_comment._( + {required this.G__typename, required this.remark}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersIssued_comment', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull(remark, + r'GGetHistoryAndBalanceData_account_transfersIssued_comment', 'remark'); + } + + @override + GGetHistoryAndBalanceData_account_transfersIssued_comment rebuild( + void Function( + GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_transfersIssued_comment && + G__typename == other.G__typename && + remark == other.remark; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, remark.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_transfersIssued_comment') + ..add('G__typename', G__typename) + ..add('remark', remark)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder + implements + Builder<GGetHistoryAndBalanceData_account_transfersIssued_comment, + GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder> { + _$GGetHistoryAndBalanceData_account_transfersIssued_comment? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _remark; + String? get remark => _$this._remark; + set remark(String? remark) => _$this._remark = remark; + + GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder() { + GGetHistoryAndBalanceData_account_transfersIssued_comment + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _remark = $v.remark; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_transfersIssued_comment other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_transfersIssued_comment; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_transfersIssued_comment build() => _build(); + + _$GGetHistoryAndBalanceData_account_transfersIssued_comment _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_transfersIssued_comment._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersIssued_comment', + 'G__typename'), + remark: BuiltValueNullFieldError.checkNotNull( + remark, + r'GGetHistoryAndBalanceData_account_transfersIssued_comment', + 'remark')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate + extends GGetHistoryAndBalanceData_account_transfersIssuedAggregate { + @override + final String G__typename; + @override + final GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate? + aggregate; + + factory _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate( + [void Function( + GGetHistoryAndBalanceData_account_transfersIssuedAggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_transfersIssuedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersIssuedAggregate', + 'G__typename'); + } + + @override + GGetHistoryAndBalanceData_account_transfersIssuedAggregate rebuild( + void Function( + GGetHistoryAndBalanceData_account_transfersIssuedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_transfersIssuedAggregateBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_transfersIssuedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_transfersIssuedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_transfersIssuedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_transfersIssuedAggregateBuilder + implements + Builder<GGetHistoryAndBalanceData_account_transfersIssuedAggregate, + GGetHistoryAndBalanceData_account_transfersIssuedAggregateBuilder> { + _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateBuilder? + _aggregate; + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateBuilder(); + set aggregate( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GGetHistoryAndBalanceData_account_transfersIssuedAggregateBuilder() { + GGetHistoryAndBalanceData_account_transfersIssuedAggregate + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_transfersIssuedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_transfersIssuedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_transfersIssuedAggregate build() => + _build(); + + _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate _build() { + _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersIssuedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account_transfersIssuedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate + extends GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate { + @override + final String G__typename; + @override + final GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum? + sum; + @override + final int count; + + factory _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate._( + {required this.G__typename, this.sum, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate', + 'count'); + } + + @override + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate rebuild( + void Function( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate && + G__typename == other.G__typename && + sum == other.sum && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, sum.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('sum', sum) + ..add('count', count)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateBuilder + implements + Builder< + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate, + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateBuilder> { + _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumBuilder? + _sum; + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumBuilder + get sum => _$this._sum ??= + new GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumBuilder(); + set sum( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumBuilder? + sum) => + _$this._sum = sum; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateBuilder() { + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _sum = $v.sum?.toBuilder(); + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate + build() => _build(); + + _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate + _build() { + _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate + _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate', + 'G__typename'), + sum: _sum?.build(), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate', + 'count')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'sum'; + _sum?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum + extends GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum { + @override + final String G__typename; + @override + final int? amount; + + factory _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum( + [void Function( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum._( + {required this.G__typename, this.amount}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum', + 'G__typename'); + } + + @override + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum rebuild( + void Function( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum && + G__typename == other.G__typename && + amount == other.amount; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum') + ..add('G__typename', G__typename) + ..add('amount', amount)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumBuilder + implements + Builder< + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum, + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumBuilder> { + _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum? + _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumBuilder() { + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _amount = $v.amount; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sumBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum + build() => _build(); + + _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum + _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum', + 'G__typename'), + amount: amount); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_transfersReceived + extends GGetHistoryAndBalanceData_account_transfersReceived { + @override + final String G__typename; + @override + final int blockNumber; + @override + final _i2.Gtimestamptz timestamp; + @override + final int amount; + @override + final GGetHistoryAndBalanceData_account_transfersReceived_to? to; + @override + final GGetHistoryAndBalanceData_account_transfersReceived_from? from; + @override + final GGetHistoryAndBalanceData_account_transfersReceived_comment? comment; + + factory _$GGetHistoryAndBalanceData_account_transfersReceived( + [void Function( + GGetHistoryAndBalanceData_account_transfersReceivedBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_transfersReceivedBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_transfersReceived._( + {required this.G__typename, + required this.blockNumber, + required this.timestamp, + required this.amount, + this.to, + this.from, + this.comment}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GGetHistoryAndBalanceData_account_transfersReceived', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GGetHistoryAndBalanceData_account_transfersReceived', 'blockNumber'); + BuiltValueNullFieldError.checkNotNull(timestamp, + r'GGetHistoryAndBalanceData_account_transfersReceived', 'timestamp'); + BuiltValueNullFieldError.checkNotNull(amount, + r'GGetHistoryAndBalanceData_account_transfersReceived', 'amount'); + } + + @override + GGetHistoryAndBalanceData_account_transfersReceived rebuild( + void Function( + GGetHistoryAndBalanceData_account_transfersReceivedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_transfersReceivedBuilder toBuilder() => + new GGetHistoryAndBalanceData_account_transfersReceivedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_transfersReceived && + G__typename == other.G__typename && + blockNumber == other.blockNumber && + timestamp == other.timestamp && + amount == other.amount && + to == other.to && + from == other.from && + comment == other.comment; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jc(_$hash, to.hashCode); + _$hash = $jc(_$hash, from.hashCode); + _$hash = $jc(_$hash, comment.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_transfersReceived') + ..add('G__typename', G__typename) + ..add('blockNumber', blockNumber) + ..add('timestamp', timestamp) + ..add('amount', amount) + ..add('to', to) + ..add('from', from) + ..add('comment', comment)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_transfersReceivedBuilder + implements + Builder<GGetHistoryAndBalanceData_account_transfersReceived, + GGetHistoryAndBalanceData_account_transfersReceivedBuilder> { + _$GGetHistoryAndBalanceData_account_transfersReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + _i2.GtimestamptzBuilder? _timestamp; + _i2.GtimestamptzBuilder get timestamp => + _$this._timestamp ??= new _i2.GtimestamptzBuilder(); + set timestamp(_i2.GtimestamptzBuilder? timestamp) => + _$this._timestamp = timestamp; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + GGetHistoryAndBalanceData_account_transfersReceived_toBuilder? _to; + GGetHistoryAndBalanceData_account_transfersReceived_toBuilder get to => + _$this._to ??= + new GGetHistoryAndBalanceData_account_transfersReceived_toBuilder(); + set to(GGetHistoryAndBalanceData_account_transfersReceived_toBuilder? to) => + _$this._to = to; + + GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder? _from; + GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder get from => + _$this._from ??= + new GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder(); + set from( + GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder? + from) => + _$this._from = from; + + GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder? _comment; + GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder + get comment => _$this._comment ??= + new GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder(); + set comment( + GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder? + comment) => + _$this._comment = comment; + + GGetHistoryAndBalanceData_account_transfersReceivedBuilder() { + GGetHistoryAndBalanceData_account_transfersReceived._initializeBuilder( + this); + } + + GGetHistoryAndBalanceData_account_transfersReceivedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _blockNumber = $v.blockNumber; + _timestamp = $v.timestamp.toBuilder(); + _amount = $v.amount; + _to = $v.to?.toBuilder(); + _from = $v.from?.toBuilder(); + _comment = $v.comment?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceData_account_transfersReceived other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_transfersReceived; + } + + @override + void update( + void Function(GGetHistoryAndBalanceData_account_transfersReceivedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_transfersReceived build() => _build(); + + _$GGetHistoryAndBalanceData_account_transfersReceived _build() { + _$GGetHistoryAndBalanceData_account_transfersReceived _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_transfersReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersReceived', + 'G__typename'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GGetHistoryAndBalanceData_account_transfersReceived', + 'blockNumber'), + timestamp: timestamp.build(), + amount: BuiltValueNullFieldError.checkNotNull( + amount, + r'GGetHistoryAndBalanceData_account_transfersReceived', + 'amount'), + to: _to?.build(), + from: _from?.build(), + comment: _comment?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'timestamp'; + timestamp.build(); + + _$failedField = 'to'; + _to?.build(); + _$failedField = 'from'; + _from?.build(); + _$failedField = 'comment'; + _comment?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account_transfersReceived', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_transfersReceived_to + extends GGetHistoryAndBalanceData_account_transfersReceived_to { + @override + final String G__typename; + @override + final String id; + + factory _$GGetHistoryAndBalanceData_account_transfersReceived_to( + [void Function( + GGetHistoryAndBalanceData_account_transfersReceived_toBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_transfersReceived_toBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_transfersReceived_to._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersReceived_to', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_transfersReceived_to', 'id'); + } + + @override + GGetHistoryAndBalanceData_account_transfersReceived_to rebuild( + void Function( + GGetHistoryAndBalanceData_account_transfersReceived_toBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_transfersReceived_toBuilder toBuilder() => + new GGetHistoryAndBalanceData_account_transfersReceived_toBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_transfersReceived_to && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_transfersReceived_to') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_transfersReceived_toBuilder + implements + Builder<GGetHistoryAndBalanceData_account_transfersReceived_to, + GGetHistoryAndBalanceData_account_transfersReceived_toBuilder> { + _$GGetHistoryAndBalanceData_account_transfersReceived_to? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GGetHistoryAndBalanceData_account_transfersReceived_toBuilder() { + GGetHistoryAndBalanceData_account_transfersReceived_to._initializeBuilder( + this); + } + + GGetHistoryAndBalanceData_account_transfersReceived_toBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceData_account_transfersReceived_to other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_transfersReceived_to; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_transfersReceived_toBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_transfersReceived_to build() => _build(); + + _$GGetHistoryAndBalanceData_account_transfersReceived_to _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_transfersReceived_to._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersReceived_to', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GGetHistoryAndBalanceData_account_transfersReceived_to', + 'id')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_transfersReceived_from + extends GGetHistoryAndBalanceData_account_transfersReceived_from { + @override + final String G__typename; + @override + final String id; + + factory _$GGetHistoryAndBalanceData_account_transfersReceived_from( + [void Function( + GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_transfersReceived_from._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersReceived_from', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_transfersReceived_from', 'id'); + } + + @override + GGetHistoryAndBalanceData_account_transfersReceived_from rebuild( + void Function( + GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder toBuilder() => + new GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_transfersReceived_from && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_transfersReceived_from') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder + implements + Builder<GGetHistoryAndBalanceData_account_transfersReceived_from, + GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder> { + _$GGetHistoryAndBalanceData_account_transfersReceived_from? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder() { + GGetHistoryAndBalanceData_account_transfersReceived_from._initializeBuilder( + this); + } + + GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceData_account_transfersReceived_from other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_transfersReceived_from; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_transfersReceived_from build() => _build(); + + _$GGetHistoryAndBalanceData_account_transfersReceived_from _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_transfersReceived_from._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersReceived_from', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, + r'GGetHistoryAndBalanceData_account_transfersReceived_from', + 'id')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_transfersReceived_comment + extends GGetHistoryAndBalanceData_account_transfersReceived_comment { + @override + final String G__typename; + @override + final String remark; + + factory _$GGetHistoryAndBalanceData_account_transfersReceived_comment( + [void Function( + GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_transfersReceived_comment._( + {required this.G__typename, required this.remark}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersReceived_comment', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + remark, + r'GGetHistoryAndBalanceData_account_transfersReceived_comment', + 'remark'); + } + + @override + GGetHistoryAndBalanceData_account_transfersReceived_comment rebuild( + void Function( + GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_transfersReceived_comment && + G__typename == other.G__typename && + remark == other.remark; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, remark.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_transfersReceived_comment') + ..add('G__typename', G__typename) + ..add('remark', remark)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder + implements + Builder<GGetHistoryAndBalanceData_account_transfersReceived_comment, + GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder> { + _$GGetHistoryAndBalanceData_account_transfersReceived_comment? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _remark; + String? get remark => _$this._remark; + set remark(String? remark) => _$this._remark = remark; + + GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder() { + GGetHistoryAndBalanceData_account_transfersReceived_comment + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _remark = $v.remark; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_transfersReceived_comment other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = + other as _$GGetHistoryAndBalanceData_account_transfersReceived_comment; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_transfersReceived_comment build() => + _build(); + + _$GGetHistoryAndBalanceData_account_transfersReceived_comment _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_transfersReceived_comment._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersReceived_comment', + 'G__typename'), + remark: BuiltValueNullFieldError.checkNotNull( + remark, + r'GGetHistoryAndBalanceData_account_transfersReceived_comment', + 'remark')); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate + extends GGetHistoryAndBalanceData_account_transfersReceivedAggregate { + @override + final String G__typename; + @override + final GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate? + aggregate; + + factory _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate( + [void Function( + GGetHistoryAndBalanceData_account_transfersReceivedAggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_transfersReceivedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersReceivedAggregate', + 'G__typename'); + } + + @override + GGetHistoryAndBalanceData_account_transfersReceivedAggregate rebuild( + void Function( + GGetHistoryAndBalanceData_account_transfersReceivedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_transfersReceivedAggregateBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_transfersReceivedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_transfersReceivedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_transfersReceivedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_transfersReceivedAggregateBuilder + implements + Builder<GGetHistoryAndBalanceData_account_transfersReceivedAggregate, + GGetHistoryAndBalanceData_account_transfersReceivedAggregateBuilder> { + _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateBuilder? + _aggregate; + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateBuilder(); + set aggregate( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GGetHistoryAndBalanceData_account_transfersReceivedAggregateBuilder() { + GGetHistoryAndBalanceData_account_transfersReceivedAggregate + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_transfersReceivedAggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = + other as _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_transfersReceivedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_transfersReceivedAggregate build() => + _build(); + + _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate _build() { + _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersReceivedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account_transfersReceivedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate + extends GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate { + @override + final String G__typename; + @override + final GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum? + sum; + @override + final int count; + + factory _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate._( + {required this.G__typename, this.sum, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate', + 'count'); + } + + @override + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate rebuild( + void Function( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate && + G__typename == other.G__typename && + sum == other.sum && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, sum.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('sum', sum) + ..add('count', count)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateBuilder + implements + Builder< + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate, + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateBuilder> { + _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumBuilder? + _sum; + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumBuilder + get sum => _$this._sum ??= + new GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumBuilder(); + set sum( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumBuilder? + sum) => + _$this._sum = sum; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateBuilder() { + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _sum = $v.sum?.toBuilder(); + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate + build() => _build(); + + _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate + _build() { + _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate + _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate', + 'G__typename'), + sum: _sum?.build(), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate', + 'count')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'sum'; + _sum?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum + extends GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum { + @override + final String G__typename; + @override + final int? amount; + + factory _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum( + [void Function( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum._( + {required this.G__typename, this.amount}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum', + 'G__typename'); + } + + @override + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum + rebuild( + void Function( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum && + G__typename == other.G__typename && + amount == other.amount; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum') + ..add('G__typename', G__typename) + ..add('amount', amount)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumBuilder + implements + Builder< + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum, + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumBuilder> { + _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum? + _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumBuilder() { + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _amount = $v.amount; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sumBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum + build() => _build(); + + _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum + _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum', + 'G__typename'), + amount: amount); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_wasIdentity + extends GGetHistoryAndBalanceData_account_wasIdentity { + @override + final String G__typename; + @override + final String id; + @override + final int blockNumber; + @override + final String? identityId; + @override + final String? nextId; + @override + final String? previousId; + + factory _$GGetHistoryAndBalanceData_account_wasIdentity( + [void Function(GGetHistoryAndBalanceData_account_wasIdentityBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_wasIdentityBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_wasIdentity._( + {required this.G__typename, + required this.id, + required this.blockNumber, + this.identityId, + this.nextId, + this.previousId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GGetHistoryAndBalanceData_account_wasIdentity', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_wasIdentity', 'id'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GGetHistoryAndBalanceData_account_wasIdentity', 'blockNumber'); + } + + @override + GGetHistoryAndBalanceData_account_wasIdentity rebuild( + void Function(GGetHistoryAndBalanceData_account_wasIdentityBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_wasIdentityBuilder toBuilder() => + new GGetHistoryAndBalanceData_account_wasIdentityBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_wasIdentity && + G__typename == other.G__typename && + id == other.id && + blockNumber == other.blockNumber && + identityId == other.identityId && + nextId == other.nextId && + previousId == other.previousId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jc(_$hash, nextId.hashCode); + _$hash = $jc(_$hash, previousId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_wasIdentity') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('blockNumber', blockNumber) + ..add('identityId', identityId) + ..add('nextId', nextId) + ..add('previousId', previousId)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_wasIdentityBuilder + implements + Builder<GGetHistoryAndBalanceData_account_wasIdentity, + GGetHistoryAndBalanceData_account_wasIdentityBuilder> { + _$GGetHistoryAndBalanceData_account_wasIdentity? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + String? _nextId; + String? get nextId => _$this._nextId; + set nextId(String? nextId) => _$this._nextId = nextId; + + String? _previousId; + String? get previousId => _$this._previousId; + set previousId(String? previousId) => _$this._previousId = previousId; + + GGetHistoryAndBalanceData_account_wasIdentityBuilder() { + GGetHistoryAndBalanceData_account_wasIdentity._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_wasIdentityBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _blockNumber = $v.blockNumber; + _identityId = $v.identityId; + _nextId = $v.nextId; + _previousId = $v.previousId; + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceData_account_wasIdentity other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_wasIdentity; + } + + @override + void update( + void Function(GGetHistoryAndBalanceData_account_wasIdentityBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_wasIdentity build() => _build(); + + _$GGetHistoryAndBalanceData_account_wasIdentity _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_wasIdentity._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_wasIdentity', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GGetHistoryAndBalanceData_account_wasIdentity', 'id'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GGetHistoryAndBalanceData_account_wasIdentity', + 'blockNumber'), + identityId: identityId, + nextId: nextId, + previousId: previousId); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_wasIdentityAggregate + extends GGetHistoryAndBalanceData_account_wasIdentityAggregate { + @override + final String G__typename; + @override + final GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate? + aggregate; + + factory _$GGetHistoryAndBalanceData_account_wasIdentityAggregate( + [void Function( + GGetHistoryAndBalanceData_account_wasIdentityAggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_wasIdentityAggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_wasIdentityAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_wasIdentityAggregate', + 'G__typename'); + } + + @override + GGetHistoryAndBalanceData_account_wasIdentityAggregate rebuild( + void Function( + GGetHistoryAndBalanceData_account_wasIdentityAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_wasIdentityAggregateBuilder toBuilder() => + new GGetHistoryAndBalanceData_account_wasIdentityAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceData_account_wasIdentityAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_wasIdentityAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_wasIdentityAggregateBuilder + implements + Builder<GGetHistoryAndBalanceData_account_wasIdentityAggregate, + GGetHistoryAndBalanceData_account_wasIdentityAggregateBuilder> { + _$GGetHistoryAndBalanceData_account_wasIdentityAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateBuilder? + _aggregate; + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateBuilder(); + set aggregate( + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GGetHistoryAndBalanceData_account_wasIdentityAggregateBuilder() { + GGetHistoryAndBalanceData_account_wasIdentityAggregate._initializeBuilder( + this); + } + + GGetHistoryAndBalanceData_account_wasIdentityAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceData_account_wasIdentityAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceData_account_wasIdentityAggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_wasIdentityAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_wasIdentityAggregate build() => _build(); + + _$GGetHistoryAndBalanceData_account_wasIdentityAggregate _build() { + _$GGetHistoryAndBalanceData_account_wasIdentityAggregate _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_wasIdentityAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_wasIdentityAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceData_account_wasIdentityAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate + extends GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate( + [void Function( + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateBuilder)? + updates]) => + (new GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate', + 'count'); + } + + @override + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate rebuild( + void Function( + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateBuilder + toBuilder() => + new GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateBuilder + implements + Builder< + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate, + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateBuilder> { + _$GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateBuilder() { + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate + ._initializeBuilder(this); + } + + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate; + } + + @override + void update( + void Function( + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate build() => + _build(); + + _$GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GCertFieldsData extends GCertFieldsData { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final GCertFieldsData_issuer? issuer; + @override + final String? receiverId; + @override + final GCertFieldsData_receiver? receiver; + @override + final int createdOn; + @override + final int expireOn; + @override + final bool isActive; + @override + final int updatedOn; + + factory _$GCertFieldsData([void Function(GCertFieldsDataBuilder)? updates]) => + (new GCertFieldsDataBuilder()..update(updates))._build(); + + _$GCertFieldsData._( + {required this.G__typename, + required this.id, + this.issuerId, + this.issuer, + this.receiverId, + this.receiver, + required this.createdOn, + required this.expireOn, + required this.isActive, + required this.updatedOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GCertFieldsData', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(id, r'GCertFieldsData', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GCertFieldsData', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + expireOn, r'GCertFieldsData', 'expireOn'); + BuiltValueNullFieldError.checkNotNull( + isActive, r'GCertFieldsData', 'isActive'); + BuiltValueNullFieldError.checkNotNull( + updatedOn, r'GCertFieldsData', 'updatedOn'); + } + + @override + GCertFieldsData rebuild(void Function(GCertFieldsDataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GCertFieldsDataBuilder toBuilder() => + new GCertFieldsDataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GCertFieldsData && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + issuer == other.issuer && + receiverId == other.receiverId && + receiver == other.receiver && + createdOn == other.createdOn && + expireOn == other.expireOn && + isActive == other.isActive && + updatedOn == other.updatedOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, issuer.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, receiver.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, updatedOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GCertFieldsData') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('issuer', issuer) + ..add('receiverId', receiverId) + ..add('receiver', receiver) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('isActive', isActive) + ..add('updatedOn', updatedOn)) + .toString(); + } +} + +class GCertFieldsDataBuilder + implements Builder<GCertFieldsData, GCertFieldsDataBuilder> { + _$GCertFieldsData? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + GCertFieldsData_issuerBuilder? _issuer; + GCertFieldsData_issuerBuilder get issuer => + _$this._issuer ??= new GCertFieldsData_issuerBuilder(); + set issuer(GCertFieldsData_issuerBuilder? issuer) => _$this._issuer = issuer; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + GCertFieldsData_receiverBuilder? _receiver; + GCertFieldsData_receiverBuilder get receiver => + _$this._receiver ??= new GCertFieldsData_receiverBuilder(); + set receiver(GCertFieldsData_receiverBuilder? receiver) => + _$this._receiver = receiver; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + int? _updatedOn; + int? get updatedOn => _$this._updatedOn; + set updatedOn(int? updatedOn) => _$this._updatedOn = updatedOn; + + GCertFieldsDataBuilder() { + GCertFieldsData._initializeBuilder(this); + } + + GCertFieldsDataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _issuer = $v.issuer?.toBuilder(); + _receiverId = $v.receiverId; + _receiver = $v.receiver?.toBuilder(); + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _isActive = $v.isActive; + _updatedOn = $v.updatedOn; + _$v = null; + } + return this; + } + + @override + void replace(GCertFieldsData other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GCertFieldsData; + } + + @override + void update(void Function(GCertFieldsDataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GCertFieldsData build() => _build(); + + _$GCertFieldsData _build() { + _$GCertFieldsData _$result; + try { + _$result = _$v ?? + new _$GCertFieldsData._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GCertFieldsData', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GCertFieldsData', 'id'), + issuerId: issuerId, + issuer: _issuer?.build(), + receiverId: receiverId, + receiver: _receiver?.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GCertFieldsData', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GCertFieldsData', 'expireOn'), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GCertFieldsData', 'isActive'), + updatedOn: BuiltValueNullFieldError.checkNotNull( + updatedOn, r'GCertFieldsData', 'updatedOn')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'issuer'; + _issuer?.build(); + + _$failedField = 'receiver'; + _receiver?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GCertFieldsData', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GCertFieldsData_issuer extends GCertFieldsData_issuer { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GCertFieldsData_issuer( + [void Function(GCertFieldsData_issuerBuilder)? updates]) => + (new GCertFieldsData_issuerBuilder()..update(updates))._build(); + + _$GCertFieldsData_issuer._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GCertFieldsData_issuer', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(id, r'GCertFieldsData_issuer', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GCertFieldsData_issuer', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GCertFieldsData_issuer', 'name'); + } + + @override + GCertFieldsData_issuer rebuild( + void Function(GCertFieldsData_issuerBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GCertFieldsData_issuerBuilder toBuilder() => + new GCertFieldsData_issuerBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GCertFieldsData_issuer && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GCertFieldsData_issuer') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GCertFieldsData_issuerBuilder + implements Builder<GCertFieldsData_issuer, GCertFieldsData_issuerBuilder> { + _$GCertFieldsData_issuer? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GCertFieldsData_issuerBuilder() { + GCertFieldsData_issuer._initializeBuilder(this); + } + + GCertFieldsData_issuerBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GCertFieldsData_issuer other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GCertFieldsData_issuer; + } + + @override + void update(void Function(GCertFieldsData_issuerBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GCertFieldsData_issuer build() => _build(); + + _$GCertFieldsData_issuer _build() { + final _$result = _$v ?? + new _$GCertFieldsData_issuer._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GCertFieldsData_issuer', 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GCertFieldsData_issuer', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, r'GCertFieldsData_issuer', 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, r'GCertFieldsData_issuer', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GCertFieldsData_receiver extends GCertFieldsData_receiver { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GCertFieldsData_receiver( + [void Function(GCertFieldsData_receiverBuilder)? updates]) => + (new GCertFieldsData_receiverBuilder()..update(updates))._build(); + + _$GCertFieldsData_receiver._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GCertFieldsData_receiver', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GCertFieldsData_receiver', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GCertFieldsData_receiver', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GCertFieldsData_receiver', 'name'); + } + + @override + GCertFieldsData_receiver rebuild( + void Function(GCertFieldsData_receiverBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GCertFieldsData_receiverBuilder toBuilder() => + new GCertFieldsData_receiverBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GCertFieldsData_receiver && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GCertFieldsData_receiver') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GCertFieldsData_receiverBuilder + implements + Builder<GCertFieldsData_receiver, GCertFieldsData_receiverBuilder> { + _$GCertFieldsData_receiver? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GCertFieldsData_receiverBuilder() { + GCertFieldsData_receiver._initializeBuilder(this); + } + + GCertFieldsData_receiverBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GCertFieldsData_receiver other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GCertFieldsData_receiver; + } + + @override + void update(void Function(GCertFieldsData_receiverBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GCertFieldsData_receiver build() => _build(); + + _$GCertFieldsData_receiver _build() { + final _$result = _$v ?? + new _$GCertFieldsData_receiver._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GCertFieldsData_receiver', 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GCertFieldsData_receiver', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, r'GCertFieldsData_receiver', 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, r'GCertFieldsData_receiver', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GSmithCertFieldsData extends GSmithCertFieldsData { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final String? receiverId; + @override + final int createdOn; + + factory _$GSmithCertFieldsData( + [void Function(GSmithCertFieldsDataBuilder)? updates]) => + (new GSmithCertFieldsDataBuilder()..update(updates))._build(); + + _$GSmithCertFieldsData._( + {required this.G__typename, + required this.id, + this.issuerId, + this.receiverId, + required this.createdOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GSmithCertFieldsData', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(id, r'GSmithCertFieldsData', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GSmithCertFieldsData', 'createdOn'); + } + + @override + GSmithCertFieldsData rebuild( + void Function(GSmithCertFieldsDataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GSmithCertFieldsDataBuilder toBuilder() => + new GSmithCertFieldsDataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GSmithCertFieldsData && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + receiverId == other.receiverId && + createdOn == other.createdOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GSmithCertFieldsData') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('receiverId', receiverId) + ..add('createdOn', createdOn)) + .toString(); + } +} + +class GSmithCertFieldsDataBuilder + implements Builder<GSmithCertFieldsData, GSmithCertFieldsDataBuilder> { + _$GSmithCertFieldsData? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + GSmithCertFieldsDataBuilder() { + GSmithCertFieldsData._initializeBuilder(this); + } + + GSmithCertFieldsDataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _receiverId = $v.receiverId; + _createdOn = $v.createdOn; + _$v = null; + } + return this; + } + + @override + void replace(GSmithCertFieldsData other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GSmithCertFieldsData; + } + + @override + void update(void Function(GSmithCertFieldsDataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GSmithCertFieldsData build() => _build(); + + _$GSmithCertFieldsData _build() { + final _$result = _$v ?? + new _$GSmithCertFieldsData._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GSmithCertFieldsData', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GSmithCertFieldsData', 'id'), + issuerId: issuerId, + receiverId: receiverId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GSmithCertFieldsData', 'createdOn')); + replace(_$result); + return _$result; + } +} + +class _$GSmithFieldsData extends GSmithFieldsData { + @override + final String G__typename; + @override + final String id; + @override + final int forged; + @override + final int index; + @override + final int? lastChanged; + @override + final int? lastForged; + @override + final BuiltList<GSmithFieldsData_smithCertIssued> smithCertIssued; + @override + final BuiltList<GSmithFieldsData_smithCertReceived> smithCertReceived; + + factory _$GSmithFieldsData( + [void Function(GSmithFieldsDataBuilder)? updates]) => + (new GSmithFieldsDataBuilder()..update(updates))._build(); + + _$GSmithFieldsData._( + {required this.G__typename, + required this.id, + required this.forged, + required this.index, + this.lastChanged, + this.lastForged, + required this.smithCertIssued, + required this.smithCertReceived}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GSmithFieldsData', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(id, r'GSmithFieldsData', 'id'); + BuiltValueNullFieldError.checkNotNull( + forged, r'GSmithFieldsData', 'forged'); + BuiltValueNullFieldError.checkNotNull(index, r'GSmithFieldsData', 'index'); + BuiltValueNullFieldError.checkNotNull( + smithCertIssued, r'GSmithFieldsData', 'smithCertIssued'); + BuiltValueNullFieldError.checkNotNull( + smithCertReceived, r'GSmithFieldsData', 'smithCertReceived'); + } + + @override + GSmithFieldsData rebuild(void Function(GSmithFieldsDataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GSmithFieldsDataBuilder toBuilder() => + new GSmithFieldsDataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GSmithFieldsData && + G__typename == other.G__typename && + id == other.id && + forged == other.forged && + index == other.index && + lastChanged == other.lastChanged && + lastForged == other.lastForged && + smithCertIssued == other.smithCertIssued && + smithCertReceived == other.smithCertReceived; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, forged.hashCode); + _$hash = $jc(_$hash, index.hashCode); + _$hash = $jc(_$hash, lastChanged.hashCode); + _$hash = $jc(_$hash, lastForged.hashCode); + _$hash = $jc(_$hash, smithCertIssued.hashCode); + _$hash = $jc(_$hash, smithCertReceived.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GSmithFieldsData') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('forged', forged) + ..add('index', index) + ..add('lastChanged', lastChanged) + ..add('lastForged', lastForged) + ..add('smithCertIssued', smithCertIssued) + ..add('smithCertReceived', smithCertReceived)) + .toString(); + } +} + +class GSmithFieldsDataBuilder + implements Builder<GSmithFieldsData, GSmithFieldsDataBuilder> { + _$GSmithFieldsData? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _forged; + int? get forged => _$this._forged; + set forged(int? forged) => _$this._forged = forged; + + int? _index; + int? get index => _$this._index; + set index(int? index) => _$this._index = index; + + int? _lastChanged; + int? get lastChanged => _$this._lastChanged; + set lastChanged(int? lastChanged) => _$this._lastChanged = lastChanged; + + int? _lastForged; + int? get lastForged => _$this._lastForged; + set lastForged(int? lastForged) => _$this._lastForged = lastForged; + + ListBuilder<GSmithFieldsData_smithCertIssued>? _smithCertIssued; + ListBuilder<GSmithFieldsData_smithCertIssued> get smithCertIssued => + _$this._smithCertIssued ??= + new ListBuilder<GSmithFieldsData_smithCertIssued>(); + set smithCertIssued( + ListBuilder<GSmithFieldsData_smithCertIssued>? smithCertIssued) => + _$this._smithCertIssued = smithCertIssued; + + ListBuilder<GSmithFieldsData_smithCertReceived>? _smithCertReceived; + ListBuilder<GSmithFieldsData_smithCertReceived> get smithCertReceived => + _$this._smithCertReceived ??= + new ListBuilder<GSmithFieldsData_smithCertReceived>(); + set smithCertReceived( + ListBuilder<GSmithFieldsData_smithCertReceived>? smithCertReceived) => + _$this._smithCertReceived = smithCertReceived; + + GSmithFieldsDataBuilder() { + GSmithFieldsData._initializeBuilder(this); + } + + GSmithFieldsDataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _forged = $v.forged; + _index = $v.index; + _lastChanged = $v.lastChanged; + _lastForged = $v.lastForged; + _smithCertIssued = $v.smithCertIssued.toBuilder(); + _smithCertReceived = $v.smithCertReceived.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GSmithFieldsData other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GSmithFieldsData; + } + + @override + void update(void Function(GSmithFieldsDataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GSmithFieldsData build() => _build(); + + _$GSmithFieldsData _build() { + _$GSmithFieldsData _$result; + try { + _$result = _$v ?? + new _$GSmithFieldsData._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GSmithFieldsData', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GSmithFieldsData', 'id'), + forged: BuiltValueNullFieldError.checkNotNull( + forged, r'GSmithFieldsData', 'forged'), + index: BuiltValueNullFieldError.checkNotNull( + index, r'GSmithFieldsData', 'index'), + lastChanged: lastChanged, + lastForged: lastForged, + smithCertIssued: smithCertIssued.build(), + smithCertReceived: smithCertReceived.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'smithCertIssued'; + smithCertIssued.build(); + _$failedField = 'smithCertReceived'; + smithCertReceived.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GSmithFieldsData', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GSmithFieldsData_smithCertIssued + extends GSmithFieldsData_smithCertIssued { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final String? receiverId; + @override + final int createdOn; + + factory _$GSmithFieldsData_smithCertIssued( + [void Function(GSmithFieldsData_smithCertIssuedBuilder)? updates]) => + (new GSmithFieldsData_smithCertIssuedBuilder()..update(updates))._build(); + + _$GSmithFieldsData_smithCertIssued._( + {required this.G__typename, + required this.id, + this.issuerId, + this.receiverId, + required this.createdOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GSmithFieldsData_smithCertIssued', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GSmithFieldsData_smithCertIssued', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GSmithFieldsData_smithCertIssued', 'createdOn'); + } + + @override + GSmithFieldsData_smithCertIssued rebuild( + void Function(GSmithFieldsData_smithCertIssuedBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GSmithFieldsData_smithCertIssuedBuilder toBuilder() => + new GSmithFieldsData_smithCertIssuedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GSmithFieldsData_smithCertIssued && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + receiverId == other.receiverId && + createdOn == other.createdOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GSmithFieldsData_smithCertIssued') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('receiverId', receiverId) + ..add('createdOn', createdOn)) + .toString(); + } +} + +class GSmithFieldsData_smithCertIssuedBuilder + implements + Builder<GSmithFieldsData_smithCertIssued, + GSmithFieldsData_smithCertIssuedBuilder> { + _$GSmithFieldsData_smithCertIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + GSmithFieldsData_smithCertIssuedBuilder() { + GSmithFieldsData_smithCertIssued._initializeBuilder(this); + } + + GSmithFieldsData_smithCertIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _receiverId = $v.receiverId; + _createdOn = $v.createdOn; + _$v = null; + } + return this; + } + + @override + void replace(GSmithFieldsData_smithCertIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GSmithFieldsData_smithCertIssued; + } + + @override + void update(void Function(GSmithFieldsData_smithCertIssuedBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GSmithFieldsData_smithCertIssued build() => _build(); + + _$GSmithFieldsData_smithCertIssued _build() { + final _$result = _$v ?? + new _$GSmithFieldsData_smithCertIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GSmithFieldsData_smithCertIssued', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GSmithFieldsData_smithCertIssued', 'id'), + issuerId: issuerId, + receiverId: receiverId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GSmithFieldsData_smithCertIssued', 'createdOn')); + replace(_$result); + return _$result; + } +} + +class _$GSmithFieldsData_smithCertReceived + extends GSmithFieldsData_smithCertReceived { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final String? receiverId; + @override + final int createdOn; + + factory _$GSmithFieldsData_smithCertReceived( + [void Function(GSmithFieldsData_smithCertReceivedBuilder)? + updates]) => + (new GSmithFieldsData_smithCertReceivedBuilder()..update(updates)) + ._build(); + + _$GSmithFieldsData_smithCertReceived._( + {required this.G__typename, + required this.id, + this.issuerId, + this.receiverId, + required this.createdOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GSmithFieldsData_smithCertReceived', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GSmithFieldsData_smithCertReceived', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GSmithFieldsData_smithCertReceived', 'createdOn'); + } + + @override + GSmithFieldsData_smithCertReceived rebuild( + void Function(GSmithFieldsData_smithCertReceivedBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GSmithFieldsData_smithCertReceivedBuilder toBuilder() => + new GSmithFieldsData_smithCertReceivedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GSmithFieldsData_smithCertReceived && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + receiverId == other.receiverId && + createdOn == other.createdOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GSmithFieldsData_smithCertReceived') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('receiverId', receiverId) + ..add('createdOn', createdOn)) + .toString(); + } +} + +class GSmithFieldsData_smithCertReceivedBuilder + implements + Builder<GSmithFieldsData_smithCertReceived, + GSmithFieldsData_smithCertReceivedBuilder> { + _$GSmithFieldsData_smithCertReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + GSmithFieldsData_smithCertReceivedBuilder() { + GSmithFieldsData_smithCertReceived._initializeBuilder(this); + } + + GSmithFieldsData_smithCertReceivedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _receiverId = $v.receiverId; + _createdOn = $v.createdOn; + _$v = null; + } + return this; + } + + @override + void replace(GSmithFieldsData_smithCertReceived other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GSmithFieldsData_smithCertReceived; + } + + @override + void update( + void Function(GSmithFieldsData_smithCertReceivedBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GSmithFieldsData_smithCertReceived build() => _build(); + + _$GSmithFieldsData_smithCertReceived _build() { + final _$result = _$v ?? + new _$GSmithFieldsData_smithCertReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GSmithFieldsData_smithCertReceived', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GSmithFieldsData_smithCertReceived', 'id'), + issuerId: issuerId, + receiverId: receiverId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GSmithFieldsData_smithCertReceived', 'createdOn')); + replace(_$result); + return _$result; + } +} + +class _$GOwnerKeyChangeFieldsData extends GOwnerKeyChangeFieldsData { + @override + final String G__typename; + @override + final String id; + @override + final int blockNumber; + @override + final String? identityId; + @override + final String? nextId; + @override + final String? previousId; + + factory _$GOwnerKeyChangeFieldsData( + [void Function(GOwnerKeyChangeFieldsDataBuilder)? updates]) => + (new GOwnerKeyChangeFieldsDataBuilder()..update(updates))._build(); + + _$GOwnerKeyChangeFieldsData._( + {required this.G__typename, + required this.id, + required this.blockNumber, + this.identityId, + this.nextId, + this.previousId}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GOwnerKeyChangeFieldsData', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GOwnerKeyChangeFieldsData', 'id'); + BuiltValueNullFieldError.checkNotNull( + blockNumber, r'GOwnerKeyChangeFieldsData', 'blockNumber'); + } + + @override + GOwnerKeyChangeFieldsData rebuild( + void Function(GOwnerKeyChangeFieldsDataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GOwnerKeyChangeFieldsDataBuilder toBuilder() => + new GOwnerKeyChangeFieldsDataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GOwnerKeyChangeFieldsData && + G__typename == other.G__typename && + id == other.id && + blockNumber == other.blockNumber && + identityId == other.identityId && + nextId == other.nextId && + previousId == other.previousId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jc(_$hash, nextId.hashCode); + _$hash = $jc(_$hash, previousId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GOwnerKeyChangeFieldsData') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('blockNumber', blockNumber) + ..add('identityId', identityId) + ..add('nextId', nextId) + ..add('previousId', previousId)) + .toString(); + } +} + +class GOwnerKeyChangeFieldsDataBuilder + implements + Builder<GOwnerKeyChangeFieldsData, GOwnerKeyChangeFieldsDataBuilder> { + _$GOwnerKeyChangeFieldsData? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + String? _nextId; + String? get nextId => _$this._nextId; + set nextId(String? nextId) => _$this._nextId = nextId; + + String? _previousId; + String? get previousId => _$this._previousId; + set previousId(String? previousId) => _$this._previousId = previousId; + + GOwnerKeyChangeFieldsDataBuilder() { + GOwnerKeyChangeFieldsData._initializeBuilder(this); + } + + GOwnerKeyChangeFieldsDataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _blockNumber = $v.blockNumber; + _identityId = $v.identityId; + _nextId = $v.nextId; + _previousId = $v.previousId; + _$v = null; + } + return this; + } + + @override + void replace(GOwnerKeyChangeFieldsData other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GOwnerKeyChangeFieldsData; + } + + @override + void update(void Function(GOwnerKeyChangeFieldsDataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GOwnerKeyChangeFieldsData build() => _build(); + + _$GOwnerKeyChangeFieldsData _build() { + final _$result = _$v ?? + new _$GOwnerKeyChangeFieldsData._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GOwnerKeyChangeFieldsData', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GOwnerKeyChangeFieldsData', 'id'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, r'GOwnerKeyChangeFieldsData', 'blockNumber'), + identityId: identityId, + nextId: nextId, + previousId: previousId); + replace(_$result); + return _$result; + } +} + +class _$GIdentityBasicFieldsData extends GIdentityBasicFieldsData { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GIdentityBasicFieldsData( + [void Function(GIdentityBasicFieldsDataBuilder)? updates]) => + (new GIdentityBasicFieldsDataBuilder()..update(updates))._build(); + + _$GIdentityBasicFieldsData._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentityBasicFieldsData', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityBasicFieldsData', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GIdentityBasicFieldsData', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GIdentityBasicFieldsData', 'name'); + } + + @override + GIdentityBasicFieldsData rebuild( + void Function(GIdentityBasicFieldsDataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityBasicFieldsDataBuilder toBuilder() => + new GIdentityBasicFieldsDataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityBasicFieldsData && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentityBasicFieldsData') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GIdentityBasicFieldsDataBuilder + implements + Builder<GIdentityBasicFieldsData, GIdentityBasicFieldsDataBuilder> { + _$GIdentityBasicFieldsData? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GIdentityBasicFieldsDataBuilder() { + GIdentityBasicFieldsData._initializeBuilder(this); + } + + GIdentityBasicFieldsDataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GIdentityBasicFieldsData other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityBasicFieldsData; + } + + @override + void update(void Function(GIdentityBasicFieldsDataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentityBasicFieldsData build() => _build(); + + _$GIdentityBasicFieldsData _build() { + final _$result = _$v ?? + new _$GIdentityBasicFieldsData._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentityBasicFieldsData', 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityBasicFieldsData', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, r'GIdentityBasicFieldsData', 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, r'GIdentityBasicFieldsData', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData extends GIdentityFieldsData { + @override + final String G__typename; + @override + final String? accountId; + @override + final String? accountRemovedId; + @override + final BuiltList<GIdentityFieldsData_certIssued> certIssued; + @override + final GIdentityFieldsData_certIssuedAggregate certIssuedAggregate; + @override + final BuiltList<GIdentityFieldsData_certReceived> certReceived; + @override + final GIdentityFieldsData_certReceivedAggregate certReceivedAggregate; + @override + final String? createdInId; + @override + final int createdOn; + @override + final int expireOn; + @override + final String id; + @override + final int index; + @override + final bool isMember; + @override + final int lastChangeOn; + @override + final BuiltList<GIdentityFieldsData_linkedAccount> linkedAccount; + @override + final GIdentityFieldsData_linkedAccountAggregate linkedAccountAggregate; + @override + final _i2.GIdentityStatusEnum? status; + @override + final BuiltList<GIdentityFieldsData_membershipHistory> membershipHistory; + @override + final GIdentityFieldsData_membershipHistoryAggregate + membershipHistoryAggregate; + @override + final String name; + @override + final BuiltList<GIdentityFieldsData_ownerKeyChange> ownerKeyChange; + @override + final GIdentityFieldsData_ownerKeyChangeAggregate ownerKeyChangeAggregate; + @override + final GIdentityFieldsData_smith? smith; + @override + final BuiltList<GIdentityFieldsData_udHistory>? udHistory; + + factory _$GIdentityFieldsData( + [void Function(GIdentityFieldsDataBuilder)? updates]) => + (new GIdentityFieldsDataBuilder()..update(updates))._build(); + + _$GIdentityFieldsData._( + {required this.G__typename, + this.accountId, + this.accountRemovedId, + required this.certIssued, + required this.certIssuedAggregate, + required this.certReceived, + required this.certReceivedAggregate, + this.createdInId, + required this.createdOn, + required this.expireOn, + required this.id, + required this.index, + required this.isMember, + required this.lastChangeOn, + required this.linkedAccount, + required this.linkedAccountAggregate, + this.status, + required this.membershipHistory, + required this.membershipHistoryAggregate, + required this.name, + required this.ownerKeyChange, + required this.ownerKeyChangeAggregate, + this.smith, + this.udHistory}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentityFieldsData', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + certIssued, r'GIdentityFieldsData', 'certIssued'); + BuiltValueNullFieldError.checkNotNull( + certIssuedAggregate, r'GIdentityFieldsData', 'certIssuedAggregate'); + BuiltValueNullFieldError.checkNotNull( + certReceived, r'GIdentityFieldsData', 'certReceived'); + BuiltValueNullFieldError.checkNotNull( + certReceivedAggregate, r'GIdentityFieldsData', 'certReceivedAggregate'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentityFieldsData', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentityFieldsData', 'expireOn'); + BuiltValueNullFieldError.checkNotNull(id, r'GIdentityFieldsData', 'id'); + BuiltValueNullFieldError.checkNotNull( + index, r'GIdentityFieldsData', 'index'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GIdentityFieldsData', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + lastChangeOn, r'GIdentityFieldsData', 'lastChangeOn'); + BuiltValueNullFieldError.checkNotNull( + linkedAccount, r'GIdentityFieldsData', 'linkedAccount'); + BuiltValueNullFieldError.checkNotNull(linkedAccountAggregate, + r'GIdentityFieldsData', 'linkedAccountAggregate'); + BuiltValueNullFieldError.checkNotNull( + membershipHistory, r'GIdentityFieldsData', 'membershipHistory'); + BuiltValueNullFieldError.checkNotNull(membershipHistoryAggregate, + r'GIdentityFieldsData', 'membershipHistoryAggregate'); + BuiltValueNullFieldError.checkNotNull(name, r'GIdentityFieldsData', 'name'); + BuiltValueNullFieldError.checkNotNull( + ownerKeyChange, r'GIdentityFieldsData', 'ownerKeyChange'); + BuiltValueNullFieldError.checkNotNull(ownerKeyChangeAggregate, + r'GIdentityFieldsData', 'ownerKeyChangeAggregate'); + } + + @override + GIdentityFieldsData rebuild( + void Function(GIdentityFieldsDataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsDataBuilder toBuilder() => + new GIdentityFieldsDataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData && + G__typename == other.G__typename && + accountId == other.accountId && + accountRemovedId == other.accountRemovedId && + certIssued == other.certIssued && + certIssuedAggregate == other.certIssuedAggregate && + certReceived == other.certReceived && + certReceivedAggregate == other.certReceivedAggregate && + createdInId == other.createdInId && + createdOn == other.createdOn && + expireOn == other.expireOn && + id == other.id && + index == other.index && + isMember == other.isMember && + lastChangeOn == other.lastChangeOn && + linkedAccount == other.linkedAccount && + linkedAccountAggregate == other.linkedAccountAggregate && + status == other.status && + membershipHistory == other.membershipHistory && + membershipHistoryAggregate == other.membershipHistoryAggregate && + name == other.name && + ownerKeyChange == other.ownerKeyChange && + ownerKeyChangeAggregate == other.ownerKeyChangeAggregate && + smith == other.smith && + udHistory == other.udHistory; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, accountRemovedId.hashCode); + _$hash = $jc(_$hash, certIssued.hashCode); + _$hash = $jc(_$hash, certIssuedAggregate.hashCode); + _$hash = $jc(_$hash, certReceived.hashCode); + _$hash = $jc(_$hash, certReceivedAggregate.hashCode); + _$hash = $jc(_$hash, createdInId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, index.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, lastChangeOn.hashCode); + _$hash = $jc(_$hash, linkedAccount.hashCode); + _$hash = $jc(_$hash, linkedAccountAggregate.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, membershipHistory.hashCode); + _$hash = $jc(_$hash, membershipHistoryAggregate.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, ownerKeyChange.hashCode); + _$hash = $jc(_$hash, ownerKeyChangeAggregate.hashCode); + _$hash = $jc(_$hash, smith.hashCode); + _$hash = $jc(_$hash, udHistory.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentityFieldsData') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('accountRemovedId', accountRemovedId) + ..add('certIssued', certIssued) + ..add('certIssuedAggregate', certIssuedAggregate) + ..add('certReceived', certReceived) + ..add('certReceivedAggregate', certReceivedAggregate) + ..add('createdInId', createdInId) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('id', id) + ..add('index', index) + ..add('isMember', isMember) + ..add('lastChangeOn', lastChangeOn) + ..add('linkedAccount', linkedAccount) + ..add('linkedAccountAggregate', linkedAccountAggregate) + ..add('status', status) + ..add('membershipHistory', membershipHistory) + ..add('membershipHistoryAggregate', membershipHistoryAggregate) + ..add('name', name) + ..add('ownerKeyChange', ownerKeyChange) + ..add('ownerKeyChangeAggregate', ownerKeyChangeAggregate) + ..add('smith', smith) + ..add('udHistory', udHistory)) + .toString(); + } +} + +class GIdentityFieldsDataBuilder + implements Builder<GIdentityFieldsData, GIdentityFieldsDataBuilder> { + _$GIdentityFieldsData? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _accountRemovedId; + String? get accountRemovedId => _$this._accountRemovedId; + set accountRemovedId(String? accountRemovedId) => + _$this._accountRemovedId = accountRemovedId; + + ListBuilder<GIdentityFieldsData_certIssued>? _certIssued; + ListBuilder<GIdentityFieldsData_certIssued> get certIssued => + _$this._certIssued ??= new ListBuilder<GIdentityFieldsData_certIssued>(); + set certIssued(ListBuilder<GIdentityFieldsData_certIssued>? certIssued) => + _$this._certIssued = certIssued; + + GIdentityFieldsData_certIssuedAggregateBuilder? _certIssuedAggregate; + GIdentityFieldsData_certIssuedAggregateBuilder get certIssuedAggregate => + _$this._certIssuedAggregate ??= + new GIdentityFieldsData_certIssuedAggregateBuilder(); + set certIssuedAggregate( + GIdentityFieldsData_certIssuedAggregateBuilder? + certIssuedAggregate) => + _$this._certIssuedAggregate = certIssuedAggregate; + + ListBuilder<GIdentityFieldsData_certReceived>? _certReceived; + ListBuilder<GIdentityFieldsData_certReceived> get certReceived => + _$this._certReceived ??= + new ListBuilder<GIdentityFieldsData_certReceived>(); + set certReceived( + ListBuilder<GIdentityFieldsData_certReceived>? certReceived) => + _$this._certReceived = certReceived; + + GIdentityFieldsData_certReceivedAggregateBuilder? _certReceivedAggregate; + GIdentityFieldsData_certReceivedAggregateBuilder get certReceivedAggregate => + _$this._certReceivedAggregate ??= + new GIdentityFieldsData_certReceivedAggregateBuilder(); + set certReceivedAggregate( + GIdentityFieldsData_certReceivedAggregateBuilder? + certReceivedAggregate) => + _$this._certReceivedAggregate = certReceivedAggregate; + + String? _createdInId; + String? get createdInId => _$this._createdInId; + set createdInId(String? createdInId) => _$this._createdInId = createdInId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _index; + int? get index => _$this._index; + set index(int? index) => _$this._index = index; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + int? _lastChangeOn; + int? get lastChangeOn => _$this._lastChangeOn; + set lastChangeOn(int? lastChangeOn) => _$this._lastChangeOn = lastChangeOn; + + ListBuilder<GIdentityFieldsData_linkedAccount>? _linkedAccount; + ListBuilder<GIdentityFieldsData_linkedAccount> get linkedAccount => + _$this._linkedAccount ??= + new ListBuilder<GIdentityFieldsData_linkedAccount>(); + set linkedAccount( + ListBuilder<GIdentityFieldsData_linkedAccount>? linkedAccount) => + _$this._linkedAccount = linkedAccount; + + GIdentityFieldsData_linkedAccountAggregateBuilder? _linkedAccountAggregate; + GIdentityFieldsData_linkedAccountAggregateBuilder + get linkedAccountAggregate => _$this._linkedAccountAggregate ??= + new GIdentityFieldsData_linkedAccountAggregateBuilder(); + set linkedAccountAggregate( + GIdentityFieldsData_linkedAccountAggregateBuilder? + linkedAccountAggregate) => + _$this._linkedAccountAggregate = linkedAccountAggregate; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + ListBuilder<GIdentityFieldsData_membershipHistory>? _membershipHistory; + ListBuilder<GIdentityFieldsData_membershipHistory> get membershipHistory => + _$this._membershipHistory ??= + new ListBuilder<GIdentityFieldsData_membershipHistory>(); + set membershipHistory( + ListBuilder<GIdentityFieldsData_membershipHistory>? + membershipHistory) => + _$this._membershipHistory = membershipHistory; + + GIdentityFieldsData_membershipHistoryAggregateBuilder? + _membershipHistoryAggregate; + GIdentityFieldsData_membershipHistoryAggregateBuilder + get membershipHistoryAggregate => _$this._membershipHistoryAggregate ??= + new GIdentityFieldsData_membershipHistoryAggregateBuilder(); + set membershipHistoryAggregate( + GIdentityFieldsData_membershipHistoryAggregateBuilder? + membershipHistoryAggregate) => + _$this._membershipHistoryAggregate = membershipHistoryAggregate; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + ListBuilder<GIdentityFieldsData_ownerKeyChange>? _ownerKeyChange; + ListBuilder<GIdentityFieldsData_ownerKeyChange> get ownerKeyChange => + _$this._ownerKeyChange ??= + new ListBuilder<GIdentityFieldsData_ownerKeyChange>(); + set ownerKeyChange( + ListBuilder<GIdentityFieldsData_ownerKeyChange>? ownerKeyChange) => + _$this._ownerKeyChange = ownerKeyChange; + + GIdentityFieldsData_ownerKeyChangeAggregateBuilder? _ownerKeyChangeAggregate; + GIdentityFieldsData_ownerKeyChangeAggregateBuilder + get ownerKeyChangeAggregate => _$this._ownerKeyChangeAggregate ??= + new GIdentityFieldsData_ownerKeyChangeAggregateBuilder(); + set ownerKeyChangeAggregate( + GIdentityFieldsData_ownerKeyChangeAggregateBuilder? + ownerKeyChangeAggregate) => + _$this._ownerKeyChangeAggregate = ownerKeyChangeAggregate; + + GIdentityFieldsData_smithBuilder? _smith; + GIdentityFieldsData_smithBuilder get smith => + _$this._smith ??= new GIdentityFieldsData_smithBuilder(); + set smith(GIdentityFieldsData_smithBuilder? smith) => _$this._smith = smith; + + ListBuilder<GIdentityFieldsData_udHistory>? _udHistory; + ListBuilder<GIdentityFieldsData_udHistory> get udHistory => + _$this._udHistory ??= new ListBuilder<GIdentityFieldsData_udHistory>(); + set udHistory(ListBuilder<GIdentityFieldsData_udHistory>? udHistory) => + _$this._udHistory = udHistory; + + GIdentityFieldsDataBuilder() { + GIdentityFieldsData._initializeBuilder(this); + } + + GIdentityFieldsDataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _accountRemovedId = $v.accountRemovedId; + _certIssued = $v.certIssued.toBuilder(); + _certIssuedAggregate = $v.certIssuedAggregate.toBuilder(); + _certReceived = $v.certReceived.toBuilder(); + _certReceivedAggregate = $v.certReceivedAggregate.toBuilder(); + _createdInId = $v.createdInId; + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _id = $v.id; + _index = $v.index; + _isMember = $v.isMember; + _lastChangeOn = $v.lastChangeOn; + _linkedAccount = $v.linkedAccount.toBuilder(); + _linkedAccountAggregate = $v.linkedAccountAggregate.toBuilder(); + _status = $v.status; + _membershipHistory = $v.membershipHistory.toBuilder(); + _membershipHistoryAggregate = $v.membershipHistoryAggregate.toBuilder(); + _name = $v.name; + _ownerKeyChange = $v.ownerKeyChange.toBuilder(); + _ownerKeyChangeAggregate = $v.ownerKeyChangeAggregate.toBuilder(); + _smith = $v.smith?.toBuilder(); + _udHistory = $v.udHistory?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData; + } + + @override + void update(void Function(GIdentityFieldsDataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData build() => _build(); + + _$GIdentityFieldsData _build() { + _$GIdentityFieldsData _$result; + try { + _$result = _$v ?? + new _$GIdentityFieldsData._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentityFieldsData', 'G__typename'), + accountId: accountId, + accountRemovedId: accountRemovedId, + certIssued: certIssued.build(), + certIssuedAggregate: certIssuedAggregate.build(), + certReceived: certReceived.build(), + certReceivedAggregate: certReceivedAggregate.build(), + createdInId: createdInId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentityFieldsData', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentityFieldsData', 'expireOn'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData', 'id'), + index: BuiltValueNullFieldError.checkNotNull( + index, r'GIdentityFieldsData', 'index'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, r'GIdentityFieldsData', 'isMember'), + lastChangeOn: BuiltValueNullFieldError.checkNotNull( + lastChangeOn, r'GIdentityFieldsData', 'lastChangeOn'), + linkedAccount: linkedAccount.build(), + linkedAccountAggregate: linkedAccountAggregate.build(), + status: status, + membershipHistory: membershipHistory.build(), + membershipHistoryAggregate: membershipHistoryAggregate.build(), + name: BuiltValueNullFieldError.checkNotNull( + name, r'GIdentityFieldsData', 'name'), + ownerKeyChange: ownerKeyChange.build(), + ownerKeyChangeAggregate: ownerKeyChangeAggregate.build(), + smith: _smith?.build(), + udHistory: _udHistory?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'certIssued'; + certIssued.build(); + _$failedField = 'certIssuedAggregate'; + certIssuedAggregate.build(); + _$failedField = 'certReceived'; + certReceived.build(); + _$failedField = 'certReceivedAggregate'; + certReceivedAggregate.build(); + + _$failedField = 'linkedAccount'; + linkedAccount.build(); + _$failedField = 'linkedAccountAggregate'; + linkedAccountAggregate.build(); + + _$failedField = 'membershipHistory'; + membershipHistory.build(); + _$failedField = 'membershipHistoryAggregate'; + membershipHistoryAggregate.build(); + + _$failedField = 'ownerKeyChange'; + ownerKeyChange.build(); + _$failedField = 'ownerKeyChangeAggregate'; + ownerKeyChangeAggregate.build(); + _$failedField = 'smith'; + _smith?.build(); + _$failedField = 'udHistory'; + _udHistory?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentityFieldsData', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_certIssued extends GIdentityFieldsData_certIssued { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final GIdentityFieldsData_certIssued_issuer? issuer; + @override + final String? receiverId; + @override + final GIdentityFieldsData_certIssued_receiver? receiver; + @override + final int createdOn; + @override + final int expireOn; + @override + final bool isActive; + @override + final int updatedOn; + + factory _$GIdentityFieldsData_certIssued( + [void Function(GIdentityFieldsData_certIssuedBuilder)? updates]) => + (new GIdentityFieldsData_certIssuedBuilder()..update(updates))._build(); + + _$GIdentityFieldsData_certIssued._( + {required this.G__typename, + required this.id, + this.issuerId, + this.issuer, + this.receiverId, + this.receiver, + required this.createdOn, + required this.expireOn, + required this.isActive, + required this.updatedOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentityFieldsData_certIssued', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_certIssued', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentityFieldsData_certIssued', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentityFieldsData_certIssued', 'expireOn'); + BuiltValueNullFieldError.checkNotNull( + isActive, r'GIdentityFieldsData_certIssued', 'isActive'); + BuiltValueNullFieldError.checkNotNull( + updatedOn, r'GIdentityFieldsData_certIssued', 'updatedOn'); + } + + @override + GIdentityFieldsData_certIssued rebuild( + void Function(GIdentityFieldsData_certIssuedBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_certIssuedBuilder toBuilder() => + new GIdentityFieldsData_certIssuedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_certIssued && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + issuer == other.issuer && + receiverId == other.receiverId && + receiver == other.receiver && + createdOn == other.createdOn && + expireOn == other.expireOn && + isActive == other.isActive && + updatedOn == other.updatedOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, issuer.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, receiver.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, updatedOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentityFieldsData_certIssued') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('issuer', issuer) + ..add('receiverId', receiverId) + ..add('receiver', receiver) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('isActive', isActive) + ..add('updatedOn', updatedOn)) + .toString(); + } +} + +class GIdentityFieldsData_certIssuedBuilder + implements + Builder<GIdentityFieldsData_certIssued, + GIdentityFieldsData_certIssuedBuilder> { + _$GIdentityFieldsData_certIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + GIdentityFieldsData_certIssued_issuerBuilder? _issuer; + GIdentityFieldsData_certIssued_issuerBuilder get issuer => + _$this._issuer ??= new GIdentityFieldsData_certIssued_issuerBuilder(); + set issuer(GIdentityFieldsData_certIssued_issuerBuilder? issuer) => + _$this._issuer = issuer; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + GIdentityFieldsData_certIssued_receiverBuilder? _receiver; + GIdentityFieldsData_certIssued_receiverBuilder get receiver => + _$this._receiver ??= new GIdentityFieldsData_certIssued_receiverBuilder(); + set receiver(GIdentityFieldsData_certIssued_receiverBuilder? receiver) => + _$this._receiver = receiver; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + int? _updatedOn; + int? get updatedOn => _$this._updatedOn; + set updatedOn(int? updatedOn) => _$this._updatedOn = updatedOn; + + GIdentityFieldsData_certIssuedBuilder() { + GIdentityFieldsData_certIssued._initializeBuilder(this); + } + + GIdentityFieldsData_certIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _issuer = $v.issuer?.toBuilder(); + _receiverId = $v.receiverId; + _receiver = $v.receiver?.toBuilder(); + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _isActive = $v.isActive; + _updatedOn = $v.updatedOn; + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_certIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_certIssued; + } + + @override + void update(void Function(GIdentityFieldsData_certIssuedBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_certIssued build() => _build(); + + _$GIdentityFieldsData_certIssued _build() { + _$GIdentityFieldsData_certIssued _$result; + try { + _$result = _$v ?? + new _$GIdentityFieldsData_certIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_certIssued', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_certIssued', 'id'), + issuerId: issuerId, + issuer: _issuer?.build(), + receiverId: receiverId, + receiver: _receiver?.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentityFieldsData_certIssued', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentityFieldsData_certIssued', 'expireOn'), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GIdentityFieldsData_certIssued', 'isActive'), + updatedOn: BuiltValueNullFieldError.checkNotNull( + updatedOn, r'GIdentityFieldsData_certIssued', 'updatedOn')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'issuer'; + _issuer?.build(); + + _$failedField = 'receiver'; + _receiver?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentityFieldsData_certIssued', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_certIssued_issuer + extends GIdentityFieldsData_certIssued_issuer { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GIdentityFieldsData_certIssued_issuer( + [void Function(GIdentityFieldsData_certIssued_issuerBuilder)? + updates]) => + (new GIdentityFieldsData_certIssued_issuerBuilder()..update(updates)) + ._build(); + + _$GIdentityFieldsData_certIssued_issuer._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentityFieldsData_certIssued_issuer', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_certIssued_issuer', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GIdentityFieldsData_certIssued_issuer', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GIdentityFieldsData_certIssued_issuer', 'name'); + } + + @override + GIdentityFieldsData_certIssued_issuer rebuild( + void Function(GIdentityFieldsData_certIssued_issuerBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_certIssued_issuerBuilder toBuilder() => + new GIdentityFieldsData_certIssued_issuerBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_certIssued_issuer && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentityFieldsData_certIssued_issuer') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GIdentityFieldsData_certIssued_issuerBuilder + implements + Builder<GIdentityFieldsData_certIssued_issuer, + GIdentityFieldsData_certIssued_issuerBuilder> { + _$GIdentityFieldsData_certIssued_issuer? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GIdentityFieldsData_certIssued_issuerBuilder() { + GIdentityFieldsData_certIssued_issuer._initializeBuilder(this); + } + + GIdentityFieldsData_certIssued_issuerBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_certIssued_issuer other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_certIssued_issuer; + } + + @override + void update( + void Function(GIdentityFieldsData_certIssued_issuerBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_certIssued_issuer build() => _build(); + + _$GIdentityFieldsData_certIssued_issuer _build() { + final _$result = _$v ?? + new _$GIdentityFieldsData_certIssued_issuer._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_certIssued_issuer', 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_certIssued_issuer', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, r'GIdentityFieldsData_certIssued_issuer', 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, r'GIdentityFieldsData_certIssued_issuer', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_certIssued_receiver + extends GIdentityFieldsData_certIssued_receiver { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GIdentityFieldsData_certIssued_receiver( + [void Function(GIdentityFieldsData_certIssued_receiverBuilder)? + updates]) => + (new GIdentityFieldsData_certIssued_receiverBuilder()..update(updates)) + ._build(); + + _$GIdentityFieldsData_certIssued_receiver._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentityFieldsData_certIssued_receiver', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_certIssued_receiver', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GIdentityFieldsData_certIssued_receiver', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GIdentityFieldsData_certIssued_receiver', 'name'); + } + + @override + GIdentityFieldsData_certIssued_receiver rebuild( + void Function(GIdentityFieldsData_certIssued_receiverBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_certIssued_receiverBuilder toBuilder() => + new GIdentityFieldsData_certIssued_receiverBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_certIssued_receiver && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentityFieldsData_certIssued_receiver') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GIdentityFieldsData_certIssued_receiverBuilder + implements + Builder<GIdentityFieldsData_certIssued_receiver, + GIdentityFieldsData_certIssued_receiverBuilder> { + _$GIdentityFieldsData_certIssued_receiver? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GIdentityFieldsData_certIssued_receiverBuilder() { + GIdentityFieldsData_certIssued_receiver._initializeBuilder(this); + } + + GIdentityFieldsData_certIssued_receiverBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_certIssued_receiver other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_certIssued_receiver; + } + + @override + void update( + void Function(GIdentityFieldsData_certIssued_receiverBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_certIssued_receiver build() => _build(); + + _$GIdentityFieldsData_certIssued_receiver _build() { + final _$result = _$v ?? + new _$GIdentityFieldsData_certIssued_receiver._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_certIssued_receiver', 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_certIssued_receiver', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull(isMember, + r'GIdentityFieldsData_certIssued_receiver', 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, r'GIdentityFieldsData_certIssued_receiver', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_certIssuedAggregate + extends GIdentityFieldsData_certIssuedAggregate { + @override + final String G__typename; + @override + final GIdentityFieldsData_certIssuedAggregate_aggregate? aggregate; + + factory _$GIdentityFieldsData_certIssuedAggregate( + [void Function(GIdentityFieldsData_certIssuedAggregateBuilder)? + updates]) => + (new GIdentityFieldsData_certIssuedAggregateBuilder()..update(updates)) + ._build(); + + _$GIdentityFieldsData_certIssuedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentityFieldsData_certIssuedAggregate', 'G__typename'); + } + + @override + GIdentityFieldsData_certIssuedAggregate rebuild( + void Function(GIdentityFieldsData_certIssuedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_certIssuedAggregateBuilder toBuilder() => + new GIdentityFieldsData_certIssuedAggregateBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_certIssuedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentityFieldsData_certIssuedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentityFieldsData_certIssuedAggregateBuilder + implements + Builder<GIdentityFieldsData_certIssuedAggregate, + GIdentityFieldsData_certIssuedAggregateBuilder> { + _$GIdentityFieldsData_certIssuedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentityFieldsData_certIssuedAggregate_aggregateBuilder? _aggregate; + GIdentityFieldsData_certIssuedAggregate_aggregateBuilder get aggregate => + _$this._aggregate ??= + new GIdentityFieldsData_certIssuedAggregate_aggregateBuilder(); + set aggregate( + GIdentityFieldsData_certIssuedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentityFieldsData_certIssuedAggregateBuilder() { + GIdentityFieldsData_certIssuedAggregate._initializeBuilder(this); + } + + GIdentityFieldsData_certIssuedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_certIssuedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_certIssuedAggregate; + } + + @override + void update( + void Function(GIdentityFieldsData_certIssuedAggregateBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_certIssuedAggregate build() => _build(); + + _$GIdentityFieldsData_certIssuedAggregate _build() { + _$GIdentityFieldsData_certIssuedAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentityFieldsData_certIssuedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_certIssuedAggregate', 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentityFieldsData_certIssuedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_certIssuedAggregate_aggregate + extends GIdentityFieldsData_certIssuedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentityFieldsData_certIssuedAggregate_aggregate( + [void Function( + GIdentityFieldsData_certIssuedAggregate_aggregateBuilder)? + updates]) => + (new GIdentityFieldsData_certIssuedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentityFieldsData_certIssuedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_certIssuedAggregate_aggregate', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, r'GIdentityFieldsData_certIssuedAggregate_aggregate', 'count'); + } + + @override + GIdentityFieldsData_certIssuedAggregate_aggregate rebuild( + void Function( + GIdentityFieldsData_certIssuedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_certIssuedAggregate_aggregateBuilder toBuilder() => + new GIdentityFieldsData_certIssuedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_certIssuedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentityFieldsData_certIssuedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentityFieldsData_certIssuedAggregate_aggregateBuilder + implements + Builder<GIdentityFieldsData_certIssuedAggregate_aggregate, + GIdentityFieldsData_certIssuedAggregate_aggregateBuilder> { + _$GIdentityFieldsData_certIssuedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentityFieldsData_certIssuedAggregate_aggregateBuilder() { + GIdentityFieldsData_certIssuedAggregate_aggregate._initializeBuilder(this); + } + + GIdentityFieldsData_certIssuedAggregate_aggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_certIssuedAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_certIssuedAggregate_aggregate; + } + + @override + void update( + void Function(GIdentityFieldsData_certIssuedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_certIssuedAggregate_aggregate build() => _build(); + + _$GIdentityFieldsData_certIssuedAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GIdentityFieldsData_certIssuedAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentityFieldsData_certIssuedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull(count, + r'GIdentityFieldsData_certIssuedAggregate_aggregate', 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_certReceived + extends GIdentityFieldsData_certReceived { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final GIdentityFieldsData_certReceived_issuer? issuer; + @override + final String? receiverId; + @override + final GIdentityFieldsData_certReceived_receiver? receiver; + @override + final int createdOn; + @override + final int expireOn; + @override + final bool isActive; + @override + final int updatedOn; + + factory _$GIdentityFieldsData_certReceived( + [void Function(GIdentityFieldsData_certReceivedBuilder)? updates]) => + (new GIdentityFieldsData_certReceivedBuilder()..update(updates))._build(); + + _$GIdentityFieldsData_certReceived._( + {required this.G__typename, + required this.id, + this.issuerId, + this.issuer, + this.receiverId, + this.receiver, + required this.createdOn, + required this.expireOn, + required this.isActive, + required this.updatedOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentityFieldsData_certReceived', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_certReceived', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentityFieldsData_certReceived', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentityFieldsData_certReceived', 'expireOn'); + BuiltValueNullFieldError.checkNotNull( + isActive, r'GIdentityFieldsData_certReceived', 'isActive'); + BuiltValueNullFieldError.checkNotNull( + updatedOn, r'GIdentityFieldsData_certReceived', 'updatedOn'); + } + + @override + GIdentityFieldsData_certReceived rebuild( + void Function(GIdentityFieldsData_certReceivedBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_certReceivedBuilder toBuilder() => + new GIdentityFieldsData_certReceivedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_certReceived && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + issuer == other.issuer && + receiverId == other.receiverId && + receiver == other.receiver && + createdOn == other.createdOn && + expireOn == other.expireOn && + isActive == other.isActive && + updatedOn == other.updatedOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, issuer.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, receiver.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, updatedOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentityFieldsData_certReceived') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('issuer', issuer) + ..add('receiverId', receiverId) + ..add('receiver', receiver) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('isActive', isActive) + ..add('updatedOn', updatedOn)) + .toString(); + } +} + +class GIdentityFieldsData_certReceivedBuilder + implements + Builder<GIdentityFieldsData_certReceived, + GIdentityFieldsData_certReceivedBuilder> { + _$GIdentityFieldsData_certReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + GIdentityFieldsData_certReceived_issuerBuilder? _issuer; + GIdentityFieldsData_certReceived_issuerBuilder get issuer => + _$this._issuer ??= new GIdentityFieldsData_certReceived_issuerBuilder(); + set issuer(GIdentityFieldsData_certReceived_issuerBuilder? issuer) => + _$this._issuer = issuer; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + GIdentityFieldsData_certReceived_receiverBuilder? _receiver; + GIdentityFieldsData_certReceived_receiverBuilder get receiver => + _$this._receiver ??= + new GIdentityFieldsData_certReceived_receiverBuilder(); + set receiver(GIdentityFieldsData_certReceived_receiverBuilder? receiver) => + _$this._receiver = receiver; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + int? _updatedOn; + int? get updatedOn => _$this._updatedOn; + set updatedOn(int? updatedOn) => _$this._updatedOn = updatedOn; + + GIdentityFieldsData_certReceivedBuilder() { + GIdentityFieldsData_certReceived._initializeBuilder(this); + } + + GIdentityFieldsData_certReceivedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _issuer = $v.issuer?.toBuilder(); + _receiverId = $v.receiverId; + _receiver = $v.receiver?.toBuilder(); + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _isActive = $v.isActive; + _updatedOn = $v.updatedOn; + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_certReceived other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_certReceived; + } + + @override + void update(void Function(GIdentityFieldsData_certReceivedBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_certReceived build() => _build(); + + _$GIdentityFieldsData_certReceived _build() { + _$GIdentityFieldsData_certReceived _$result; + try { + _$result = _$v ?? + new _$GIdentityFieldsData_certReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_certReceived', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_certReceived', 'id'), + issuerId: issuerId, + issuer: _issuer?.build(), + receiverId: receiverId, + receiver: _receiver?.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentityFieldsData_certReceived', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GIdentityFieldsData_certReceived', 'expireOn'), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GIdentityFieldsData_certReceived', 'isActive'), + updatedOn: BuiltValueNullFieldError.checkNotNull( + updatedOn, r'GIdentityFieldsData_certReceived', 'updatedOn')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'issuer'; + _issuer?.build(); + + _$failedField = 'receiver'; + _receiver?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentityFieldsData_certReceived', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_certReceived_issuer + extends GIdentityFieldsData_certReceived_issuer { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GIdentityFieldsData_certReceived_issuer( + [void Function(GIdentityFieldsData_certReceived_issuerBuilder)? + updates]) => + (new GIdentityFieldsData_certReceived_issuerBuilder()..update(updates)) + ._build(); + + _$GIdentityFieldsData_certReceived_issuer._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentityFieldsData_certReceived_issuer', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_certReceived_issuer', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GIdentityFieldsData_certReceived_issuer', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GIdentityFieldsData_certReceived_issuer', 'name'); + } + + @override + GIdentityFieldsData_certReceived_issuer rebuild( + void Function(GIdentityFieldsData_certReceived_issuerBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_certReceived_issuerBuilder toBuilder() => + new GIdentityFieldsData_certReceived_issuerBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_certReceived_issuer && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentityFieldsData_certReceived_issuer') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GIdentityFieldsData_certReceived_issuerBuilder + implements + Builder<GIdentityFieldsData_certReceived_issuer, + GIdentityFieldsData_certReceived_issuerBuilder> { + _$GIdentityFieldsData_certReceived_issuer? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GIdentityFieldsData_certReceived_issuerBuilder() { + GIdentityFieldsData_certReceived_issuer._initializeBuilder(this); + } + + GIdentityFieldsData_certReceived_issuerBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_certReceived_issuer other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_certReceived_issuer; + } + + @override + void update( + void Function(GIdentityFieldsData_certReceived_issuerBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_certReceived_issuer build() => _build(); + + _$GIdentityFieldsData_certReceived_issuer _build() { + final _$result = _$v ?? + new _$GIdentityFieldsData_certReceived_issuer._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_certReceived_issuer', 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_certReceived_issuer', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull(isMember, + r'GIdentityFieldsData_certReceived_issuer', 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, r'GIdentityFieldsData_certReceived_issuer', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_certReceived_receiver + extends GIdentityFieldsData_certReceived_receiver { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GIdentityFieldsData_certReceived_receiver( + [void Function(GIdentityFieldsData_certReceived_receiverBuilder)? + updates]) => + (new GIdentityFieldsData_certReceived_receiverBuilder()..update(updates)) + ._build(); + + _$GIdentityFieldsData_certReceived_receiver._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_certReceived_receiver', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_certReceived_receiver', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GIdentityFieldsData_certReceived_receiver', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GIdentityFieldsData_certReceived_receiver', 'name'); + } + + @override + GIdentityFieldsData_certReceived_receiver rebuild( + void Function(GIdentityFieldsData_certReceived_receiverBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_certReceived_receiverBuilder toBuilder() => + new GIdentityFieldsData_certReceived_receiverBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_certReceived_receiver && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentityFieldsData_certReceived_receiver') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GIdentityFieldsData_certReceived_receiverBuilder + implements + Builder<GIdentityFieldsData_certReceived_receiver, + GIdentityFieldsData_certReceived_receiverBuilder> { + _$GIdentityFieldsData_certReceived_receiver? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GIdentityFieldsData_certReceived_receiverBuilder() { + GIdentityFieldsData_certReceived_receiver._initializeBuilder(this); + } + + GIdentityFieldsData_certReceived_receiverBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_certReceived_receiver other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_certReceived_receiver; + } + + @override + void update( + void Function(GIdentityFieldsData_certReceived_receiverBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_certReceived_receiver build() => _build(); + + _$GIdentityFieldsData_certReceived_receiver _build() { + final _$result = _$v ?? + new _$GIdentityFieldsData_certReceived_receiver._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_certReceived_receiver', 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_certReceived_receiver', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull(isMember, + r'GIdentityFieldsData_certReceived_receiver', 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, r'GIdentityFieldsData_certReceived_receiver', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_certReceivedAggregate + extends GIdentityFieldsData_certReceivedAggregate { + @override + final String G__typename; + @override + final GIdentityFieldsData_certReceivedAggregate_aggregate? aggregate; + + factory _$GIdentityFieldsData_certReceivedAggregate( + [void Function(GIdentityFieldsData_certReceivedAggregateBuilder)? + updates]) => + (new GIdentityFieldsData_certReceivedAggregateBuilder()..update(updates)) + ._build(); + + _$GIdentityFieldsData_certReceivedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_certReceivedAggregate', 'G__typename'); + } + + @override + GIdentityFieldsData_certReceivedAggregate rebuild( + void Function(GIdentityFieldsData_certReceivedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_certReceivedAggregateBuilder toBuilder() => + new GIdentityFieldsData_certReceivedAggregateBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_certReceivedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentityFieldsData_certReceivedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentityFieldsData_certReceivedAggregateBuilder + implements + Builder<GIdentityFieldsData_certReceivedAggregate, + GIdentityFieldsData_certReceivedAggregateBuilder> { + _$GIdentityFieldsData_certReceivedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentityFieldsData_certReceivedAggregate_aggregateBuilder? _aggregate; + GIdentityFieldsData_certReceivedAggregate_aggregateBuilder get aggregate => + _$this._aggregate ??= + new GIdentityFieldsData_certReceivedAggregate_aggregateBuilder(); + set aggregate( + GIdentityFieldsData_certReceivedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentityFieldsData_certReceivedAggregateBuilder() { + GIdentityFieldsData_certReceivedAggregate._initializeBuilder(this); + } + + GIdentityFieldsData_certReceivedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_certReceivedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_certReceivedAggregate; + } + + @override + void update( + void Function(GIdentityFieldsData_certReceivedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_certReceivedAggregate build() => _build(); + + _$GIdentityFieldsData_certReceivedAggregate _build() { + _$GIdentityFieldsData_certReceivedAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentityFieldsData_certReceivedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_certReceivedAggregate', 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentityFieldsData_certReceivedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_certReceivedAggregate_aggregate + extends GIdentityFieldsData_certReceivedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentityFieldsData_certReceivedAggregate_aggregate( + [void Function( + GIdentityFieldsData_certReceivedAggregate_aggregateBuilder)? + updates]) => + (new GIdentityFieldsData_certReceivedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentityFieldsData_certReceivedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_certReceivedAggregate_aggregate', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, r'GIdentityFieldsData_certReceivedAggregate_aggregate', 'count'); + } + + @override + GIdentityFieldsData_certReceivedAggregate_aggregate rebuild( + void Function( + GIdentityFieldsData_certReceivedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_certReceivedAggregate_aggregateBuilder toBuilder() => + new GIdentityFieldsData_certReceivedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_certReceivedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentityFieldsData_certReceivedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentityFieldsData_certReceivedAggregate_aggregateBuilder + implements + Builder<GIdentityFieldsData_certReceivedAggregate_aggregate, + GIdentityFieldsData_certReceivedAggregate_aggregateBuilder> { + _$GIdentityFieldsData_certReceivedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentityFieldsData_certReceivedAggregate_aggregateBuilder() { + GIdentityFieldsData_certReceivedAggregate_aggregate._initializeBuilder( + this); + } + + GIdentityFieldsData_certReceivedAggregate_aggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_certReceivedAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_certReceivedAggregate_aggregate; + } + + @override + void update( + void Function(GIdentityFieldsData_certReceivedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_certReceivedAggregate_aggregate build() => _build(); + + _$GIdentityFieldsData_certReceivedAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GIdentityFieldsData_certReceivedAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentityFieldsData_certReceivedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentityFieldsData_certReceivedAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_linkedAccount + extends GIdentityFieldsData_linkedAccount { + @override + final String G__typename; + @override + final String id; + + factory _$GIdentityFieldsData_linkedAccount( + [void Function(GIdentityFieldsData_linkedAccountBuilder)? updates]) => + (new GIdentityFieldsData_linkedAccountBuilder()..update(updates)) + ._build(); + + _$GIdentityFieldsData_linkedAccount._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentityFieldsData_linkedAccount', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_linkedAccount', 'id'); + } + + @override + GIdentityFieldsData_linkedAccount rebuild( + void Function(GIdentityFieldsData_linkedAccountBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_linkedAccountBuilder toBuilder() => + new GIdentityFieldsData_linkedAccountBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_linkedAccount && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentityFieldsData_linkedAccount') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GIdentityFieldsData_linkedAccountBuilder + implements + Builder<GIdentityFieldsData_linkedAccount, + GIdentityFieldsData_linkedAccountBuilder> { + _$GIdentityFieldsData_linkedAccount? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GIdentityFieldsData_linkedAccountBuilder() { + GIdentityFieldsData_linkedAccount._initializeBuilder(this); + } + + GIdentityFieldsData_linkedAccountBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_linkedAccount other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_linkedAccount; + } + + @override + void update( + void Function(GIdentityFieldsData_linkedAccountBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_linkedAccount build() => _build(); + + _$GIdentityFieldsData_linkedAccount _build() { + final _$result = _$v ?? + new _$GIdentityFieldsData_linkedAccount._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_linkedAccount', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_linkedAccount', 'id')); + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_linkedAccountAggregate + extends GIdentityFieldsData_linkedAccountAggregate { + @override + final String G__typename; + @override + final GIdentityFieldsData_linkedAccountAggregate_aggregate? aggregate; + + factory _$GIdentityFieldsData_linkedAccountAggregate( + [void Function(GIdentityFieldsData_linkedAccountAggregateBuilder)? + updates]) => + (new GIdentityFieldsData_linkedAccountAggregateBuilder()..update(updates)) + ._build(); + + _$GIdentityFieldsData_linkedAccountAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_linkedAccountAggregate', 'G__typename'); + } + + @override + GIdentityFieldsData_linkedAccountAggregate rebuild( + void Function(GIdentityFieldsData_linkedAccountAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_linkedAccountAggregateBuilder toBuilder() => + new GIdentityFieldsData_linkedAccountAggregateBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_linkedAccountAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentityFieldsData_linkedAccountAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentityFieldsData_linkedAccountAggregateBuilder + implements + Builder<GIdentityFieldsData_linkedAccountAggregate, + GIdentityFieldsData_linkedAccountAggregateBuilder> { + _$GIdentityFieldsData_linkedAccountAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentityFieldsData_linkedAccountAggregate_aggregateBuilder? _aggregate; + GIdentityFieldsData_linkedAccountAggregate_aggregateBuilder get aggregate => + _$this._aggregate ??= + new GIdentityFieldsData_linkedAccountAggregate_aggregateBuilder(); + set aggregate( + GIdentityFieldsData_linkedAccountAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentityFieldsData_linkedAccountAggregateBuilder() { + GIdentityFieldsData_linkedAccountAggregate._initializeBuilder(this); + } + + GIdentityFieldsData_linkedAccountAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_linkedAccountAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_linkedAccountAggregate; + } + + @override + void update( + void Function(GIdentityFieldsData_linkedAccountAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_linkedAccountAggregate build() => _build(); + + _$GIdentityFieldsData_linkedAccountAggregate _build() { + _$GIdentityFieldsData_linkedAccountAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentityFieldsData_linkedAccountAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_linkedAccountAggregate', 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentityFieldsData_linkedAccountAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_linkedAccountAggregate_aggregate + extends GIdentityFieldsData_linkedAccountAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentityFieldsData_linkedAccountAggregate_aggregate( + [void Function( + GIdentityFieldsData_linkedAccountAggregate_aggregateBuilder)? + updates]) => + (new GIdentityFieldsData_linkedAccountAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentityFieldsData_linkedAccountAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_linkedAccountAggregate_aggregate', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(count, + r'GIdentityFieldsData_linkedAccountAggregate_aggregate', 'count'); + } + + @override + GIdentityFieldsData_linkedAccountAggregate_aggregate rebuild( + void Function( + GIdentityFieldsData_linkedAccountAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_linkedAccountAggregate_aggregateBuilder toBuilder() => + new GIdentityFieldsData_linkedAccountAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_linkedAccountAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentityFieldsData_linkedAccountAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentityFieldsData_linkedAccountAggregate_aggregateBuilder + implements + Builder<GIdentityFieldsData_linkedAccountAggregate_aggregate, + GIdentityFieldsData_linkedAccountAggregate_aggregateBuilder> { + _$GIdentityFieldsData_linkedAccountAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentityFieldsData_linkedAccountAggregate_aggregateBuilder() { + GIdentityFieldsData_linkedAccountAggregate_aggregate._initializeBuilder( + this); + } + + GIdentityFieldsData_linkedAccountAggregate_aggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_linkedAccountAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_linkedAccountAggregate_aggregate; + } + + @override + void update( + void Function( + GIdentityFieldsData_linkedAccountAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_linkedAccountAggregate_aggregate build() => _build(); + + _$GIdentityFieldsData_linkedAccountAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GIdentityFieldsData_linkedAccountAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentityFieldsData_linkedAccountAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentityFieldsData_linkedAccountAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_membershipHistory + extends GIdentityFieldsData_membershipHistory { + @override + final String G__typename; + @override + final int blockNumber; + @override + final String? eventId; + @override + final _i2.GEventTypeEnum? eventType; + @override + final String id; + @override + final String? identityId; + + factory _$GIdentityFieldsData_membershipHistory( + [void Function(GIdentityFieldsData_membershipHistoryBuilder)? + updates]) => + (new GIdentityFieldsData_membershipHistoryBuilder()..update(updates)) + ._build(); + + _$GIdentityFieldsData_membershipHistory._( + {required this.G__typename, + required this.blockNumber, + this.eventId, + this.eventType, + required this.id, + this.identityId}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentityFieldsData_membershipHistory', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + blockNumber, r'GIdentityFieldsData_membershipHistory', 'blockNumber'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_membershipHistory', 'id'); + } + + @override + GIdentityFieldsData_membershipHistory rebuild( + void Function(GIdentityFieldsData_membershipHistoryBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_membershipHistoryBuilder toBuilder() => + new GIdentityFieldsData_membershipHistoryBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_membershipHistory && + G__typename == other.G__typename && + blockNumber == other.blockNumber && + eventId == other.eventId && + eventType == other.eventType && + id == other.id && + identityId == other.identityId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, eventId.hashCode); + _$hash = $jc(_$hash, eventType.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentityFieldsData_membershipHistory') + ..add('G__typename', G__typename) + ..add('blockNumber', blockNumber) + ..add('eventId', eventId) + ..add('eventType', eventType) + ..add('id', id) + ..add('identityId', identityId)) + .toString(); + } +} + +class GIdentityFieldsData_membershipHistoryBuilder + implements + Builder<GIdentityFieldsData_membershipHistory, + GIdentityFieldsData_membershipHistoryBuilder> { + _$GIdentityFieldsData_membershipHistory? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _eventId; + String? get eventId => _$this._eventId; + set eventId(String? eventId) => _$this._eventId = eventId; + + _i2.GEventTypeEnum? _eventType; + _i2.GEventTypeEnum? get eventType => _$this._eventType; + set eventType(_i2.GEventTypeEnum? eventType) => _$this._eventType = eventType; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + GIdentityFieldsData_membershipHistoryBuilder() { + GIdentityFieldsData_membershipHistory._initializeBuilder(this); + } + + GIdentityFieldsData_membershipHistoryBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _blockNumber = $v.blockNumber; + _eventId = $v.eventId; + _eventType = $v.eventType; + _id = $v.id; + _identityId = $v.identityId; + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_membershipHistory other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_membershipHistory; + } + + @override + void update( + void Function(GIdentityFieldsData_membershipHistoryBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_membershipHistory build() => _build(); + + _$GIdentityFieldsData_membershipHistory _build() { + final _$result = _$v ?? + new _$GIdentityFieldsData_membershipHistory._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_membershipHistory', 'G__typename'), + blockNumber: BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GIdentityFieldsData_membershipHistory', 'blockNumber'), + eventId: eventId, + eventType: eventType, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_membershipHistory', 'id'), + identityId: identityId); + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_membershipHistoryAggregate + extends GIdentityFieldsData_membershipHistoryAggregate { + @override + final String G__typename; + @override + final GIdentityFieldsData_membershipHistoryAggregate_aggregate? aggregate; + + factory _$GIdentityFieldsData_membershipHistoryAggregate( + [void Function(GIdentityFieldsData_membershipHistoryAggregateBuilder)? + updates]) => + (new GIdentityFieldsData_membershipHistoryAggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentityFieldsData_membershipHistoryAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_membershipHistoryAggregate', 'G__typename'); + } + + @override + GIdentityFieldsData_membershipHistoryAggregate rebuild( + void Function(GIdentityFieldsData_membershipHistoryAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_membershipHistoryAggregateBuilder toBuilder() => + new GIdentityFieldsData_membershipHistoryAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_membershipHistoryAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentityFieldsData_membershipHistoryAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentityFieldsData_membershipHistoryAggregateBuilder + implements + Builder<GIdentityFieldsData_membershipHistoryAggregate, + GIdentityFieldsData_membershipHistoryAggregateBuilder> { + _$GIdentityFieldsData_membershipHistoryAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentityFieldsData_membershipHistoryAggregate_aggregateBuilder? _aggregate; + GIdentityFieldsData_membershipHistoryAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GIdentityFieldsData_membershipHistoryAggregate_aggregateBuilder(); + set aggregate( + GIdentityFieldsData_membershipHistoryAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentityFieldsData_membershipHistoryAggregateBuilder() { + GIdentityFieldsData_membershipHistoryAggregate._initializeBuilder(this); + } + + GIdentityFieldsData_membershipHistoryAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_membershipHistoryAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_membershipHistoryAggregate; + } + + @override + void update( + void Function(GIdentityFieldsData_membershipHistoryAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_membershipHistoryAggregate build() => _build(); + + _$GIdentityFieldsData_membershipHistoryAggregate _build() { + _$GIdentityFieldsData_membershipHistoryAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentityFieldsData_membershipHistoryAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentityFieldsData_membershipHistoryAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentityFieldsData_membershipHistoryAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_membershipHistoryAggregate_aggregate + extends GIdentityFieldsData_membershipHistoryAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentityFieldsData_membershipHistoryAggregate_aggregate( + [void Function( + GIdentityFieldsData_membershipHistoryAggregate_aggregateBuilder)? + updates]) => + (new GIdentityFieldsData_membershipHistoryAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentityFieldsData_membershipHistoryAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentityFieldsData_membershipHistoryAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull(count, + r'GIdentityFieldsData_membershipHistoryAggregate_aggregate', 'count'); + } + + @override + GIdentityFieldsData_membershipHistoryAggregate_aggregate rebuild( + void Function( + GIdentityFieldsData_membershipHistoryAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_membershipHistoryAggregate_aggregateBuilder toBuilder() => + new GIdentityFieldsData_membershipHistoryAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_membershipHistoryAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentityFieldsData_membershipHistoryAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentityFieldsData_membershipHistoryAggregate_aggregateBuilder + implements + Builder<GIdentityFieldsData_membershipHistoryAggregate_aggregate, + GIdentityFieldsData_membershipHistoryAggregate_aggregateBuilder> { + _$GIdentityFieldsData_membershipHistoryAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentityFieldsData_membershipHistoryAggregate_aggregateBuilder() { + GIdentityFieldsData_membershipHistoryAggregate_aggregate._initializeBuilder( + this); + } + + GIdentityFieldsData_membershipHistoryAggregate_aggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_membershipHistoryAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_membershipHistoryAggregate_aggregate; + } + + @override + void update( + void Function( + GIdentityFieldsData_membershipHistoryAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_membershipHistoryAggregate_aggregate build() => _build(); + + _$GIdentityFieldsData_membershipHistoryAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GIdentityFieldsData_membershipHistoryAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentityFieldsData_membershipHistoryAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentityFieldsData_membershipHistoryAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_ownerKeyChange + extends GIdentityFieldsData_ownerKeyChange { + @override + final String G__typename; + @override + final String id; + @override + final int blockNumber; + @override + final String? identityId; + @override + final String? nextId; + @override + final String? previousId; + + factory _$GIdentityFieldsData_ownerKeyChange( + [void Function(GIdentityFieldsData_ownerKeyChangeBuilder)? + updates]) => + (new GIdentityFieldsData_ownerKeyChangeBuilder()..update(updates)) + ._build(); + + _$GIdentityFieldsData_ownerKeyChange._( + {required this.G__typename, + required this.id, + required this.blockNumber, + this.identityId, + this.nextId, + this.previousId}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentityFieldsData_ownerKeyChange', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_ownerKeyChange', 'id'); + BuiltValueNullFieldError.checkNotNull( + blockNumber, r'GIdentityFieldsData_ownerKeyChange', 'blockNumber'); + } + + @override + GIdentityFieldsData_ownerKeyChange rebuild( + void Function(GIdentityFieldsData_ownerKeyChangeBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_ownerKeyChangeBuilder toBuilder() => + new GIdentityFieldsData_ownerKeyChangeBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_ownerKeyChange && + G__typename == other.G__typename && + id == other.id && + blockNumber == other.blockNumber && + identityId == other.identityId && + nextId == other.nextId && + previousId == other.previousId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jc(_$hash, nextId.hashCode); + _$hash = $jc(_$hash, previousId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentityFieldsData_ownerKeyChange') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('blockNumber', blockNumber) + ..add('identityId', identityId) + ..add('nextId', nextId) + ..add('previousId', previousId)) + .toString(); + } +} + +class GIdentityFieldsData_ownerKeyChangeBuilder + implements + Builder<GIdentityFieldsData_ownerKeyChange, + GIdentityFieldsData_ownerKeyChangeBuilder> { + _$GIdentityFieldsData_ownerKeyChange? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + String? _nextId; + String? get nextId => _$this._nextId; + set nextId(String? nextId) => _$this._nextId = nextId; + + String? _previousId; + String? get previousId => _$this._previousId; + set previousId(String? previousId) => _$this._previousId = previousId; + + GIdentityFieldsData_ownerKeyChangeBuilder() { + GIdentityFieldsData_ownerKeyChange._initializeBuilder(this); + } + + GIdentityFieldsData_ownerKeyChangeBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _blockNumber = $v.blockNumber; + _identityId = $v.identityId; + _nextId = $v.nextId; + _previousId = $v.previousId; + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_ownerKeyChange other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_ownerKeyChange; + } + + @override + void update( + void Function(GIdentityFieldsData_ownerKeyChangeBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_ownerKeyChange build() => _build(); + + _$GIdentityFieldsData_ownerKeyChange _build() { + final _$result = _$v ?? + new _$GIdentityFieldsData_ownerKeyChange._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_ownerKeyChange', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_ownerKeyChange', 'id'), + blockNumber: BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GIdentityFieldsData_ownerKeyChange', 'blockNumber'), + identityId: identityId, + nextId: nextId, + previousId: previousId); + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_ownerKeyChangeAggregate + extends GIdentityFieldsData_ownerKeyChangeAggregate { + @override + final String G__typename; + @override + final GIdentityFieldsData_ownerKeyChangeAggregate_aggregate? aggregate; + + factory _$GIdentityFieldsData_ownerKeyChangeAggregate( + [void Function(GIdentityFieldsData_ownerKeyChangeAggregateBuilder)? + updates]) => + (new GIdentityFieldsData_ownerKeyChangeAggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentityFieldsData_ownerKeyChangeAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_ownerKeyChangeAggregate', 'G__typename'); + } + + @override + GIdentityFieldsData_ownerKeyChangeAggregate rebuild( + void Function(GIdentityFieldsData_ownerKeyChangeAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_ownerKeyChangeAggregateBuilder toBuilder() => + new GIdentityFieldsData_ownerKeyChangeAggregateBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_ownerKeyChangeAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentityFieldsData_ownerKeyChangeAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GIdentityFieldsData_ownerKeyChangeAggregateBuilder + implements + Builder<GIdentityFieldsData_ownerKeyChangeAggregate, + GIdentityFieldsData_ownerKeyChangeAggregateBuilder> { + _$GIdentityFieldsData_ownerKeyChangeAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GIdentityFieldsData_ownerKeyChangeAggregate_aggregateBuilder? _aggregate; + GIdentityFieldsData_ownerKeyChangeAggregate_aggregateBuilder get aggregate => + _$this._aggregate ??= + new GIdentityFieldsData_ownerKeyChangeAggregate_aggregateBuilder(); + set aggregate( + GIdentityFieldsData_ownerKeyChangeAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GIdentityFieldsData_ownerKeyChangeAggregateBuilder() { + GIdentityFieldsData_ownerKeyChangeAggregate._initializeBuilder(this); + } + + GIdentityFieldsData_ownerKeyChangeAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_ownerKeyChangeAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_ownerKeyChangeAggregate; + } + + @override + void update( + void Function(GIdentityFieldsData_ownerKeyChangeAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_ownerKeyChangeAggregate build() => _build(); + + _$GIdentityFieldsData_ownerKeyChangeAggregate _build() { + _$GIdentityFieldsData_ownerKeyChangeAggregate _$result; + try { + _$result = _$v ?? + new _$GIdentityFieldsData_ownerKeyChangeAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentityFieldsData_ownerKeyChangeAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentityFieldsData_ownerKeyChangeAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_ownerKeyChangeAggregate_aggregate + extends GIdentityFieldsData_ownerKeyChangeAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GIdentityFieldsData_ownerKeyChangeAggregate_aggregate( + [void Function( + GIdentityFieldsData_ownerKeyChangeAggregate_aggregateBuilder)? + updates]) => + (new GIdentityFieldsData_ownerKeyChangeAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GIdentityFieldsData_ownerKeyChangeAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentityFieldsData_ownerKeyChangeAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull(count, + r'GIdentityFieldsData_ownerKeyChangeAggregate_aggregate', 'count'); + } + + @override + GIdentityFieldsData_ownerKeyChangeAggregate_aggregate rebuild( + void Function( + GIdentityFieldsData_ownerKeyChangeAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_ownerKeyChangeAggregate_aggregateBuilder toBuilder() => + new GIdentityFieldsData_ownerKeyChangeAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_ownerKeyChangeAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentityFieldsData_ownerKeyChangeAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GIdentityFieldsData_ownerKeyChangeAggregate_aggregateBuilder + implements + Builder<GIdentityFieldsData_ownerKeyChangeAggregate_aggregate, + GIdentityFieldsData_ownerKeyChangeAggregate_aggregateBuilder> { + _$GIdentityFieldsData_ownerKeyChangeAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GIdentityFieldsData_ownerKeyChangeAggregate_aggregateBuilder() { + GIdentityFieldsData_ownerKeyChangeAggregate_aggregate._initializeBuilder( + this); + } + + GIdentityFieldsData_ownerKeyChangeAggregate_aggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_ownerKeyChangeAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_ownerKeyChangeAggregate_aggregate; + } + + @override + void update( + void Function( + GIdentityFieldsData_ownerKeyChangeAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_ownerKeyChangeAggregate_aggregate build() => _build(); + + _$GIdentityFieldsData_ownerKeyChangeAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GIdentityFieldsData_ownerKeyChangeAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GIdentityFieldsData_ownerKeyChangeAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GIdentityFieldsData_ownerKeyChangeAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_smith extends GIdentityFieldsData_smith { + @override + final String G__typename; + @override + final String id; + @override + final int forged; + @override + final int index; + @override + final int? lastChanged; + @override + final int? lastForged; + @override + final BuiltList<GIdentityFieldsData_smith_smithCertIssued> smithCertIssued; + @override + final BuiltList<GIdentityFieldsData_smith_smithCertReceived> + smithCertReceived; + + factory _$GIdentityFieldsData_smith( + [void Function(GIdentityFieldsData_smithBuilder)? updates]) => + (new GIdentityFieldsData_smithBuilder()..update(updates))._build(); + + _$GIdentityFieldsData_smith._( + {required this.G__typename, + required this.id, + required this.forged, + required this.index, + this.lastChanged, + this.lastForged, + required this.smithCertIssued, + required this.smithCertReceived}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentityFieldsData_smith', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_smith', 'id'); + BuiltValueNullFieldError.checkNotNull( + forged, r'GIdentityFieldsData_smith', 'forged'); + BuiltValueNullFieldError.checkNotNull( + index, r'GIdentityFieldsData_smith', 'index'); + BuiltValueNullFieldError.checkNotNull( + smithCertIssued, r'GIdentityFieldsData_smith', 'smithCertIssued'); + BuiltValueNullFieldError.checkNotNull( + smithCertReceived, r'GIdentityFieldsData_smith', 'smithCertReceived'); + } + + @override + GIdentityFieldsData_smith rebuild( + void Function(GIdentityFieldsData_smithBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_smithBuilder toBuilder() => + new GIdentityFieldsData_smithBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_smith && + G__typename == other.G__typename && + id == other.id && + forged == other.forged && + index == other.index && + lastChanged == other.lastChanged && + lastForged == other.lastForged && + smithCertIssued == other.smithCertIssued && + smithCertReceived == other.smithCertReceived; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, forged.hashCode); + _$hash = $jc(_$hash, index.hashCode); + _$hash = $jc(_$hash, lastChanged.hashCode); + _$hash = $jc(_$hash, lastForged.hashCode); + _$hash = $jc(_$hash, smithCertIssued.hashCode); + _$hash = $jc(_$hash, smithCertReceived.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentityFieldsData_smith') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('forged', forged) + ..add('index', index) + ..add('lastChanged', lastChanged) + ..add('lastForged', lastForged) + ..add('smithCertIssued', smithCertIssued) + ..add('smithCertReceived', smithCertReceived)) + .toString(); + } +} + +class GIdentityFieldsData_smithBuilder + implements + Builder<GIdentityFieldsData_smith, GIdentityFieldsData_smithBuilder> { + _$GIdentityFieldsData_smith? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _forged; + int? get forged => _$this._forged; + set forged(int? forged) => _$this._forged = forged; + + int? _index; + int? get index => _$this._index; + set index(int? index) => _$this._index = index; + + int? _lastChanged; + int? get lastChanged => _$this._lastChanged; + set lastChanged(int? lastChanged) => _$this._lastChanged = lastChanged; + + int? _lastForged; + int? get lastForged => _$this._lastForged; + set lastForged(int? lastForged) => _$this._lastForged = lastForged; + + ListBuilder<GIdentityFieldsData_smith_smithCertIssued>? _smithCertIssued; + ListBuilder<GIdentityFieldsData_smith_smithCertIssued> get smithCertIssued => + _$this._smithCertIssued ??= + new ListBuilder<GIdentityFieldsData_smith_smithCertIssued>(); + set smithCertIssued( + ListBuilder<GIdentityFieldsData_smith_smithCertIssued>? + smithCertIssued) => + _$this._smithCertIssued = smithCertIssued; + + ListBuilder<GIdentityFieldsData_smith_smithCertReceived>? _smithCertReceived; + ListBuilder<GIdentityFieldsData_smith_smithCertReceived> + get smithCertReceived => _$this._smithCertReceived ??= + new ListBuilder<GIdentityFieldsData_smith_smithCertReceived>(); + set smithCertReceived( + ListBuilder<GIdentityFieldsData_smith_smithCertReceived>? + smithCertReceived) => + _$this._smithCertReceived = smithCertReceived; + + GIdentityFieldsData_smithBuilder() { + GIdentityFieldsData_smith._initializeBuilder(this); + } + + GIdentityFieldsData_smithBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _forged = $v.forged; + _index = $v.index; + _lastChanged = $v.lastChanged; + _lastForged = $v.lastForged; + _smithCertIssued = $v.smithCertIssued.toBuilder(); + _smithCertReceived = $v.smithCertReceived.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_smith other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_smith; + } + + @override + void update(void Function(GIdentityFieldsData_smithBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_smith build() => _build(); + + _$GIdentityFieldsData_smith _build() { + _$GIdentityFieldsData_smith _$result; + try { + _$result = _$v ?? + new _$GIdentityFieldsData_smith._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentityFieldsData_smith', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_smith', 'id'), + forged: BuiltValueNullFieldError.checkNotNull( + forged, r'GIdentityFieldsData_smith', 'forged'), + index: BuiltValueNullFieldError.checkNotNull( + index, r'GIdentityFieldsData_smith', 'index'), + lastChanged: lastChanged, + lastForged: lastForged, + smithCertIssued: smithCertIssued.build(), + smithCertReceived: smithCertReceived.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'smithCertIssued'; + smithCertIssued.build(); + _$failedField = 'smithCertReceived'; + smithCertReceived.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentityFieldsData_smith', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_smith_smithCertIssued + extends GIdentityFieldsData_smith_smithCertIssued { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final String? receiverId; + @override + final int createdOn; + + factory _$GIdentityFieldsData_smith_smithCertIssued( + [void Function(GIdentityFieldsData_smith_smithCertIssuedBuilder)? + updates]) => + (new GIdentityFieldsData_smith_smithCertIssuedBuilder()..update(updates)) + ._build(); + + _$GIdentityFieldsData_smith_smithCertIssued._( + {required this.G__typename, + required this.id, + this.issuerId, + this.receiverId, + required this.createdOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_smith_smithCertIssued', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_smith_smithCertIssued', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentityFieldsData_smith_smithCertIssued', 'createdOn'); + } + + @override + GIdentityFieldsData_smith_smithCertIssued rebuild( + void Function(GIdentityFieldsData_smith_smithCertIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_smith_smithCertIssuedBuilder toBuilder() => + new GIdentityFieldsData_smith_smithCertIssuedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_smith_smithCertIssued && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + receiverId == other.receiverId && + createdOn == other.createdOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentityFieldsData_smith_smithCertIssued') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('receiverId', receiverId) + ..add('createdOn', createdOn)) + .toString(); + } +} + +class GIdentityFieldsData_smith_smithCertIssuedBuilder + implements + Builder<GIdentityFieldsData_smith_smithCertIssued, + GIdentityFieldsData_smith_smithCertIssuedBuilder> { + _$GIdentityFieldsData_smith_smithCertIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + GIdentityFieldsData_smith_smithCertIssuedBuilder() { + GIdentityFieldsData_smith_smithCertIssued._initializeBuilder(this); + } + + GIdentityFieldsData_smith_smithCertIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _receiverId = $v.receiverId; + _createdOn = $v.createdOn; + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_smith_smithCertIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_smith_smithCertIssued; + } + + @override + void update( + void Function(GIdentityFieldsData_smith_smithCertIssuedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_smith_smithCertIssued build() => _build(); + + _$GIdentityFieldsData_smith_smithCertIssued _build() { + final _$result = _$v ?? + new _$GIdentityFieldsData_smith_smithCertIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_smith_smithCertIssued', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_smith_smithCertIssued', 'id'), + issuerId: issuerId, + receiverId: receiverId, + createdOn: BuiltValueNullFieldError.checkNotNull(createdOn, + r'GIdentityFieldsData_smith_smithCertIssued', 'createdOn')); + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_smith_smithCertReceived + extends GIdentityFieldsData_smith_smithCertReceived { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final String? receiverId; + @override + final int createdOn; + + factory _$GIdentityFieldsData_smith_smithCertReceived( + [void Function(GIdentityFieldsData_smith_smithCertReceivedBuilder)? + updates]) => + (new GIdentityFieldsData_smith_smithCertReceivedBuilder() + ..update(updates)) + ._build(); + + _$GIdentityFieldsData_smith_smithCertReceived._( + {required this.G__typename, + required this.id, + this.issuerId, + this.receiverId, + required this.createdOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_smith_smithCertReceived', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_smith_smithCertReceived', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GIdentityFieldsData_smith_smithCertReceived', 'createdOn'); + } + + @override + GIdentityFieldsData_smith_smithCertReceived rebuild( + void Function(GIdentityFieldsData_smith_smithCertReceivedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_smith_smithCertReceivedBuilder toBuilder() => + new GIdentityFieldsData_smith_smithCertReceivedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_smith_smithCertReceived && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + receiverId == other.receiverId && + createdOn == other.createdOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GIdentityFieldsData_smith_smithCertReceived') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('receiverId', receiverId) + ..add('createdOn', createdOn)) + .toString(); + } +} + +class GIdentityFieldsData_smith_smithCertReceivedBuilder + implements + Builder<GIdentityFieldsData_smith_smithCertReceived, + GIdentityFieldsData_smith_smithCertReceivedBuilder> { + _$GIdentityFieldsData_smith_smithCertReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + GIdentityFieldsData_smith_smithCertReceivedBuilder() { + GIdentityFieldsData_smith_smithCertReceived._initializeBuilder(this); + } + + GIdentityFieldsData_smith_smithCertReceivedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _receiverId = $v.receiverId; + _createdOn = $v.createdOn; + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_smith_smithCertReceived other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_smith_smithCertReceived; + } + + @override + void update( + void Function(GIdentityFieldsData_smith_smithCertReceivedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_smith_smithCertReceived build() => _build(); + + _$GIdentityFieldsData_smith_smithCertReceived _build() { + final _$result = _$v ?? + new _$GIdentityFieldsData_smith_smithCertReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GIdentityFieldsData_smith_smithCertReceived', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_smith_smithCertReceived', 'id'), + issuerId: issuerId, + receiverId: receiverId, + createdOn: BuiltValueNullFieldError.checkNotNull(createdOn, + r'GIdentityFieldsData_smith_smithCertReceived', 'createdOn')); + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsData_udHistory extends GIdentityFieldsData_udHistory { + @override + final String G__typename; + @override + final String id; + @override + final int amount; + @override + final _i2.Gtimestamptz timestamp; + + factory _$GIdentityFieldsData_udHistory( + [void Function(GIdentityFieldsData_udHistoryBuilder)? updates]) => + (new GIdentityFieldsData_udHistoryBuilder()..update(updates))._build(); + + _$GIdentityFieldsData_udHistory._( + {required this.G__typename, + required this.id, + required this.amount, + required this.timestamp}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentityFieldsData_udHistory', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_udHistory', 'id'); + BuiltValueNullFieldError.checkNotNull( + amount, r'GIdentityFieldsData_udHistory', 'amount'); + BuiltValueNullFieldError.checkNotNull( + timestamp, r'GIdentityFieldsData_udHistory', 'timestamp'); + } + + @override + GIdentityFieldsData_udHistory rebuild( + void Function(GIdentityFieldsData_udHistoryBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsData_udHistoryBuilder toBuilder() => + new GIdentityFieldsData_udHistoryBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsData_udHistory && + G__typename == other.G__typename && + id == other.id && + amount == other.amount && + timestamp == other.timestamp; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentityFieldsData_udHistory') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('amount', amount) + ..add('timestamp', timestamp)) + .toString(); + } +} + +class GIdentityFieldsData_udHistoryBuilder + implements + Builder<GIdentityFieldsData_udHistory, + GIdentityFieldsData_udHistoryBuilder> { + _$GIdentityFieldsData_udHistory? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + _i2.GtimestamptzBuilder? _timestamp; + _i2.GtimestamptzBuilder get timestamp => + _$this._timestamp ??= new _i2.GtimestamptzBuilder(); + set timestamp(_i2.GtimestamptzBuilder? timestamp) => + _$this._timestamp = timestamp; + + GIdentityFieldsData_udHistoryBuilder() { + GIdentityFieldsData_udHistory._initializeBuilder(this); + } + + GIdentityFieldsData_udHistoryBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _amount = $v.amount; + _timestamp = $v.timestamp.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GIdentityFieldsData_udHistory other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsData_udHistory; + } + + @override + void update(void Function(GIdentityFieldsData_udHistoryBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsData_udHistory build() => _build(); + + _$GIdentityFieldsData_udHistory _build() { + _$GIdentityFieldsData_udHistory _$result; + try { + _$result = _$v ?? + new _$GIdentityFieldsData_udHistory._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GIdentityFieldsData_udHistory', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GIdentityFieldsData_udHistory', 'id'), + amount: BuiltValueNullFieldError.checkNotNull( + amount, r'GIdentityFieldsData_udHistory', 'amount'), + timestamp: timestamp.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'timestamp'; + timestamp.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentityFieldsData_udHistory', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GCommentsIssuedData extends GCommentsIssuedData { + @override + final String G__typename; + @override + final String? authorId; + @override + final int blockNumber; + @override + final String? eventId; + @override + final String hash; + @override + final String id; + @override + final String remark; + @override + final _i2.GCommentTypeEnum? type; + + factory _$GCommentsIssuedData( + [void Function(GCommentsIssuedDataBuilder)? updates]) => + (new GCommentsIssuedDataBuilder()..update(updates))._build(); + + _$GCommentsIssuedData._( + {required this.G__typename, + this.authorId, + required this.blockNumber, + this.eventId, + required this.hash, + required this.id, + required this.remark, + this.type}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GCommentsIssuedData', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + blockNumber, r'GCommentsIssuedData', 'blockNumber'); + BuiltValueNullFieldError.checkNotNull(hash, r'GCommentsIssuedData', 'hash'); + BuiltValueNullFieldError.checkNotNull(id, r'GCommentsIssuedData', 'id'); + BuiltValueNullFieldError.checkNotNull( + remark, r'GCommentsIssuedData', 'remark'); + } + + @override + GCommentsIssuedData rebuild( + void Function(GCommentsIssuedDataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GCommentsIssuedDataBuilder toBuilder() => + new GCommentsIssuedDataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GCommentsIssuedData && + G__typename == other.G__typename && + authorId == other.authorId && + blockNumber == other.blockNumber && + eventId == other.eventId && + hash == other.hash && + id == other.id && + remark == other.remark && + type == other.type; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, authorId.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, eventId.hashCode); + _$hash = $jc(_$hash, hash.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, remark.hashCode); + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GCommentsIssuedData') + ..add('G__typename', G__typename) + ..add('authorId', authorId) + ..add('blockNumber', blockNumber) + ..add('eventId', eventId) + ..add('hash', hash) + ..add('id', id) + ..add('remark', remark) + ..add('type', type)) + .toString(); + } +} + +class GCommentsIssuedDataBuilder + implements Builder<GCommentsIssuedData, GCommentsIssuedDataBuilder> { + _$GCommentsIssuedData? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _authorId; + String? get authorId => _$this._authorId; + set authorId(String? authorId) => _$this._authorId = authorId; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _eventId; + String? get eventId => _$this._eventId; + set eventId(String? eventId) => _$this._eventId = eventId; + + String? _hash; + String? get hash => _$this._hash; + set hash(String? hash) => _$this._hash = hash; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _remark; + String? get remark => _$this._remark; + set remark(String? remark) => _$this._remark = remark; + + _i2.GCommentTypeEnum? _type; + _i2.GCommentTypeEnum? get type => _$this._type; + set type(_i2.GCommentTypeEnum? type) => _$this._type = type; + + GCommentsIssuedDataBuilder() { + GCommentsIssuedData._initializeBuilder(this); + } + + GCommentsIssuedDataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _authorId = $v.authorId; + _blockNumber = $v.blockNumber; + _eventId = $v.eventId; + _hash = $v.hash; + _id = $v.id; + _remark = $v.remark; + _type = $v.type; + _$v = null; + } + return this; + } + + @override + void replace(GCommentsIssuedData other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GCommentsIssuedData; + } + + @override + void update(void Function(GCommentsIssuedDataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GCommentsIssuedData build() => _build(); + + _$GCommentsIssuedData _build() { + final _$result = _$v ?? + new _$GCommentsIssuedData._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GCommentsIssuedData', 'G__typename'), + authorId: authorId, + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, r'GCommentsIssuedData', 'blockNumber'), + eventId: eventId, + hash: BuiltValueNullFieldError.checkNotNull( + hash, r'GCommentsIssuedData', 'hash'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GCommentsIssuedData', 'id'), + remark: BuiltValueNullFieldError.checkNotNull( + remark, r'GCommentsIssuedData', 'remark'), + type: type); + replace(_$result); + return _$result; + } +} + +class _$GAccountBasicFieldsData extends GAccountBasicFieldsData { + @override + final String G__typename; + @override + final int createdOn; + @override + final String id; + @override + final GAccountBasicFieldsData_identity? identity; + @override + final bool isActive; + + factory _$GAccountBasicFieldsData( + [void Function(GAccountBasicFieldsDataBuilder)? updates]) => + (new GAccountBasicFieldsDataBuilder()..update(updates))._build(); + + _$GAccountBasicFieldsData._( + {required this.G__typename, + required this.createdOn, + required this.id, + this.identity, + required this.isActive}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountBasicFieldsData', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountBasicFieldsData', 'createdOn'); + BuiltValueNullFieldError.checkNotNull(id, r'GAccountBasicFieldsData', 'id'); + BuiltValueNullFieldError.checkNotNull( + isActive, r'GAccountBasicFieldsData', 'isActive'); + } + + @override + GAccountBasicFieldsData rebuild( + void Function(GAccountBasicFieldsDataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountBasicFieldsDataBuilder toBuilder() => + new GAccountBasicFieldsDataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountBasicFieldsData && + G__typename == other.G__typename && + createdOn == other.createdOn && + id == other.id && + identity == other.identity && + isActive == other.isActive; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, identity.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountBasicFieldsData') + ..add('G__typename', G__typename) + ..add('createdOn', createdOn) + ..add('id', id) + ..add('identity', identity) + ..add('isActive', isActive)) + .toString(); + } +} + +class GAccountBasicFieldsDataBuilder + implements + Builder<GAccountBasicFieldsData, GAccountBasicFieldsDataBuilder> { + _$GAccountBasicFieldsData? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GAccountBasicFieldsData_identityBuilder? _identity; + GAccountBasicFieldsData_identityBuilder get identity => + _$this._identity ??= new GAccountBasicFieldsData_identityBuilder(); + set identity(GAccountBasicFieldsData_identityBuilder? identity) => + _$this._identity = identity; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + GAccountBasicFieldsDataBuilder() { + GAccountBasicFieldsData._initializeBuilder(this); + } + + GAccountBasicFieldsDataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _createdOn = $v.createdOn; + _id = $v.id; + _identity = $v.identity?.toBuilder(); + _isActive = $v.isActive; + _$v = null; + } + return this; + } + + @override + void replace(GAccountBasicFieldsData other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountBasicFieldsData; + } + + @override + void update(void Function(GAccountBasicFieldsDataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountBasicFieldsData build() => _build(); + + _$GAccountBasicFieldsData _build() { + _$GAccountBasicFieldsData _$result; + try { + _$result = _$v ?? + new _$GAccountBasicFieldsData._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountBasicFieldsData', 'G__typename'), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountBasicFieldsData', 'createdOn'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountBasicFieldsData', 'id'), + identity: _identity?.build(), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GAccountBasicFieldsData', 'isActive')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'identity'; + _identity?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountBasicFieldsData', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountBasicFieldsData_identity + extends GAccountBasicFieldsData_identity { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountBasicFieldsData_identity( + [void Function(GAccountBasicFieldsData_identityBuilder)? updates]) => + (new GAccountBasicFieldsData_identityBuilder()..update(updates))._build(); + + _$GAccountBasicFieldsData_identity._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountBasicFieldsData_identity', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountBasicFieldsData_identity', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GAccountBasicFieldsData_identity', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GAccountBasicFieldsData_identity', 'name'); + } + + @override + GAccountBasicFieldsData_identity rebuild( + void Function(GAccountBasicFieldsData_identityBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountBasicFieldsData_identityBuilder toBuilder() => + new GAccountBasicFieldsData_identityBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountBasicFieldsData_identity && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountBasicFieldsData_identity') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountBasicFieldsData_identityBuilder + implements + Builder<GAccountBasicFieldsData_identity, + GAccountBasicFieldsData_identityBuilder> { + _$GAccountBasicFieldsData_identity? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountBasicFieldsData_identityBuilder() { + GAccountBasicFieldsData_identity._initializeBuilder(this); + } + + GAccountBasicFieldsData_identityBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GAccountBasicFieldsData_identity other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountBasicFieldsData_identity; + } + + @override + void update(void Function(GAccountBasicFieldsData_identityBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountBasicFieldsData_identity build() => _build(); + + _$GAccountBasicFieldsData_identity _build() { + final _$result = _$v ?? + new _$GAccountBasicFieldsData_identity._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountBasicFieldsData_identity', 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountBasicFieldsData_identity', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, r'GAccountBasicFieldsData_identity', 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, r'GAccountBasicFieldsData_identity', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData extends GAccountFieldsData { + @override + final String G__typename; + @override + final BuiltList<GAccountFieldsData_commentsIssued> commentsIssued; + @override + final GAccountFieldsData_commentsIssuedAggregate commentsIssuedAggregate; + @override + final int createdOn; + @override + final String id; + @override + final GAccountFieldsData_identity? identity; + @override + final bool isActive; + @override + final GAccountFieldsData_linkedIdentity? linkedIdentity; + @override + final BuiltList<GAccountFieldsData_removedIdentities> removedIdentities; + @override + final GAccountFieldsData_removedIdentitiesAggregate + removedIdentitiesAggregate; + @override + final BuiltList<GAccountFieldsData_transfersIssued> transfersIssued; + @override + final GAccountFieldsData_transfersIssuedAggregate transfersIssuedAggregate; + @override + final BuiltList<GAccountFieldsData_transfersReceived> transfersReceived; + @override + final GAccountFieldsData_transfersReceivedAggregate + transfersReceivedAggregate; + @override + final BuiltList<GAccountFieldsData_wasIdentity> wasIdentity; + @override + final GAccountFieldsData_wasIdentityAggregate wasIdentityAggregate; + + factory _$GAccountFieldsData( + [void Function(GAccountFieldsDataBuilder)? updates]) => + (new GAccountFieldsDataBuilder()..update(updates))._build(); + + _$GAccountFieldsData._( + {required this.G__typename, + required this.commentsIssued, + required this.commentsIssuedAggregate, + required this.createdOn, + required this.id, + this.identity, + required this.isActive, + this.linkedIdentity, + required this.removedIdentities, + required this.removedIdentitiesAggregate, + required this.transfersIssued, + required this.transfersIssuedAggregate, + required this.transfersReceived, + required this.transfersReceivedAggregate, + required this.wasIdentity, + required this.wasIdentityAggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountFieldsData', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + commentsIssued, r'GAccountFieldsData', 'commentsIssued'); + BuiltValueNullFieldError.checkNotNull(commentsIssuedAggregate, + r'GAccountFieldsData', 'commentsIssuedAggregate'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountFieldsData', 'createdOn'); + BuiltValueNullFieldError.checkNotNull(id, r'GAccountFieldsData', 'id'); + BuiltValueNullFieldError.checkNotNull( + isActive, r'GAccountFieldsData', 'isActive'); + BuiltValueNullFieldError.checkNotNull( + removedIdentities, r'GAccountFieldsData', 'removedIdentities'); + BuiltValueNullFieldError.checkNotNull(removedIdentitiesAggregate, + r'GAccountFieldsData', 'removedIdentitiesAggregate'); + BuiltValueNullFieldError.checkNotNull( + transfersIssued, r'GAccountFieldsData', 'transfersIssued'); + BuiltValueNullFieldError.checkNotNull(transfersIssuedAggregate, + r'GAccountFieldsData', 'transfersIssuedAggregate'); + BuiltValueNullFieldError.checkNotNull( + transfersReceived, r'GAccountFieldsData', 'transfersReceived'); + BuiltValueNullFieldError.checkNotNull(transfersReceivedAggregate, + r'GAccountFieldsData', 'transfersReceivedAggregate'); + BuiltValueNullFieldError.checkNotNull( + wasIdentity, r'GAccountFieldsData', 'wasIdentity'); + BuiltValueNullFieldError.checkNotNull( + wasIdentityAggregate, r'GAccountFieldsData', 'wasIdentityAggregate'); + } + + @override + GAccountFieldsData rebuild( + void Function(GAccountFieldsDataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsDataBuilder toBuilder() => + new GAccountFieldsDataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData && + G__typename == other.G__typename && + commentsIssued == other.commentsIssued && + commentsIssuedAggregate == other.commentsIssuedAggregate && + createdOn == other.createdOn && + id == other.id && + identity == other.identity && + isActive == other.isActive && + linkedIdentity == other.linkedIdentity && + removedIdentities == other.removedIdentities && + removedIdentitiesAggregate == other.removedIdentitiesAggregate && + transfersIssued == other.transfersIssued && + transfersIssuedAggregate == other.transfersIssuedAggregate && + transfersReceived == other.transfersReceived && + transfersReceivedAggregate == other.transfersReceivedAggregate && + wasIdentity == other.wasIdentity && + wasIdentityAggregate == other.wasIdentityAggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, commentsIssued.hashCode); + _$hash = $jc(_$hash, commentsIssuedAggregate.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, identity.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, linkedIdentity.hashCode); + _$hash = $jc(_$hash, removedIdentities.hashCode); + _$hash = $jc(_$hash, removedIdentitiesAggregate.hashCode); + _$hash = $jc(_$hash, transfersIssued.hashCode); + _$hash = $jc(_$hash, transfersIssuedAggregate.hashCode); + _$hash = $jc(_$hash, transfersReceived.hashCode); + _$hash = $jc(_$hash, transfersReceivedAggregate.hashCode); + _$hash = $jc(_$hash, wasIdentity.hashCode); + _$hash = $jc(_$hash, wasIdentityAggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountFieldsData') + ..add('G__typename', G__typename) + ..add('commentsIssued', commentsIssued) + ..add('commentsIssuedAggregate', commentsIssuedAggregate) + ..add('createdOn', createdOn) + ..add('id', id) + ..add('identity', identity) + ..add('isActive', isActive) + ..add('linkedIdentity', linkedIdentity) + ..add('removedIdentities', removedIdentities) + ..add('removedIdentitiesAggregate', removedIdentitiesAggregate) + ..add('transfersIssued', transfersIssued) + ..add('transfersIssuedAggregate', transfersIssuedAggregate) + ..add('transfersReceived', transfersReceived) + ..add('transfersReceivedAggregate', transfersReceivedAggregate) + ..add('wasIdentity', wasIdentity) + ..add('wasIdentityAggregate', wasIdentityAggregate)) + .toString(); + } +} + +class GAccountFieldsDataBuilder + implements Builder<GAccountFieldsData, GAccountFieldsDataBuilder> { + _$GAccountFieldsData? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + ListBuilder<GAccountFieldsData_commentsIssued>? _commentsIssued; + ListBuilder<GAccountFieldsData_commentsIssued> get commentsIssued => + _$this._commentsIssued ??= + new ListBuilder<GAccountFieldsData_commentsIssued>(); + set commentsIssued( + ListBuilder<GAccountFieldsData_commentsIssued>? commentsIssued) => + _$this._commentsIssued = commentsIssued; + + GAccountFieldsData_commentsIssuedAggregateBuilder? _commentsIssuedAggregate; + GAccountFieldsData_commentsIssuedAggregateBuilder + get commentsIssuedAggregate => _$this._commentsIssuedAggregate ??= + new GAccountFieldsData_commentsIssuedAggregateBuilder(); + set commentsIssuedAggregate( + GAccountFieldsData_commentsIssuedAggregateBuilder? + commentsIssuedAggregate) => + _$this._commentsIssuedAggregate = commentsIssuedAggregate; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GAccountFieldsData_identityBuilder? _identity; + GAccountFieldsData_identityBuilder get identity => + _$this._identity ??= new GAccountFieldsData_identityBuilder(); + set identity(GAccountFieldsData_identityBuilder? identity) => + _$this._identity = identity; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + GAccountFieldsData_linkedIdentityBuilder? _linkedIdentity; + GAccountFieldsData_linkedIdentityBuilder get linkedIdentity => + _$this._linkedIdentity ??= new GAccountFieldsData_linkedIdentityBuilder(); + set linkedIdentity( + GAccountFieldsData_linkedIdentityBuilder? linkedIdentity) => + _$this._linkedIdentity = linkedIdentity; + + ListBuilder<GAccountFieldsData_removedIdentities>? _removedIdentities; + ListBuilder<GAccountFieldsData_removedIdentities> get removedIdentities => + _$this._removedIdentities ??= + new ListBuilder<GAccountFieldsData_removedIdentities>(); + set removedIdentities( + ListBuilder<GAccountFieldsData_removedIdentities>? + removedIdentities) => + _$this._removedIdentities = removedIdentities; + + GAccountFieldsData_removedIdentitiesAggregateBuilder? + _removedIdentitiesAggregate; + GAccountFieldsData_removedIdentitiesAggregateBuilder + get removedIdentitiesAggregate => _$this._removedIdentitiesAggregate ??= + new GAccountFieldsData_removedIdentitiesAggregateBuilder(); + set removedIdentitiesAggregate( + GAccountFieldsData_removedIdentitiesAggregateBuilder? + removedIdentitiesAggregate) => + _$this._removedIdentitiesAggregate = removedIdentitiesAggregate; + + ListBuilder<GAccountFieldsData_transfersIssued>? _transfersIssued; + ListBuilder<GAccountFieldsData_transfersIssued> get transfersIssued => + _$this._transfersIssued ??= + new ListBuilder<GAccountFieldsData_transfersIssued>(); + set transfersIssued( + ListBuilder<GAccountFieldsData_transfersIssued>? transfersIssued) => + _$this._transfersIssued = transfersIssued; + + GAccountFieldsData_transfersIssuedAggregateBuilder? _transfersIssuedAggregate; + GAccountFieldsData_transfersIssuedAggregateBuilder + get transfersIssuedAggregate => _$this._transfersIssuedAggregate ??= + new GAccountFieldsData_transfersIssuedAggregateBuilder(); + set transfersIssuedAggregate( + GAccountFieldsData_transfersIssuedAggregateBuilder? + transfersIssuedAggregate) => + _$this._transfersIssuedAggregate = transfersIssuedAggregate; + + ListBuilder<GAccountFieldsData_transfersReceived>? _transfersReceived; + ListBuilder<GAccountFieldsData_transfersReceived> get transfersReceived => + _$this._transfersReceived ??= + new ListBuilder<GAccountFieldsData_transfersReceived>(); + set transfersReceived( + ListBuilder<GAccountFieldsData_transfersReceived>? + transfersReceived) => + _$this._transfersReceived = transfersReceived; + + GAccountFieldsData_transfersReceivedAggregateBuilder? + _transfersReceivedAggregate; + GAccountFieldsData_transfersReceivedAggregateBuilder + get transfersReceivedAggregate => _$this._transfersReceivedAggregate ??= + new GAccountFieldsData_transfersReceivedAggregateBuilder(); + set transfersReceivedAggregate( + GAccountFieldsData_transfersReceivedAggregateBuilder? + transfersReceivedAggregate) => + _$this._transfersReceivedAggregate = transfersReceivedAggregate; + + ListBuilder<GAccountFieldsData_wasIdentity>? _wasIdentity; + ListBuilder<GAccountFieldsData_wasIdentity> get wasIdentity => + _$this._wasIdentity ??= new ListBuilder<GAccountFieldsData_wasIdentity>(); + set wasIdentity(ListBuilder<GAccountFieldsData_wasIdentity>? wasIdentity) => + _$this._wasIdentity = wasIdentity; + + GAccountFieldsData_wasIdentityAggregateBuilder? _wasIdentityAggregate; + GAccountFieldsData_wasIdentityAggregateBuilder get wasIdentityAggregate => + _$this._wasIdentityAggregate ??= + new GAccountFieldsData_wasIdentityAggregateBuilder(); + set wasIdentityAggregate( + GAccountFieldsData_wasIdentityAggregateBuilder? + wasIdentityAggregate) => + _$this._wasIdentityAggregate = wasIdentityAggregate; + + GAccountFieldsDataBuilder() { + GAccountFieldsData._initializeBuilder(this); + } + + GAccountFieldsDataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _commentsIssued = $v.commentsIssued.toBuilder(); + _commentsIssuedAggregate = $v.commentsIssuedAggregate.toBuilder(); + _createdOn = $v.createdOn; + _id = $v.id; + _identity = $v.identity?.toBuilder(); + _isActive = $v.isActive; + _linkedIdentity = $v.linkedIdentity?.toBuilder(); + _removedIdentities = $v.removedIdentities.toBuilder(); + _removedIdentitiesAggregate = $v.removedIdentitiesAggregate.toBuilder(); + _transfersIssued = $v.transfersIssued.toBuilder(); + _transfersIssuedAggregate = $v.transfersIssuedAggregate.toBuilder(); + _transfersReceived = $v.transfersReceived.toBuilder(); + _transfersReceivedAggregate = $v.transfersReceivedAggregate.toBuilder(); + _wasIdentity = $v.wasIdentity.toBuilder(); + _wasIdentityAggregate = $v.wasIdentityAggregate.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData; + } + + @override + void update(void Function(GAccountFieldsDataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData build() => _build(); + + _$GAccountFieldsData _build() { + _$GAccountFieldsData _$result; + try { + _$result = _$v ?? + new _$GAccountFieldsData._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountFieldsData', 'G__typename'), + commentsIssued: commentsIssued.build(), + commentsIssuedAggregate: commentsIssuedAggregate.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountFieldsData', 'createdOn'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData', 'id'), + identity: _identity?.build(), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GAccountFieldsData', 'isActive'), + linkedIdentity: _linkedIdentity?.build(), + removedIdentities: removedIdentities.build(), + removedIdentitiesAggregate: removedIdentitiesAggregate.build(), + transfersIssued: transfersIssued.build(), + transfersIssuedAggregate: transfersIssuedAggregate.build(), + transfersReceived: transfersReceived.build(), + transfersReceivedAggregate: transfersReceivedAggregate.build(), + wasIdentity: wasIdentity.build(), + wasIdentityAggregate: wasIdentityAggregate.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'commentsIssued'; + commentsIssued.build(); + _$failedField = 'commentsIssuedAggregate'; + commentsIssuedAggregate.build(); + + _$failedField = 'identity'; + _identity?.build(); + + _$failedField = 'linkedIdentity'; + _linkedIdentity?.build(); + _$failedField = 'removedIdentities'; + removedIdentities.build(); + _$failedField = 'removedIdentitiesAggregate'; + removedIdentitiesAggregate.build(); + _$failedField = 'transfersIssued'; + transfersIssued.build(); + _$failedField = 'transfersIssuedAggregate'; + transfersIssuedAggregate.build(); + _$failedField = 'transfersReceived'; + transfersReceived.build(); + _$failedField = 'transfersReceivedAggregate'; + transfersReceivedAggregate.build(); + _$failedField = 'wasIdentity'; + wasIdentity.build(); + _$failedField = 'wasIdentityAggregate'; + wasIdentityAggregate.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountFieldsData', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_commentsIssued + extends GAccountFieldsData_commentsIssued { + @override + final String G__typename; + @override + final String? authorId; + @override + final int blockNumber; + @override + final String? eventId; + @override + final String hash; + @override + final String id; + @override + final String remark; + @override + final _i2.GCommentTypeEnum? type; + + factory _$GAccountFieldsData_commentsIssued( + [void Function(GAccountFieldsData_commentsIssuedBuilder)? updates]) => + (new GAccountFieldsData_commentsIssuedBuilder()..update(updates)) + ._build(); + + _$GAccountFieldsData_commentsIssued._( + {required this.G__typename, + this.authorId, + required this.blockNumber, + this.eventId, + required this.hash, + required this.id, + required this.remark, + this.type}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountFieldsData_commentsIssued', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + blockNumber, r'GAccountFieldsData_commentsIssued', 'blockNumber'); + BuiltValueNullFieldError.checkNotNull( + hash, r'GAccountFieldsData_commentsIssued', 'hash'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_commentsIssued', 'id'); + BuiltValueNullFieldError.checkNotNull( + remark, r'GAccountFieldsData_commentsIssued', 'remark'); + } + + @override + GAccountFieldsData_commentsIssued rebuild( + void Function(GAccountFieldsData_commentsIssuedBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_commentsIssuedBuilder toBuilder() => + new GAccountFieldsData_commentsIssuedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_commentsIssued && + G__typename == other.G__typename && + authorId == other.authorId && + blockNumber == other.blockNumber && + eventId == other.eventId && + hash == other.hash && + id == other.id && + remark == other.remark && + type == other.type; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, authorId.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, eventId.hashCode); + _$hash = $jc(_$hash, hash.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, remark.hashCode); + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountFieldsData_commentsIssued') + ..add('G__typename', G__typename) + ..add('authorId', authorId) + ..add('blockNumber', blockNumber) + ..add('eventId', eventId) + ..add('hash', hash) + ..add('id', id) + ..add('remark', remark) + ..add('type', type)) + .toString(); + } +} + +class GAccountFieldsData_commentsIssuedBuilder + implements + Builder<GAccountFieldsData_commentsIssued, + GAccountFieldsData_commentsIssuedBuilder> { + _$GAccountFieldsData_commentsIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _authorId; + String? get authorId => _$this._authorId; + set authorId(String? authorId) => _$this._authorId = authorId; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _eventId; + String? get eventId => _$this._eventId; + set eventId(String? eventId) => _$this._eventId = eventId; + + String? _hash; + String? get hash => _$this._hash; + set hash(String? hash) => _$this._hash = hash; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _remark; + String? get remark => _$this._remark; + set remark(String? remark) => _$this._remark = remark; + + _i2.GCommentTypeEnum? _type; + _i2.GCommentTypeEnum? get type => _$this._type; + set type(_i2.GCommentTypeEnum? type) => _$this._type = type; + + GAccountFieldsData_commentsIssuedBuilder() { + GAccountFieldsData_commentsIssued._initializeBuilder(this); + } + + GAccountFieldsData_commentsIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _authorId = $v.authorId; + _blockNumber = $v.blockNumber; + _eventId = $v.eventId; + _hash = $v.hash; + _id = $v.id; + _remark = $v.remark; + _type = $v.type; + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_commentsIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_commentsIssued; + } + + @override + void update( + void Function(GAccountFieldsData_commentsIssuedBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_commentsIssued build() => _build(); + + _$GAccountFieldsData_commentsIssued _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_commentsIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_commentsIssued', 'G__typename'), + authorId: authorId, + blockNumber: BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountFieldsData_commentsIssued', 'blockNumber'), + eventId: eventId, + hash: BuiltValueNullFieldError.checkNotNull( + hash, r'GAccountFieldsData_commentsIssued', 'hash'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_commentsIssued', 'id'), + remark: BuiltValueNullFieldError.checkNotNull( + remark, r'GAccountFieldsData_commentsIssued', 'remark'), + type: type); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_commentsIssuedAggregate + extends GAccountFieldsData_commentsIssuedAggregate { + @override + final String G__typename; + @override + final GAccountFieldsData_commentsIssuedAggregate_aggregate? aggregate; + + factory _$GAccountFieldsData_commentsIssuedAggregate( + [void Function(GAccountFieldsData_commentsIssuedAggregateBuilder)? + updates]) => + (new GAccountFieldsData_commentsIssuedAggregateBuilder()..update(updates)) + ._build(); + + _$GAccountFieldsData_commentsIssuedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_commentsIssuedAggregate', 'G__typename'); + } + + @override + GAccountFieldsData_commentsIssuedAggregate rebuild( + void Function(GAccountFieldsData_commentsIssuedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_commentsIssuedAggregateBuilder toBuilder() => + new GAccountFieldsData_commentsIssuedAggregateBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_commentsIssuedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_commentsIssuedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountFieldsData_commentsIssuedAggregateBuilder + implements + Builder<GAccountFieldsData_commentsIssuedAggregate, + GAccountFieldsData_commentsIssuedAggregateBuilder> { + _$GAccountFieldsData_commentsIssuedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountFieldsData_commentsIssuedAggregate_aggregateBuilder? _aggregate; + GAccountFieldsData_commentsIssuedAggregate_aggregateBuilder get aggregate => + _$this._aggregate ??= + new GAccountFieldsData_commentsIssuedAggregate_aggregateBuilder(); + set aggregate( + GAccountFieldsData_commentsIssuedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountFieldsData_commentsIssuedAggregateBuilder() { + GAccountFieldsData_commentsIssuedAggregate._initializeBuilder(this); + } + + GAccountFieldsData_commentsIssuedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_commentsIssuedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_commentsIssuedAggregate; + } + + @override + void update( + void Function(GAccountFieldsData_commentsIssuedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_commentsIssuedAggregate build() => _build(); + + _$GAccountFieldsData_commentsIssuedAggregate _build() { + _$GAccountFieldsData_commentsIssuedAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountFieldsData_commentsIssuedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_commentsIssuedAggregate', 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountFieldsData_commentsIssuedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_commentsIssuedAggregate_aggregate + extends GAccountFieldsData_commentsIssuedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountFieldsData_commentsIssuedAggregate_aggregate( + [void Function( + GAccountFieldsData_commentsIssuedAggregate_aggregateBuilder)? + updates]) => + (new GAccountFieldsData_commentsIssuedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_commentsIssuedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_commentsIssuedAggregate_aggregate', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(count, + r'GAccountFieldsData_commentsIssuedAggregate_aggregate', 'count'); + } + + @override + GAccountFieldsData_commentsIssuedAggregate_aggregate rebuild( + void Function( + GAccountFieldsData_commentsIssuedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_commentsIssuedAggregate_aggregateBuilder toBuilder() => + new GAccountFieldsData_commentsIssuedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_commentsIssuedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_commentsIssuedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountFieldsData_commentsIssuedAggregate_aggregateBuilder + implements + Builder<GAccountFieldsData_commentsIssuedAggregate_aggregate, + GAccountFieldsData_commentsIssuedAggregate_aggregateBuilder> { + _$GAccountFieldsData_commentsIssuedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountFieldsData_commentsIssuedAggregate_aggregateBuilder() { + GAccountFieldsData_commentsIssuedAggregate_aggregate._initializeBuilder( + this); + } + + GAccountFieldsData_commentsIssuedAggregate_aggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_commentsIssuedAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_commentsIssuedAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountFieldsData_commentsIssuedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_commentsIssuedAggregate_aggregate build() => _build(); + + _$GAccountFieldsData_commentsIssuedAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_commentsIssuedAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_commentsIssuedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountFieldsData_commentsIssuedAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity extends GAccountFieldsData_identity { + @override + final String G__typename; + @override + final String? accountId; + @override + final String? accountRemovedId; + @override + final BuiltList<GAccountFieldsData_identity_certIssued> certIssued; + @override + final GAccountFieldsData_identity_certIssuedAggregate certIssuedAggregate; + @override + final BuiltList<GAccountFieldsData_identity_certReceived> certReceived; + @override + final GAccountFieldsData_identity_certReceivedAggregate certReceivedAggregate; + @override + final String? createdInId; + @override + final int createdOn; + @override + final int expireOn; + @override + final String id; + @override + final int index; + @override + final bool isMember; + @override + final int lastChangeOn; + @override + final BuiltList<GAccountFieldsData_identity_linkedAccount> linkedAccount; + @override + final GAccountFieldsData_identity_linkedAccountAggregate + linkedAccountAggregate; + @override + final _i2.GIdentityStatusEnum? status; + @override + final BuiltList<GAccountFieldsData_identity_membershipHistory> + membershipHistory; + @override + final GAccountFieldsData_identity_membershipHistoryAggregate + membershipHistoryAggregate; + @override + final String name; + @override + final BuiltList<GAccountFieldsData_identity_ownerKeyChange> ownerKeyChange; + @override + final GAccountFieldsData_identity_ownerKeyChangeAggregate + ownerKeyChangeAggregate; + @override + final GAccountFieldsData_identity_smith? smith; + @override + final BuiltList<GAccountFieldsData_identity_udHistory>? udHistory; + + factory _$GAccountFieldsData_identity( + [void Function(GAccountFieldsData_identityBuilder)? updates]) => + (new GAccountFieldsData_identityBuilder()..update(updates))._build(); + + _$GAccountFieldsData_identity._( + {required this.G__typename, + this.accountId, + this.accountRemovedId, + required this.certIssued, + required this.certIssuedAggregate, + required this.certReceived, + required this.certReceivedAggregate, + this.createdInId, + required this.createdOn, + required this.expireOn, + required this.id, + required this.index, + required this.isMember, + required this.lastChangeOn, + required this.linkedAccount, + required this.linkedAccountAggregate, + this.status, + required this.membershipHistory, + required this.membershipHistoryAggregate, + required this.name, + required this.ownerKeyChange, + required this.ownerKeyChangeAggregate, + this.smith, + this.udHistory}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountFieldsData_identity', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + certIssued, r'GAccountFieldsData_identity', 'certIssued'); + BuiltValueNullFieldError.checkNotNull(certIssuedAggregate, + r'GAccountFieldsData_identity', 'certIssuedAggregate'); + BuiltValueNullFieldError.checkNotNull( + certReceived, r'GAccountFieldsData_identity', 'certReceived'); + BuiltValueNullFieldError.checkNotNull(certReceivedAggregate, + r'GAccountFieldsData_identity', 'certReceivedAggregate'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountFieldsData_identity', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + expireOn, r'GAccountFieldsData_identity', 'expireOn'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity', 'id'); + BuiltValueNullFieldError.checkNotNull( + index, r'GAccountFieldsData_identity', 'index'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GAccountFieldsData_identity', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + lastChangeOn, r'GAccountFieldsData_identity', 'lastChangeOn'); + BuiltValueNullFieldError.checkNotNull( + linkedAccount, r'GAccountFieldsData_identity', 'linkedAccount'); + BuiltValueNullFieldError.checkNotNull(linkedAccountAggregate, + r'GAccountFieldsData_identity', 'linkedAccountAggregate'); + BuiltValueNullFieldError.checkNotNull( + membershipHistory, r'GAccountFieldsData_identity', 'membershipHistory'); + BuiltValueNullFieldError.checkNotNull(membershipHistoryAggregate, + r'GAccountFieldsData_identity', 'membershipHistoryAggregate'); + BuiltValueNullFieldError.checkNotNull( + name, r'GAccountFieldsData_identity', 'name'); + BuiltValueNullFieldError.checkNotNull( + ownerKeyChange, r'GAccountFieldsData_identity', 'ownerKeyChange'); + BuiltValueNullFieldError.checkNotNull(ownerKeyChangeAggregate, + r'GAccountFieldsData_identity', 'ownerKeyChangeAggregate'); + } + + @override + GAccountFieldsData_identity rebuild( + void Function(GAccountFieldsData_identityBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identityBuilder toBuilder() => + new GAccountFieldsData_identityBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity && + G__typename == other.G__typename && + accountId == other.accountId && + accountRemovedId == other.accountRemovedId && + certIssued == other.certIssued && + certIssuedAggregate == other.certIssuedAggregate && + certReceived == other.certReceived && + certReceivedAggregate == other.certReceivedAggregate && + createdInId == other.createdInId && + createdOn == other.createdOn && + expireOn == other.expireOn && + id == other.id && + index == other.index && + isMember == other.isMember && + lastChangeOn == other.lastChangeOn && + linkedAccount == other.linkedAccount && + linkedAccountAggregate == other.linkedAccountAggregate && + status == other.status && + membershipHistory == other.membershipHistory && + membershipHistoryAggregate == other.membershipHistoryAggregate && + name == other.name && + ownerKeyChange == other.ownerKeyChange && + ownerKeyChangeAggregate == other.ownerKeyChangeAggregate && + smith == other.smith && + udHistory == other.udHistory; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, accountRemovedId.hashCode); + _$hash = $jc(_$hash, certIssued.hashCode); + _$hash = $jc(_$hash, certIssuedAggregate.hashCode); + _$hash = $jc(_$hash, certReceived.hashCode); + _$hash = $jc(_$hash, certReceivedAggregate.hashCode); + _$hash = $jc(_$hash, createdInId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, index.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, lastChangeOn.hashCode); + _$hash = $jc(_$hash, linkedAccount.hashCode); + _$hash = $jc(_$hash, linkedAccountAggregate.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, membershipHistory.hashCode); + _$hash = $jc(_$hash, membershipHistoryAggregate.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, ownerKeyChange.hashCode); + _$hash = $jc(_$hash, ownerKeyChangeAggregate.hashCode); + _$hash = $jc(_$hash, smith.hashCode); + _$hash = $jc(_$hash, udHistory.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountFieldsData_identity') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('accountRemovedId', accountRemovedId) + ..add('certIssued', certIssued) + ..add('certIssuedAggregate', certIssuedAggregate) + ..add('certReceived', certReceived) + ..add('certReceivedAggregate', certReceivedAggregate) + ..add('createdInId', createdInId) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('id', id) + ..add('index', index) + ..add('isMember', isMember) + ..add('lastChangeOn', lastChangeOn) + ..add('linkedAccount', linkedAccount) + ..add('linkedAccountAggregate', linkedAccountAggregate) + ..add('status', status) + ..add('membershipHistory', membershipHistory) + ..add('membershipHistoryAggregate', membershipHistoryAggregate) + ..add('name', name) + ..add('ownerKeyChange', ownerKeyChange) + ..add('ownerKeyChangeAggregate', ownerKeyChangeAggregate) + ..add('smith', smith) + ..add('udHistory', udHistory)) + .toString(); + } +} + +class GAccountFieldsData_identityBuilder + implements + Builder<GAccountFieldsData_identity, + GAccountFieldsData_identityBuilder> { + _$GAccountFieldsData_identity? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _accountRemovedId; + String? get accountRemovedId => _$this._accountRemovedId; + set accountRemovedId(String? accountRemovedId) => + _$this._accountRemovedId = accountRemovedId; + + ListBuilder<GAccountFieldsData_identity_certIssued>? _certIssued; + ListBuilder<GAccountFieldsData_identity_certIssued> get certIssued => + _$this._certIssued ??= + new ListBuilder<GAccountFieldsData_identity_certIssued>(); + set certIssued( + ListBuilder<GAccountFieldsData_identity_certIssued>? certIssued) => + _$this._certIssued = certIssued; + + GAccountFieldsData_identity_certIssuedAggregateBuilder? _certIssuedAggregate; + GAccountFieldsData_identity_certIssuedAggregateBuilder + get certIssuedAggregate => _$this._certIssuedAggregate ??= + new GAccountFieldsData_identity_certIssuedAggregateBuilder(); + set certIssuedAggregate( + GAccountFieldsData_identity_certIssuedAggregateBuilder? + certIssuedAggregate) => + _$this._certIssuedAggregate = certIssuedAggregate; + + ListBuilder<GAccountFieldsData_identity_certReceived>? _certReceived; + ListBuilder<GAccountFieldsData_identity_certReceived> get certReceived => + _$this._certReceived ??= + new ListBuilder<GAccountFieldsData_identity_certReceived>(); + set certReceived( + ListBuilder<GAccountFieldsData_identity_certReceived>? + certReceived) => + _$this._certReceived = certReceived; + + GAccountFieldsData_identity_certReceivedAggregateBuilder? + _certReceivedAggregate; + GAccountFieldsData_identity_certReceivedAggregateBuilder + get certReceivedAggregate => _$this._certReceivedAggregate ??= + new GAccountFieldsData_identity_certReceivedAggregateBuilder(); + set certReceivedAggregate( + GAccountFieldsData_identity_certReceivedAggregateBuilder? + certReceivedAggregate) => + _$this._certReceivedAggregate = certReceivedAggregate; + + String? _createdInId; + String? get createdInId => _$this._createdInId; + set createdInId(String? createdInId) => _$this._createdInId = createdInId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _index; + int? get index => _$this._index; + set index(int? index) => _$this._index = index; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + int? _lastChangeOn; + int? get lastChangeOn => _$this._lastChangeOn; + set lastChangeOn(int? lastChangeOn) => _$this._lastChangeOn = lastChangeOn; + + ListBuilder<GAccountFieldsData_identity_linkedAccount>? _linkedAccount; + ListBuilder<GAccountFieldsData_identity_linkedAccount> get linkedAccount => + _$this._linkedAccount ??= + new ListBuilder<GAccountFieldsData_identity_linkedAccount>(); + set linkedAccount( + ListBuilder<GAccountFieldsData_identity_linkedAccount>? + linkedAccount) => + _$this._linkedAccount = linkedAccount; + + GAccountFieldsData_identity_linkedAccountAggregateBuilder? + _linkedAccountAggregate; + GAccountFieldsData_identity_linkedAccountAggregateBuilder + get linkedAccountAggregate => _$this._linkedAccountAggregate ??= + new GAccountFieldsData_identity_linkedAccountAggregateBuilder(); + set linkedAccountAggregate( + GAccountFieldsData_identity_linkedAccountAggregateBuilder? + linkedAccountAggregate) => + _$this._linkedAccountAggregate = linkedAccountAggregate; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + ListBuilder<GAccountFieldsData_identity_membershipHistory>? + _membershipHistory; + ListBuilder<GAccountFieldsData_identity_membershipHistory> + get membershipHistory => _$this._membershipHistory ??= + new ListBuilder<GAccountFieldsData_identity_membershipHistory>(); + set membershipHistory( + ListBuilder<GAccountFieldsData_identity_membershipHistory>? + membershipHistory) => + _$this._membershipHistory = membershipHistory; + + GAccountFieldsData_identity_membershipHistoryAggregateBuilder? + _membershipHistoryAggregate; + GAccountFieldsData_identity_membershipHistoryAggregateBuilder + get membershipHistoryAggregate => _$this._membershipHistoryAggregate ??= + new GAccountFieldsData_identity_membershipHistoryAggregateBuilder(); + set membershipHistoryAggregate( + GAccountFieldsData_identity_membershipHistoryAggregateBuilder? + membershipHistoryAggregate) => + _$this._membershipHistoryAggregate = membershipHistoryAggregate; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + ListBuilder<GAccountFieldsData_identity_ownerKeyChange>? _ownerKeyChange; + ListBuilder<GAccountFieldsData_identity_ownerKeyChange> get ownerKeyChange => + _$this._ownerKeyChange ??= + new ListBuilder<GAccountFieldsData_identity_ownerKeyChange>(); + set ownerKeyChange( + ListBuilder<GAccountFieldsData_identity_ownerKeyChange>? + ownerKeyChange) => + _$this._ownerKeyChange = ownerKeyChange; + + GAccountFieldsData_identity_ownerKeyChangeAggregateBuilder? + _ownerKeyChangeAggregate; + GAccountFieldsData_identity_ownerKeyChangeAggregateBuilder + get ownerKeyChangeAggregate => _$this._ownerKeyChangeAggregate ??= + new GAccountFieldsData_identity_ownerKeyChangeAggregateBuilder(); + set ownerKeyChangeAggregate( + GAccountFieldsData_identity_ownerKeyChangeAggregateBuilder? + ownerKeyChangeAggregate) => + _$this._ownerKeyChangeAggregate = ownerKeyChangeAggregate; + + GAccountFieldsData_identity_smithBuilder? _smith; + GAccountFieldsData_identity_smithBuilder get smith => + _$this._smith ??= new GAccountFieldsData_identity_smithBuilder(); + set smith(GAccountFieldsData_identity_smithBuilder? smith) => + _$this._smith = smith; + + ListBuilder<GAccountFieldsData_identity_udHistory>? _udHistory; + ListBuilder<GAccountFieldsData_identity_udHistory> get udHistory => + _$this._udHistory ??= + new ListBuilder<GAccountFieldsData_identity_udHistory>(); + set udHistory( + ListBuilder<GAccountFieldsData_identity_udHistory>? udHistory) => + _$this._udHistory = udHistory; + + GAccountFieldsData_identityBuilder() { + GAccountFieldsData_identity._initializeBuilder(this); + } + + GAccountFieldsData_identityBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _accountRemovedId = $v.accountRemovedId; + _certIssued = $v.certIssued.toBuilder(); + _certIssuedAggregate = $v.certIssuedAggregate.toBuilder(); + _certReceived = $v.certReceived.toBuilder(); + _certReceivedAggregate = $v.certReceivedAggregate.toBuilder(); + _createdInId = $v.createdInId; + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _id = $v.id; + _index = $v.index; + _isMember = $v.isMember; + _lastChangeOn = $v.lastChangeOn; + _linkedAccount = $v.linkedAccount.toBuilder(); + _linkedAccountAggregate = $v.linkedAccountAggregate.toBuilder(); + _status = $v.status; + _membershipHistory = $v.membershipHistory.toBuilder(); + _membershipHistoryAggregate = $v.membershipHistoryAggregate.toBuilder(); + _name = $v.name; + _ownerKeyChange = $v.ownerKeyChange.toBuilder(); + _ownerKeyChangeAggregate = $v.ownerKeyChangeAggregate.toBuilder(); + _smith = $v.smith?.toBuilder(); + _udHistory = $v.udHistory?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_identity other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity; + } + + @override + void update(void Function(GAccountFieldsData_identityBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity build() => _build(); + + _$GAccountFieldsData_identity _build() { + _$GAccountFieldsData_identity _$result; + try { + _$result = _$v ?? + new _$GAccountFieldsData_identity._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountFieldsData_identity', 'G__typename'), + accountId: accountId, + accountRemovedId: accountRemovedId, + certIssued: certIssued.build(), + certIssuedAggregate: certIssuedAggregate.build(), + certReceived: certReceived.build(), + certReceivedAggregate: certReceivedAggregate.build(), + createdInId: createdInId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountFieldsData_identity', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GAccountFieldsData_identity', 'expireOn'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity', 'id'), + index: BuiltValueNullFieldError.checkNotNull( + index, r'GAccountFieldsData_identity', 'index'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, r'GAccountFieldsData_identity', 'isMember'), + lastChangeOn: BuiltValueNullFieldError.checkNotNull( + lastChangeOn, r'GAccountFieldsData_identity', 'lastChangeOn'), + linkedAccount: linkedAccount.build(), + linkedAccountAggregate: linkedAccountAggregate.build(), + status: status, + membershipHistory: membershipHistory.build(), + membershipHistoryAggregate: membershipHistoryAggregate.build(), + name: BuiltValueNullFieldError.checkNotNull( + name, r'GAccountFieldsData_identity', 'name'), + ownerKeyChange: ownerKeyChange.build(), + ownerKeyChangeAggregate: ownerKeyChangeAggregate.build(), + smith: _smith?.build(), + udHistory: _udHistory?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'certIssued'; + certIssued.build(); + _$failedField = 'certIssuedAggregate'; + certIssuedAggregate.build(); + _$failedField = 'certReceived'; + certReceived.build(); + _$failedField = 'certReceivedAggregate'; + certReceivedAggregate.build(); + + _$failedField = 'linkedAccount'; + linkedAccount.build(); + _$failedField = 'linkedAccountAggregate'; + linkedAccountAggregate.build(); + + _$failedField = 'membershipHistory'; + membershipHistory.build(); + _$failedField = 'membershipHistoryAggregate'; + membershipHistoryAggregate.build(); + + _$failedField = 'ownerKeyChange'; + ownerKeyChange.build(); + _$failedField = 'ownerKeyChangeAggregate'; + ownerKeyChangeAggregate.build(); + _$failedField = 'smith'; + _smith?.build(); + _$failedField = 'udHistory'; + _udHistory?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountFieldsData_identity', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_certIssued + extends GAccountFieldsData_identity_certIssued { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final GAccountFieldsData_identity_certIssued_issuer? issuer; + @override + final String? receiverId; + @override + final GAccountFieldsData_identity_certIssued_receiver? receiver; + @override + final int createdOn; + @override + final int expireOn; + @override + final bool isActive; + @override + final int updatedOn; + + factory _$GAccountFieldsData_identity_certIssued( + [void Function(GAccountFieldsData_identity_certIssuedBuilder)? + updates]) => + (new GAccountFieldsData_identity_certIssuedBuilder()..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_certIssued._( + {required this.G__typename, + required this.id, + this.issuerId, + this.issuer, + this.receiverId, + this.receiver, + required this.createdOn, + required this.expireOn, + required this.isActive, + required this.updatedOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountFieldsData_identity_certIssued', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_certIssued', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountFieldsData_identity_certIssued', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + expireOn, r'GAccountFieldsData_identity_certIssued', 'expireOn'); + BuiltValueNullFieldError.checkNotNull( + isActive, r'GAccountFieldsData_identity_certIssued', 'isActive'); + BuiltValueNullFieldError.checkNotNull( + updatedOn, r'GAccountFieldsData_identity_certIssued', 'updatedOn'); + } + + @override + GAccountFieldsData_identity_certIssued rebuild( + void Function(GAccountFieldsData_identity_certIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_certIssuedBuilder toBuilder() => + new GAccountFieldsData_identity_certIssuedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity_certIssued && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + issuer == other.issuer && + receiverId == other.receiverId && + receiver == other.receiver && + createdOn == other.createdOn && + expireOn == other.expireOn && + isActive == other.isActive && + updatedOn == other.updatedOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, issuer.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, receiver.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, updatedOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_certIssued') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('issuer', issuer) + ..add('receiverId', receiverId) + ..add('receiver', receiver) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('isActive', isActive) + ..add('updatedOn', updatedOn)) + .toString(); + } +} + +class GAccountFieldsData_identity_certIssuedBuilder + implements + Builder<GAccountFieldsData_identity_certIssued, + GAccountFieldsData_identity_certIssuedBuilder> { + _$GAccountFieldsData_identity_certIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + GAccountFieldsData_identity_certIssued_issuerBuilder? _issuer; + GAccountFieldsData_identity_certIssued_issuerBuilder get issuer => + _$this._issuer ??= + new GAccountFieldsData_identity_certIssued_issuerBuilder(); + set issuer(GAccountFieldsData_identity_certIssued_issuerBuilder? issuer) => + _$this._issuer = issuer; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + GAccountFieldsData_identity_certIssued_receiverBuilder? _receiver; + GAccountFieldsData_identity_certIssued_receiverBuilder get receiver => + _$this._receiver ??= + new GAccountFieldsData_identity_certIssued_receiverBuilder(); + set receiver( + GAccountFieldsData_identity_certIssued_receiverBuilder? receiver) => + _$this._receiver = receiver; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + int? _updatedOn; + int? get updatedOn => _$this._updatedOn; + set updatedOn(int? updatedOn) => _$this._updatedOn = updatedOn; + + GAccountFieldsData_identity_certIssuedBuilder() { + GAccountFieldsData_identity_certIssued._initializeBuilder(this); + } + + GAccountFieldsData_identity_certIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _issuer = $v.issuer?.toBuilder(); + _receiverId = $v.receiverId; + _receiver = $v.receiver?.toBuilder(); + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _isActive = $v.isActive; + _updatedOn = $v.updatedOn; + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_identity_certIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity_certIssued; + } + + @override + void update( + void Function(GAccountFieldsData_identity_certIssuedBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_certIssued build() => _build(); + + _$GAccountFieldsData_identity_certIssued _build() { + _$GAccountFieldsData_identity_certIssued _$result; + try { + _$result = _$v ?? + new _$GAccountFieldsData_identity_certIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_certIssued', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_certIssued', 'id'), + issuerId: issuerId, + issuer: _issuer?.build(), + receiverId: receiverId, + receiver: _receiver?.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountFieldsData_identity_certIssued', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GAccountFieldsData_identity_certIssued', 'expireOn'), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GAccountFieldsData_identity_certIssued', 'isActive'), + updatedOn: BuiltValueNullFieldError.checkNotNull(updatedOn, + r'GAccountFieldsData_identity_certIssued', 'updatedOn')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'issuer'; + _issuer?.build(); + + _$failedField = 'receiver'; + _receiver?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountFieldsData_identity_certIssued', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_certIssued_issuer + extends GAccountFieldsData_identity_certIssued_issuer { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountFieldsData_identity_certIssued_issuer( + [void Function(GAccountFieldsData_identity_certIssued_issuerBuilder)? + updates]) => + (new GAccountFieldsData_identity_certIssued_issuerBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_certIssued_issuer._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_certIssued_issuer', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_certIssued_issuer', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GAccountFieldsData_identity_certIssued_issuer', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GAccountFieldsData_identity_certIssued_issuer', 'name'); + } + + @override + GAccountFieldsData_identity_certIssued_issuer rebuild( + void Function(GAccountFieldsData_identity_certIssued_issuerBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_certIssued_issuerBuilder toBuilder() => + new GAccountFieldsData_identity_certIssued_issuerBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity_certIssued_issuer && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_certIssued_issuer') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountFieldsData_identity_certIssued_issuerBuilder + implements + Builder<GAccountFieldsData_identity_certIssued_issuer, + GAccountFieldsData_identity_certIssued_issuerBuilder> { + _$GAccountFieldsData_identity_certIssued_issuer? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountFieldsData_identity_certIssued_issuerBuilder() { + GAccountFieldsData_identity_certIssued_issuer._initializeBuilder(this); + } + + GAccountFieldsData_identity_certIssued_issuerBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_identity_certIssued_issuer other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity_certIssued_issuer; + } + + @override + void update( + void Function(GAccountFieldsData_identity_certIssued_issuerBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_certIssued_issuer build() => _build(); + + _$GAccountFieldsData_identity_certIssued_issuer _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_identity_certIssued_issuer._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_certIssued_issuer', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_certIssued_issuer', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull(isMember, + r'GAccountFieldsData_identity_certIssued_issuer', 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull(name, + r'GAccountFieldsData_identity_certIssued_issuer', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_certIssued_receiver + extends GAccountFieldsData_identity_certIssued_receiver { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountFieldsData_identity_certIssued_receiver( + [void Function( + GAccountFieldsData_identity_certIssued_receiverBuilder)? + updates]) => + (new GAccountFieldsData_identity_certIssued_receiverBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_certIssued_receiver._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_certIssued_receiver', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_certIssued_receiver', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GAccountFieldsData_identity_certIssued_receiver', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GAccountFieldsData_identity_certIssued_receiver', 'name'); + } + + @override + GAccountFieldsData_identity_certIssued_receiver rebuild( + void Function(GAccountFieldsData_identity_certIssued_receiverBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_certIssued_receiverBuilder toBuilder() => + new GAccountFieldsData_identity_certIssued_receiverBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity_certIssued_receiver && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_certIssued_receiver') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountFieldsData_identity_certIssued_receiverBuilder + implements + Builder<GAccountFieldsData_identity_certIssued_receiver, + GAccountFieldsData_identity_certIssued_receiverBuilder> { + _$GAccountFieldsData_identity_certIssued_receiver? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountFieldsData_identity_certIssued_receiverBuilder() { + GAccountFieldsData_identity_certIssued_receiver._initializeBuilder(this); + } + + GAccountFieldsData_identity_certIssued_receiverBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_identity_certIssued_receiver other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity_certIssued_receiver; + } + + @override + void update( + void Function(GAccountFieldsData_identity_certIssued_receiverBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_certIssued_receiver build() => _build(); + + _$GAccountFieldsData_identity_certIssued_receiver _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_identity_certIssued_receiver._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_certIssued_receiver', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_certIssued_receiver', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull(isMember, + r'GAccountFieldsData_identity_certIssued_receiver', 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull(name, + r'GAccountFieldsData_identity_certIssued_receiver', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_certIssuedAggregate + extends GAccountFieldsData_identity_certIssuedAggregate { + @override + final String G__typename; + @override + final GAccountFieldsData_identity_certIssuedAggregate_aggregate? aggregate; + + factory _$GAccountFieldsData_identity_certIssuedAggregate( + [void Function( + GAccountFieldsData_identity_certIssuedAggregateBuilder)? + updates]) => + (new GAccountFieldsData_identity_certIssuedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_certIssuedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_certIssuedAggregate', 'G__typename'); + } + + @override + GAccountFieldsData_identity_certIssuedAggregate rebuild( + void Function(GAccountFieldsData_identity_certIssuedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_certIssuedAggregateBuilder toBuilder() => + new GAccountFieldsData_identity_certIssuedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity_certIssuedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_certIssuedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountFieldsData_identity_certIssuedAggregateBuilder + implements + Builder<GAccountFieldsData_identity_certIssuedAggregate, + GAccountFieldsData_identity_certIssuedAggregateBuilder> { + _$GAccountFieldsData_identity_certIssuedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountFieldsData_identity_certIssuedAggregate_aggregateBuilder? _aggregate; + GAccountFieldsData_identity_certIssuedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountFieldsData_identity_certIssuedAggregate_aggregateBuilder(); + set aggregate( + GAccountFieldsData_identity_certIssuedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountFieldsData_identity_certIssuedAggregateBuilder() { + GAccountFieldsData_identity_certIssuedAggregate._initializeBuilder(this); + } + + GAccountFieldsData_identity_certIssuedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_identity_certIssuedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity_certIssuedAggregate; + } + + @override + void update( + void Function(GAccountFieldsData_identity_certIssuedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_certIssuedAggregate build() => _build(); + + _$GAccountFieldsData_identity_certIssuedAggregate _build() { + _$GAccountFieldsData_identity_certIssuedAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountFieldsData_identity_certIssuedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_certIssuedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountFieldsData_identity_certIssuedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_certIssuedAggregate_aggregate + extends GAccountFieldsData_identity_certIssuedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountFieldsData_identity_certIssuedAggregate_aggregate( + [void Function( + GAccountFieldsData_identity_certIssuedAggregate_aggregateBuilder)? + updates]) => + (new GAccountFieldsData_identity_certIssuedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_certIssuedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_certIssuedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull(count, + r'GAccountFieldsData_identity_certIssuedAggregate_aggregate', 'count'); + } + + @override + GAccountFieldsData_identity_certIssuedAggregate_aggregate rebuild( + void Function( + GAccountFieldsData_identity_certIssuedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_certIssuedAggregate_aggregateBuilder + toBuilder() => + new GAccountFieldsData_identity_certIssuedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity_certIssuedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_certIssuedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountFieldsData_identity_certIssuedAggregate_aggregateBuilder + implements + Builder<GAccountFieldsData_identity_certIssuedAggregate_aggregate, + GAccountFieldsData_identity_certIssuedAggregate_aggregateBuilder> { + _$GAccountFieldsData_identity_certIssuedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountFieldsData_identity_certIssuedAggregate_aggregateBuilder() { + GAccountFieldsData_identity_certIssuedAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountFieldsData_identity_certIssuedAggregate_aggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountFieldsData_identity_certIssuedAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity_certIssuedAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountFieldsData_identity_certIssuedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_certIssuedAggregate_aggregate build() => _build(); + + _$GAccountFieldsData_identity_certIssuedAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_identity_certIssuedAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_certIssuedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountFieldsData_identity_certIssuedAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_certReceived + extends GAccountFieldsData_identity_certReceived { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final GAccountFieldsData_identity_certReceived_issuer? issuer; + @override + final String? receiverId; + @override + final GAccountFieldsData_identity_certReceived_receiver? receiver; + @override + final int createdOn; + @override + final int expireOn; + @override + final bool isActive; + @override + final int updatedOn; + + factory _$GAccountFieldsData_identity_certReceived( + [void Function(GAccountFieldsData_identity_certReceivedBuilder)? + updates]) => + (new GAccountFieldsData_identity_certReceivedBuilder()..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_certReceived._( + {required this.G__typename, + required this.id, + this.issuerId, + this.issuer, + this.receiverId, + this.receiver, + required this.createdOn, + required this.expireOn, + required this.isActive, + required this.updatedOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_certReceived', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_certReceived', 'id'); + BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountFieldsData_identity_certReceived', 'createdOn'); + BuiltValueNullFieldError.checkNotNull( + expireOn, r'GAccountFieldsData_identity_certReceived', 'expireOn'); + BuiltValueNullFieldError.checkNotNull( + isActive, r'GAccountFieldsData_identity_certReceived', 'isActive'); + BuiltValueNullFieldError.checkNotNull( + updatedOn, r'GAccountFieldsData_identity_certReceived', 'updatedOn'); + } + + @override + GAccountFieldsData_identity_certReceived rebuild( + void Function(GAccountFieldsData_identity_certReceivedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_certReceivedBuilder toBuilder() => + new GAccountFieldsData_identity_certReceivedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity_certReceived && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + issuer == other.issuer && + receiverId == other.receiverId && + receiver == other.receiver && + createdOn == other.createdOn && + expireOn == other.expireOn && + isActive == other.isActive && + updatedOn == other.updatedOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, issuer.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, receiver.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jc(_$hash, expireOn.hashCode); + _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, updatedOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_certReceived') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('issuer', issuer) + ..add('receiverId', receiverId) + ..add('receiver', receiver) + ..add('createdOn', createdOn) + ..add('expireOn', expireOn) + ..add('isActive', isActive) + ..add('updatedOn', updatedOn)) + .toString(); + } +} + +class GAccountFieldsData_identity_certReceivedBuilder + implements + Builder<GAccountFieldsData_identity_certReceived, + GAccountFieldsData_identity_certReceivedBuilder> { + _$GAccountFieldsData_identity_certReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + GAccountFieldsData_identity_certReceived_issuerBuilder? _issuer; + GAccountFieldsData_identity_certReceived_issuerBuilder get issuer => + _$this._issuer ??= + new GAccountFieldsData_identity_certReceived_issuerBuilder(); + set issuer(GAccountFieldsData_identity_certReceived_issuerBuilder? issuer) => + _$this._issuer = issuer; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + GAccountFieldsData_identity_certReceived_receiverBuilder? _receiver; + GAccountFieldsData_identity_certReceived_receiverBuilder get receiver => + _$this._receiver ??= + new GAccountFieldsData_identity_certReceived_receiverBuilder(); + set receiver( + GAccountFieldsData_identity_certReceived_receiverBuilder? receiver) => + _$this._receiver = receiver; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + int? _expireOn; + int? get expireOn => _$this._expireOn; + set expireOn(int? expireOn) => _$this._expireOn = expireOn; + + bool? _isActive; + bool? get isActive => _$this._isActive; + set isActive(bool? isActive) => _$this._isActive = isActive; + + int? _updatedOn; + int? get updatedOn => _$this._updatedOn; + set updatedOn(int? updatedOn) => _$this._updatedOn = updatedOn; + + GAccountFieldsData_identity_certReceivedBuilder() { + GAccountFieldsData_identity_certReceived._initializeBuilder(this); + } + + GAccountFieldsData_identity_certReceivedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _issuer = $v.issuer?.toBuilder(); + _receiverId = $v.receiverId; + _receiver = $v.receiver?.toBuilder(); + _createdOn = $v.createdOn; + _expireOn = $v.expireOn; + _isActive = $v.isActive; + _updatedOn = $v.updatedOn; + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_identity_certReceived other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity_certReceived; + } + + @override + void update( + void Function(GAccountFieldsData_identity_certReceivedBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_certReceived build() => _build(); + + _$GAccountFieldsData_identity_certReceived _build() { + _$GAccountFieldsData_identity_certReceived _$result; + try { + _$result = _$v ?? + new _$GAccountFieldsData_identity_certReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_certReceived', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_certReceived', 'id'), + issuerId: issuerId, + issuer: _issuer?.build(), + receiverId: receiverId, + receiver: _receiver?.build(), + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, r'GAccountFieldsData_identity_certReceived', 'createdOn'), + expireOn: BuiltValueNullFieldError.checkNotNull( + expireOn, r'GAccountFieldsData_identity_certReceived', 'expireOn'), + isActive: BuiltValueNullFieldError.checkNotNull( + isActive, r'GAccountFieldsData_identity_certReceived', 'isActive'), + updatedOn: BuiltValueNullFieldError.checkNotNull(updatedOn, + r'GAccountFieldsData_identity_certReceived', 'updatedOn')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'issuer'; + _issuer?.build(); + + _$failedField = 'receiver'; + _receiver?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountFieldsData_identity_certReceived', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_certReceived_issuer + extends GAccountFieldsData_identity_certReceived_issuer { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountFieldsData_identity_certReceived_issuer( + [void Function( + GAccountFieldsData_identity_certReceived_issuerBuilder)? + updates]) => + (new GAccountFieldsData_identity_certReceived_issuerBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_certReceived_issuer._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_certReceived_issuer', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_certReceived_issuer', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GAccountFieldsData_identity_certReceived_issuer', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GAccountFieldsData_identity_certReceived_issuer', 'name'); + } + + @override + GAccountFieldsData_identity_certReceived_issuer rebuild( + void Function(GAccountFieldsData_identity_certReceived_issuerBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_certReceived_issuerBuilder toBuilder() => + new GAccountFieldsData_identity_certReceived_issuerBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity_certReceived_issuer && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_certReceived_issuer') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountFieldsData_identity_certReceived_issuerBuilder + implements + Builder<GAccountFieldsData_identity_certReceived_issuer, + GAccountFieldsData_identity_certReceived_issuerBuilder> { + _$GAccountFieldsData_identity_certReceived_issuer? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountFieldsData_identity_certReceived_issuerBuilder() { + GAccountFieldsData_identity_certReceived_issuer._initializeBuilder(this); + } + + GAccountFieldsData_identity_certReceived_issuerBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_identity_certReceived_issuer other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity_certReceived_issuer; + } + + @override + void update( + void Function(GAccountFieldsData_identity_certReceived_issuerBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_certReceived_issuer build() => _build(); + + _$GAccountFieldsData_identity_certReceived_issuer _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_identity_certReceived_issuer._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_certReceived_issuer', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_certReceived_issuer', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull(isMember, + r'GAccountFieldsData_identity_certReceived_issuer', 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull(name, + r'GAccountFieldsData_identity_certReceived_issuer', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_certReceived_receiver + extends GAccountFieldsData_identity_certReceived_receiver { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountFieldsData_identity_certReceived_receiver( + [void Function( + GAccountFieldsData_identity_certReceived_receiverBuilder)? + updates]) => + (new GAccountFieldsData_identity_certReceived_receiverBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_certReceived_receiver._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_certReceived_receiver', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_certReceived_receiver', 'id'); + BuiltValueNullFieldError.checkNotNull(isMember, + r'GAccountFieldsData_identity_certReceived_receiver', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GAccountFieldsData_identity_certReceived_receiver', 'name'); + } + + @override + GAccountFieldsData_identity_certReceived_receiver rebuild( + void Function( + GAccountFieldsData_identity_certReceived_receiverBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_certReceived_receiverBuilder toBuilder() => + new GAccountFieldsData_identity_certReceived_receiverBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity_certReceived_receiver && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_certReceived_receiver') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountFieldsData_identity_certReceived_receiverBuilder + implements + Builder<GAccountFieldsData_identity_certReceived_receiver, + GAccountFieldsData_identity_certReceived_receiverBuilder> { + _$GAccountFieldsData_identity_certReceived_receiver? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountFieldsData_identity_certReceived_receiverBuilder() { + GAccountFieldsData_identity_certReceived_receiver._initializeBuilder(this); + } + + GAccountFieldsData_identity_certReceived_receiverBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_identity_certReceived_receiver other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity_certReceived_receiver; + } + + @override + void update( + void Function(GAccountFieldsData_identity_certReceived_receiverBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_certReceived_receiver build() => _build(); + + _$GAccountFieldsData_identity_certReceived_receiver _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_identity_certReceived_receiver._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_certReceived_receiver', + 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_certReceived_receiver', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, + r'GAccountFieldsData_identity_certReceived_receiver', + 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull(name, + r'GAccountFieldsData_identity_certReceived_receiver', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_certReceivedAggregate + extends GAccountFieldsData_identity_certReceivedAggregate { + @override + final String G__typename; + @override + final GAccountFieldsData_identity_certReceivedAggregate_aggregate? aggregate; + + factory _$GAccountFieldsData_identity_certReceivedAggregate( + [void Function( + GAccountFieldsData_identity_certReceivedAggregateBuilder)? + updates]) => + (new GAccountFieldsData_identity_certReceivedAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_certReceivedAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_certReceivedAggregate', 'G__typename'); + } + + @override + GAccountFieldsData_identity_certReceivedAggregate rebuild( + void Function( + GAccountFieldsData_identity_certReceivedAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_certReceivedAggregateBuilder toBuilder() => + new GAccountFieldsData_identity_certReceivedAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity_certReceivedAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_certReceivedAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountFieldsData_identity_certReceivedAggregateBuilder + implements + Builder<GAccountFieldsData_identity_certReceivedAggregate, + GAccountFieldsData_identity_certReceivedAggregateBuilder> { + _$GAccountFieldsData_identity_certReceivedAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountFieldsData_identity_certReceivedAggregate_aggregateBuilder? + _aggregate; + GAccountFieldsData_identity_certReceivedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountFieldsData_identity_certReceivedAggregate_aggregateBuilder(); + set aggregate( + GAccountFieldsData_identity_certReceivedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountFieldsData_identity_certReceivedAggregateBuilder() { + GAccountFieldsData_identity_certReceivedAggregate._initializeBuilder(this); + } + + GAccountFieldsData_identity_certReceivedAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_identity_certReceivedAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity_certReceivedAggregate; + } + + @override + void update( + void Function(GAccountFieldsData_identity_certReceivedAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_certReceivedAggregate build() => _build(); + + _$GAccountFieldsData_identity_certReceivedAggregate _build() { + _$GAccountFieldsData_identity_certReceivedAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountFieldsData_identity_certReceivedAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_certReceivedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountFieldsData_identity_certReceivedAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_certReceivedAggregate_aggregate + extends GAccountFieldsData_identity_certReceivedAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountFieldsData_identity_certReceivedAggregate_aggregate( + [void Function( + GAccountFieldsData_identity_certReceivedAggregate_aggregateBuilder)? + updates]) => + (new GAccountFieldsData_identity_certReceivedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_certReceivedAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_certReceivedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountFieldsData_identity_certReceivedAggregate_aggregate', + 'count'); + } + + @override + GAccountFieldsData_identity_certReceivedAggregate_aggregate rebuild( + void Function( + GAccountFieldsData_identity_certReceivedAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_certReceivedAggregate_aggregateBuilder + toBuilder() => + new GAccountFieldsData_identity_certReceivedAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountFieldsData_identity_certReceivedAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_certReceivedAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountFieldsData_identity_certReceivedAggregate_aggregateBuilder + implements + Builder<GAccountFieldsData_identity_certReceivedAggregate_aggregate, + GAccountFieldsData_identity_certReceivedAggregate_aggregateBuilder> { + _$GAccountFieldsData_identity_certReceivedAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountFieldsData_identity_certReceivedAggregate_aggregateBuilder() { + GAccountFieldsData_identity_certReceivedAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountFieldsData_identity_certReceivedAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountFieldsData_identity_certReceivedAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = + other as _$GAccountFieldsData_identity_certReceivedAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountFieldsData_identity_certReceivedAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_certReceivedAggregate_aggregate build() => + _build(); + + _$GAccountFieldsData_identity_certReceivedAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_identity_certReceivedAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_certReceivedAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountFieldsData_identity_certReceivedAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_linkedAccount + extends GAccountFieldsData_identity_linkedAccount { + @override + final String G__typename; + @override + final String id; + + factory _$GAccountFieldsData_identity_linkedAccount( + [void Function(GAccountFieldsData_identity_linkedAccountBuilder)? + updates]) => + (new GAccountFieldsData_identity_linkedAccountBuilder()..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_linkedAccount._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_linkedAccount', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_linkedAccount', 'id'); + } + + @override + GAccountFieldsData_identity_linkedAccount rebuild( + void Function(GAccountFieldsData_identity_linkedAccountBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_linkedAccountBuilder toBuilder() => + new GAccountFieldsData_identity_linkedAccountBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity_linkedAccount && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_linkedAccount') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} + +class GAccountFieldsData_identity_linkedAccountBuilder + implements + Builder<GAccountFieldsData_identity_linkedAccount, + GAccountFieldsData_identity_linkedAccountBuilder> { + _$GAccountFieldsData_identity_linkedAccount? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GAccountFieldsData_identity_linkedAccountBuilder() { + GAccountFieldsData_identity_linkedAccount._initializeBuilder(this); + } + + GAccountFieldsData_identity_linkedAccountBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_identity_linkedAccount other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity_linkedAccount; + } + + @override + void update( + void Function(GAccountFieldsData_identity_linkedAccountBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_linkedAccount build() => _build(); + + _$GAccountFieldsData_identity_linkedAccount _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_identity_linkedAccount._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_linkedAccount', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_linkedAccount', 'id')); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_linkedAccountAggregate + extends GAccountFieldsData_identity_linkedAccountAggregate { + @override + final String G__typename; + @override + final GAccountFieldsData_identity_linkedAccountAggregate_aggregate? aggregate; + + factory _$GAccountFieldsData_identity_linkedAccountAggregate( + [void Function( + GAccountFieldsData_identity_linkedAccountAggregateBuilder)? + updates]) => + (new GAccountFieldsData_identity_linkedAccountAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_linkedAccountAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_linkedAccountAggregate', 'G__typename'); + } + + @override + GAccountFieldsData_identity_linkedAccountAggregate rebuild( + void Function( + GAccountFieldsData_identity_linkedAccountAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_linkedAccountAggregateBuilder toBuilder() => + new GAccountFieldsData_identity_linkedAccountAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity_linkedAccountAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_linkedAccountAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountFieldsData_identity_linkedAccountAggregateBuilder + implements + Builder<GAccountFieldsData_identity_linkedAccountAggregate, + GAccountFieldsData_identity_linkedAccountAggregateBuilder> { + _$GAccountFieldsData_identity_linkedAccountAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountFieldsData_identity_linkedAccountAggregate_aggregateBuilder? + _aggregate; + GAccountFieldsData_identity_linkedAccountAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountFieldsData_identity_linkedAccountAggregate_aggregateBuilder(); + set aggregate( + GAccountFieldsData_identity_linkedAccountAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountFieldsData_identity_linkedAccountAggregateBuilder() { + GAccountFieldsData_identity_linkedAccountAggregate._initializeBuilder(this); + } + + GAccountFieldsData_identity_linkedAccountAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_identity_linkedAccountAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity_linkedAccountAggregate; + } + + @override + void update( + void Function(GAccountFieldsData_identity_linkedAccountAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_linkedAccountAggregate build() => _build(); + + _$GAccountFieldsData_identity_linkedAccountAggregate _build() { + _$GAccountFieldsData_identity_linkedAccountAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountFieldsData_identity_linkedAccountAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_linkedAccountAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountFieldsData_identity_linkedAccountAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_linkedAccountAggregate_aggregate + extends GAccountFieldsData_identity_linkedAccountAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountFieldsData_identity_linkedAccountAggregate_aggregate( + [void Function( + GAccountFieldsData_identity_linkedAccountAggregate_aggregateBuilder)? + updates]) => + (new GAccountFieldsData_identity_linkedAccountAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_linkedAccountAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_linkedAccountAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountFieldsData_identity_linkedAccountAggregate_aggregate', + 'count'); + } + + @override + GAccountFieldsData_identity_linkedAccountAggregate_aggregate rebuild( + void Function( + GAccountFieldsData_identity_linkedAccountAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_linkedAccountAggregate_aggregateBuilder + toBuilder() => + new GAccountFieldsData_identity_linkedAccountAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountFieldsData_identity_linkedAccountAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_linkedAccountAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountFieldsData_identity_linkedAccountAggregate_aggregateBuilder + implements + Builder<GAccountFieldsData_identity_linkedAccountAggregate_aggregate, + GAccountFieldsData_identity_linkedAccountAggregate_aggregateBuilder> { + _$GAccountFieldsData_identity_linkedAccountAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountFieldsData_identity_linkedAccountAggregate_aggregateBuilder() { + GAccountFieldsData_identity_linkedAccountAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountFieldsData_identity_linkedAccountAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountFieldsData_identity_linkedAccountAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = + other as _$GAccountFieldsData_identity_linkedAccountAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountFieldsData_identity_linkedAccountAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_linkedAccountAggregate_aggregate build() => + _build(); + + _$GAccountFieldsData_identity_linkedAccountAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_identity_linkedAccountAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_linkedAccountAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountFieldsData_identity_linkedAccountAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_membershipHistory + extends GAccountFieldsData_identity_membershipHistory { + @override + final String G__typename; + @override + final int blockNumber; + @override + final String? eventId; + @override + final _i2.GEventTypeEnum? eventType; + @override + final String id; + @override + final String? identityId; + + factory _$GAccountFieldsData_identity_membershipHistory( + [void Function(GAccountFieldsData_identity_membershipHistoryBuilder)? + updates]) => + (new GAccountFieldsData_identity_membershipHistoryBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_membershipHistory._( + {required this.G__typename, + required this.blockNumber, + this.eventId, + this.eventType, + required this.id, + this.identityId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_membershipHistory', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountFieldsData_identity_membershipHistory', 'blockNumber'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_membershipHistory', 'id'); + } + + @override + GAccountFieldsData_identity_membershipHistory rebuild( + void Function(GAccountFieldsData_identity_membershipHistoryBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_membershipHistoryBuilder toBuilder() => + new GAccountFieldsData_identity_membershipHistoryBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity_membershipHistory && + G__typename == other.G__typename && + blockNumber == other.blockNumber && + eventId == other.eventId && + eventType == other.eventType && + id == other.id && + identityId == other.identityId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, eventId.hashCode); + _$hash = $jc(_$hash, eventType.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_membershipHistory') + ..add('G__typename', G__typename) + ..add('blockNumber', blockNumber) + ..add('eventId', eventId) + ..add('eventType', eventType) + ..add('id', id) + ..add('identityId', identityId)) + .toString(); + } +} + +class GAccountFieldsData_identity_membershipHistoryBuilder + implements + Builder<GAccountFieldsData_identity_membershipHistory, + GAccountFieldsData_identity_membershipHistoryBuilder> { + _$GAccountFieldsData_identity_membershipHistory? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _eventId; + String? get eventId => _$this._eventId; + set eventId(String? eventId) => _$this._eventId = eventId; + + _i2.GEventTypeEnum? _eventType; + _i2.GEventTypeEnum? get eventType => _$this._eventType; + set eventType(_i2.GEventTypeEnum? eventType) => _$this._eventType = eventType; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + GAccountFieldsData_identity_membershipHistoryBuilder() { + GAccountFieldsData_identity_membershipHistory._initializeBuilder(this); + } + + GAccountFieldsData_identity_membershipHistoryBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _blockNumber = $v.blockNumber; + _eventId = $v.eventId; + _eventType = $v.eventType; + _id = $v.id; + _identityId = $v.identityId; + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_identity_membershipHistory other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity_membershipHistory; + } + + @override + void update( + void Function(GAccountFieldsData_identity_membershipHistoryBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_membershipHistory build() => _build(); + + _$GAccountFieldsData_identity_membershipHistory _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_identity_membershipHistory._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_membershipHistory', + 'G__typename'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, + r'GAccountFieldsData_identity_membershipHistory', + 'blockNumber'), + eventId: eventId, + eventType: eventType, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_membershipHistory', 'id'), + identityId: identityId); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_membershipHistoryAggregate + extends GAccountFieldsData_identity_membershipHistoryAggregate { + @override + final String G__typename; + @override + final GAccountFieldsData_identity_membershipHistoryAggregate_aggregate? + aggregate; + + factory _$GAccountFieldsData_identity_membershipHistoryAggregate( + [void Function( + GAccountFieldsData_identity_membershipHistoryAggregateBuilder)? + updates]) => + (new GAccountFieldsData_identity_membershipHistoryAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_membershipHistoryAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_membershipHistoryAggregate', + 'G__typename'); + } + + @override + GAccountFieldsData_identity_membershipHistoryAggregate rebuild( + void Function( + GAccountFieldsData_identity_membershipHistoryAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_membershipHistoryAggregateBuilder toBuilder() => + new GAccountFieldsData_identity_membershipHistoryAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity_membershipHistoryAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_membershipHistoryAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountFieldsData_identity_membershipHistoryAggregateBuilder + implements + Builder<GAccountFieldsData_identity_membershipHistoryAggregate, + GAccountFieldsData_identity_membershipHistoryAggregateBuilder> { + _$GAccountFieldsData_identity_membershipHistoryAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountFieldsData_identity_membershipHistoryAggregate_aggregateBuilder? + _aggregate; + GAccountFieldsData_identity_membershipHistoryAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountFieldsData_identity_membershipHistoryAggregate_aggregateBuilder(); + set aggregate( + GAccountFieldsData_identity_membershipHistoryAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountFieldsData_identity_membershipHistoryAggregateBuilder() { + GAccountFieldsData_identity_membershipHistoryAggregate._initializeBuilder( + this); + } + + GAccountFieldsData_identity_membershipHistoryAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_identity_membershipHistoryAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity_membershipHistoryAggregate; + } + + @override + void update( + void Function( + GAccountFieldsData_identity_membershipHistoryAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_membershipHistoryAggregate build() => _build(); + + _$GAccountFieldsData_identity_membershipHistoryAggregate _build() { + _$GAccountFieldsData_identity_membershipHistoryAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountFieldsData_identity_membershipHistoryAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_membershipHistoryAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountFieldsData_identity_membershipHistoryAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_membershipHistoryAggregate_aggregate + extends GAccountFieldsData_identity_membershipHistoryAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountFieldsData_identity_membershipHistoryAggregate_aggregate( + [void Function( + GAccountFieldsData_identity_membershipHistoryAggregate_aggregateBuilder)? + updates]) => + (new GAccountFieldsData_identity_membershipHistoryAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_membershipHistoryAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_membershipHistoryAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountFieldsData_identity_membershipHistoryAggregate_aggregate', + 'count'); + } + + @override + GAccountFieldsData_identity_membershipHistoryAggregate_aggregate rebuild( + void Function( + GAccountFieldsData_identity_membershipHistoryAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_membershipHistoryAggregate_aggregateBuilder + toBuilder() => + new GAccountFieldsData_identity_membershipHistoryAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountFieldsData_identity_membershipHistoryAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_membershipHistoryAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountFieldsData_identity_membershipHistoryAggregate_aggregateBuilder + implements + Builder< + GAccountFieldsData_identity_membershipHistoryAggregate_aggregate, + GAccountFieldsData_identity_membershipHistoryAggregate_aggregateBuilder> { + _$GAccountFieldsData_identity_membershipHistoryAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountFieldsData_identity_membershipHistoryAggregate_aggregateBuilder() { + GAccountFieldsData_identity_membershipHistoryAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountFieldsData_identity_membershipHistoryAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountFieldsData_identity_membershipHistoryAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountFieldsData_identity_membershipHistoryAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountFieldsData_identity_membershipHistoryAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_membershipHistoryAggregate_aggregate build() => + _build(); + + _$GAccountFieldsData_identity_membershipHistoryAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_identity_membershipHistoryAggregate_aggregate + ._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_membershipHistoryAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountFieldsData_identity_membershipHistoryAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_ownerKeyChange + extends GAccountFieldsData_identity_ownerKeyChange { + @override + final String G__typename; + @override + final String id; + @override + final int blockNumber; + @override + final String? identityId; + @override + final String? nextId; + @override + final String? previousId; + + factory _$GAccountFieldsData_identity_ownerKeyChange( + [void Function(GAccountFieldsData_identity_ownerKeyChangeBuilder)? + updates]) => + (new GAccountFieldsData_identity_ownerKeyChangeBuilder()..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_ownerKeyChange._( + {required this.G__typename, + required this.id, + required this.blockNumber, + this.identityId, + this.nextId, + this.previousId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_ownerKeyChange', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_ownerKeyChange', 'id'); + BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountFieldsData_identity_ownerKeyChange', 'blockNumber'); + } + + @override + GAccountFieldsData_identity_ownerKeyChange rebuild( + void Function(GAccountFieldsData_identity_ownerKeyChangeBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_ownerKeyChangeBuilder toBuilder() => + new GAccountFieldsData_identity_ownerKeyChangeBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity_ownerKeyChange && + G__typename == other.G__typename && + id == other.id && + blockNumber == other.blockNumber && + identityId == other.identityId && + nextId == other.nextId && + previousId == other.previousId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jc(_$hash, nextId.hashCode); + _$hash = $jc(_$hash, previousId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_ownerKeyChange') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('blockNumber', blockNumber) + ..add('identityId', identityId) + ..add('nextId', nextId) + ..add('previousId', previousId)) + .toString(); + } +} + +class GAccountFieldsData_identity_ownerKeyChangeBuilder + implements + Builder<GAccountFieldsData_identity_ownerKeyChange, + GAccountFieldsData_identity_ownerKeyChangeBuilder> { + _$GAccountFieldsData_identity_ownerKeyChange? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + String? _nextId; + String? get nextId => _$this._nextId; + set nextId(String? nextId) => _$this._nextId = nextId; + + String? _previousId; + String? get previousId => _$this._previousId; + set previousId(String? previousId) => _$this._previousId = previousId; + + GAccountFieldsData_identity_ownerKeyChangeBuilder() { + GAccountFieldsData_identity_ownerKeyChange._initializeBuilder(this); + } + + GAccountFieldsData_identity_ownerKeyChangeBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _blockNumber = $v.blockNumber; + _identityId = $v.identityId; + _nextId = $v.nextId; + _previousId = $v.previousId; + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_identity_ownerKeyChange other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity_ownerKeyChange; + } + + @override + void update( + void Function(GAccountFieldsData_identity_ownerKeyChangeBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_ownerKeyChange build() => _build(); + + _$GAccountFieldsData_identity_ownerKeyChange _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_identity_ownerKeyChange._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_ownerKeyChange', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_ownerKeyChange', 'id'), + blockNumber: BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountFieldsData_identity_ownerKeyChange', 'blockNumber'), + identityId: identityId, + nextId: nextId, + previousId: previousId); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_ownerKeyChangeAggregate + extends GAccountFieldsData_identity_ownerKeyChangeAggregate { + @override + final String G__typename; + @override + final GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate? + aggregate; + + factory _$GAccountFieldsData_identity_ownerKeyChangeAggregate( + [void Function( + GAccountFieldsData_identity_ownerKeyChangeAggregateBuilder)? + updates]) => + (new GAccountFieldsData_identity_ownerKeyChangeAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_ownerKeyChangeAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_ownerKeyChangeAggregate', 'G__typename'); + } + + @override + GAccountFieldsData_identity_ownerKeyChangeAggregate rebuild( + void Function( + GAccountFieldsData_identity_ownerKeyChangeAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_ownerKeyChangeAggregateBuilder toBuilder() => + new GAccountFieldsData_identity_ownerKeyChangeAggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity_ownerKeyChangeAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_ownerKeyChangeAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountFieldsData_identity_ownerKeyChangeAggregateBuilder + implements + Builder<GAccountFieldsData_identity_ownerKeyChangeAggregate, + GAccountFieldsData_identity_ownerKeyChangeAggregateBuilder> { + _$GAccountFieldsData_identity_ownerKeyChangeAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateBuilder? + _aggregate; + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateBuilder(); + set aggregate( + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountFieldsData_identity_ownerKeyChangeAggregateBuilder() { + GAccountFieldsData_identity_ownerKeyChangeAggregate._initializeBuilder( + this); + } + + GAccountFieldsData_identity_ownerKeyChangeAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_identity_ownerKeyChangeAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity_ownerKeyChangeAggregate; + } + + @override + void update( + void Function(GAccountFieldsData_identity_ownerKeyChangeAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_ownerKeyChangeAggregate build() => _build(); + + _$GAccountFieldsData_identity_ownerKeyChangeAggregate _build() { + _$GAccountFieldsData_identity_ownerKeyChangeAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountFieldsData_identity_ownerKeyChangeAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_ownerKeyChangeAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountFieldsData_identity_ownerKeyChangeAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate + extends GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate( + [void Function( + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateBuilder)? + updates]) => + (new GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate', + 'count'); + } + + @override + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate rebuild( + void Function( + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateBuilder + toBuilder() => + new GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateBuilder + implements + Builder<GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate, + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateBuilder> { + _$GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateBuilder() { + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate + ._initializeBuilder(this); + } + + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace( + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate build() => + _build(); + + _$GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_smith + extends GAccountFieldsData_identity_smith { + @override + final String G__typename; + @override + final String id; + @override + final int forged; + @override + final int index; + @override + final int? lastChanged; + @override + final int? lastForged; + @override + final BuiltList<GAccountFieldsData_identity_smith_smithCertIssued> + smithCertIssued; + @override + final BuiltList<GAccountFieldsData_identity_smith_smithCertReceived> + smithCertReceived; + + factory _$GAccountFieldsData_identity_smith( + [void Function(GAccountFieldsData_identity_smithBuilder)? updates]) => + (new GAccountFieldsData_identity_smithBuilder()..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_smith._( + {required this.G__typename, + required this.id, + required this.forged, + required this.index, + this.lastChanged, + this.lastForged, + required this.smithCertIssued, + required this.smithCertReceived}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountFieldsData_identity_smith', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_smith', 'id'); + BuiltValueNullFieldError.checkNotNull( + forged, r'GAccountFieldsData_identity_smith', 'forged'); + BuiltValueNullFieldError.checkNotNull( + index, r'GAccountFieldsData_identity_smith', 'index'); + BuiltValueNullFieldError.checkNotNull(smithCertIssued, + r'GAccountFieldsData_identity_smith', 'smithCertIssued'); + BuiltValueNullFieldError.checkNotNull(smithCertReceived, + r'GAccountFieldsData_identity_smith', 'smithCertReceived'); + } + + @override + GAccountFieldsData_identity_smith rebuild( + void Function(GAccountFieldsData_identity_smithBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_smithBuilder toBuilder() => + new GAccountFieldsData_identity_smithBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity_smith && + G__typename == other.G__typename && + id == other.id && + forged == other.forged && + index == other.index && + lastChanged == other.lastChanged && + lastForged == other.lastForged && + smithCertIssued == other.smithCertIssued && + smithCertReceived == other.smithCertReceived; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, forged.hashCode); + _$hash = $jc(_$hash, index.hashCode); + _$hash = $jc(_$hash, lastChanged.hashCode); + _$hash = $jc(_$hash, lastForged.hashCode); + _$hash = $jc(_$hash, smithCertIssued.hashCode); + _$hash = $jc(_$hash, smithCertReceived.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountFieldsData_identity_smith') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('forged', forged) + ..add('index', index) + ..add('lastChanged', lastChanged) + ..add('lastForged', lastForged) + ..add('smithCertIssued', smithCertIssued) + ..add('smithCertReceived', smithCertReceived)) + .toString(); + } +} + +class GAccountFieldsData_identity_smithBuilder + implements + Builder<GAccountFieldsData_identity_smith, + GAccountFieldsData_identity_smithBuilder> { + _$GAccountFieldsData_identity_smith? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _forged; + int? get forged => _$this._forged; + set forged(int? forged) => _$this._forged = forged; + + int? _index; + int? get index => _$this._index; + set index(int? index) => _$this._index = index; + + int? _lastChanged; + int? get lastChanged => _$this._lastChanged; + set lastChanged(int? lastChanged) => _$this._lastChanged = lastChanged; + + int? _lastForged; + int? get lastForged => _$this._lastForged; + set lastForged(int? lastForged) => _$this._lastForged = lastForged; + + ListBuilder<GAccountFieldsData_identity_smith_smithCertIssued>? + _smithCertIssued; + ListBuilder<GAccountFieldsData_identity_smith_smithCertIssued> + get smithCertIssued => _$this._smithCertIssued ??= + new ListBuilder<GAccountFieldsData_identity_smith_smithCertIssued>(); + set smithCertIssued( + ListBuilder<GAccountFieldsData_identity_smith_smithCertIssued>? + smithCertIssued) => + _$this._smithCertIssued = smithCertIssued; + + ListBuilder<GAccountFieldsData_identity_smith_smithCertReceived>? + _smithCertReceived; + ListBuilder<GAccountFieldsData_identity_smith_smithCertReceived> + get smithCertReceived => _$this._smithCertReceived ??= new ListBuilder< + GAccountFieldsData_identity_smith_smithCertReceived>(); + set smithCertReceived( + ListBuilder<GAccountFieldsData_identity_smith_smithCertReceived>? + smithCertReceived) => + _$this._smithCertReceived = smithCertReceived; + + GAccountFieldsData_identity_smithBuilder() { + GAccountFieldsData_identity_smith._initializeBuilder(this); + } + + GAccountFieldsData_identity_smithBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _forged = $v.forged; + _index = $v.index; + _lastChanged = $v.lastChanged; + _lastForged = $v.lastForged; + _smithCertIssued = $v.smithCertIssued.toBuilder(); + _smithCertReceived = $v.smithCertReceived.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_identity_smith other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity_smith; + } + + @override + void update( + void Function(GAccountFieldsData_identity_smithBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_smith build() => _build(); + + _$GAccountFieldsData_identity_smith _build() { + _$GAccountFieldsData_identity_smith _$result; + try { + _$result = _$v ?? + new _$GAccountFieldsData_identity_smith._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_smith', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_smith', 'id'), + forged: BuiltValueNullFieldError.checkNotNull( + forged, r'GAccountFieldsData_identity_smith', 'forged'), + index: BuiltValueNullFieldError.checkNotNull( + index, r'GAccountFieldsData_identity_smith', 'index'), + lastChanged: lastChanged, + lastForged: lastForged, + smithCertIssued: smithCertIssued.build(), + smithCertReceived: smithCertReceived.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'smithCertIssued'; + smithCertIssued.build(); + _$failedField = 'smithCertReceived'; + smithCertReceived.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountFieldsData_identity_smith', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_smith_smithCertIssued + extends GAccountFieldsData_identity_smith_smithCertIssued { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final String? receiverId; + @override + final int createdOn; + + factory _$GAccountFieldsData_identity_smith_smithCertIssued( + [void Function( + GAccountFieldsData_identity_smith_smithCertIssuedBuilder)? + updates]) => + (new GAccountFieldsData_identity_smith_smithCertIssuedBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_smith_smithCertIssued._( + {required this.G__typename, + required this.id, + this.issuerId, + this.receiverId, + required this.createdOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_smith_smithCertIssued', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_smith_smithCertIssued', 'id'); + BuiltValueNullFieldError.checkNotNull(createdOn, + r'GAccountFieldsData_identity_smith_smithCertIssued', 'createdOn'); + } + + @override + GAccountFieldsData_identity_smith_smithCertIssued rebuild( + void Function( + GAccountFieldsData_identity_smith_smithCertIssuedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_smith_smithCertIssuedBuilder toBuilder() => + new GAccountFieldsData_identity_smith_smithCertIssuedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity_smith_smithCertIssued && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + receiverId == other.receiverId && + createdOn == other.createdOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_smith_smithCertIssued') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('receiverId', receiverId) + ..add('createdOn', createdOn)) + .toString(); + } +} + +class GAccountFieldsData_identity_smith_smithCertIssuedBuilder + implements + Builder<GAccountFieldsData_identity_smith_smithCertIssued, + GAccountFieldsData_identity_smith_smithCertIssuedBuilder> { + _$GAccountFieldsData_identity_smith_smithCertIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + GAccountFieldsData_identity_smith_smithCertIssuedBuilder() { + GAccountFieldsData_identity_smith_smithCertIssued._initializeBuilder(this); + } + + GAccountFieldsData_identity_smith_smithCertIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _receiverId = $v.receiverId; + _createdOn = $v.createdOn; + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_identity_smith_smithCertIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity_smith_smithCertIssued; + } + + @override + void update( + void Function(GAccountFieldsData_identity_smith_smithCertIssuedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_smith_smithCertIssued build() => _build(); + + _$GAccountFieldsData_identity_smith_smithCertIssued _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_identity_smith_smithCertIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_smith_smithCertIssued', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_smith_smithCertIssued', 'id'), + issuerId: issuerId, + receiverId: receiverId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GAccountFieldsData_identity_smith_smithCertIssued', + 'createdOn')); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_smith_smithCertReceived + extends GAccountFieldsData_identity_smith_smithCertReceived { + @override + final String G__typename; + @override + final String id; + @override + final String? issuerId; + @override + final String? receiverId; + @override + final int createdOn; + + factory _$GAccountFieldsData_identity_smith_smithCertReceived( + [void Function( + GAccountFieldsData_identity_smith_smithCertReceivedBuilder)? + updates]) => + (new GAccountFieldsData_identity_smith_smithCertReceivedBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_smith_smithCertReceived._( + {required this.G__typename, + required this.id, + this.issuerId, + this.receiverId, + required this.createdOn}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_smith_smithCertReceived', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_smith_smithCertReceived', 'id'); + BuiltValueNullFieldError.checkNotNull(createdOn, + r'GAccountFieldsData_identity_smith_smithCertReceived', 'createdOn'); + } + + @override + GAccountFieldsData_identity_smith_smithCertReceived rebuild( + void Function( + GAccountFieldsData_identity_smith_smithCertReceivedBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_smith_smithCertReceivedBuilder toBuilder() => + new GAccountFieldsData_identity_smith_smithCertReceivedBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity_smith_smithCertReceived && + G__typename == other.G__typename && + id == other.id && + issuerId == other.issuerId && + receiverId == other.receiverId && + createdOn == other.createdOn; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, issuerId.hashCode); + _$hash = $jc(_$hash, receiverId.hashCode); + _$hash = $jc(_$hash, createdOn.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_smith_smithCertReceived') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('issuerId', issuerId) + ..add('receiverId', receiverId) + ..add('createdOn', createdOn)) + .toString(); + } +} + +class GAccountFieldsData_identity_smith_smithCertReceivedBuilder + implements + Builder<GAccountFieldsData_identity_smith_smithCertReceived, + GAccountFieldsData_identity_smith_smithCertReceivedBuilder> { + _$GAccountFieldsData_identity_smith_smithCertReceived? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _issuerId; + String? get issuerId => _$this._issuerId; + set issuerId(String? issuerId) => _$this._issuerId = issuerId; + + String? _receiverId; + String? get receiverId => _$this._receiverId; + set receiverId(String? receiverId) => _$this._receiverId = receiverId; + + int? _createdOn; + int? get createdOn => _$this._createdOn; + set createdOn(int? createdOn) => _$this._createdOn = createdOn; + + GAccountFieldsData_identity_smith_smithCertReceivedBuilder() { + GAccountFieldsData_identity_smith_smithCertReceived._initializeBuilder( + this); + } + + GAccountFieldsData_identity_smith_smithCertReceivedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _issuerId = $v.issuerId; + _receiverId = $v.receiverId; + _createdOn = $v.createdOn; + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_identity_smith_smithCertReceived other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity_smith_smithCertReceived; + } + + @override + void update( + void Function(GAccountFieldsData_identity_smith_smithCertReceivedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_smith_smithCertReceived build() => _build(); + + _$GAccountFieldsData_identity_smith_smithCertReceived _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_identity_smith_smithCertReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_identity_smith_smithCertReceived', + 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull(id, + r'GAccountFieldsData_identity_smith_smithCertReceived', 'id'), + issuerId: issuerId, + receiverId: receiverId, + createdOn: BuiltValueNullFieldError.checkNotNull( + createdOn, + r'GAccountFieldsData_identity_smith_smithCertReceived', + 'createdOn')); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_identity_udHistory + extends GAccountFieldsData_identity_udHistory { + @override + final String G__typename; + @override + final String id; + @override + final int amount; + @override + final _i2.Gtimestamptz timestamp; + + factory _$GAccountFieldsData_identity_udHistory( + [void Function(GAccountFieldsData_identity_udHistoryBuilder)? + updates]) => + (new GAccountFieldsData_identity_udHistoryBuilder()..update(updates)) + ._build(); + + _$GAccountFieldsData_identity_udHistory._( + {required this.G__typename, + required this.id, + required this.amount, + required this.timestamp}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountFieldsData_identity_udHistory', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_udHistory', 'id'); + BuiltValueNullFieldError.checkNotNull( + amount, r'GAccountFieldsData_identity_udHistory', 'amount'); + BuiltValueNullFieldError.checkNotNull( + timestamp, r'GAccountFieldsData_identity_udHistory', 'timestamp'); + } + + @override + GAccountFieldsData_identity_udHistory rebuild( + void Function(GAccountFieldsData_identity_udHistoryBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_identity_udHistoryBuilder toBuilder() => + new GAccountFieldsData_identity_udHistoryBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_identity_udHistory && + G__typename == other.G__typename && + id == other.id && + amount == other.amount && + timestamp == other.timestamp; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_identity_udHistory') + ..add('G__typename', G__typename) + ..add('id', id) + ..add('amount', amount) + ..add('timestamp', timestamp)) + .toString(); + } +} + +class GAccountFieldsData_identity_udHistoryBuilder + implements + Builder<GAccountFieldsData_identity_udHistory, + GAccountFieldsData_identity_udHistoryBuilder> { + _$GAccountFieldsData_identity_udHistory? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + _i2.GtimestamptzBuilder? _timestamp; + _i2.GtimestamptzBuilder get timestamp => + _$this._timestamp ??= new _i2.GtimestamptzBuilder(); + set timestamp(_i2.GtimestamptzBuilder? timestamp) => + _$this._timestamp = timestamp; + + GAccountFieldsData_identity_udHistoryBuilder() { + GAccountFieldsData_identity_udHistory._initializeBuilder(this); + } + + GAccountFieldsData_identity_udHistoryBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _amount = $v.amount; + _timestamp = $v.timestamp.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_identity_udHistory other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_identity_udHistory; + } + + @override + void update( + void Function(GAccountFieldsData_identity_udHistoryBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_identity_udHistory build() => _build(); + + _$GAccountFieldsData_identity_udHistory _build() { + _$GAccountFieldsData_identity_udHistory _$result; + try { + _$result = _$v ?? + new _$GAccountFieldsData_identity_udHistory._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_identity_udHistory', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_identity_udHistory', 'id'), + amount: BuiltValueNullFieldError.checkNotNull( + amount, r'GAccountFieldsData_identity_udHistory', 'amount'), + timestamp: timestamp.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'timestamp'; + timestamp.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountFieldsData_identity_udHistory', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_linkedIdentity + extends GAccountFieldsData_linkedIdentity { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountFieldsData_linkedIdentity( + [void Function(GAccountFieldsData_linkedIdentityBuilder)? updates]) => + (new GAccountFieldsData_linkedIdentityBuilder()..update(updates)) + ._build(); + + _$GAccountFieldsData_linkedIdentity._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountFieldsData_linkedIdentity', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_linkedIdentity', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GAccountFieldsData_linkedIdentity', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GAccountFieldsData_linkedIdentity', 'name'); + } + + @override + GAccountFieldsData_linkedIdentity rebuild( + void Function(GAccountFieldsData_linkedIdentityBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_linkedIdentityBuilder toBuilder() => + new GAccountFieldsData_linkedIdentityBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_linkedIdentity && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountFieldsData_linkedIdentity') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountFieldsData_linkedIdentityBuilder + implements + Builder<GAccountFieldsData_linkedIdentity, + GAccountFieldsData_linkedIdentityBuilder> { + _$GAccountFieldsData_linkedIdentity? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountFieldsData_linkedIdentityBuilder() { + GAccountFieldsData_linkedIdentity._initializeBuilder(this); + } + + GAccountFieldsData_linkedIdentityBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_linkedIdentity other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_linkedIdentity; + } + + @override + void update( + void Function(GAccountFieldsData_linkedIdentityBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_linkedIdentity build() => _build(); + + _$GAccountFieldsData_linkedIdentity _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_linkedIdentity._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_linkedIdentity', 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_linkedIdentity', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, r'GAccountFieldsData_linkedIdentity', 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, r'GAccountFieldsData_linkedIdentity', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_removedIdentities + extends GAccountFieldsData_removedIdentities { + @override + final String G__typename; + @override + final String? accountId; + @override + final String id; + @override + final bool isMember; + @override + final _i2.GIdentityStatusEnum? status; + @override + final String name; + + factory _$GAccountFieldsData_removedIdentities( + [void Function(GAccountFieldsData_removedIdentitiesBuilder)? + updates]) => + (new GAccountFieldsData_removedIdentitiesBuilder()..update(updates)) + ._build(); + + _$GAccountFieldsData_removedIdentities._( + {required this.G__typename, + this.accountId, + required this.id, + required this.isMember, + this.status, + required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountFieldsData_removedIdentities', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_removedIdentities', 'id'); + BuiltValueNullFieldError.checkNotNull( + isMember, r'GAccountFieldsData_removedIdentities', 'isMember'); + BuiltValueNullFieldError.checkNotNull( + name, r'GAccountFieldsData_removedIdentities', 'name'); + } + + @override + GAccountFieldsData_removedIdentities rebuild( + void Function(GAccountFieldsData_removedIdentitiesBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_removedIdentitiesBuilder toBuilder() => + new GAccountFieldsData_removedIdentitiesBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_removedIdentities && + G__typename == other.G__typename && + accountId == other.accountId && + id == other.id && + isMember == other.isMember && + status == other.status && + name == other.name; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isMember.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + @override - final int createdOn; + String toString() { + return (newBuiltValueToStringHelper(r'GAccountFieldsData_removedIdentities') + ..add('G__typename', G__typename) + ..add('accountId', accountId) + ..add('id', id) + ..add('isMember', isMember) + ..add('status', status) + ..add('name', name)) + .toString(); + } +} + +class GAccountFieldsData_removedIdentitiesBuilder + implements + Builder<GAccountFieldsData_removedIdentities, + GAccountFieldsData_removedIdentitiesBuilder> { + _$GAccountFieldsData_removedIdentities? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _isMember; + bool? get isMember => _$this._isMember; + set isMember(bool? isMember) => _$this._isMember = isMember; + + _i2.GIdentityStatusEnum? _status; + _i2.GIdentityStatusEnum? get status => _$this._status; + set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GAccountFieldsData_removedIdentitiesBuilder() { + GAccountFieldsData_removedIdentities._initializeBuilder(this); + } + + GAccountFieldsData_removedIdentitiesBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _accountId = $v.accountId; + _id = $v.id; + _isMember = $v.isMember; + _status = $v.status; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_removedIdentities other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_removedIdentities; + } + + @override + void update( + void Function(GAccountFieldsData_removedIdentitiesBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_removedIdentities build() => _build(); + + _$GAccountFieldsData_removedIdentities _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_removedIdentities._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_removedIdentities', 'G__typename'), + accountId: accountId, + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_removedIdentities', 'id'), + isMember: BuiltValueNullFieldError.checkNotNull( + isMember, r'GAccountFieldsData_removedIdentities', 'isMember'), + status: status, + name: BuiltValueNullFieldError.checkNotNull( + name, r'GAccountFieldsData_removedIdentities', 'name')); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_removedIdentitiesAggregate + extends GAccountFieldsData_removedIdentitiesAggregate { + @override + final String G__typename; + @override + final GAccountFieldsData_removedIdentitiesAggregate_aggregate? aggregate; + + factory _$GAccountFieldsData_removedIdentitiesAggregate( + [void Function(GAccountFieldsData_removedIdentitiesAggregateBuilder)? + updates]) => + (new GAccountFieldsData_removedIdentitiesAggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_removedIdentitiesAggregate._( + {required this.G__typename, this.aggregate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_removedIdentitiesAggregate', 'G__typename'); + } + + @override + GAccountFieldsData_removedIdentitiesAggregate rebuild( + void Function(GAccountFieldsData_removedIdentitiesAggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_removedIdentitiesAggregateBuilder toBuilder() => + new GAccountFieldsData_removedIdentitiesAggregateBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_removedIdentitiesAggregate && + G__typename == other.G__typename && + aggregate == other.aggregate; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_removedIdentitiesAggregate') + ..add('G__typename', G__typename) + ..add('aggregate', aggregate)) + .toString(); + } +} + +class GAccountFieldsData_removedIdentitiesAggregateBuilder + implements + Builder<GAccountFieldsData_removedIdentitiesAggregate, + GAccountFieldsData_removedIdentitiesAggregateBuilder> { + _$GAccountFieldsData_removedIdentitiesAggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + GAccountFieldsData_removedIdentitiesAggregate_aggregateBuilder? _aggregate; + GAccountFieldsData_removedIdentitiesAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountFieldsData_removedIdentitiesAggregate_aggregateBuilder(); + set aggregate( + GAccountFieldsData_removedIdentitiesAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; + + GAccountFieldsData_removedIdentitiesAggregateBuilder() { + GAccountFieldsData_removedIdentitiesAggregate._initializeBuilder(this); + } + + GAccountFieldsData_removedIdentitiesAggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _aggregate = $v.aggregate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_removedIdentitiesAggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_removedIdentitiesAggregate; + } + + @override + void update( + void Function(GAccountFieldsData_removedIdentitiesAggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_removedIdentitiesAggregate build() => _build(); + + _$GAccountFieldsData_removedIdentitiesAggregate _build() { + _$GAccountFieldsData_removedIdentitiesAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountFieldsData_removedIdentitiesAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_removedIdentitiesAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountFieldsData_removedIdentitiesAggregate', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_removedIdentitiesAggregate_aggregate + extends GAccountFieldsData_removedIdentitiesAggregate_aggregate { + @override + final String G__typename; + @override + final int count; + + factory _$GAccountFieldsData_removedIdentitiesAggregate_aggregate( + [void Function( + GAccountFieldsData_removedIdentitiesAggregate_aggregateBuilder)? + updates]) => + (new GAccountFieldsData_removedIdentitiesAggregate_aggregateBuilder() + ..update(updates)) + ._build(); + + _$GAccountFieldsData_removedIdentitiesAggregate_aggregate._( + {required this.G__typename, required this.count}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_removedIdentitiesAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull(count, + r'GAccountFieldsData_removedIdentitiesAggregate_aggregate', 'count'); + } + + @override + GAccountFieldsData_removedIdentitiesAggregate_aggregate rebuild( + void Function( + GAccountFieldsData_removedIdentitiesAggregate_aggregateBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_removedIdentitiesAggregate_aggregateBuilder toBuilder() => + new GAccountFieldsData_removedIdentitiesAggregate_aggregateBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_removedIdentitiesAggregate_aggregate && + G__typename == other.G__typename && + count == other.count; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_removedIdentitiesAggregate_aggregate') + ..add('G__typename', G__typename) + ..add('count', count)) + .toString(); + } +} + +class GAccountFieldsData_removedIdentitiesAggregate_aggregateBuilder + implements + Builder<GAccountFieldsData_removedIdentitiesAggregate_aggregate, + GAccountFieldsData_removedIdentitiesAggregate_aggregateBuilder> { + _$GAccountFieldsData_removedIdentitiesAggregate_aggregate? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + GAccountFieldsData_removedIdentitiesAggregate_aggregateBuilder() { + GAccountFieldsData_removedIdentitiesAggregate_aggregate._initializeBuilder( + this); + } + + GAccountFieldsData_removedIdentitiesAggregate_aggregateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _count = $v.count; + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_removedIdentitiesAggregate_aggregate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_removedIdentitiesAggregate_aggregate; + } + + @override + void update( + void Function( + GAccountFieldsData_removedIdentitiesAggregate_aggregateBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_removedIdentitiesAggregate_aggregate build() => _build(); + + _$GAccountFieldsData_removedIdentitiesAggregate_aggregate _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_removedIdentitiesAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_removedIdentitiesAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountFieldsData_removedIdentitiesAggregate_aggregate', + 'count')); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_transfersIssued + extends GAccountFieldsData_transfersIssued { + @override + final String G__typename; + @override + final int blockNumber; + @override + final _i2.Gtimestamptz timestamp; + @override + final int amount; + @override + final GAccountFieldsData_transfersIssued_to? to; @override - final GAccountsByNameOrPkData_identity_account? account; + final GAccountFieldsData_transfersIssued_from? from; @override - final int index; + final GAccountFieldsData_transfersIssued_comment? comment; - factory _$GAccountsByNameOrPkData_identity( - [void Function(GAccountsByNameOrPkData_identityBuilder)? updates]) => - (new GAccountsByNameOrPkData_identityBuilder()..update(updates))._build(); + factory _$GAccountFieldsData_transfersIssued( + [void Function(GAccountFieldsData_transfersIssuedBuilder)? + updates]) => + (new GAccountFieldsData_transfersIssuedBuilder()..update(updates)) + ._build(); - _$GAccountsByNameOrPkData_identity._( + _$GAccountFieldsData_transfersIssued._( {required this.G__typename, - required this.isMember, - required this.name, - this.accountId, - this.status, - required this.createdOn, - this.account, - required this.index}) + required this.blockNumber, + required this.timestamp, + required this.amount, + this.to, + this.from, + this.comment}) : super._() { BuiltValueNullFieldError.checkNotNull( - G__typename, r'GAccountsByNameOrPkData_identity', 'G__typename'); + G__typename, r'GAccountFieldsData_transfersIssued', 'G__typename'); BuiltValueNullFieldError.checkNotNull( - isMember, r'GAccountsByNameOrPkData_identity', 'isMember'); + blockNumber, r'GAccountFieldsData_transfersIssued', 'blockNumber'); BuiltValueNullFieldError.checkNotNull( - name, r'GAccountsByNameOrPkData_identity', 'name'); + timestamp, r'GAccountFieldsData_transfersIssued', 'timestamp'); + BuiltValueNullFieldError.checkNotNull( + amount, r'GAccountFieldsData_transfersIssued', 'amount'); + } + + @override + GAccountFieldsData_transfersIssued rebuild( + void Function(GAccountFieldsData_transfersIssuedBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_transfersIssuedBuilder toBuilder() => + new GAccountFieldsData_transfersIssuedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_transfersIssued && + G__typename == other.G__typename && + blockNumber == other.blockNumber && + timestamp == other.timestamp && + amount == other.amount && + to == other.to && + from == other.from && + comment == other.comment; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jc(_$hash, to.hashCode); + _$hash = $jc(_$hash, from.hashCode); + _$hash = $jc(_$hash, comment.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountFieldsData_transfersIssued') + ..add('G__typename', G__typename) + ..add('blockNumber', blockNumber) + ..add('timestamp', timestamp) + ..add('amount', amount) + ..add('to', to) + ..add('from', from) + ..add('comment', comment)) + .toString(); + } +} + +class GAccountFieldsData_transfersIssuedBuilder + implements + Builder<GAccountFieldsData_transfersIssued, + GAccountFieldsData_transfersIssuedBuilder> { + _$GAccountFieldsData_transfersIssued? _$v; + + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; + + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + _i2.GtimestamptzBuilder? _timestamp; + _i2.GtimestamptzBuilder get timestamp => + _$this._timestamp ??= new _i2.GtimestamptzBuilder(); + set timestamp(_i2.GtimestamptzBuilder? timestamp) => + _$this._timestamp = timestamp; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + GAccountFieldsData_transfersIssued_toBuilder? _to; + GAccountFieldsData_transfersIssued_toBuilder get to => + _$this._to ??= new GAccountFieldsData_transfersIssued_toBuilder(); + set to(GAccountFieldsData_transfersIssued_toBuilder? to) => _$this._to = to; + + GAccountFieldsData_transfersIssued_fromBuilder? _from; + GAccountFieldsData_transfersIssued_fromBuilder get from => + _$this._from ??= new GAccountFieldsData_transfersIssued_fromBuilder(); + set from(GAccountFieldsData_transfersIssued_fromBuilder? from) => + _$this._from = from; + + GAccountFieldsData_transfersIssued_commentBuilder? _comment; + GAccountFieldsData_transfersIssued_commentBuilder get comment => + _$this._comment ??= + new GAccountFieldsData_transfersIssued_commentBuilder(); + set comment(GAccountFieldsData_transfersIssued_commentBuilder? comment) => + _$this._comment = comment; + + GAccountFieldsData_transfersIssuedBuilder() { + GAccountFieldsData_transfersIssued._initializeBuilder(this); + } + + GAccountFieldsData_transfersIssuedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _blockNumber = $v.blockNumber; + _timestamp = $v.timestamp.toBuilder(); + _amount = $v.amount; + _to = $v.to?.toBuilder(); + _from = $v.from?.toBuilder(); + _comment = $v.comment?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsData_transfersIssued other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_transfersIssued; + } + + @override + void update( + void Function(GAccountFieldsData_transfersIssuedBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_transfersIssued build() => _build(); + + _$GAccountFieldsData_transfersIssued _build() { + _$GAccountFieldsData_transfersIssued _$result; + try { + _$result = _$v ?? + new _$GAccountFieldsData_transfersIssued._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_transfersIssued', 'G__typename'), + blockNumber: BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountFieldsData_transfersIssued', 'blockNumber'), + timestamp: timestamp.build(), + amount: BuiltValueNullFieldError.checkNotNull( + amount, r'GAccountFieldsData_transfersIssued', 'amount'), + to: _to?.build(), + from: _from?.build(), + comment: _comment?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'timestamp'; + timestamp.build(); + + _$failedField = 'to'; + _to?.build(); + _$failedField = 'from'; + _from?.build(); + _$failedField = 'comment'; + _comment?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountFieldsData_transfersIssued', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_transfersIssued_to + extends GAccountFieldsData_transfersIssued_to { + @override + final String G__typename; + @override + final String id; + + factory _$GAccountFieldsData_transfersIssued_to( + [void Function(GAccountFieldsData_transfersIssued_toBuilder)? + updates]) => + (new GAccountFieldsData_transfersIssued_toBuilder()..update(updates)) + ._build(); + + _$GAccountFieldsData_transfersIssued_to._( + {required this.G__typename, required this.id}) + : super._() { BuiltValueNullFieldError.checkNotNull( - createdOn, r'GAccountsByNameOrPkData_identity', 'createdOn'); + G__typename, r'GAccountFieldsData_transfersIssued_to', 'G__typename'); BuiltValueNullFieldError.checkNotNull( - index, r'GAccountsByNameOrPkData_identity', 'index'); + id, r'GAccountFieldsData_transfersIssued_to', 'id'); } @override - GAccountsByNameOrPkData_identity rebuild( - void Function(GAccountsByNameOrPkData_identityBuilder) updates) => + GAccountFieldsData_transfersIssued_to rebuild( + void Function(GAccountFieldsData_transfersIssued_toBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - GAccountsByNameOrPkData_identityBuilder toBuilder() => - new GAccountsByNameOrPkData_identityBuilder()..replace(this); + GAccountFieldsData_transfersIssued_toBuilder toBuilder() => + new GAccountFieldsData_transfersIssued_toBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GAccountsByNameOrPkData_identity && + return other is GAccountFieldsData_transfersIssued_to && G__typename == other.G__typename && - isMember == other.isMember && - name == other.name && - accountId == other.accountId && - status == other.status && - createdOn == other.createdOn && - account == other.account && - index == other.index; + id == other.id; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, G__typename.hashCode); - _$hash = $jc(_$hash, isMember.hashCode); - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, accountId.hashCode); - _$hash = $jc(_$hash, status.hashCode); - _$hash = $jc(_$hash, createdOn.hashCode); - _$hash = $jc(_$hash, account.hashCode); - _$hash = $jc(_$hash, index.hashCode); + _$hash = $jc(_$hash, id.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'GAccountsByNameOrPkData_identity') + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_transfersIssued_to') ..add('G__typename', G__typename) - ..add('isMember', isMember) - ..add('name', name) - ..add('accountId', accountId) - ..add('status', status) - ..add('createdOn', createdOn) - ..add('account', account) - ..add('index', index)) + ..add('id', id)) .toString(); } } -class GAccountsByNameOrPkData_identityBuilder +class GAccountFieldsData_transfersIssued_toBuilder implements - Builder<GAccountsByNameOrPkData_identity, - GAccountsByNameOrPkData_identityBuilder> { - _$GAccountsByNameOrPkData_identity? _$v; + Builder<GAccountFieldsData_transfersIssued_to, + GAccountFieldsData_transfersIssued_toBuilder> { + _$GAccountFieldsData_transfersIssued_to? _$v; String? _G__typename; String? get G__typename => _$this._G__typename; set G__typename(String? G__typename) => _$this._G__typename = G__typename; - bool? _isMember; - bool? get isMember => _$this._isMember; - set isMember(bool? isMember) => _$this._isMember = isMember; + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; - String? _name; - String? get name => _$this._name; - set name(String? name) => _$this._name = name; + GAccountFieldsData_transfersIssued_toBuilder() { + GAccountFieldsData_transfersIssued_to._initializeBuilder(this); + } - String? _accountId; - String? get accountId => _$this._accountId; - set accountId(String? accountId) => _$this._accountId = accountId; + GAccountFieldsData_transfersIssued_toBuilder get _$this { + final $v = _$v; + if ($v != null) { + _G__typename = $v.G__typename; + _id = $v.id; + _$v = null; + } + return this; + } - _i2.GIdentityStatusEnum? _status; - _i2.GIdentityStatusEnum? get status => _$this._status; - set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; + @override + void replace(GAccountFieldsData_transfersIssued_to other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsData_transfersIssued_to; + } + + @override + void update( + void Function(GAccountFieldsData_transfersIssued_toBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsData_transfersIssued_to build() => _build(); + + _$GAccountFieldsData_transfersIssued_to _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_transfersIssued_to._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_transfersIssued_to', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_transfersIssued_to', 'id')); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsData_transfersIssued_from + extends GAccountFieldsData_transfersIssued_from { + @override + final String G__typename; + @override + final String id; + + factory _$GAccountFieldsData_transfersIssued_from( + [void Function(GAccountFieldsData_transfersIssued_fromBuilder)? + updates]) => + (new GAccountFieldsData_transfersIssued_fromBuilder()..update(updates)) + ._build(); + + _$GAccountFieldsData_transfersIssued_from._( + {required this.G__typename, required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GAccountFieldsData_transfersIssued_from', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_transfersIssued_from', 'id'); + } + + @override + GAccountFieldsData_transfersIssued_from rebuild( + void Function(GAccountFieldsData_transfersIssued_fromBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsData_transfersIssued_fromBuilder toBuilder() => + new GAccountFieldsData_transfersIssued_fromBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsData_transfersIssued_from && + G__typename == other.G__typename && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, G__typename.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_transfersIssued_from') + ..add('G__typename', G__typename) + ..add('id', id)) + .toString(); + } +} - int? _createdOn; - int? get createdOn => _$this._createdOn; - set createdOn(int? createdOn) => _$this._createdOn = createdOn; +class GAccountFieldsData_transfersIssued_fromBuilder + implements + Builder<GAccountFieldsData_transfersIssued_from, + GAccountFieldsData_transfersIssued_fromBuilder> { + _$GAccountFieldsData_transfersIssued_from? _$v; - GAccountsByNameOrPkData_identity_accountBuilder? _account; - GAccountsByNameOrPkData_identity_accountBuilder get account => - _$this._account ??= new GAccountsByNameOrPkData_identity_accountBuilder(); - set account(GAccountsByNameOrPkData_identity_accountBuilder? account) => - _$this._account = account; + String? _G__typename; + String? get G__typename => _$this._G__typename; + set G__typename(String? G__typename) => _$this._G__typename = G__typename; - int? _index; - int? get index => _$this._index; - set index(int? index) => _$this._index = index; + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; - GAccountsByNameOrPkData_identityBuilder() { - GAccountsByNameOrPkData_identity._initializeBuilder(this); + GAccountFieldsData_transfersIssued_fromBuilder() { + GAccountFieldsData_transfersIssued_from._initializeBuilder(this); } - GAccountsByNameOrPkData_identityBuilder get _$this { + GAccountFieldsData_transfersIssued_fromBuilder get _$this { final $v = _$v; if ($v != null) { _G__typename = $v.G__typename; - _isMember = $v.isMember; - _name = $v.name; - _accountId = $v.accountId; - _status = $v.status; - _createdOn = $v.createdOn; - _account = $v.account?.toBuilder(); - _index = $v.index; + _id = $v.id; _$v = null; } return this; } @override - void replace(GAccountsByNameOrPkData_identity other) { + void replace(GAccountFieldsData_transfersIssued_from other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GAccountsByNameOrPkData_identity; + _$v = other as _$GAccountFieldsData_transfersIssued_from; } @override - void update(void Function(GAccountsByNameOrPkData_identityBuilder)? updates) { + void update( + void Function(GAccountFieldsData_transfersIssued_fromBuilder)? updates) { if (updates != null) updates(this); } @override - GAccountsByNameOrPkData_identity build() => _build(); + GAccountFieldsData_transfersIssued_from build() => _build(); - _$GAccountsByNameOrPkData_identity _build() { - _$GAccountsByNameOrPkData_identity _$result; - try { - _$result = _$v ?? - new _$GAccountsByNameOrPkData_identity._( - G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, - r'GAccountsByNameOrPkData_identity', 'G__typename'), - isMember: BuiltValueNullFieldError.checkNotNull( - isMember, r'GAccountsByNameOrPkData_identity', 'isMember'), - name: BuiltValueNullFieldError.checkNotNull( - name, r'GAccountsByNameOrPkData_identity', 'name'), - accountId: accountId, - status: status, - createdOn: BuiltValueNullFieldError.checkNotNull( - createdOn, r'GAccountsByNameOrPkData_identity', 'createdOn'), - account: _account?.build(), - index: BuiltValueNullFieldError.checkNotNull( - index, r'GAccountsByNameOrPkData_identity', 'index')); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'account'; - _account?.build(); - } catch (e) { - throw new BuiltValueNestedFieldError( - r'GAccountsByNameOrPkData_identity', _$failedField, e.toString()); - } - rethrow; - } + _$GAccountFieldsData_transfersIssued_from _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_transfersIssued_from._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_transfersIssued_from', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_transfersIssued_from', 'id')); replace(_$result); return _$result; } } -class _$GAccountsByNameOrPkData_identity_account - extends GAccountsByNameOrPkData_identity_account { +class _$GAccountFieldsData_transfersIssued_comment + extends GAccountFieldsData_transfersIssued_comment { @override final String G__typename; @override - final bool isActive; + final String remark; - factory _$GAccountsByNameOrPkData_identity_account( - [void Function(GAccountsByNameOrPkData_identity_accountBuilder)? + factory _$GAccountFieldsData_transfersIssued_comment( + [void Function(GAccountFieldsData_transfersIssued_commentBuilder)? updates]) => - (new GAccountsByNameOrPkData_identity_accountBuilder()..update(updates)) + (new GAccountFieldsData_transfersIssued_commentBuilder()..update(updates)) ._build(); - _$GAccountsByNameOrPkData_identity_account._( - {required this.G__typename, required this.isActive}) + _$GAccountFieldsData_transfersIssued_comment._( + {required this.G__typename, required this.remark}) : super._() { BuiltValueNullFieldError.checkNotNull(G__typename, - r'GAccountsByNameOrPkData_identity_account', 'G__typename'); + r'GAccountFieldsData_transfersIssued_comment', 'G__typename'); BuiltValueNullFieldError.checkNotNull( - isActive, r'GAccountsByNameOrPkData_identity_account', 'isActive'); + remark, r'GAccountFieldsData_transfersIssued_comment', 'remark'); } @override - GAccountsByNameOrPkData_identity_account rebuild( - void Function(GAccountsByNameOrPkData_identity_accountBuilder) + GAccountFieldsData_transfersIssued_comment rebuild( + void Function(GAccountFieldsData_transfersIssued_commentBuilder) updates) => (toBuilder()..update(updates)).build(); @override - GAccountsByNameOrPkData_identity_accountBuilder toBuilder() => - new GAccountsByNameOrPkData_identity_accountBuilder()..replace(this); + GAccountFieldsData_transfersIssued_commentBuilder toBuilder() => + new GAccountFieldsData_transfersIssued_commentBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GAccountsByNameOrPkData_identity_account && + return other is GAccountFieldsData_transfersIssued_comment && G__typename == other.G__typename && - isActive == other.isActive; + remark == other.remark; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, G__typename.hashCode); - _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, remark.hashCode); _$hash = $jf(_$hash); return _$hash; } @@ -1781,179 +79467,196 @@ class _$GAccountsByNameOrPkData_identity_account @override String toString() { return (newBuiltValueToStringHelper( - r'GAccountsByNameOrPkData_identity_account') + r'GAccountFieldsData_transfersIssued_comment') ..add('G__typename', G__typename) - ..add('isActive', isActive)) + ..add('remark', remark)) .toString(); } } -class GAccountsByNameOrPkData_identity_accountBuilder +class GAccountFieldsData_transfersIssued_commentBuilder implements - Builder<GAccountsByNameOrPkData_identity_account, - GAccountsByNameOrPkData_identity_accountBuilder> { - _$GAccountsByNameOrPkData_identity_account? _$v; + Builder<GAccountFieldsData_transfersIssued_comment, + GAccountFieldsData_transfersIssued_commentBuilder> { + _$GAccountFieldsData_transfersIssued_comment? _$v; String? _G__typename; String? get G__typename => _$this._G__typename; set G__typename(String? G__typename) => _$this._G__typename = G__typename; - bool? _isActive; - bool? get isActive => _$this._isActive; - set isActive(bool? isActive) => _$this._isActive = isActive; + String? _remark; + String? get remark => _$this._remark; + set remark(String? remark) => _$this._remark = remark; - GAccountsByNameOrPkData_identity_accountBuilder() { - GAccountsByNameOrPkData_identity_account._initializeBuilder(this); + GAccountFieldsData_transfersIssued_commentBuilder() { + GAccountFieldsData_transfersIssued_comment._initializeBuilder(this); } - GAccountsByNameOrPkData_identity_accountBuilder get _$this { + GAccountFieldsData_transfersIssued_commentBuilder get _$this { final $v = _$v; if ($v != null) { _G__typename = $v.G__typename; - _isActive = $v.isActive; + _remark = $v.remark; _$v = null; } return this; } @override - void replace(GAccountsByNameOrPkData_identity_account other) { + void replace(GAccountFieldsData_transfersIssued_comment other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GAccountsByNameOrPkData_identity_account; + _$v = other as _$GAccountFieldsData_transfersIssued_comment; } @override void update( - void Function(GAccountsByNameOrPkData_identity_accountBuilder)? updates) { + void Function(GAccountFieldsData_transfersIssued_commentBuilder)? + updates) { if (updates != null) updates(this); } @override - GAccountsByNameOrPkData_identity_account build() => _build(); + GAccountFieldsData_transfersIssued_comment build() => _build(); - _$GAccountsByNameOrPkData_identity_account _build() { + _$GAccountFieldsData_transfersIssued_comment _build() { final _$result = _$v ?? - new _$GAccountsByNameOrPkData_identity_account._( + new _$GAccountFieldsData_transfersIssued_comment._( G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, - r'GAccountsByNameOrPkData_identity_account', 'G__typename'), - isActive: BuiltValueNullFieldError.checkNotNull(isActive, - r'GAccountsByNameOrPkData_identity_account', 'isActive')); + r'GAccountFieldsData_transfersIssued_comment', 'G__typename'), + remark: BuiltValueNullFieldError.checkNotNull(remark, + r'GAccountFieldsData_transfersIssued_comment', 'remark')); replace(_$result); return _$result; } } -class _$GAccountsByNameData extends GAccountsByNameData { +class _$GAccountFieldsData_transfersIssuedAggregate + extends GAccountFieldsData_transfersIssuedAggregate { @override final String G__typename; @override - final BuiltList<GAccountsByNameData_identity> identity; + final GAccountFieldsData_transfersIssuedAggregate_aggregate? aggregate; - factory _$GAccountsByNameData( - [void Function(GAccountsByNameDataBuilder)? updates]) => - (new GAccountsByNameDataBuilder()..update(updates))._build(); + factory _$GAccountFieldsData_transfersIssuedAggregate( + [void Function(GAccountFieldsData_transfersIssuedAggregateBuilder)? + updates]) => + (new GAccountFieldsData_transfersIssuedAggregateBuilder() + ..update(updates)) + ._build(); - _$GAccountsByNameData._({required this.G__typename, required this.identity}) + _$GAccountFieldsData_transfersIssuedAggregate._( + {required this.G__typename, this.aggregate}) : super._() { - BuiltValueNullFieldError.checkNotNull( - G__typename, r'GAccountsByNameData', 'G__typename'); - BuiltValueNullFieldError.checkNotNull( - identity, r'GAccountsByNameData', 'identity'); + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_transfersIssuedAggregate', 'G__typename'); } @override - GAccountsByNameData rebuild( - void Function(GAccountsByNameDataBuilder) updates) => + GAccountFieldsData_transfersIssuedAggregate rebuild( + void Function(GAccountFieldsData_transfersIssuedAggregateBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - GAccountsByNameDataBuilder toBuilder() => - new GAccountsByNameDataBuilder()..replace(this); + GAccountFieldsData_transfersIssuedAggregateBuilder toBuilder() => + new GAccountFieldsData_transfersIssuedAggregateBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GAccountsByNameData && + return other is GAccountFieldsData_transfersIssuedAggregate && G__typename == other.G__typename && - identity == other.identity; + aggregate == other.aggregate; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, G__typename.hashCode); - _$hash = $jc(_$hash, identity.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'GAccountsByNameData') + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_transfersIssuedAggregate') ..add('G__typename', G__typename) - ..add('identity', identity)) + ..add('aggregate', aggregate)) .toString(); } } -class GAccountsByNameDataBuilder - implements Builder<GAccountsByNameData, GAccountsByNameDataBuilder> { - _$GAccountsByNameData? _$v; +class GAccountFieldsData_transfersIssuedAggregateBuilder + implements + Builder<GAccountFieldsData_transfersIssuedAggregate, + GAccountFieldsData_transfersIssuedAggregateBuilder> { + _$GAccountFieldsData_transfersIssuedAggregate? _$v; String? _G__typename; String? get G__typename => _$this._G__typename; set G__typename(String? G__typename) => _$this._G__typename = G__typename; - ListBuilder<GAccountsByNameData_identity>? _identity; - ListBuilder<GAccountsByNameData_identity> get identity => - _$this._identity ??= new ListBuilder<GAccountsByNameData_identity>(); - set identity(ListBuilder<GAccountsByNameData_identity>? identity) => - _$this._identity = identity; + GAccountFieldsData_transfersIssuedAggregate_aggregateBuilder? _aggregate; + GAccountFieldsData_transfersIssuedAggregate_aggregateBuilder get aggregate => + _$this._aggregate ??= + new GAccountFieldsData_transfersIssuedAggregate_aggregateBuilder(); + set aggregate( + GAccountFieldsData_transfersIssuedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; - GAccountsByNameDataBuilder() { - GAccountsByNameData._initializeBuilder(this); + GAccountFieldsData_transfersIssuedAggregateBuilder() { + GAccountFieldsData_transfersIssuedAggregate._initializeBuilder(this); } - GAccountsByNameDataBuilder get _$this { + GAccountFieldsData_transfersIssuedAggregateBuilder get _$this { final $v = _$v; if ($v != null) { _G__typename = $v.G__typename; - _identity = $v.identity.toBuilder(); + _aggregate = $v.aggregate?.toBuilder(); _$v = null; } return this; } @override - void replace(GAccountsByNameData other) { + void replace(GAccountFieldsData_transfersIssuedAggregate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GAccountsByNameData; + _$v = other as _$GAccountFieldsData_transfersIssuedAggregate; } @override - void update(void Function(GAccountsByNameDataBuilder)? updates) { + void update( + void Function(GAccountFieldsData_transfersIssuedAggregateBuilder)? + updates) { if (updates != null) updates(this); } @override - GAccountsByNameData build() => _build(); + GAccountFieldsData_transfersIssuedAggregate build() => _build(); - _$GAccountsByNameData _build() { - _$GAccountsByNameData _$result; + _$GAccountFieldsData_transfersIssuedAggregate _build() { + _$GAccountFieldsData_transfersIssuedAggregate _$result; try { _$result = _$v ?? - new _$GAccountsByNameData._( + new _$GAccountFieldsData_transfersIssuedAggregate._( G__typename: BuiltValueNullFieldError.checkNotNull( - G__typename, r'GAccountsByNameData', 'G__typename'), - identity: identity.build()); + G__typename, + r'GAccountFieldsData_transfersIssuedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'identity'; - identity.build(); + _$failedField = 'aggregate'; + _aggregate?.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'GAccountsByNameData', _$failedField, e.toString()); + r'GAccountFieldsData_transfersIssuedAggregate', + _$failedField, + e.toString()); } rethrow; } @@ -1962,203 +79665,156 @@ class GAccountsByNameDataBuilder } } -class _$GAccountsByNameData_identity extends GAccountsByNameData_identity { +class _$GAccountFieldsData_transfersIssuedAggregate_aggregate + extends GAccountFieldsData_transfersIssuedAggregate_aggregate { @override final String G__typename; @override - final bool isMember; - @override - final String name; - @override - final String? accountId; - @override - final _i2.GIdentityStatusEnum? status; - @override - final int createdOn; - @override - final GAccountsByNameData_identity_account? account; + final GAccountFieldsData_transfersIssuedAggregate_aggregate_sum? sum; @override - final int index; + final int count; - factory _$GAccountsByNameData_identity( - [void Function(GAccountsByNameData_identityBuilder)? updates]) => - (new GAccountsByNameData_identityBuilder()..update(updates))._build(); + factory _$GAccountFieldsData_transfersIssuedAggregate_aggregate( + [void Function( + GAccountFieldsData_transfersIssuedAggregate_aggregateBuilder)? + updates]) => + (new GAccountFieldsData_transfersIssuedAggregate_aggregateBuilder() + ..update(updates)) + ._build(); - _$GAccountsByNameData_identity._( - {required this.G__typename, - required this.isMember, - required this.name, - this.accountId, - this.status, - required this.createdOn, - this.account, - required this.index}) + _$GAccountFieldsData_transfersIssuedAggregate_aggregate._( + {required this.G__typename, this.sum, required this.count}) : super._() { BuiltValueNullFieldError.checkNotNull( - G__typename, r'GAccountsByNameData_identity', 'G__typename'); - BuiltValueNullFieldError.checkNotNull( - isMember, r'GAccountsByNameData_identity', 'isMember'); - BuiltValueNullFieldError.checkNotNull( - name, r'GAccountsByNameData_identity', 'name'); - BuiltValueNullFieldError.checkNotNull( - createdOn, r'GAccountsByNameData_identity', 'createdOn'); - BuiltValueNullFieldError.checkNotNull( - index, r'GAccountsByNameData_identity', 'index'); + G__typename, + r'GAccountFieldsData_transfersIssuedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull(count, + r'GAccountFieldsData_transfersIssuedAggregate_aggregate', 'count'); } @override - GAccountsByNameData_identity rebuild( - void Function(GAccountsByNameData_identityBuilder) updates) => + GAccountFieldsData_transfersIssuedAggregate_aggregate rebuild( + void Function( + GAccountFieldsData_transfersIssuedAggregate_aggregateBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - GAccountsByNameData_identityBuilder toBuilder() => - new GAccountsByNameData_identityBuilder()..replace(this); + GAccountFieldsData_transfersIssuedAggregate_aggregateBuilder toBuilder() => + new GAccountFieldsData_transfersIssuedAggregate_aggregateBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GAccountsByNameData_identity && + return other is GAccountFieldsData_transfersIssuedAggregate_aggregate && G__typename == other.G__typename && - isMember == other.isMember && - name == other.name && - accountId == other.accountId && - status == other.status && - createdOn == other.createdOn && - account == other.account && - index == other.index; + sum == other.sum && + count == other.count; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, G__typename.hashCode); - _$hash = $jc(_$hash, isMember.hashCode); - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, accountId.hashCode); - _$hash = $jc(_$hash, status.hashCode); - _$hash = $jc(_$hash, createdOn.hashCode); - _$hash = $jc(_$hash, account.hashCode); - _$hash = $jc(_$hash, index.hashCode); + _$hash = $jc(_$hash, sum.hashCode); + _$hash = $jc(_$hash, count.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'GAccountsByNameData_identity') + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_transfersIssuedAggregate_aggregate') ..add('G__typename', G__typename) - ..add('isMember', isMember) - ..add('name', name) - ..add('accountId', accountId) - ..add('status', status) - ..add('createdOn', createdOn) - ..add('account', account) - ..add('index', index)) + ..add('sum', sum) + ..add('count', count)) .toString(); } } -class GAccountsByNameData_identityBuilder +class GAccountFieldsData_transfersIssuedAggregate_aggregateBuilder implements - Builder<GAccountsByNameData_identity, - GAccountsByNameData_identityBuilder> { - _$GAccountsByNameData_identity? _$v; + Builder<GAccountFieldsData_transfersIssuedAggregate_aggregate, + GAccountFieldsData_transfersIssuedAggregate_aggregateBuilder> { + _$GAccountFieldsData_transfersIssuedAggregate_aggregate? _$v; String? _G__typename; String? get G__typename => _$this._G__typename; set G__typename(String? G__typename) => _$this._G__typename = G__typename; - bool? _isMember; - bool? get isMember => _$this._isMember; - set isMember(bool? isMember) => _$this._isMember = isMember; - - String? _name; - String? get name => _$this._name; - set name(String? name) => _$this._name = name; - - String? _accountId; - String? get accountId => _$this._accountId; - set accountId(String? accountId) => _$this._accountId = accountId; - - _i2.GIdentityStatusEnum? _status; - _i2.GIdentityStatusEnum? get status => _$this._status; - set status(_i2.GIdentityStatusEnum? status) => _$this._status = status; - - int? _createdOn; - int? get createdOn => _$this._createdOn; - set createdOn(int? createdOn) => _$this._createdOn = createdOn; - - GAccountsByNameData_identity_accountBuilder? _account; - GAccountsByNameData_identity_accountBuilder get account => - _$this._account ??= new GAccountsByNameData_identity_accountBuilder(); - set account(GAccountsByNameData_identity_accountBuilder? account) => - _$this._account = account; + GAccountFieldsData_transfersIssuedAggregate_aggregate_sumBuilder? _sum; + GAccountFieldsData_transfersIssuedAggregate_aggregate_sumBuilder get sum => + _$this._sum ??= + new GAccountFieldsData_transfersIssuedAggregate_aggregate_sumBuilder(); + set sum( + GAccountFieldsData_transfersIssuedAggregate_aggregate_sumBuilder? + sum) => + _$this._sum = sum; - int? _index; - int? get index => _$this._index; - set index(int? index) => _$this._index = index; + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; - GAccountsByNameData_identityBuilder() { - GAccountsByNameData_identity._initializeBuilder(this); + GAccountFieldsData_transfersIssuedAggregate_aggregateBuilder() { + GAccountFieldsData_transfersIssuedAggregate_aggregate._initializeBuilder( + this); } - GAccountsByNameData_identityBuilder get _$this { + GAccountFieldsData_transfersIssuedAggregate_aggregateBuilder get _$this { final $v = _$v; if ($v != null) { _G__typename = $v.G__typename; - _isMember = $v.isMember; - _name = $v.name; - _accountId = $v.accountId; - _status = $v.status; - _createdOn = $v.createdOn; - _account = $v.account?.toBuilder(); - _index = $v.index; + _sum = $v.sum?.toBuilder(); + _count = $v.count; _$v = null; } return this; } @override - void replace(GAccountsByNameData_identity other) { + void replace(GAccountFieldsData_transfersIssuedAggregate_aggregate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GAccountsByNameData_identity; + _$v = other as _$GAccountFieldsData_transfersIssuedAggregate_aggregate; } @override - void update(void Function(GAccountsByNameData_identityBuilder)? updates) { + void update( + void Function( + GAccountFieldsData_transfersIssuedAggregate_aggregateBuilder)? + updates) { if (updates != null) updates(this); } @override - GAccountsByNameData_identity build() => _build(); + GAccountFieldsData_transfersIssuedAggregate_aggregate build() => _build(); - _$GAccountsByNameData_identity _build() { - _$GAccountsByNameData_identity _$result; + _$GAccountFieldsData_transfersIssuedAggregate_aggregate _build() { + _$GAccountFieldsData_transfersIssuedAggregate_aggregate _$result; try { _$result = _$v ?? - new _$GAccountsByNameData_identity._( + new _$GAccountFieldsData_transfersIssuedAggregate_aggregate._( G__typename: BuiltValueNullFieldError.checkNotNull( - G__typename, r'GAccountsByNameData_identity', 'G__typename'), - isMember: BuiltValueNullFieldError.checkNotNull( - isMember, r'GAccountsByNameData_identity', 'isMember'), - name: BuiltValueNullFieldError.checkNotNull( - name, r'GAccountsByNameData_identity', 'name'), - accountId: accountId, - status: status, - createdOn: BuiltValueNullFieldError.checkNotNull( - createdOn, r'GAccountsByNameData_identity', 'createdOn'), - account: _account?.build(), - index: BuiltValueNullFieldError.checkNotNull( - index, r'GAccountsByNameData_identity', 'index')); + G__typename, + r'GAccountFieldsData_transfersIssuedAggregate_aggregate', + 'G__typename'), + sum: _sum?.build(), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountFieldsData_transfersIssuedAggregate_aggregate', + 'count')); } catch (_) { late String _$failedField; try { - _$failedField = 'account'; - _account?.build(); + _$failedField = 'sum'; + _sum?.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'GAccountsByNameData_identity', _$failedField, e.toString()); + r'GAccountFieldsData_transfersIssuedAggregate_aggregate', + _$failedField, + e.toString()); } rethrow; } @@ -2167,226 +79823,330 @@ class GAccountsByNameData_identityBuilder } } -class _$GAccountsByNameData_identity_account - extends GAccountsByNameData_identity_account { +class _$GAccountFieldsData_transfersIssuedAggregate_aggregate_sum + extends GAccountFieldsData_transfersIssuedAggregate_aggregate_sum { @override final String G__typename; @override - final bool isActive; + final int? amount; - factory _$GAccountsByNameData_identity_account( - [void Function(GAccountsByNameData_identity_accountBuilder)? + factory _$GAccountFieldsData_transfersIssuedAggregate_aggregate_sum( + [void Function( + GAccountFieldsData_transfersIssuedAggregate_aggregate_sumBuilder)? updates]) => - (new GAccountsByNameData_identity_accountBuilder()..update(updates)) + (new GAccountFieldsData_transfersIssuedAggregate_aggregate_sumBuilder() + ..update(updates)) ._build(); - _$GAccountsByNameData_identity_account._( - {required this.G__typename, required this.isActive}) + _$GAccountFieldsData_transfersIssuedAggregate_aggregate_sum._( + {required this.G__typename, this.amount}) : super._() { BuiltValueNullFieldError.checkNotNull( - G__typename, r'GAccountsByNameData_identity_account', 'G__typename'); - BuiltValueNullFieldError.checkNotNull( - isActive, r'GAccountsByNameData_identity_account', 'isActive'); + G__typename, + r'GAccountFieldsData_transfersIssuedAggregate_aggregate_sum', + 'G__typename'); } @override - GAccountsByNameData_identity_account rebuild( - void Function(GAccountsByNameData_identity_accountBuilder) updates) => + GAccountFieldsData_transfersIssuedAggregate_aggregate_sum rebuild( + void Function( + GAccountFieldsData_transfersIssuedAggregate_aggregate_sumBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - GAccountsByNameData_identity_accountBuilder toBuilder() => - new GAccountsByNameData_identity_accountBuilder()..replace(this); + GAccountFieldsData_transfersIssuedAggregate_aggregate_sumBuilder + toBuilder() => + new GAccountFieldsData_transfersIssuedAggregate_aggregate_sumBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GAccountsByNameData_identity_account && + return other is GAccountFieldsData_transfersIssuedAggregate_aggregate_sum && G__typename == other.G__typename && - isActive == other.isActive; + amount == other.amount; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, G__typename.hashCode); - _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, amount.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'GAccountsByNameData_identity_account') + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_transfersIssuedAggregate_aggregate_sum') ..add('G__typename', G__typename) - ..add('isActive', isActive)) + ..add('amount', amount)) .toString(); } } -class GAccountsByNameData_identity_accountBuilder +class GAccountFieldsData_transfersIssuedAggregate_aggregate_sumBuilder implements - Builder<GAccountsByNameData_identity_account, - GAccountsByNameData_identity_accountBuilder> { - _$GAccountsByNameData_identity_account? _$v; + Builder<GAccountFieldsData_transfersIssuedAggregate_aggregate_sum, + GAccountFieldsData_transfersIssuedAggregate_aggregate_sumBuilder> { + _$GAccountFieldsData_transfersIssuedAggregate_aggregate_sum? _$v; String? _G__typename; String? get G__typename => _$this._G__typename; set G__typename(String? G__typename) => _$this._G__typename = G__typename; - bool? _isActive; - bool? get isActive => _$this._isActive; - set isActive(bool? isActive) => _$this._isActive = isActive; + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; - GAccountsByNameData_identity_accountBuilder() { - GAccountsByNameData_identity_account._initializeBuilder(this); + GAccountFieldsData_transfersIssuedAggregate_aggregate_sumBuilder() { + GAccountFieldsData_transfersIssuedAggregate_aggregate_sum + ._initializeBuilder(this); } - GAccountsByNameData_identity_accountBuilder get _$this { + GAccountFieldsData_transfersIssuedAggregate_aggregate_sumBuilder get _$this { final $v = _$v; if ($v != null) { _G__typename = $v.G__typename; - _isActive = $v.isActive; + _amount = $v.amount; _$v = null; } return this; } @override - void replace(GAccountsByNameData_identity_account other) { + void replace( + GAccountFieldsData_transfersIssuedAggregate_aggregate_sum other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GAccountsByNameData_identity_account; + _$v = other as _$GAccountFieldsData_transfersIssuedAggregate_aggregate_sum; } @override void update( - void Function(GAccountsByNameData_identity_accountBuilder)? updates) { + void Function( + GAccountFieldsData_transfersIssuedAggregate_aggregate_sumBuilder)? + updates) { if (updates != null) updates(this); } @override - GAccountsByNameData_identity_account build() => _build(); + GAccountFieldsData_transfersIssuedAggregate_aggregate_sum build() => _build(); - _$GAccountsByNameData_identity_account _build() { + _$GAccountFieldsData_transfersIssuedAggregate_aggregate_sum _build() { final _$result = _$v ?? - new _$GAccountsByNameData_identity_account._( - G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, - r'GAccountsByNameData_identity_account', 'G__typename'), - isActive: BuiltValueNullFieldError.checkNotNull( - isActive, r'GAccountsByNameData_identity_account', 'isActive')); + new _$GAccountFieldsData_transfersIssuedAggregate_aggregate_sum._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_transfersIssuedAggregate_aggregate_sum', + 'G__typename'), + amount: amount); replace(_$result); return _$result; } } -class _$GAccountByPkData extends GAccountByPkData { +class _$GAccountFieldsData_transfersReceived + extends GAccountFieldsData_transfersReceived { @override final String G__typename; @override - final GAccountByPkData_accountByPk? accountByPk; + final int blockNumber; + @override + final _i2.Gtimestamptz timestamp; + @override + final int amount; + @override + final GAccountFieldsData_transfersReceived_to? to; + @override + final GAccountFieldsData_transfersReceived_from? from; + @override + final GAccountFieldsData_transfersReceived_comment? comment; - factory _$GAccountByPkData( - [void Function(GAccountByPkDataBuilder)? updates]) => - (new GAccountByPkDataBuilder()..update(updates))._build(); + factory _$GAccountFieldsData_transfersReceived( + [void Function(GAccountFieldsData_transfersReceivedBuilder)? + updates]) => + (new GAccountFieldsData_transfersReceivedBuilder()..update(updates)) + ._build(); - _$GAccountByPkData._({required this.G__typename, this.accountByPk}) + _$GAccountFieldsData_transfersReceived._( + {required this.G__typename, + required this.blockNumber, + required this.timestamp, + required this.amount, + this.to, + this.from, + this.comment}) : super._() { BuiltValueNullFieldError.checkNotNull( - G__typename, r'GAccountByPkData', 'G__typename'); + G__typename, r'GAccountFieldsData_transfersReceived', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + blockNumber, r'GAccountFieldsData_transfersReceived', 'blockNumber'); + BuiltValueNullFieldError.checkNotNull( + timestamp, r'GAccountFieldsData_transfersReceived', 'timestamp'); + BuiltValueNullFieldError.checkNotNull( + amount, r'GAccountFieldsData_transfersReceived', 'amount'); } @override - GAccountByPkData rebuild(void Function(GAccountByPkDataBuilder) updates) => + GAccountFieldsData_transfersReceived rebuild( + void Function(GAccountFieldsData_transfersReceivedBuilder) updates) => (toBuilder()..update(updates)).build(); @override - GAccountByPkDataBuilder toBuilder() => - new GAccountByPkDataBuilder()..replace(this); + GAccountFieldsData_transfersReceivedBuilder toBuilder() => + new GAccountFieldsData_transfersReceivedBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GAccountByPkData && + return other is GAccountFieldsData_transfersReceived && G__typename == other.G__typename && - accountByPk == other.accountByPk; + blockNumber == other.blockNumber && + timestamp == other.timestamp && + amount == other.amount && + to == other.to && + from == other.from && + comment == other.comment; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, G__typename.hashCode); - _$hash = $jc(_$hash, accountByPk.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jc(_$hash, amount.hashCode); + _$hash = $jc(_$hash, to.hashCode); + _$hash = $jc(_$hash, from.hashCode); + _$hash = $jc(_$hash, comment.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'GAccountByPkData') + return (newBuiltValueToStringHelper(r'GAccountFieldsData_transfersReceived') ..add('G__typename', G__typename) - ..add('accountByPk', accountByPk)) + ..add('blockNumber', blockNumber) + ..add('timestamp', timestamp) + ..add('amount', amount) + ..add('to', to) + ..add('from', from) + ..add('comment', comment)) .toString(); } } -class GAccountByPkDataBuilder - implements Builder<GAccountByPkData, GAccountByPkDataBuilder> { - _$GAccountByPkData? _$v; +class GAccountFieldsData_transfersReceivedBuilder + implements + Builder<GAccountFieldsData_transfersReceived, + GAccountFieldsData_transfersReceivedBuilder> { + _$GAccountFieldsData_transfersReceived? _$v; String? _G__typename; String? get G__typename => _$this._G__typename; set G__typename(String? G__typename) => _$this._G__typename = G__typename; - GAccountByPkData_accountByPkBuilder? _accountByPk; - GAccountByPkData_accountByPkBuilder get accountByPk => - _$this._accountByPk ??= new GAccountByPkData_accountByPkBuilder(); - set accountByPk(GAccountByPkData_accountByPkBuilder? accountByPk) => - _$this._accountByPk = accountByPk; + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; - GAccountByPkDataBuilder() { - GAccountByPkData._initializeBuilder(this); + _i2.GtimestamptzBuilder? _timestamp; + _i2.GtimestamptzBuilder get timestamp => + _$this._timestamp ??= new _i2.GtimestamptzBuilder(); + set timestamp(_i2.GtimestamptzBuilder? timestamp) => + _$this._timestamp = timestamp; + + int? _amount; + int? get amount => _$this._amount; + set amount(int? amount) => _$this._amount = amount; + + GAccountFieldsData_transfersReceived_toBuilder? _to; + GAccountFieldsData_transfersReceived_toBuilder get to => + _$this._to ??= new GAccountFieldsData_transfersReceived_toBuilder(); + set to(GAccountFieldsData_transfersReceived_toBuilder? to) => _$this._to = to; + + GAccountFieldsData_transfersReceived_fromBuilder? _from; + GAccountFieldsData_transfersReceived_fromBuilder get from => + _$this._from ??= new GAccountFieldsData_transfersReceived_fromBuilder(); + set from(GAccountFieldsData_transfersReceived_fromBuilder? from) => + _$this._from = from; + + GAccountFieldsData_transfersReceived_commentBuilder? _comment; + GAccountFieldsData_transfersReceived_commentBuilder get comment => + _$this._comment ??= + new GAccountFieldsData_transfersReceived_commentBuilder(); + set comment(GAccountFieldsData_transfersReceived_commentBuilder? comment) => + _$this._comment = comment; + + GAccountFieldsData_transfersReceivedBuilder() { + GAccountFieldsData_transfersReceived._initializeBuilder(this); } - GAccountByPkDataBuilder get _$this { + GAccountFieldsData_transfersReceivedBuilder get _$this { final $v = _$v; if ($v != null) { _G__typename = $v.G__typename; - _accountByPk = $v.accountByPk?.toBuilder(); + _blockNumber = $v.blockNumber; + _timestamp = $v.timestamp.toBuilder(); + _amount = $v.amount; + _to = $v.to?.toBuilder(); + _from = $v.from?.toBuilder(); + _comment = $v.comment?.toBuilder(); _$v = null; } return this; } @override - void replace(GAccountByPkData other) { + void replace(GAccountFieldsData_transfersReceived other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GAccountByPkData; + _$v = other as _$GAccountFieldsData_transfersReceived; } @override - void update(void Function(GAccountByPkDataBuilder)? updates) { + void update( + void Function(GAccountFieldsData_transfersReceivedBuilder)? updates) { if (updates != null) updates(this); } @override - GAccountByPkData build() => _build(); + GAccountFieldsData_transfersReceived build() => _build(); - _$GAccountByPkData _build() { - _$GAccountByPkData _$result; + _$GAccountFieldsData_transfersReceived _build() { + _$GAccountFieldsData_transfersReceived _$result; try { _$result = _$v ?? - new _$GAccountByPkData._( - G__typename: BuiltValueNullFieldError.checkNotNull( - G__typename, r'GAccountByPkData', 'G__typename'), - accountByPk: _accountByPk?.build()); + new _$GAccountFieldsData_transfersReceived._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_transfersReceived', 'G__typename'), + blockNumber: BuiltValueNullFieldError.checkNotNull(blockNumber, + r'GAccountFieldsData_transfersReceived', 'blockNumber'), + timestamp: timestamp.build(), + amount: BuiltValueNullFieldError.checkNotNull( + amount, r'GAccountFieldsData_transfersReceived', 'amount'), + to: _to?.build(), + from: _from?.build(), + comment: _comment?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'accountByPk'; - _accountByPk?.build(); + _$failedField = 'timestamp'; + timestamp.build(); + + _$failedField = 'to'; + _to?.build(); + _$failedField = 'from'; + _from?.build(); + _$failedField = 'comment'; + _comment?.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'GAccountByPkData', _$failedField, e.toString()); + r'GAccountFieldsData_transfersReceived', + _$failedField, + e.toString()); } rethrow; } @@ -2395,447 +80155,478 @@ class GAccountByPkDataBuilder } } -class _$GAccountByPkData_accountByPk extends GAccountByPkData_accountByPk { +class _$GAccountFieldsData_transfersReceived_to + extends GAccountFieldsData_transfersReceived_to { @override final String G__typename; @override - final bool isActive; + final String id; - factory _$GAccountByPkData_accountByPk( - [void Function(GAccountByPkData_accountByPkBuilder)? updates]) => - (new GAccountByPkData_accountByPkBuilder()..update(updates))._build(); + factory _$GAccountFieldsData_transfersReceived_to( + [void Function(GAccountFieldsData_transfersReceived_toBuilder)? + updates]) => + (new GAccountFieldsData_transfersReceived_toBuilder()..update(updates)) + ._build(); - _$GAccountByPkData_accountByPk._( - {required this.G__typename, required this.isActive}) + _$GAccountFieldsData_transfersReceived_to._( + {required this.G__typename, required this.id}) : super._() { BuiltValueNullFieldError.checkNotNull( - G__typename, r'GAccountByPkData_accountByPk', 'G__typename'); + G__typename, r'GAccountFieldsData_transfersReceived_to', 'G__typename'); BuiltValueNullFieldError.checkNotNull( - isActive, r'GAccountByPkData_accountByPk', 'isActive'); + id, r'GAccountFieldsData_transfersReceived_to', 'id'); } @override - GAccountByPkData_accountByPk rebuild( - void Function(GAccountByPkData_accountByPkBuilder) updates) => + GAccountFieldsData_transfersReceived_to rebuild( + void Function(GAccountFieldsData_transfersReceived_toBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - GAccountByPkData_accountByPkBuilder toBuilder() => - new GAccountByPkData_accountByPkBuilder()..replace(this); + GAccountFieldsData_transfersReceived_toBuilder toBuilder() => + new GAccountFieldsData_transfersReceived_toBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GAccountByPkData_accountByPk && + return other is GAccountFieldsData_transfersReceived_to && G__typename == other.G__typename && - isActive == other.isActive; + id == other.id; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, G__typename.hashCode); - _$hash = $jc(_$hash, isActive.hashCode); + _$hash = $jc(_$hash, id.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'GAccountByPkData_accountByPk') + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_transfersReceived_to') ..add('G__typename', G__typename) - ..add('isActive', isActive)) + ..add('id', id)) .toString(); } } -class GAccountByPkData_accountByPkBuilder +class GAccountFieldsData_transfersReceived_toBuilder implements - Builder<GAccountByPkData_accountByPk, - GAccountByPkData_accountByPkBuilder> { - _$GAccountByPkData_accountByPk? _$v; + Builder<GAccountFieldsData_transfersReceived_to, + GAccountFieldsData_transfersReceived_toBuilder> { + _$GAccountFieldsData_transfersReceived_to? _$v; String? _G__typename; String? get G__typename => _$this._G__typename; set G__typename(String? G__typename) => _$this._G__typename = G__typename; - bool? _isActive; - bool? get isActive => _$this._isActive; - set isActive(bool? isActive) => _$this._isActive = isActive; + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; - GAccountByPkData_accountByPkBuilder() { - GAccountByPkData_accountByPk._initializeBuilder(this); + GAccountFieldsData_transfersReceived_toBuilder() { + GAccountFieldsData_transfersReceived_to._initializeBuilder(this); } - GAccountByPkData_accountByPkBuilder get _$this { + GAccountFieldsData_transfersReceived_toBuilder get _$this { final $v = _$v; if ($v != null) { _G__typename = $v.G__typename; - _isActive = $v.isActive; + _id = $v.id; _$v = null; } return this; } @override - void replace(GAccountByPkData_accountByPk other) { + void replace(GAccountFieldsData_transfersReceived_to other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GAccountByPkData_accountByPk; + _$v = other as _$GAccountFieldsData_transfersReceived_to; } @override - void update(void Function(GAccountByPkData_accountByPkBuilder)? updates) { + void update( + void Function(GAccountFieldsData_transfersReceived_toBuilder)? updates) { if (updates != null) updates(this); } @override - GAccountByPkData_accountByPk build() => _build(); + GAccountFieldsData_transfersReceived_to build() => _build(); - _$GAccountByPkData_accountByPk _build() { + _$GAccountFieldsData_transfersReceived_to _build() { final _$result = _$v ?? - new _$GAccountByPkData_accountByPk._( - G__typename: BuiltValueNullFieldError.checkNotNull( - G__typename, r'GAccountByPkData_accountByPk', 'G__typename'), - isActive: BuiltValueNullFieldError.checkNotNull( - isActive, r'GAccountByPkData_accountByPk', 'isActive')); + new _$GAccountFieldsData_transfersReceived_to._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_transfersReceived_to', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_transfersReceived_to', 'id')); replace(_$result); return _$result; } } -class _$GLastBlockData extends GLastBlockData { +class _$GAccountFieldsData_transfersReceived_from + extends GAccountFieldsData_transfersReceived_from { @override final String G__typename; @override - final BuiltList<GLastBlockData_block> block; + final String id; - factory _$GLastBlockData([void Function(GLastBlockDataBuilder)? updates]) => - (new GLastBlockDataBuilder()..update(updates))._build(); + factory _$GAccountFieldsData_transfersReceived_from( + [void Function(GAccountFieldsData_transfersReceived_fromBuilder)? + updates]) => + (new GAccountFieldsData_transfersReceived_fromBuilder()..update(updates)) + ._build(); - _$GLastBlockData._({required this.G__typename, required this.block}) + _$GAccountFieldsData_transfersReceived_from._( + {required this.G__typename, required this.id}) : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_transfersReceived_from', 'G__typename'); BuiltValueNullFieldError.checkNotNull( - G__typename, r'GLastBlockData', 'G__typename'); - BuiltValueNullFieldError.checkNotNull(block, r'GLastBlockData', 'block'); + id, r'GAccountFieldsData_transfersReceived_from', 'id'); } @override - GLastBlockData rebuild(void Function(GLastBlockDataBuilder) updates) => + GAccountFieldsData_transfersReceived_from rebuild( + void Function(GAccountFieldsData_transfersReceived_fromBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - GLastBlockDataBuilder toBuilder() => - new GLastBlockDataBuilder()..replace(this); + GAccountFieldsData_transfersReceived_fromBuilder toBuilder() => + new GAccountFieldsData_transfersReceived_fromBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GLastBlockData && + return other is GAccountFieldsData_transfersReceived_from && G__typename == other.G__typename && - block == other.block; + id == other.id; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, G__typename.hashCode); - _$hash = $jc(_$hash, block.hashCode); + _$hash = $jc(_$hash, id.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'GLastBlockData') + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_transfersReceived_from') ..add('G__typename', G__typename) - ..add('block', block)) + ..add('id', id)) .toString(); } } -class GLastBlockDataBuilder - implements Builder<GLastBlockData, GLastBlockDataBuilder> { - _$GLastBlockData? _$v; +class GAccountFieldsData_transfersReceived_fromBuilder + implements + Builder<GAccountFieldsData_transfersReceived_from, + GAccountFieldsData_transfersReceived_fromBuilder> { + _$GAccountFieldsData_transfersReceived_from? _$v; String? _G__typename; String? get G__typename => _$this._G__typename; set G__typename(String? G__typename) => _$this._G__typename = G__typename; - ListBuilder<GLastBlockData_block>? _block; - ListBuilder<GLastBlockData_block> get block => - _$this._block ??= new ListBuilder<GLastBlockData_block>(); - set block(ListBuilder<GLastBlockData_block>? block) => _$this._block = block; + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; - GLastBlockDataBuilder() { - GLastBlockData._initializeBuilder(this); + GAccountFieldsData_transfersReceived_fromBuilder() { + GAccountFieldsData_transfersReceived_from._initializeBuilder(this); } - GLastBlockDataBuilder get _$this { + GAccountFieldsData_transfersReceived_fromBuilder get _$this { final $v = _$v; if ($v != null) { _G__typename = $v.G__typename; - _block = $v.block.toBuilder(); + _id = $v.id; _$v = null; } return this; } @override - void replace(GLastBlockData other) { + void replace(GAccountFieldsData_transfersReceived_from other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GLastBlockData; + _$v = other as _$GAccountFieldsData_transfersReceived_from; } @override - void update(void Function(GLastBlockDataBuilder)? updates) { + void update( + void Function(GAccountFieldsData_transfersReceived_fromBuilder)? + updates) { if (updates != null) updates(this); } @override - GLastBlockData build() => _build(); + GAccountFieldsData_transfersReceived_from build() => _build(); - _$GLastBlockData _build() { - _$GLastBlockData _$result; - try { - _$result = _$v ?? - new _$GLastBlockData._( - G__typename: BuiltValueNullFieldError.checkNotNull( - G__typename, r'GLastBlockData', 'G__typename'), - block: block.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'block'; - block.build(); - } catch (e) { - throw new BuiltValueNestedFieldError( - r'GLastBlockData', _$failedField, e.toString()); - } - rethrow; - } + _$GAccountFieldsData_transfersReceived_from _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_transfersReceived_from._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_transfersReceived_from', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_transfersReceived_from', 'id')); replace(_$result); return _$result; } } -class _$GLastBlockData_block extends GLastBlockData_block { +class _$GAccountFieldsData_transfersReceived_comment + extends GAccountFieldsData_transfersReceived_comment { @override final String G__typename; @override - final int height; + final String remark; - factory _$GLastBlockData_block( - [void Function(GLastBlockData_blockBuilder)? updates]) => - (new GLastBlockData_blockBuilder()..update(updates))._build(); + factory _$GAccountFieldsData_transfersReceived_comment( + [void Function(GAccountFieldsData_transfersReceived_commentBuilder)? + updates]) => + (new GAccountFieldsData_transfersReceived_commentBuilder() + ..update(updates)) + ._build(); - _$GLastBlockData_block._({required this.G__typename, required this.height}) + _$GAccountFieldsData_transfersReceived_comment._( + {required this.G__typename, required this.remark}) : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_transfersReceived_comment', 'G__typename'); BuiltValueNullFieldError.checkNotNull( - G__typename, r'GLastBlockData_block', 'G__typename'); - BuiltValueNullFieldError.checkNotNull( - height, r'GLastBlockData_block', 'height'); + remark, r'GAccountFieldsData_transfersReceived_comment', 'remark'); } @override - GLastBlockData_block rebuild( - void Function(GLastBlockData_blockBuilder) updates) => + GAccountFieldsData_transfersReceived_comment rebuild( + void Function(GAccountFieldsData_transfersReceived_commentBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - GLastBlockData_blockBuilder toBuilder() => - new GLastBlockData_blockBuilder()..replace(this); + GAccountFieldsData_transfersReceived_commentBuilder toBuilder() => + new GAccountFieldsData_transfersReceived_commentBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GLastBlockData_block && + return other is GAccountFieldsData_transfersReceived_comment && G__typename == other.G__typename && - height == other.height; + remark == other.remark; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, G__typename.hashCode); - _$hash = $jc(_$hash, height.hashCode); + _$hash = $jc(_$hash, remark.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'GLastBlockData_block') + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_transfersReceived_comment') ..add('G__typename', G__typename) - ..add('height', height)) + ..add('remark', remark)) .toString(); } } -class GLastBlockData_blockBuilder - implements Builder<GLastBlockData_block, GLastBlockData_blockBuilder> { - _$GLastBlockData_block? _$v; +class GAccountFieldsData_transfersReceived_commentBuilder + implements + Builder<GAccountFieldsData_transfersReceived_comment, + GAccountFieldsData_transfersReceived_commentBuilder> { + _$GAccountFieldsData_transfersReceived_comment? _$v; String? _G__typename; String? get G__typename => _$this._G__typename; set G__typename(String? G__typename) => _$this._G__typename = G__typename; - int? _height; - int? get height => _$this._height; - set height(int? height) => _$this._height = height; + String? _remark; + String? get remark => _$this._remark; + set remark(String? remark) => _$this._remark = remark; - GLastBlockData_blockBuilder() { - GLastBlockData_block._initializeBuilder(this); + GAccountFieldsData_transfersReceived_commentBuilder() { + GAccountFieldsData_transfersReceived_comment._initializeBuilder(this); } - GLastBlockData_blockBuilder get _$this { + GAccountFieldsData_transfersReceived_commentBuilder get _$this { final $v = _$v; if ($v != null) { _G__typename = $v.G__typename; - _height = $v.height; + _remark = $v.remark; _$v = null; } return this; } @override - void replace(GLastBlockData_block other) { + void replace(GAccountFieldsData_transfersReceived_comment other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GLastBlockData_block; + _$v = other as _$GAccountFieldsData_transfersReceived_comment; } @override - void update(void Function(GLastBlockData_blockBuilder)? updates) { + void update( + void Function(GAccountFieldsData_transfersReceived_commentBuilder)? + updates) { if (updates != null) updates(this); } @override - GLastBlockData_block build() => _build(); + GAccountFieldsData_transfersReceived_comment build() => _build(); - _$GLastBlockData_block _build() { + _$GAccountFieldsData_transfersReceived_comment _build() { final _$result = _$v ?? - new _$GLastBlockData_block._( - G__typename: BuiltValueNullFieldError.checkNotNull( - G__typename, r'GLastBlockData_block', 'G__typename'), - height: BuiltValueNullFieldError.checkNotNull( - height, r'GLastBlockData_block', 'height')); + new _$GAccountFieldsData_transfersReceived_comment._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_transfersReceived_comment', 'G__typename'), + remark: BuiltValueNullFieldError.checkNotNull(remark, + r'GAccountFieldsData_transfersReceived_comment', 'remark')); replace(_$result); return _$result; } } -class _$GGetHistoryAndBalanceData extends GGetHistoryAndBalanceData { +class _$GAccountFieldsData_transfersReceivedAggregate + extends GAccountFieldsData_transfersReceivedAggregate { @override final String G__typename; @override - final BuiltList<GGetHistoryAndBalanceData_account> account; + final GAccountFieldsData_transfersReceivedAggregate_aggregate? aggregate; - factory _$GGetHistoryAndBalanceData( - [void Function(GGetHistoryAndBalanceDataBuilder)? updates]) => - (new GGetHistoryAndBalanceDataBuilder()..update(updates))._build(); + factory _$GAccountFieldsData_transfersReceivedAggregate( + [void Function(GAccountFieldsData_transfersReceivedAggregateBuilder)? + updates]) => + (new GAccountFieldsData_transfersReceivedAggregateBuilder() + ..update(updates)) + ._build(); - _$GGetHistoryAndBalanceData._( - {required this.G__typename, required this.account}) + _$GAccountFieldsData_transfersReceivedAggregate._( + {required this.G__typename, this.aggregate}) : super._() { - BuiltValueNullFieldError.checkNotNull( - G__typename, r'GGetHistoryAndBalanceData', 'G__typename'); - BuiltValueNullFieldError.checkNotNull( - account, r'GGetHistoryAndBalanceData', 'account'); + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_transfersReceivedAggregate', 'G__typename'); } @override - GGetHistoryAndBalanceData rebuild( - void Function(GGetHistoryAndBalanceDataBuilder) updates) => + GAccountFieldsData_transfersReceivedAggregate rebuild( + void Function(GAccountFieldsData_transfersReceivedAggregateBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - GGetHistoryAndBalanceDataBuilder toBuilder() => - new GGetHistoryAndBalanceDataBuilder()..replace(this); + GAccountFieldsData_transfersReceivedAggregateBuilder toBuilder() => + new GAccountFieldsData_transfersReceivedAggregateBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GGetHistoryAndBalanceData && + return other is GAccountFieldsData_transfersReceivedAggregate && G__typename == other.G__typename && - account == other.account; + aggregate == other.aggregate; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, G__typename.hashCode); - _$hash = $jc(_$hash, account.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'GGetHistoryAndBalanceData') + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_transfersReceivedAggregate') ..add('G__typename', G__typename) - ..add('account', account)) + ..add('aggregate', aggregate)) .toString(); } } -class GGetHistoryAndBalanceDataBuilder +class GAccountFieldsData_transfersReceivedAggregateBuilder implements - Builder<GGetHistoryAndBalanceData, GGetHistoryAndBalanceDataBuilder> { - _$GGetHistoryAndBalanceData? _$v; + Builder<GAccountFieldsData_transfersReceivedAggregate, + GAccountFieldsData_transfersReceivedAggregateBuilder> { + _$GAccountFieldsData_transfersReceivedAggregate? _$v; String? _G__typename; String? get G__typename => _$this._G__typename; set G__typename(String? G__typename) => _$this._G__typename = G__typename; - ListBuilder<GGetHistoryAndBalanceData_account>? _account; - ListBuilder<GGetHistoryAndBalanceData_account> get account => - _$this._account ??= new ListBuilder<GGetHistoryAndBalanceData_account>(); - set account(ListBuilder<GGetHistoryAndBalanceData_account>? account) => - _$this._account = account; + GAccountFieldsData_transfersReceivedAggregate_aggregateBuilder? _aggregate; + GAccountFieldsData_transfersReceivedAggregate_aggregateBuilder + get aggregate => _$this._aggregate ??= + new GAccountFieldsData_transfersReceivedAggregate_aggregateBuilder(); + set aggregate( + GAccountFieldsData_transfersReceivedAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; - GGetHistoryAndBalanceDataBuilder() { - GGetHistoryAndBalanceData._initializeBuilder(this); + GAccountFieldsData_transfersReceivedAggregateBuilder() { + GAccountFieldsData_transfersReceivedAggregate._initializeBuilder(this); } - GGetHistoryAndBalanceDataBuilder get _$this { + GAccountFieldsData_transfersReceivedAggregateBuilder get _$this { final $v = _$v; if ($v != null) { _G__typename = $v.G__typename; - _account = $v.account.toBuilder(); + _aggregate = $v.aggregate?.toBuilder(); _$v = null; } return this; } @override - void replace(GGetHistoryAndBalanceData other) { + void replace(GAccountFieldsData_transfersReceivedAggregate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GGetHistoryAndBalanceData; + _$v = other as _$GAccountFieldsData_transfersReceivedAggregate; } @override - void update(void Function(GGetHistoryAndBalanceDataBuilder)? updates) { + void update( + void Function(GAccountFieldsData_transfersReceivedAggregateBuilder)? + updates) { if (updates != null) updates(this); } @override - GGetHistoryAndBalanceData build() => _build(); + GAccountFieldsData_transfersReceivedAggregate build() => _build(); - _$GGetHistoryAndBalanceData _build() { - _$GGetHistoryAndBalanceData _$result; + _$GAccountFieldsData_transfersReceivedAggregate _build() { + _$GAccountFieldsData_transfersReceivedAggregate _$result; try { _$result = _$v ?? - new _$GGetHistoryAndBalanceData._( + new _$GAccountFieldsData_transfersReceivedAggregate._( G__typename: BuiltValueNullFieldError.checkNotNull( - G__typename, r'GGetHistoryAndBalanceData', 'G__typename'), - account: account.build()); + G__typename, + r'GAccountFieldsData_transfersReceivedAggregate', + 'G__typename'), + aggregate: _aggregate?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'account'; - account.build(); + _$failedField = 'aggregate'; + _aggregate?.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'GGetHistoryAndBalanceData', _$failedField, e.toString()); + r'GAccountFieldsData_transfersReceivedAggregate', + _$failedField, + e.toString()); } rethrow; } @@ -2844,167 +80635,156 @@ class GGetHistoryAndBalanceDataBuilder } } -class _$GGetHistoryAndBalanceData_account - extends GGetHistoryAndBalanceData_account { +class _$GAccountFieldsData_transfersReceivedAggregate_aggregate + extends GAccountFieldsData_transfersReceivedAggregate_aggregate { @override final String G__typename; @override - final String id; - @override - final BuiltList<GGetHistoryAndBalanceData_account_transfersIssued> - transfersIssued; + final GAccountFieldsData_transfersReceivedAggregate_aggregate_sum? sum; @override - final BuiltList<GGetHistoryAndBalanceData_account_transfersReceived> - transfersReceived; + final int count; - factory _$GGetHistoryAndBalanceData_account( - [void Function(GGetHistoryAndBalanceData_accountBuilder)? updates]) => - (new GGetHistoryAndBalanceData_accountBuilder()..update(updates)) + factory _$GAccountFieldsData_transfersReceivedAggregate_aggregate( + [void Function( + GAccountFieldsData_transfersReceivedAggregate_aggregateBuilder)? + updates]) => + (new GAccountFieldsData_transfersReceivedAggregate_aggregateBuilder() + ..update(updates)) ._build(); - _$GGetHistoryAndBalanceData_account._( - {required this.G__typename, - required this.id, - required this.transfersIssued, - required this.transfersReceived}) + _$GAccountFieldsData_transfersReceivedAggregate_aggregate._( + {required this.G__typename, this.sum, required this.count}) : super._() { BuiltValueNullFieldError.checkNotNull( - G__typename, r'GGetHistoryAndBalanceData_account', 'G__typename'); - BuiltValueNullFieldError.checkNotNull( - id, r'GGetHistoryAndBalanceData_account', 'id'); - BuiltValueNullFieldError.checkNotNull(transfersIssued, - r'GGetHistoryAndBalanceData_account', 'transfersIssued'); - BuiltValueNullFieldError.checkNotNull(transfersReceived, - r'GGetHistoryAndBalanceData_account', 'transfersReceived'); + G__typename, + r'GAccountFieldsData_transfersReceivedAggregate_aggregate', + 'G__typename'); + BuiltValueNullFieldError.checkNotNull(count, + r'GAccountFieldsData_transfersReceivedAggregate_aggregate', 'count'); } @override - GGetHistoryAndBalanceData_account rebuild( - void Function(GGetHistoryAndBalanceData_accountBuilder) updates) => + GAccountFieldsData_transfersReceivedAggregate_aggregate rebuild( + void Function( + GAccountFieldsData_transfersReceivedAggregate_aggregateBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - GGetHistoryAndBalanceData_accountBuilder toBuilder() => - new GGetHistoryAndBalanceData_accountBuilder()..replace(this); + GAccountFieldsData_transfersReceivedAggregate_aggregateBuilder toBuilder() => + new GAccountFieldsData_transfersReceivedAggregate_aggregateBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GGetHistoryAndBalanceData_account && + return other is GAccountFieldsData_transfersReceivedAggregate_aggregate && G__typename == other.G__typename && - id == other.id && - transfersIssued == other.transfersIssued && - transfersReceived == other.transfersReceived; + sum == other.sum && + count == other.count; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, G__typename.hashCode); - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, transfersIssued.hashCode); - _$hash = $jc(_$hash, transfersReceived.hashCode); + _$hash = $jc(_$hash, sum.hashCode); + _$hash = $jc(_$hash, count.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'GGetHistoryAndBalanceData_account') + return (newBuiltValueToStringHelper( + r'GAccountFieldsData_transfersReceivedAggregate_aggregate') ..add('G__typename', G__typename) - ..add('id', id) - ..add('transfersIssued', transfersIssued) - ..add('transfersReceived', transfersReceived)) + ..add('sum', sum) + ..add('count', count)) .toString(); } } -class GGetHistoryAndBalanceData_accountBuilder +class GAccountFieldsData_transfersReceivedAggregate_aggregateBuilder implements - Builder<GGetHistoryAndBalanceData_account, - GGetHistoryAndBalanceData_accountBuilder> { - _$GGetHistoryAndBalanceData_account? _$v; + Builder<GAccountFieldsData_transfersReceivedAggregate_aggregate, + GAccountFieldsData_transfersReceivedAggregate_aggregateBuilder> { + _$GAccountFieldsData_transfersReceivedAggregate_aggregate? _$v; String? _G__typename; String? get G__typename => _$this._G__typename; set G__typename(String? G__typename) => _$this._G__typename = G__typename; - String? _id; - String? get id => _$this._id; - set id(String? id) => _$this._id = id; - - ListBuilder<GGetHistoryAndBalanceData_account_transfersIssued>? - _transfersIssued; - ListBuilder<GGetHistoryAndBalanceData_account_transfersIssued> - get transfersIssued => _$this._transfersIssued ??= - new ListBuilder<GGetHistoryAndBalanceData_account_transfersIssued>(); - set transfersIssued( - ListBuilder<GGetHistoryAndBalanceData_account_transfersIssued>? - transfersIssued) => - _$this._transfersIssued = transfersIssued; + GAccountFieldsData_transfersReceivedAggregate_aggregate_sumBuilder? _sum; + GAccountFieldsData_transfersReceivedAggregate_aggregate_sumBuilder get sum => + _$this._sum ??= + new GAccountFieldsData_transfersReceivedAggregate_aggregate_sumBuilder(); + set sum( + GAccountFieldsData_transfersReceivedAggregate_aggregate_sumBuilder? + sum) => + _$this._sum = sum; - ListBuilder<GGetHistoryAndBalanceData_account_transfersReceived>? - _transfersReceived; - ListBuilder<GGetHistoryAndBalanceData_account_transfersReceived> - get transfersReceived => _$this._transfersReceived ??= new ListBuilder< - GGetHistoryAndBalanceData_account_transfersReceived>(); - set transfersReceived( - ListBuilder<GGetHistoryAndBalanceData_account_transfersReceived>? - transfersReceived) => - _$this._transfersReceived = transfersReceived; + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; - GGetHistoryAndBalanceData_accountBuilder() { - GGetHistoryAndBalanceData_account._initializeBuilder(this); + GAccountFieldsData_transfersReceivedAggregate_aggregateBuilder() { + GAccountFieldsData_transfersReceivedAggregate_aggregate._initializeBuilder( + this); } - GGetHistoryAndBalanceData_accountBuilder get _$this { + GAccountFieldsData_transfersReceivedAggregate_aggregateBuilder get _$this { final $v = _$v; if ($v != null) { _G__typename = $v.G__typename; - _id = $v.id; - _transfersIssued = $v.transfersIssued.toBuilder(); - _transfersReceived = $v.transfersReceived.toBuilder(); + _sum = $v.sum?.toBuilder(); + _count = $v.count; _$v = null; } return this; } @override - void replace(GGetHistoryAndBalanceData_account other) { + void replace(GAccountFieldsData_transfersReceivedAggregate_aggregate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GGetHistoryAndBalanceData_account; + _$v = other as _$GAccountFieldsData_transfersReceivedAggregate_aggregate; } @override void update( - void Function(GGetHistoryAndBalanceData_accountBuilder)? updates) { + void Function( + GAccountFieldsData_transfersReceivedAggregate_aggregateBuilder)? + updates) { if (updates != null) updates(this); } @override - GGetHistoryAndBalanceData_account build() => _build(); + GAccountFieldsData_transfersReceivedAggregate_aggregate build() => _build(); - _$GGetHistoryAndBalanceData_account _build() { - _$GGetHistoryAndBalanceData_account _$result; + _$GAccountFieldsData_transfersReceivedAggregate_aggregate _build() { + _$GAccountFieldsData_transfersReceivedAggregate_aggregate _$result; try { _$result = _$v ?? - new _$GGetHistoryAndBalanceData_account._( - G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, - r'GGetHistoryAndBalanceData_account', 'G__typename'), - id: BuiltValueNullFieldError.checkNotNull( - id, r'GGetHistoryAndBalanceData_account', 'id'), - transfersIssued: transfersIssued.build(), - transfersReceived: transfersReceived.build()); + new _$GAccountFieldsData_transfersReceivedAggregate_aggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_transfersReceivedAggregate_aggregate', + 'G__typename'), + sum: _sum?.build(), + count: BuiltValueNullFieldError.checkNotNull( + count, + r'GAccountFieldsData_transfersReceivedAggregate_aggregate', + 'count')); } catch (_) { late String _$failedField; try { - _$failedField = 'transfersIssued'; - transfersIssued.build(); - _$failedField = 'transfersReceived'; - transfersReceived.build(); + _$failedField = 'sum'; + _sum?.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'GGetHistoryAndBalanceData_account', _$failedField, e.toString()); + r'GAccountFieldsData_transfersReceivedAggregate_aggregate', + _$failedField, + e.toString()); } rethrow; } @@ -3013,85 +80793,57 @@ class GGetHistoryAndBalanceData_accountBuilder } } -class _$GGetHistoryAndBalanceData_account_transfersIssued - extends GGetHistoryAndBalanceData_account_transfersIssued { +class _$GAccountFieldsData_transfersReceivedAggregate_aggregate_sum + extends GAccountFieldsData_transfersReceivedAggregate_aggregate_sum { @override final String G__typename; @override - final int blockNumber; - @override - final _i2.Gtimestamptz timestamp; - @override - final int amount; - @override - final GGetHistoryAndBalanceData_account_transfersIssued_to? to; - @override - final GGetHistoryAndBalanceData_account_transfersIssued_from? from; - @override - final GGetHistoryAndBalanceData_account_transfersIssued_comment? comment; + final int? amount; - factory _$GGetHistoryAndBalanceData_account_transfersIssued( + factory _$GAccountFieldsData_transfersReceivedAggregate_aggregate_sum( [void Function( - GGetHistoryAndBalanceData_account_transfersIssuedBuilder)? + GAccountFieldsData_transfersReceivedAggregate_aggregate_sumBuilder)? updates]) => - (new GGetHistoryAndBalanceData_account_transfersIssuedBuilder() + (new GAccountFieldsData_transfersReceivedAggregate_aggregate_sumBuilder() ..update(updates)) ._build(); - _$GGetHistoryAndBalanceData_account_transfersIssued._( - {required this.G__typename, - required this.blockNumber, - required this.timestamp, - required this.amount, - this.to, - this.from, - this.comment}) + _$GAccountFieldsData_transfersReceivedAggregate_aggregate_sum._( + {required this.G__typename, this.amount}) : super._() { - BuiltValueNullFieldError.checkNotNull(G__typename, - r'GGetHistoryAndBalanceData_account_transfersIssued', 'G__typename'); - BuiltValueNullFieldError.checkNotNull(blockNumber, - r'GGetHistoryAndBalanceData_account_transfersIssued', 'blockNumber'); - BuiltValueNullFieldError.checkNotNull(timestamp, - r'GGetHistoryAndBalanceData_account_transfersIssued', 'timestamp'); BuiltValueNullFieldError.checkNotNull( - amount, r'GGetHistoryAndBalanceData_account_transfersIssued', 'amount'); + G__typename, + r'GAccountFieldsData_transfersReceivedAggregate_aggregate_sum', + 'G__typename'); } @override - GGetHistoryAndBalanceData_account_transfersIssued rebuild( + GAccountFieldsData_transfersReceivedAggregate_aggregate_sum rebuild( void Function( - GGetHistoryAndBalanceData_account_transfersIssuedBuilder) + GAccountFieldsData_transfersReceivedAggregate_aggregate_sumBuilder) updates) => (toBuilder()..update(updates)).build(); @override - GGetHistoryAndBalanceData_account_transfersIssuedBuilder toBuilder() => - new GGetHistoryAndBalanceData_account_transfersIssuedBuilder() - ..replace(this); + GAccountFieldsData_transfersReceivedAggregate_aggregate_sumBuilder + toBuilder() => + new GAccountFieldsData_transfersReceivedAggregate_aggregate_sumBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GGetHistoryAndBalanceData_account_transfersIssued && + return other + is GAccountFieldsData_transfersReceivedAggregate_aggregate_sum && G__typename == other.G__typename && - blockNumber == other.blockNumber && - timestamp == other.timestamp && - amount == other.amount && - to == other.to && - from == other.from && - comment == other.comment; + amount == other.amount; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, G__typename.hashCode); - _$hash = $jc(_$hash, blockNumber.hashCode); - _$hash = $jc(_$hash, timestamp.hashCode); _$hash = $jc(_$hash, amount.hashCode); - _$hash = $jc(_$hash, to.hashCode); - _$hash = $jc(_$hash, from.hashCode); - _$hash = $jc(_$hash, comment.hashCode); _$hash = $jf(_$hash); return _$hash; } @@ -3099,190 +80851,129 @@ class _$GGetHistoryAndBalanceData_account_transfersIssued @override String toString() { return (newBuiltValueToStringHelper( - r'GGetHistoryAndBalanceData_account_transfersIssued') + r'GAccountFieldsData_transfersReceivedAggregate_aggregate_sum') ..add('G__typename', G__typename) - ..add('blockNumber', blockNumber) - ..add('timestamp', timestamp) - ..add('amount', amount) - ..add('to', to) - ..add('from', from) - ..add('comment', comment)) + ..add('amount', amount)) .toString(); } } -class GGetHistoryAndBalanceData_account_transfersIssuedBuilder +class GAccountFieldsData_transfersReceivedAggregate_aggregate_sumBuilder implements - Builder<GGetHistoryAndBalanceData_account_transfersIssued, - GGetHistoryAndBalanceData_account_transfersIssuedBuilder> { - _$GGetHistoryAndBalanceData_account_transfersIssued? _$v; + Builder<GAccountFieldsData_transfersReceivedAggregate_aggregate_sum, + GAccountFieldsData_transfersReceivedAggregate_aggregate_sumBuilder> { + _$GAccountFieldsData_transfersReceivedAggregate_aggregate_sum? _$v; String? _G__typename; String? get G__typename => _$this._G__typename; set G__typename(String? G__typename) => _$this._G__typename = G__typename; - int? _blockNumber; - int? get blockNumber => _$this._blockNumber; - set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; - - _i2.GtimestamptzBuilder? _timestamp; - _i2.GtimestamptzBuilder get timestamp => - _$this._timestamp ??= new _i2.GtimestamptzBuilder(); - set timestamp(_i2.GtimestamptzBuilder? timestamp) => - _$this._timestamp = timestamp; - int? _amount; int? get amount => _$this._amount; - set amount(int? amount) => _$this._amount = amount; - - GGetHistoryAndBalanceData_account_transfersIssued_toBuilder? _to; - GGetHistoryAndBalanceData_account_transfersIssued_toBuilder get to => - _$this._to ??= - new GGetHistoryAndBalanceData_account_transfersIssued_toBuilder(); - set to(GGetHistoryAndBalanceData_account_transfersIssued_toBuilder? to) => - _$this._to = to; - - GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder? _from; - GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder get from => - _$this._from ??= - new GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder(); - set from( - GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder? - from) => - _$this._from = from; - - GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder? _comment; - GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder - get comment => _$this._comment ??= - new GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder(); - set comment( - GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder? - comment) => - _$this._comment = comment; + set amount(int? amount) => _$this._amount = amount; - GGetHistoryAndBalanceData_account_transfersIssuedBuilder() { - GGetHistoryAndBalanceData_account_transfersIssued._initializeBuilder(this); + GAccountFieldsData_transfersReceivedAggregate_aggregate_sumBuilder() { + GAccountFieldsData_transfersReceivedAggregate_aggregate_sum + ._initializeBuilder(this); } - GGetHistoryAndBalanceData_account_transfersIssuedBuilder get _$this { + GAccountFieldsData_transfersReceivedAggregate_aggregate_sumBuilder + get _$this { final $v = _$v; if ($v != null) { _G__typename = $v.G__typename; - _blockNumber = $v.blockNumber; - _timestamp = $v.timestamp.toBuilder(); _amount = $v.amount; - _to = $v.to?.toBuilder(); - _from = $v.from?.toBuilder(); - _comment = $v.comment?.toBuilder(); _$v = null; } return this; } @override - void replace(GGetHistoryAndBalanceData_account_transfersIssued other) { + void replace( + GAccountFieldsData_transfersReceivedAggregate_aggregate_sum other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GGetHistoryAndBalanceData_account_transfersIssued; + _$v = + other as _$GAccountFieldsData_transfersReceivedAggregate_aggregate_sum; } @override void update( - void Function(GGetHistoryAndBalanceData_account_transfersIssuedBuilder)? + void Function( + GAccountFieldsData_transfersReceivedAggregate_aggregate_sumBuilder)? updates) { if (updates != null) updates(this); } @override - GGetHistoryAndBalanceData_account_transfersIssued build() => _build(); - - _$GGetHistoryAndBalanceData_account_transfersIssued _build() { - _$GGetHistoryAndBalanceData_account_transfersIssued _$result; - try { - _$result = _$v ?? - new _$GGetHistoryAndBalanceData_account_transfersIssued._( - G__typename: BuiltValueNullFieldError.checkNotNull( - G__typename, - r'GGetHistoryAndBalanceData_account_transfersIssued', - 'G__typename'), - blockNumber: BuiltValueNullFieldError.checkNotNull( - blockNumber, - r'GGetHistoryAndBalanceData_account_transfersIssued', - 'blockNumber'), - timestamp: timestamp.build(), - amount: BuiltValueNullFieldError.checkNotNull( - amount, - r'GGetHistoryAndBalanceData_account_transfersIssued', - 'amount'), - to: _to?.build(), - from: _from?.build(), - comment: _comment?.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'timestamp'; - timestamp.build(); + GAccountFieldsData_transfersReceivedAggregate_aggregate_sum build() => + _build(); - _$failedField = 'to'; - _to?.build(); - _$failedField = 'from'; - _from?.build(); - _$failedField = 'comment'; - _comment?.build(); - } catch (e) { - throw new BuiltValueNestedFieldError( - r'GGetHistoryAndBalanceData_account_transfersIssued', - _$failedField, - e.toString()); - } - rethrow; - } + _$GAccountFieldsData_transfersReceivedAggregate_aggregate_sum _build() { + final _$result = _$v ?? + new _$GAccountFieldsData_transfersReceivedAggregate_aggregate_sum._( + G__typename: BuiltValueNullFieldError.checkNotNull( + G__typename, + r'GAccountFieldsData_transfersReceivedAggregate_aggregate_sum', + 'G__typename'), + amount: amount); replace(_$result); return _$result; } } -class _$GGetHistoryAndBalanceData_account_transfersIssued_to - extends GGetHistoryAndBalanceData_account_transfersIssued_to { +class _$GAccountFieldsData_wasIdentity extends GAccountFieldsData_wasIdentity { @override final String G__typename; @override final String id; + @override + final int blockNumber; + @override + final String? identityId; + @override + final String? nextId; + @override + final String? previousId; - factory _$GGetHistoryAndBalanceData_account_transfersIssued_to( - [void Function( - GGetHistoryAndBalanceData_account_transfersIssued_toBuilder)? - updates]) => - (new GGetHistoryAndBalanceData_account_transfersIssued_toBuilder() - ..update(updates)) - ._build(); + factory _$GAccountFieldsData_wasIdentity( + [void Function(GAccountFieldsData_wasIdentityBuilder)? updates]) => + (new GAccountFieldsData_wasIdentityBuilder()..update(updates))._build(); - _$GGetHistoryAndBalanceData_account_transfersIssued_to._( - {required this.G__typename, required this.id}) + _$GAccountFieldsData_wasIdentity._( + {required this.G__typename, + required this.id, + required this.blockNumber, + this.identityId, + this.nextId, + this.previousId}) : super._() { - BuiltValueNullFieldError.checkNotNull(G__typename, - r'GGetHistoryAndBalanceData_account_transfersIssued_to', 'G__typename'); BuiltValueNullFieldError.checkNotNull( - id, r'GGetHistoryAndBalanceData_account_transfersIssued_to', 'id'); + G__typename, r'GAccountFieldsData_wasIdentity', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_wasIdentity', 'id'); + BuiltValueNullFieldError.checkNotNull( + blockNumber, r'GAccountFieldsData_wasIdentity', 'blockNumber'); } @override - GGetHistoryAndBalanceData_account_transfersIssued_to rebuild( - void Function( - GGetHistoryAndBalanceData_account_transfersIssued_toBuilder) - updates) => + GAccountFieldsData_wasIdentity rebuild( + void Function(GAccountFieldsData_wasIdentityBuilder) updates) => (toBuilder()..update(updates)).build(); @override - GGetHistoryAndBalanceData_account_transfersIssued_toBuilder toBuilder() => - new GGetHistoryAndBalanceData_account_transfersIssued_toBuilder() - ..replace(this); + GAccountFieldsData_wasIdentityBuilder toBuilder() => + new GAccountFieldsData_wasIdentityBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GGetHistoryAndBalanceData_account_transfersIssued_to && + return other is GAccountFieldsData_wasIdentity && G__typename == other.G__typename && - id == other.id; + id == other.id && + blockNumber == other.blockNumber && + identityId == other.identityId && + nextId == other.nextId && + previousId == other.previousId; } @override @@ -3290,25 +80981,32 @@ class _$GGetHistoryAndBalanceData_account_transfersIssued_to var _$hash = 0; _$hash = $jc(_$hash, G__typename.hashCode); _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, blockNumber.hashCode); + _$hash = $jc(_$hash, identityId.hashCode); + _$hash = $jc(_$hash, nextId.hashCode); + _$hash = $jc(_$hash, previousId.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'GGetHistoryAndBalanceData_account_transfersIssued_to') + return (newBuiltValueToStringHelper(r'GAccountFieldsData_wasIdentity') ..add('G__typename', G__typename) - ..add('id', id)) + ..add('id', id) + ..add('blockNumber', blockNumber) + ..add('identityId', identityId) + ..add('nextId', nextId) + ..add('previousId', previousId)) .toString(); } } -class GGetHistoryAndBalanceData_account_transfersIssued_toBuilder +class GAccountFieldsData_wasIdentityBuilder implements - Builder<GGetHistoryAndBalanceData_account_transfersIssued_to, - GGetHistoryAndBalanceData_account_transfersIssued_toBuilder> { - _$GGetHistoryAndBalanceData_account_transfersIssued_to? _$v; + Builder<GAccountFieldsData_wasIdentity, + GAccountFieldsData_wasIdentityBuilder> { + _$GAccountFieldsData_wasIdentity? _$v; String? _G__typename; String? get G__typename => _$this._G__typename; @@ -3318,103 +81016,114 @@ class GGetHistoryAndBalanceData_account_transfersIssued_toBuilder String? get id => _$this._id; set id(String? id) => _$this._id = id; - GGetHistoryAndBalanceData_account_transfersIssued_toBuilder() { - GGetHistoryAndBalanceData_account_transfersIssued_to._initializeBuilder( - this); + int? _blockNumber; + int? get blockNumber => _$this._blockNumber; + set blockNumber(int? blockNumber) => _$this._blockNumber = blockNumber; + + String? _identityId; + String? get identityId => _$this._identityId; + set identityId(String? identityId) => _$this._identityId = identityId; + + String? _nextId; + String? get nextId => _$this._nextId; + set nextId(String? nextId) => _$this._nextId = nextId; + + String? _previousId; + String? get previousId => _$this._previousId; + set previousId(String? previousId) => _$this._previousId = previousId; + + GAccountFieldsData_wasIdentityBuilder() { + GAccountFieldsData_wasIdentity._initializeBuilder(this); } - GGetHistoryAndBalanceData_account_transfersIssued_toBuilder get _$this { + GAccountFieldsData_wasIdentityBuilder get _$this { final $v = _$v; if ($v != null) { _G__typename = $v.G__typename; _id = $v.id; + _blockNumber = $v.blockNumber; + _identityId = $v.identityId; + _nextId = $v.nextId; + _previousId = $v.previousId; _$v = null; } return this; } @override - void replace(GGetHistoryAndBalanceData_account_transfersIssued_to other) { + void replace(GAccountFieldsData_wasIdentity other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GGetHistoryAndBalanceData_account_transfersIssued_to; + _$v = other as _$GAccountFieldsData_wasIdentity; } @override - void update( - void Function( - GGetHistoryAndBalanceData_account_transfersIssued_toBuilder)? - updates) { + void update(void Function(GAccountFieldsData_wasIdentityBuilder)? updates) { if (updates != null) updates(this); } @override - GGetHistoryAndBalanceData_account_transfersIssued_to build() => _build(); + GAccountFieldsData_wasIdentity build() => _build(); - _$GGetHistoryAndBalanceData_account_transfersIssued_to _build() { + _$GAccountFieldsData_wasIdentity _build() { final _$result = _$v ?? - new _$GGetHistoryAndBalanceData_account_transfersIssued_to._( + new _$GAccountFieldsData_wasIdentity._( G__typename: BuiltValueNullFieldError.checkNotNull( - G__typename, - r'GGetHistoryAndBalanceData_account_transfersIssued_to', - 'G__typename'), - id: BuiltValueNullFieldError.checkNotNull(id, - r'GGetHistoryAndBalanceData_account_transfersIssued_to', 'id')); + G__typename, r'GAccountFieldsData_wasIdentity', 'G__typename'), + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountFieldsData_wasIdentity', 'id'), + blockNumber: BuiltValueNullFieldError.checkNotNull( + blockNumber, r'GAccountFieldsData_wasIdentity', 'blockNumber'), + identityId: identityId, + nextId: nextId, + previousId: previousId); replace(_$result); return _$result; } } -class _$GGetHistoryAndBalanceData_account_transfersIssued_from - extends GGetHistoryAndBalanceData_account_transfersIssued_from { +class _$GAccountFieldsData_wasIdentityAggregate + extends GAccountFieldsData_wasIdentityAggregate { @override final String G__typename; @override - final String id; + final GAccountFieldsData_wasIdentityAggregate_aggregate? aggregate; - factory _$GGetHistoryAndBalanceData_account_transfersIssued_from( - [void Function( - GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder)? + factory _$GAccountFieldsData_wasIdentityAggregate( + [void Function(GAccountFieldsData_wasIdentityAggregateBuilder)? updates]) => - (new GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder() - ..update(updates)) + (new GAccountFieldsData_wasIdentityAggregateBuilder()..update(updates)) ._build(); - _$GGetHistoryAndBalanceData_account_transfersIssued_from._( - {required this.G__typename, required this.id}) + _$GAccountFieldsData_wasIdentityAggregate._( + {required this.G__typename, this.aggregate}) : super._() { BuiltValueNullFieldError.checkNotNull( - G__typename, - r'GGetHistoryAndBalanceData_account_transfersIssued_from', - 'G__typename'); - BuiltValueNullFieldError.checkNotNull( - id, r'GGetHistoryAndBalanceData_account_transfersIssued_from', 'id'); + G__typename, r'GAccountFieldsData_wasIdentityAggregate', 'G__typename'); } @override - GGetHistoryAndBalanceData_account_transfersIssued_from rebuild( - void Function( - GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder) + GAccountFieldsData_wasIdentityAggregate rebuild( + void Function(GAccountFieldsData_wasIdentityAggregateBuilder) updates) => (toBuilder()..update(updates)).build(); @override - GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder toBuilder() => - new GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder() - ..replace(this); + GAccountFieldsData_wasIdentityAggregateBuilder toBuilder() => + new GAccountFieldsData_wasIdentityAggregateBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GGetHistoryAndBalanceData_account_transfersIssued_from && + return other is GAccountFieldsData_wasIdentityAggregate && G__typename == other.G__typename && - id == other.id; + aggregate == other.aggregate; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, G__typename.hashCode); - _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, aggregate.hashCode); _$hash = $jf(_$hash); return _$hash; } @@ -3422,127 +81131,136 @@ class _$GGetHistoryAndBalanceData_account_transfersIssued_from @override String toString() { return (newBuiltValueToStringHelper( - r'GGetHistoryAndBalanceData_account_transfersIssued_from') + r'GAccountFieldsData_wasIdentityAggregate') ..add('G__typename', G__typename) - ..add('id', id)) + ..add('aggregate', aggregate)) .toString(); } } -class GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder +class GAccountFieldsData_wasIdentityAggregateBuilder implements - Builder<GGetHistoryAndBalanceData_account_transfersIssued_from, - GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder> { - _$GGetHistoryAndBalanceData_account_transfersIssued_from? _$v; + Builder<GAccountFieldsData_wasIdentityAggregate, + GAccountFieldsData_wasIdentityAggregateBuilder> { + _$GAccountFieldsData_wasIdentityAggregate? _$v; String? _G__typename; String? get G__typename => _$this._G__typename; set G__typename(String? G__typename) => _$this._G__typename = G__typename; - String? _id; - String? get id => _$this._id; - set id(String? id) => _$this._id = id; + GAccountFieldsData_wasIdentityAggregate_aggregateBuilder? _aggregate; + GAccountFieldsData_wasIdentityAggregate_aggregateBuilder get aggregate => + _$this._aggregate ??= + new GAccountFieldsData_wasIdentityAggregate_aggregateBuilder(); + set aggregate( + GAccountFieldsData_wasIdentityAggregate_aggregateBuilder? + aggregate) => + _$this._aggregate = aggregate; - GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder() { - GGetHistoryAndBalanceData_account_transfersIssued_from._initializeBuilder( - this); + GAccountFieldsData_wasIdentityAggregateBuilder() { + GAccountFieldsData_wasIdentityAggregate._initializeBuilder(this); } - GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder get _$this { + GAccountFieldsData_wasIdentityAggregateBuilder get _$this { final $v = _$v; if ($v != null) { _G__typename = $v.G__typename; - _id = $v.id; + _aggregate = $v.aggregate?.toBuilder(); _$v = null; } return this; } @override - void replace(GGetHistoryAndBalanceData_account_transfersIssued_from other) { + void replace(GAccountFieldsData_wasIdentityAggregate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GGetHistoryAndBalanceData_account_transfersIssued_from; + _$v = other as _$GAccountFieldsData_wasIdentityAggregate; } @override void update( - void Function( - GGetHistoryAndBalanceData_account_transfersIssued_fromBuilder)? - updates) { + void Function(GAccountFieldsData_wasIdentityAggregateBuilder)? updates) { if (updates != null) updates(this); } @override - GGetHistoryAndBalanceData_account_transfersIssued_from build() => _build(); + GAccountFieldsData_wasIdentityAggregate build() => _build(); - _$GGetHistoryAndBalanceData_account_transfersIssued_from _build() { - final _$result = _$v ?? - new _$GGetHistoryAndBalanceData_account_transfersIssued_from._( - G__typename: BuiltValueNullFieldError.checkNotNull( - G__typename, - r'GGetHistoryAndBalanceData_account_transfersIssued_from', - 'G__typename'), - id: BuiltValueNullFieldError.checkNotNull( - id, - r'GGetHistoryAndBalanceData_account_transfersIssued_from', - 'id')); + _$GAccountFieldsData_wasIdentityAggregate _build() { + _$GAccountFieldsData_wasIdentityAggregate _$result; + try { + _$result = _$v ?? + new _$GAccountFieldsData_wasIdentityAggregate._( + G__typename: BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_wasIdentityAggregate', 'G__typename'), + aggregate: _aggregate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'aggregate'; + _aggregate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountFieldsData_wasIdentityAggregate', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$GGetHistoryAndBalanceData_account_transfersIssued_comment - extends GGetHistoryAndBalanceData_account_transfersIssued_comment { +class _$GAccountFieldsData_wasIdentityAggregate_aggregate + extends GAccountFieldsData_wasIdentityAggregate_aggregate { @override final String G__typename; @override - final String remark; + final int count; - factory _$GGetHistoryAndBalanceData_account_transfersIssued_comment( + factory _$GAccountFieldsData_wasIdentityAggregate_aggregate( [void Function( - GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder)? + GAccountFieldsData_wasIdentityAggregate_aggregateBuilder)? updates]) => - (new GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder() + (new GAccountFieldsData_wasIdentityAggregate_aggregateBuilder() ..update(updates)) ._build(); - _$GGetHistoryAndBalanceData_account_transfersIssued_comment._( - {required this.G__typename, required this.remark}) + _$GAccountFieldsData_wasIdentityAggregate_aggregate._( + {required this.G__typename, required this.count}) : super._() { + BuiltValueNullFieldError.checkNotNull(G__typename, + r'GAccountFieldsData_wasIdentityAggregate_aggregate', 'G__typename'); BuiltValueNullFieldError.checkNotNull( - G__typename, - r'GGetHistoryAndBalanceData_account_transfersIssued_comment', - 'G__typename'); - BuiltValueNullFieldError.checkNotNull(remark, - r'GGetHistoryAndBalanceData_account_transfersIssued_comment', 'remark'); + count, r'GAccountFieldsData_wasIdentityAggregate_aggregate', 'count'); } @override - GGetHistoryAndBalanceData_account_transfersIssued_comment rebuild( + GAccountFieldsData_wasIdentityAggregate_aggregate rebuild( void Function( - GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder) + GAccountFieldsData_wasIdentityAggregate_aggregateBuilder) updates) => (toBuilder()..update(updates)).build(); @override - GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder - toBuilder() => - new GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder() - ..replace(this); + GAccountFieldsData_wasIdentityAggregate_aggregateBuilder toBuilder() => + new GAccountFieldsData_wasIdentityAggregate_aggregateBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GGetHistoryAndBalanceData_account_transfersIssued_comment && + return other is GAccountFieldsData_wasIdentityAggregate_aggregate && G__typename == other.G__typename && - remark == other.remark; + count == other.count; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, G__typename.hashCode); - _$hash = $jc(_$hash, remark.hashCode); + _$hash = $jc(_$hash, count.hashCode); _$hash = $jf(_$hash); return _$hash; } @@ -3550,78 +81268,72 @@ class _$GGetHistoryAndBalanceData_account_transfersIssued_comment @override String toString() { return (newBuiltValueToStringHelper( - r'GGetHistoryAndBalanceData_account_transfersIssued_comment') + r'GAccountFieldsData_wasIdentityAggregate_aggregate') ..add('G__typename', G__typename) - ..add('remark', remark)) + ..add('count', count)) .toString(); } } -class GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder +class GAccountFieldsData_wasIdentityAggregate_aggregateBuilder implements - Builder<GGetHistoryAndBalanceData_account_transfersIssued_comment, - GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder> { - _$GGetHistoryAndBalanceData_account_transfersIssued_comment? _$v; + Builder<GAccountFieldsData_wasIdentityAggregate_aggregate, + GAccountFieldsData_wasIdentityAggregate_aggregateBuilder> { + _$GAccountFieldsData_wasIdentityAggregate_aggregate? _$v; String? _G__typename; String? get G__typename => _$this._G__typename; set G__typename(String? G__typename) => _$this._G__typename = G__typename; - String? _remark; - String? get remark => _$this._remark; - set remark(String? remark) => _$this._remark = remark; + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; - GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder() { - GGetHistoryAndBalanceData_account_transfersIssued_comment - ._initializeBuilder(this); + GAccountFieldsData_wasIdentityAggregate_aggregateBuilder() { + GAccountFieldsData_wasIdentityAggregate_aggregate._initializeBuilder(this); } - GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder get _$this { + GAccountFieldsData_wasIdentityAggregate_aggregateBuilder get _$this { final $v = _$v; if ($v != null) { _G__typename = $v.G__typename; - _remark = $v.remark; + _count = $v.count; _$v = null; } return this; } @override - void replace( - GGetHistoryAndBalanceData_account_transfersIssued_comment other) { + void replace(GAccountFieldsData_wasIdentityAggregate_aggregate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GGetHistoryAndBalanceData_account_transfersIssued_comment; + _$v = other as _$GAccountFieldsData_wasIdentityAggregate_aggregate; } @override void update( - void Function( - GGetHistoryAndBalanceData_account_transfersIssued_commentBuilder)? + void Function(GAccountFieldsData_wasIdentityAggregate_aggregateBuilder)? updates) { if (updates != null) updates(this); } @override - GGetHistoryAndBalanceData_account_transfersIssued_comment build() => _build(); + GAccountFieldsData_wasIdentityAggregate_aggregate build() => _build(); - _$GGetHistoryAndBalanceData_account_transfersIssued_comment _build() { + _$GAccountFieldsData_wasIdentityAggregate_aggregate _build() { final _$result = _$v ?? - new _$GGetHistoryAndBalanceData_account_transfersIssued_comment._( + new _$GAccountFieldsData_wasIdentityAggregate_aggregate._( G__typename: BuiltValueNullFieldError.checkNotNull( G__typename, - r'GGetHistoryAndBalanceData_account_transfersIssued_comment', - 'G__typename'), - remark: BuiltValueNullFieldError.checkNotNull( - remark, - r'GGetHistoryAndBalanceData_account_transfersIssued_comment', - 'remark')); + r'GAccountFieldsData_wasIdentityAggregate_aggregate', + 'G__typename'), + count: BuiltValueNullFieldError.checkNotNull(count, + r'GAccountFieldsData_wasIdentityAggregate_aggregate', 'count')); replace(_$result); return _$result; } } -class _$GGetHistoryAndBalanceData_account_transfersReceived - extends GGetHistoryAndBalanceData_account_transfersReceived { +class _$GTransferFieldsData extends GTransferFieldsData { @override final String G__typename; @override @@ -3631,61 +81343,54 @@ class _$GGetHistoryAndBalanceData_account_transfersReceived @override final int amount; @override - final GGetHistoryAndBalanceData_account_transfersReceived_from? from; + final GTransferFieldsData_to? to; @override - final GGetHistoryAndBalanceData_account_transfersReceived_to? to; + final GTransferFieldsData_from? from; @override - final GGetHistoryAndBalanceData_account_transfersReceived_comment? comment; + final GTransferFieldsData_comment? comment; - factory _$GGetHistoryAndBalanceData_account_transfersReceived( - [void Function( - GGetHistoryAndBalanceData_account_transfersReceivedBuilder)? - updates]) => - (new GGetHistoryAndBalanceData_account_transfersReceivedBuilder() - ..update(updates)) - ._build(); + factory _$GTransferFieldsData( + [void Function(GTransferFieldsDataBuilder)? updates]) => + (new GTransferFieldsDataBuilder()..update(updates))._build(); - _$GGetHistoryAndBalanceData_account_transfersReceived._( + _$GTransferFieldsData._( {required this.G__typename, required this.blockNumber, required this.timestamp, required this.amount, - this.from, this.to, + this.from, this.comment}) : super._() { - BuiltValueNullFieldError.checkNotNull(G__typename, - r'GGetHistoryAndBalanceData_account_transfersReceived', 'G__typename'); - BuiltValueNullFieldError.checkNotNull(blockNumber, - r'GGetHistoryAndBalanceData_account_transfersReceived', 'blockNumber'); - BuiltValueNullFieldError.checkNotNull(timestamp, - r'GGetHistoryAndBalanceData_account_transfersReceived', 'timestamp'); - BuiltValueNullFieldError.checkNotNull(amount, - r'GGetHistoryAndBalanceData_account_transfersReceived', 'amount'); + BuiltValueNullFieldError.checkNotNull( + G__typename, r'GTransferFieldsData', 'G__typename'); + BuiltValueNullFieldError.checkNotNull( + blockNumber, r'GTransferFieldsData', 'blockNumber'); + BuiltValueNullFieldError.checkNotNull( + timestamp, r'GTransferFieldsData', 'timestamp'); + BuiltValueNullFieldError.checkNotNull( + amount, r'GTransferFieldsData', 'amount'); } @override - GGetHistoryAndBalanceData_account_transfersReceived rebuild( - void Function( - GGetHistoryAndBalanceData_account_transfersReceivedBuilder) - updates) => + GTransferFieldsData rebuild( + void Function(GTransferFieldsDataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - GGetHistoryAndBalanceData_account_transfersReceivedBuilder toBuilder() => - new GGetHistoryAndBalanceData_account_transfersReceivedBuilder() - ..replace(this); + GTransferFieldsDataBuilder toBuilder() => + new GTransferFieldsDataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GGetHistoryAndBalanceData_account_transfersReceived && + return other is GTransferFieldsData && G__typename == other.G__typename && blockNumber == other.blockNumber && timestamp == other.timestamp && amount == other.amount && - from == other.from && to == other.to && + from == other.from && comment == other.comment; } @@ -3696,8 +81401,8 @@ class _$GGetHistoryAndBalanceData_account_transfersReceived _$hash = $jc(_$hash, blockNumber.hashCode); _$hash = $jc(_$hash, timestamp.hashCode); _$hash = $jc(_$hash, amount.hashCode); - _$hash = $jc(_$hash, from.hashCode); _$hash = $jc(_$hash, to.hashCode); + _$hash = $jc(_$hash, from.hashCode); _$hash = $jc(_$hash, comment.hashCode); _$hash = $jf(_$hash); return _$hash; @@ -3705,24 +81410,21 @@ class _$GGetHistoryAndBalanceData_account_transfersReceived @override String toString() { - return (newBuiltValueToStringHelper( - r'GGetHistoryAndBalanceData_account_transfersReceived') + return (newBuiltValueToStringHelper(r'GTransferFieldsData') ..add('G__typename', G__typename) ..add('blockNumber', blockNumber) ..add('timestamp', timestamp) ..add('amount', amount) - ..add('from', from) ..add('to', to) + ..add('from', from) ..add('comment', comment)) .toString(); } } -class GGetHistoryAndBalanceData_account_transfersReceivedBuilder - implements - Builder<GGetHistoryAndBalanceData_account_transfersReceived, - GGetHistoryAndBalanceData_account_transfersReceivedBuilder> { - _$GGetHistoryAndBalanceData_account_transfersReceived? _$v; +class GTransferFieldsDataBuilder + implements Builder<GTransferFieldsData, GTransferFieldsDataBuilder> { + _$GTransferFieldsData? _$v; String? _G__typename; String? get G__typename => _$this._G__typename; @@ -3742,45 +81444,35 @@ class GGetHistoryAndBalanceData_account_transfersReceivedBuilder int? get amount => _$this._amount; set amount(int? amount) => _$this._amount = amount; - GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder? _from; - GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder get from => - _$this._from ??= - new GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder(); - set from( - GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder? - from) => - _$this._from = from; + GTransferFieldsData_toBuilder? _to; + GTransferFieldsData_toBuilder get to => + _$this._to ??= new GTransferFieldsData_toBuilder(); + set to(GTransferFieldsData_toBuilder? to) => _$this._to = to; - GGetHistoryAndBalanceData_account_transfersReceived_toBuilder? _to; - GGetHistoryAndBalanceData_account_transfersReceived_toBuilder get to => - _$this._to ??= - new GGetHistoryAndBalanceData_account_transfersReceived_toBuilder(); - set to(GGetHistoryAndBalanceData_account_transfersReceived_toBuilder? to) => - _$this._to = to; + GTransferFieldsData_fromBuilder? _from; + GTransferFieldsData_fromBuilder get from => + _$this._from ??= new GTransferFieldsData_fromBuilder(); + set from(GTransferFieldsData_fromBuilder? from) => _$this._from = from; - GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder? _comment; - GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder - get comment => _$this._comment ??= - new GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder(); - set comment( - GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder? - comment) => + GTransferFieldsData_commentBuilder? _comment; + GTransferFieldsData_commentBuilder get comment => + _$this._comment ??= new GTransferFieldsData_commentBuilder(); + set comment(GTransferFieldsData_commentBuilder? comment) => _$this._comment = comment; - GGetHistoryAndBalanceData_account_transfersReceivedBuilder() { - GGetHistoryAndBalanceData_account_transfersReceived._initializeBuilder( - this); + GTransferFieldsDataBuilder() { + GTransferFieldsData._initializeBuilder(this); } - GGetHistoryAndBalanceData_account_transfersReceivedBuilder get _$this { + GTransferFieldsDataBuilder get _$this { final $v = _$v; if ($v != null) { _G__typename = $v.G__typename; _blockNumber = $v.blockNumber; _timestamp = $v.timestamp.toBuilder(); _amount = $v.amount; - _from = $v.from?.toBuilder(); _to = $v.to?.toBuilder(); + _from = $v.from?.toBuilder(); _comment = $v.comment?.toBuilder(); _$v = null; } @@ -3788,41 +81480,33 @@ class GGetHistoryAndBalanceData_account_transfersReceivedBuilder } @override - void replace(GGetHistoryAndBalanceData_account_transfersReceived other) { + void replace(GTransferFieldsData other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GGetHistoryAndBalanceData_account_transfersReceived; + _$v = other as _$GTransferFieldsData; } @override - void update( - void Function(GGetHistoryAndBalanceData_account_transfersReceivedBuilder)? - updates) { + void update(void Function(GTransferFieldsDataBuilder)? updates) { if (updates != null) updates(this); } @override - GGetHistoryAndBalanceData_account_transfersReceived build() => _build(); + GTransferFieldsData build() => _build(); - _$GGetHistoryAndBalanceData_account_transfersReceived _build() { - _$GGetHistoryAndBalanceData_account_transfersReceived _$result; + _$GTransferFieldsData _build() { + _$GTransferFieldsData _$result; try { _$result = _$v ?? - new _$GGetHistoryAndBalanceData_account_transfersReceived._( + new _$GTransferFieldsData._( G__typename: BuiltValueNullFieldError.checkNotNull( - G__typename, - r'GGetHistoryAndBalanceData_account_transfersReceived', - 'G__typename'), + G__typename, r'GTransferFieldsData', 'G__typename'), blockNumber: BuiltValueNullFieldError.checkNotNull( - blockNumber, - r'GGetHistoryAndBalanceData_account_transfersReceived', - 'blockNumber'), + blockNumber, r'GTransferFieldsData', 'blockNumber'), timestamp: timestamp.build(), amount: BuiltValueNullFieldError.checkNotNull( - amount, - r'GGetHistoryAndBalanceData_account_transfersReceived', - 'amount'), - from: _from?.build(), + amount, r'GTransferFieldsData', 'amount'), to: _to?.build(), + from: _from?.build(), comment: _comment?.build()); } catch (_) { late String _$failedField; @@ -3830,17 +81514,15 @@ class GGetHistoryAndBalanceData_account_transfersReceivedBuilder _$failedField = 'timestamp'; timestamp.build(); - _$failedField = 'from'; - _from?.build(); _$failedField = 'to'; _to?.build(); + _$failedField = 'from'; + _from?.build(); _$failedField = 'comment'; _comment?.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'GGetHistoryAndBalanceData_account_transfersReceived', - _$failedField, - e.toString()); + r'GTransferFieldsData', _$failedField, e.toString()); } rethrow; } @@ -3849,48 +81531,36 @@ class GGetHistoryAndBalanceData_account_transfersReceivedBuilder } } -class _$GGetHistoryAndBalanceData_account_transfersReceived_from - extends GGetHistoryAndBalanceData_account_transfersReceived_from { +class _$GTransferFieldsData_to extends GTransferFieldsData_to { @override final String G__typename; @override final String id; - factory _$GGetHistoryAndBalanceData_account_transfersReceived_from( - [void Function( - GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder)? - updates]) => - (new GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder() - ..update(updates)) - ._build(); + factory _$GTransferFieldsData_to( + [void Function(GTransferFieldsData_toBuilder)? updates]) => + (new GTransferFieldsData_toBuilder()..update(updates))._build(); - _$GGetHistoryAndBalanceData_account_transfersReceived_from._( - {required this.G__typename, required this.id}) + _$GTransferFieldsData_to._({required this.G__typename, required this.id}) : super._() { BuiltValueNullFieldError.checkNotNull( - G__typename, - r'GGetHistoryAndBalanceData_account_transfersReceived_from', - 'G__typename'); - BuiltValueNullFieldError.checkNotNull( - id, r'GGetHistoryAndBalanceData_account_transfersReceived_from', 'id'); + G__typename, r'GTransferFieldsData_to', 'G__typename'); + BuiltValueNullFieldError.checkNotNull(id, r'GTransferFieldsData_to', 'id'); } @override - GGetHistoryAndBalanceData_account_transfersReceived_from rebuild( - void Function( - GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder) - updates) => + GTransferFieldsData_to rebuild( + void Function(GTransferFieldsData_toBuilder) updates) => (toBuilder()..update(updates)).build(); @override - GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder toBuilder() => - new GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder() - ..replace(this); + GTransferFieldsData_toBuilder toBuilder() => + new GTransferFieldsData_toBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GGetHistoryAndBalanceData_account_transfersReceived_from && + return other is GTransferFieldsData_to && G__typename == other.G__typename && id == other.id; } @@ -3906,19 +81576,16 @@ class _$GGetHistoryAndBalanceData_account_transfersReceived_from @override String toString() { - return (newBuiltValueToStringHelper( - r'GGetHistoryAndBalanceData_account_transfersReceived_from') + return (newBuiltValueToStringHelper(r'GTransferFieldsData_to') ..add('G__typename', G__typename) ..add('id', id)) .toString(); } } -class GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder - implements - Builder<GGetHistoryAndBalanceData_account_transfersReceived_from, - GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder> { - _$GGetHistoryAndBalanceData_account_transfersReceived_from? _$v; +class GTransferFieldsData_toBuilder + implements Builder<GTransferFieldsData_to, GTransferFieldsData_toBuilder> { + _$GTransferFieldsData_to? _$v; String? _G__typename; String? get G__typename => _$this._G__typename; @@ -3928,12 +81595,11 @@ class GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder String? get id => _$this._id; set id(String? id) => _$this._id = id; - GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder() { - GGetHistoryAndBalanceData_account_transfersReceived_from._initializeBuilder( - this); + GTransferFieldsData_toBuilder() { + GTransferFieldsData_to._initializeBuilder(this); } - GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder get _$this { + GTransferFieldsData_toBuilder get _$this { final $v = _$v; if ($v != null) { _G__typename = $v.G__typename; @@ -3944,80 +81610,62 @@ class GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder } @override - void replace(GGetHistoryAndBalanceData_account_transfersReceived_from other) { + void replace(GTransferFieldsData_to other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GGetHistoryAndBalanceData_account_transfersReceived_from; + _$v = other as _$GTransferFieldsData_to; } @override - void update( - void Function( - GGetHistoryAndBalanceData_account_transfersReceived_fromBuilder)? - updates) { + void update(void Function(GTransferFieldsData_toBuilder)? updates) { if (updates != null) updates(this); } @override - GGetHistoryAndBalanceData_account_transfersReceived_from build() => _build(); + GTransferFieldsData_to build() => _build(); - _$GGetHistoryAndBalanceData_account_transfersReceived_from _build() { + _$GTransferFieldsData_to _build() { final _$result = _$v ?? - new _$GGetHistoryAndBalanceData_account_transfersReceived_from._( + new _$GTransferFieldsData_to._( G__typename: BuiltValueNullFieldError.checkNotNull( - G__typename, - r'GGetHistoryAndBalanceData_account_transfersReceived_from', - 'G__typename'), + G__typename, r'GTransferFieldsData_to', 'G__typename'), id: BuiltValueNullFieldError.checkNotNull( - id, - r'GGetHistoryAndBalanceData_account_transfersReceived_from', - 'id')); + id, r'GTransferFieldsData_to', 'id')); replace(_$result); return _$result; } } -class _$GGetHistoryAndBalanceData_account_transfersReceived_to - extends GGetHistoryAndBalanceData_account_transfersReceived_to { +class _$GTransferFieldsData_from extends GTransferFieldsData_from { @override final String G__typename; @override final String id; - factory _$GGetHistoryAndBalanceData_account_transfersReceived_to( - [void Function( - GGetHistoryAndBalanceData_account_transfersReceived_toBuilder)? - updates]) => - (new GGetHistoryAndBalanceData_account_transfersReceived_toBuilder() - ..update(updates)) - ._build(); + factory _$GTransferFieldsData_from( + [void Function(GTransferFieldsData_fromBuilder)? updates]) => + (new GTransferFieldsData_fromBuilder()..update(updates))._build(); - _$GGetHistoryAndBalanceData_account_transfersReceived_to._( - {required this.G__typename, required this.id}) + _$GTransferFieldsData_from._({required this.G__typename, required this.id}) : super._() { BuiltValueNullFieldError.checkNotNull( - G__typename, - r'GGetHistoryAndBalanceData_account_transfersReceived_to', - 'G__typename'); + G__typename, r'GTransferFieldsData_from', 'G__typename'); BuiltValueNullFieldError.checkNotNull( - id, r'GGetHistoryAndBalanceData_account_transfersReceived_to', 'id'); + id, r'GTransferFieldsData_from', 'id'); } @override - GGetHistoryAndBalanceData_account_transfersReceived_to rebuild( - void Function( - GGetHistoryAndBalanceData_account_transfersReceived_toBuilder) - updates) => + GTransferFieldsData_from rebuild( + void Function(GTransferFieldsData_fromBuilder) updates) => (toBuilder()..update(updates)).build(); @override - GGetHistoryAndBalanceData_account_transfersReceived_toBuilder toBuilder() => - new GGetHistoryAndBalanceData_account_transfersReceived_toBuilder() - ..replace(this); + GTransferFieldsData_fromBuilder toBuilder() => + new GTransferFieldsData_fromBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GGetHistoryAndBalanceData_account_transfersReceived_to && + return other is GTransferFieldsData_from && G__typename == other.G__typename && id == other.id; } @@ -4033,19 +81681,17 @@ class _$GGetHistoryAndBalanceData_account_transfersReceived_to @override String toString() { - return (newBuiltValueToStringHelper( - r'GGetHistoryAndBalanceData_account_transfersReceived_to') + return (newBuiltValueToStringHelper(r'GTransferFieldsData_from') ..add('G__typename', G__typename) ..add('id', id)) .toString(); } } -class GGetHistoryAndBalanceData_account_transfersReceived_toBuilder +class GTransferFieldsData_fromBuilder implements - Builder<GGetHistoryAndBalanceData_account_transfersReceived_to, - GGetHistoryAndBalanceData_account_transfersReceived_toBuilder> { - _$GGetHistoryAndBalanceData_account_transfersReceived_to? _$v; + Builder<GTransferFieldsData_from, GTransferFieldsData_fromBuilder> { + _$GTransferFieldsData_from? _$v; String? _G__typename; String? get G__typename => _$this._G__typename; @@ -4055,12 +81701,11 @@ class GGetHistoryAndBalanceData_account_transfersReceived_toBuilder String? get id => _$this._id; set id(String? id) => _$this._id = id; - GGetHistoryAndBalanceData_account_transfersReceived_toBuilder() { - GGetHistoryAndBalanceData_account_transfersReceived_to._initializeBuilder( - this); + GTransferFieldsData_fromBuilder() { + GTransferFieldsData_from._initializeBuilder(this); } - GGetHistoryAndBalanceData_account_transfersReceived_toBuilder get _$this { + GTransferFieldsData_fromBuilder get _$this { final $v = _$v; if ($v != null) { _G__typename = $v.G__typename; @@ -4071,84 +81716,63 @@ class GGetHistoryAndBalanceData_account_transfersReceived_toBuilder } @override - void replace(GGetHistoryAndBalanceData_account_transfersReceived_to other) { + void replace(GTransferFieldsData_from other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GGetHistoryAndBalanceData_account_transfersReceived_to; + _$v = other as _$GTransferFieldsData_from; } @override - void update( - void Function( - GGetHistoryAndBalanceData_account_transfersReceived_toBuilder)? - updates) { + void update(void Function(GTransferFieldsData_fromBuilder)? updates) { if (updates != null) updates(this); } @override - GGetHistoryAndBalanceData_account_transfersReceived_to build() => _build(); + GTransferFieldsData_from build() => _build(); - _$GGetHistoryAndBalanceData_account_transfersReceived_to _build() { + _$GTransferFieldsData_from _build() { final _$result = _$v ?? - new _$GGetHistoryAndBalanceData_account_transfersReceived_to._( + new _$GTransferFieldsData_from._( G__typename: BuiltValueNullFieldError.checkNotNull( - G__typename, - r'GGetHistoryAndBalanceData_account_transfersReceived_to', - 'G__typename'), + G__typename, r'GTransferFieldsData_from', 'G__typename'), id: BuiltValueNullFieldError.checkNotNull( - id, - r'GGetHistoryAndBalanceData_account_transfersReceived_to', - 'id')); + id, r'GTransferFieldsData_from', 'id')); replace(_$result); return _$result; } } -class _$GGetHistoryAndBalanceData_account_transfersReceived_comment - extends GGetHistoryAndBalanceData_account_transfersReceived_comment { +class _$GTransferFieldsData_comment extends GTransferFieldsData_comment { @override final String G__typename; @override final String remark; - factory _$GGetHistoryAndBalanceData_account_transfersReceived_comment( - [void Function( - GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder)? - updates]) => - (new GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder() - ..update(updates)) - ._build(); + factory _$GTransferFieldsData_comment( + [void Function(GTransferFieldsData_commentBuilder)? updates]) => + (new GTransferFieldsData_commentBuilder()..update(updates))._build(); - _$GGetHistoryAndBalanceData_account_transfersReceived_comment._( + _$GTransferFieldsData_comment._( {required this.G__typename, required this.remark}) : super._() { BuiltValueNullFieldError.checkNotNull( - G__typename, - r'GGetHistoryAndBalanceData_account_transfersReceived_comment', - 'G__typename'); + G__typename, r'GTransferFieldsData_comment', 'G__typename'); BuiltValueNullFieldError.checkNotNull( - remark, - r'GGetHistoryAndBalanceData_account_transfersReceived_comment', - 'remark'); + remark, r'GTransferFieldsData_comment', 'remark'); } @override - GGetHistoryAndBalanceData_account_transfersReceived_comment rebuild( - void Function( - GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder) - updates) => + GTransferFieldsData_comment rebuild( + void Function(GTransferFieldsData_commentBuilder) updates) => (toBuilder()..update(updates)).build(); @override - GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder - toBuilder() => - new GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder() - ..replace(this); + GTransferFieldsData_commentBuilder toBuilder() => + new GTransferFieldsData_commentBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other - is GGetHistoryAndBalanceData_account_transfersReceived_comment && + return other is GTransferFieldsData_comment && G__typename == other.G__typename && remark == other.remark; } @@ -4164,19 +81788,18 @@ class _$GGetHistoryAndBalanceData_account_transfersReceived_comment @override String toString() { - return (newBuiltValueToStringHelper( - r'GGetHistoryAndBalanceData_account_transfersReceived_comment') + return (newBuiltValueToStringHelper(r'GTransferFieldsData_comment') ..add('G__typename', G__typename) ..add('remark', remark)) .toString(); } } -class GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder +class GTransferFieldsData_commentBuilder implements - Builder<GGetHistoryAndBalanceData_account_transfersReceived_comment, - GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder> { - _$GGetHistoryAndBalanceData_account_transfersReceived_comment? _$v; + Builder<GTransferFieldsData_comment, + GTransferFieldsData_commentBuilder> { + _$GTransferFieldsData_comment? _$v; String? _G__typename; String? get G__typename => _$this._G__typename; @@ -4186,13 +81809,11 @@ class GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder String? get remark => _$this._remark; set remark(String? remark) => _$this._remark = remark; - GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder() { - GGetHistoryAndBalanceData_account_transfersReceived_comment - ._initializeBuilder(this); + GTransferFieldsData_commentBuilder() { + GTransferFieldsData_comment._initializeBuilder(this); } - GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder - get _$this { + GTransferFieldsData_commentBuilder get _$this { final $v = _$v; if ($v != null) { _G__typename = $v.G__typename; @@ -4203,36 +81824,26 @@ class GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder } @override - void replace( - GGetHistoryAndBalanceData_account_transfersReceived_comment other) { + void replace(GTransferFieldsData_comment other) { ArgumentError.checkNotNull(other, 'other'); - _$v = - other as _$GGetHistoryAndBalanceData_account_transfersReceived_comment; + _$v = other as _$GTransferFieldsData_comment; } @override - void update( - void Function( - GGetHistoryAndBalanceData_account_transfersReceived_commentBuilder)? - updates) { + void update(void Function(GTransferFieldsData_commentBuilder)? updates) { if (updates != null) updates(this); } @override - GGetHistoryAndBalanceData_account_transfersReceived_comment build() => - _build(); + GTransferFieldsData_comment build() => _build(); - _$GGetHistoryAndBalanceData_account_transfersReceived_comment _build() { + _$GTransferFieldsData_comment _build() { final _$result = _$v ?? - new _$GGetHistoryAndBalanceData_account_transfersReceived_comment._( + new _$GTransferFieldsData_comment._( G__typename: BuiltValueNullFieldError.checkNotNull( - G__typename, - r'GGetHistoryAndBalanceData_account_transfersReceived_comment', - 'G__typename'), + G__typename, r'GTransferFieldsData_comment', 'G__typename'), remark: BuiltValueNullFieldError.checkNotNull( - remark, - r'GGetHistoryAndBalanceData_account_transfersReceived_comment', - 'remark')); + remark, r'GTransferFieldsData_comment', 'remark')); replace(_$result); return _$result; } diff --git a/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.req.gql.dart b/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.req.gql.dart index 2ec6c5f7..fe2de15f 100644 --- a/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.req.gql.dart +++ b/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.req.gql.dart @@ -13,30 +13,31 @@ import 'package:duniter_indexer/graphql/schema/__generated__/duniter-indexer-que import 'package:duniter_indexer/graphql/schema/__generated__/serializers.gql.dart' as _i6; import 'package:ferry_exec/ferry_exec.dart' as _i1; +import 'package:gql/ast.dart' as _i7; import 'package:gql_exec/gql_exec.dart' as _i4; part 'duniter-indexer-queries.req.gql.g.dart'; -abstract class GAccountsByNameOrPkReq +abstract class GIdentitiesByNameOrPkReq implements - Built<GAccountsByNameOrPkReq, GAccountsByNameOrPkReqBuilder>, - _i1.OperationRequest<_i2.GAccountsByNameOrPkData, - _i3.GAccountsByNameOrPkVars> { - GAccountsByNameOrPkReq._(); + Built<GIdentitiesByNameOrPkReq, GIdentitiesByNameOrPkReqBuilder>, + _i1.OperationRequest<_i2.GIdentitiesByNameOrPkData, + _i3.GIdentitiesByNameOrPkVars> { + GIdentitiesByNameOrPkReq._(); - factory GAccountsByNameOrPkReq( - [void Function(GAccountsByNameOrPkReqBuilder b) updates]) = - _$GAccountsByNameOrPkReq; + factory GIdentitiesByNameOrPkReq( + [void Function(GIdentitiesByNameOrPkReqBuilder b) updates]) = + _$GIdentitiesByNameOrPkReq; - static void _initializeBuilder(GAccountsByNameOrPkReqBuilder b) => b + static void _initializeBuilder(GIdentitiesByNameOrPkReqBuilder b) => b ..operation = _i4.Operation( document: _i5.document, - operationName: 'AccountsByNameOrPk', + operationName: 'IdentitiesByNameOrPk', ) ..executeOnListen = true; @override - _i3.GAccountsByNameOrPkVars get vars; + _i3.GIdentitiesByNameOrPkVars get vars; @override _i4.Operation get operation; @override @@ -50,12 +51,12 @@ abstract class GAccountsByNameOrPkReq String? get requestId; @override @BuiltValueField(serialize: false) - _i2.GAccountsByNameOrPkData? Function( - _i2.GAccountsByNameOrPkData?, - _i2.GAccountsByNameOrPkData?, + _i2.GIdentitiesByNameOrPkData? Function( + _i2.GIdentitiesByNameOrPkData?, + _i2.GIdentitiesByNameOrPkData?, )? get updateResult; @override - _i2.GAccountsByNameOrPkData? get optimisticResponse; + _i2.GIdentitiesByNameOrPkData? get optimisticResponse; @override String? get updateCacheHandlerKey; @override @@ -68,55 +69,137 @@ abstract class GAccountsByNameOrPkReq @BuiltValueField(serialize: false) _i4.Context? get context; @override - _i2.GAccountsByNameOrPkData? parseData(Map<String, dynamic> json) => - _i2.GAccountsByNameOrPkData.fromJson(json); + _i2.GIdentitiesByNameOrPkData? parseData(Map<String, dynamic> json) => + _i2.GIdentitiesByNameOrPkData.fromJson(json); @override Map<String, dynamic> varsToJson() => vars.toJson(); @override - Map<String, dynamic> dataToJson(_i2.GAccountsByNameOrPkData data) => + Map<String, dynamic> dataToJson(_i2.GIdentitiesByNameOrPkData data) => data.toJson(); @override - _i1.OperationRequest<_i2.GAccountsByNameOrPkData, _i3.GAccountsByNameOrPkVars> + _i1.OperationRequest<_i2.GIdentitiesByNameOrPkData, + _i3.GIdentitiesByNameOrPkVars> transformOperation( + _i4.Operation Function(_i4.Operation) transform) => + this.rebuild((b) => b..operation = transform(operation)); + + static Serializer<GIdentitiesByNameOrPkReq> get serializer => + _$gIdentitiesByNameOrPkReqSerializer; + + Map<String, dynamic> toJson() => (_i6.serializers.serializeWith( + GIdentitiesByNameOrPkReq.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByNameOrPkReq? fromJson(Map<String, dynamic> json) => + _i6.serializers.deserializeWith( + GIdentitiesByNameOrPkReq.serializer, + json, + ); +} + +abstract class GIdentitiesByPkReq + implements + Built<GIdentitiesByPkReq, GIdentitiesByPkReqBuilder>, + _i1.OperationRequest<_i2.GIdentitiesByPkData, _i3.GIdentitiesByPkVars> { + GIdentitiesByPkReq._(); + + factory GIdentitiesByPkReq( + [void Function(GIdentitiesByPkReqBuilder b) updates]) = + _$GIdentitiesByPkReq; + + static void _initializeBuilder(GIdentitiesByPkReqBuilder b) => b + ..operation = _i4.Operation( + document: _i5.document, + operationName: 'IdentitiesByPk', + ) + ..executeOnListen = true; + + @override + _i3.GIdentitiesByPkVars get vars; + @override + _i4.Operation get operation; + @override + _i4.Request get execRequest => _i4.Request( + operation: operation, + variables: vars.toJson(), + context: context ?? const _i4.Context(), + ); + + @override + String? get requestId; + @override + @BuiltValueField(serialize: false) + _i2.GIdentitiesByPkData? Function( + _i2.GIdentitiesByPkData?, + _i2.GIdentitiesByPkData?, + )? get updateResult; + @override + _i2.GIdentitiesByPkData? get optimisticResponse; + @override + String? get updateCacheHandlerKey; + @override + Map<String, dynamic>? get updateCacheHandlerContext; + @override + _i1.FetchPolicy? get fetchPolicy; + @override + bool get executeOnListen; + @override + @BuiltValueField(serialize: false) + _i4.Context? get context; + @override + _i2.GIdentitiesByPkData? parseData(Map<String, dynamic> json) => + _i2.GIdentitiesByPkData.fromJson(json); + + @override + Map<String, dynamic> varsToJson() => vars.toJson(); + + @override + Map<String, dynamic> dataToJson(_i2.GIdentitiesByPkData data) => + data.toJson(); + + @override + _i1.OperationRequest<_i2.GIdentitiesByPkData, _i3.GIdentitiesByPkVars> transformOperation(_i4.Operation Function(_i4.Operation) transform) => this.rebuild((b) => b..operation = transform(operation)); - static Serializer<GAccountsByNameOrPkReq> get serializer => - _$gAccountsByNameOrPkReqSerializer; + static Serializer<GIdentitiesByPkReq> get serializer => + _$gIdentitiesByPkReqSerializer; Map<String, dynamic> toJson() => (_i6.serializers.serializeWith( - GAccountsByNameOrPkReq.serializer, + GIdentitiesByPkReq.serializer, this, ) as Map<String, dynamic>); - static GAccountsByNameOrPkReq? fromJson(Map<String, dynamic> json) => + static GIdentitiesByPkReq? fromJson(Map<String, dynamic> json) => _i6.serializers.deserializeWith( - GAccountsByNameOrPkReq.serializer, + GIdentitiesByPkReq.serializer, json, ); } -abstract class GAccountsByNameReq +abstract class GIdentitiesByNameReq implements - Built<GAccountsByNameReq, GAccountsByNameReqBuilder>, - _i1.OperationRequest<_i2.GAccountsByNameData, _i3.GAccountsByNameVars> { - GAccountsByNameReq._(); + Built<GIdentitiesByNameReq, GIdentitiesByNameReqBuilder>, + _i1.OperationRequest<_i2.GIdentitiesByNameData, + _i3.GIdentitiesByNameVars> { + GIdentitiesByNameReq._(); - factory GAccountsByNameReq( - [void Function(GAccountsByNameReqBuilder b) updates]) = - _$GAccountsByNameReq; + factory GIdentitiesByNameReq( + [void Function(GIdentitiesByNameReqBuilder b) updates]) = + _$GIdentitiesByNameReq; - static void _initializeBuilder(GAccountsByNameReqBuilder b) => b + static void _initializeBuilder(GIdentitiesByNameReqBuilder b) => b ..operation = _i4.Operation( document: _i5.document, - operationName: 'AccountsByName', + operationName: 'IdentitiesByName', ) ..executeOnListen = true; @override - _i3.GAccountsByNameVars get vars; + _i3.GIdentitiesByNameVars get vars; @override _i4.Operation get operation; @override @@ -130,12 +213,12 @@ abstract class GAccountsByNameReq String? get requestId; @override @BuiltValueField(serialize: false) - _i2.GAccountsByNameData? Function( - _i2.GAccountsByNameData?, - _i2.GAccountsByNameData?, + _i2.GIdentitiesByNameData? Function( + _i2.GIdentitiesByNameData?, + _i2.GIdentitiesByNameData?, )? get updateResult; @override - _i2.GAccountsByNameData? get optimisticResponse; + _i2.GIdentitiesByNameData? get optimisticResponse; @override String? get updateCacheHandlerKey; @override @@ -148,32 +231,32 @@ abstract class GAccountsByNameReq @BuiltValueField(serialize: false) _i4.Context? get context; @override - _i2.GAccountsByNameData? parseData(Map<String, dynamic> json) => - _i2.GAccountsByNameData.fromJson(json); + _i2.GIdentitiesByNameData? parseData(Map<String, dynamic> json) => + _i2.GIdentitiesByNameData.fromJson(json); @override Map<String, dynamic> varsToJson() => vars.toJson(); @override - Map<String, dynamic> dataToJson(_i2.GAccountsByNameData data) => + Map<String, dynamic> dataToJson(_i2.GIdentitiesByNameData data) => data.toJson(); @override - _i1.OperationRequest<_i2.GAccountsByNameData, _i3.GAccountsByNameVars> + _i1.OperationRequest<_i2.GIdentitiesByNameData, _i3.GIdentitiesByNameVars> transformOperation(_i4.Operation Function(_i4.Operation) transform) => this.rebuild((b) => b..operation = transform(operation)); - static Serializer<GAccountsByNameReq> get serializer => - _$gAccountsByNameReqSerializer; + static Serializer<GIdentitiesByNameReq> get serializer => + _$gIdentitiesByNameReqSerializer; Map<String, dynamic> toJson() => (_i6.serializers.serializeWith( - GAccountsByNameReq.serializer, + GIdentitiesByNameReq.serializer, this, ) as Map<String, dynamic>); - static GAccountsByNameReq? fromJson(Map<String, dynamic> json) => + static GIdentitiesByNameReq? fromJson(Map<String, dynamic> json) => _i6.serializers.deserializeWith( - GAccountsByNameReq.serializer, + GIdentitiesByNameReq.serializer, json, ); } @@ -256,6 +339,165 @@ abstract class GAccountByPkReq ); } +abstract class GAccountBasicByPkReq + implements + Built<GAccountBasicByPkReq, GAccountBasicByPkReqBuilder>, + _i1.OperationRequest<_i2.GAccountBasicByPkData, + _i3.GAccountBasicByPkVars> { + GAccountBasicByPkReq._(); + + factory GAccountBasicByPkReq( + [void Function(GAccountBasicByPkReqBuilder b) updates]) = + _$GAccountBasicByPkReq; + + static void _initializeBuilder(GAccountBasicByPkReqBuilder b) => b + ..operation = _i4.Operation( + document: _i5.document, + operationName: 'AccountBasicByPk', + ) + ..executeOnListen = true; + + @override + _i3.GAccountBasicByPkVars get vars; + @override + _i4.Operation get operation; + @override + _i4.Request get execRequest => _i4.Request( + operation: operation, + variables: vars.toJson(), + context: context ?? const _i4.Context(), + ); + + @override + String? get requestId; + @override + @BuiltValueField(serialize: false) + _i2.GAccountBasicByPkData? Function( + _i2.GAccountBasicByPkData?, + _i2.GAccountBasicByPkData?, + )? get updateResult; + @override + _i2.GAccountBasicByPkData? get optimisticResponse; + @override + String? get updateCacheHandlerKey; + @override + Map<String, dynamic>? get updateCacheHandlerContext; + @override + _i1.FetchPolicy? get fetchPolicy; + @override + bool get executeOnListen; + @override + @BuiltValueField(serialize: false) + _i4.Context? get context; + @override + _i2.GAccountBasicByPkData? parseData(Map<String, dynamic> json) => + _i2.GAccountBasicByPkData.fromJson(json); + + @override + Map<String, dynamic> varsToJson() => vars.toJson(); + + @override + Map<String, dynamic> dataToJson(_i2.GAccountBasicByPkData data) => + data.toJson(); + + @override + _i1.OperationRequest<_i2.GAccountBasicByPkData, _i3.GAccountBasicByPkVars> + transformOperation(_i4.Operation Function(_i4.Operation) transform) => + this.rebuild((b) => b..operation = transform(operation)); + + static Serializer<GAccountBasicByPkReq> get serializer => + _$gAccountBasicByPkReqSerializer; + + Map<String, dynamic> toJson() => (_i6.serializers.serializeWith( + GAccountBasicByPkReq.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountBasicByPkReq? fromJson(Map<String, dynamic> json) => + _i6.serializers.deserializeWith( + GAccountBasicByPkReq.serializer, + json, + ); +} + +abstract class GAccountsByPkReq + implements + Built<GAccountsByPkReq, GAccountsByPkReqBuilder>, + _i1.OperationRequest<_i2.GAccountsByPkData, _i3.GAccountsByPkVars> { + GAccountsByPkReq._(); + + factory GAccountsByPkReq([void Function(GAccountsByPkReqBuilder b) updates]) = + _$GAccountsByPkReq; + + static void _initializeBuilder(GAccountsByPkReqBuilder b) => b + ..operation = _i4.Operation( + document: _i5.document, + operationName: 'AccountsByPk', + ) + ..executeOnListen = true; + + @override + _i3.GAccountsByPkVars get vars; + @override + _i4.Operation get operation; + @override + _i4.Request get execRequest => _i4.Request( + operation: operation, + variables: vars.toJson(), + context: context ?? const _i4.Context(), + ); + + @override + String? get requestId; + @override + @BuiltValueField(serialize: false) + _i2.GAccountsByPkData? Function( + _i2.GAccountsByPkData?, + _i2.GAccountsByPkData?, + )? get updateResult; + @override + _i2.GAccountsByPkData? get optimisticResponse; + @override + String? get updateCacheHandlerKey; + @override + Map<String, dynamic>? get updateCacheHandlerContext; + @override + _i1.FetchPolicy? get fetchPolicy; + @override + bool get executeOnListen; + @override + @BuiltValueField(serialize: false) + _i4.Context? get context; + @override + _i2.GAccountsByPkData? parseData(Map<String, dynamic> json) => + _i2.GAccountsByPkData.fromJson(json); + + @override + Map<String, dynamic> varsToJson() => vars.toJson(); + + @override + Map<String, dynamic> dataToJson(_i2.GAccountsByPkData data) => data.toJson(); + + @override + _i1.OperationRequest<_i2.GAccountsByPkData, _i3.GAccountsByPkVars> + transformOperation(_i4.Operation Function(_i4.Operation) transform) => + this.rebuild((b) => b..operation = transform(operation)); + + static Serializer<GAccountsByPkReq> get serializer => + _$gAccountsByPkReqSerializer; + + Map<String, dynamic> toJson() => (_i6.serializers.serializeWith( + GAccountsByPkReq.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkReq? fromJson(Map<String, dynamic> json) => + _i6.serializers.deserializeWith( + GAccountsByPkReq.serializer, + json, + ); +} + abstract class GLastBlockReq implements Built<GLastBlockReq, GLastBlockReqBuilder>, @@ -414,3 +656,482 @@ abstract class GGetHistoryAndBalanceReq json, ); } + +abstract class GCertFieldsReq + implements + Built<GCertFieldsReq, GCertFieldsReqBuilder>, + _i1.FragmentRequest<_i2.GCertFieldsData, _i3.GCertFieldsVars> { + GCertFieldsReq._(); + + factory GCertFieldsReq([void Function(GCertFieldsReqBuilder b) updates]) = + _$GCertFieldsReq; + + static void _initializeBuilder(GCertFieldsReqBuilder b) => b + ..document = _i5.document + ..fragmentName = 'CertFields'; + + @override + _i3.GCertFieldsVars get vars; + @override + _i7.DocumentNode get document; + @override + String? get fragmentName; + @override + Map<String, dynamic> get idFields; + @override + _i2.GCertFieldsData? parseData(Map<String, dynamic> json) => + _i2.GCertFieldsData.fromJson(json); + + @override + Map<String, dynamic> varsToJson() => vars.toJson(); + + @override + Map<String, dynamic> dataToJson(_i2.GCertFieldsData data) => data.toJson(); + + static Serializer<GCertFieldsReq> get serializer => + _$gCertFieldsReqSerializer; + + Map<String, dynamic> toJson() => (_i6.serializers.serializeWith( + GCertFieldsReq.serializer, + this, + ) as Map<String, dynamic>); + + static GCertFieldsReq? fromJson(Map<String, dynamic> json) => + _i6.serializers.deserializeWith( + GCertFieldsReq.serializer, + json, + ); +} + +abstract class GSmithCertFieldsReq + implements + Built<GSmithCertFieldsReq, GSmithCertFieldsReqBuilder>, + _i1 + .FragmentRequest<_i2.GSmithCertFieldsData, _i3.GSmithCertFieldsVars> { + GSmithCertFieldsReq._(); + + factory GSmithCertFieldsReq( + [void Function(GSmithCertFieldsReqBuilder b) updates]) = + _$GSmithCertFieldsReq; + + static void _initializeBuilder(GSmithCertFieldsReqBuilder b) => b + ..document = _i5.document + ..fragmentName = 'SmithCertFields'; + + @override + _i3.GSmithCertFieldsVars get vars; + @override + _i7.DocumentNode get document; + @override + String? get fragmentName; + @override + Map<String, dynamic> get idFields; + @override + _i2.GSmithCertFieldsData? parseData(Map<String, dynamic> json) => + _i2.GSmithCertFieldsData.fromJson(json); + + @override + Map<String, dynamic> varsToJson() => vars.toJson(); + + @override + Map<String, dynamic> dataToJson(_i2.GSmithCertFieldsData data) => + data.toJson(); + + static Serializer<GSmithCertFieldsReq> get serializer => + _$gSmithCertFieldsReqSerializer; + + Map<String, dynamic> toJson() => (_i6.serializers.serializeWith( + GSmithCertFieldsReq.serializer, + this, + ) as Map<String, dynamic>); + + static GSmithCertFieldsReq? fromJson(Map<String, dynamic> json) => + _i6.serializers.deserializeWith( + GSmithCertFieldsReq.serializer, + json, + ); +} + +abstract class GSmithFieldsReq + implements + Built<GSmithFieldsReq, GSmithFieldsReqBuilder>, + _i1.FragmentRequest<_i2.GSmithFieldsData, _i3.GSmithFieldsVars> { + GSmithFieldsReq._(); + + factory GSmithFieldsReq([void Function(GSmithFieldsReqBuilder b) updates]) = + _$GSmithFieldsReq; + + static void _initializeBuilder(GSmithFieldsReqBuilder b) => b + ..document = _i5.document + ..fragmentName = 'SmithFields'; + + @override + _i3.GSmithFieldsVars get vars; + @override + _i7.DocumentNode get document; + @override + String? get fragmentName; + @override + Map<String, dynamic> get idFields; + @override + _i2.GSmithFieldsData? parseData(Map<String, dynamic> json) => + _i2.GSmithFieldsData.fromJson(json); + + @override + Map<String, dynamic> varsToJson() => vars.toJson(); + + @override + Map<String, dynamic> dataToJson(_i2.GSmithFieldsData data) => data.toJson(); + + static Serializer<GSmithFieldsReq> get serializer => + _$gSmithFieldsReqSerializer; + + Map<String, dynamic> toJson() => (_i6.serializers.serializeWith( + GSmithFieldsReq.serializer, + this, + ) as Map<String, dynamic>); + + static GSmithFieldsReq? fromJson(Map<String, dynamic> json) => + _i6.serializers.deserializeWith( + GSmithFieldsReq.serializer, + json, + ); +} + +abstract class GOwnerKeyChangeFieldsReq + implements + Built<GOwnerKeyChangeFieldsReq, GOwnerKeyChangeFieldsReqBuilder>, + _i1.FragmentRequest<_i2.GOwnerKeyChangeFieldsData, + _i3.GOwnerKeyChangeFieldsVars> { + GOwnerKeyChangeFieldsReq._(); + + factory GOwnerKeyChangeFieldsReq( + [void Function(GOwnerKeyChangeFieldsReqBuilder b) updates]) = + _$GOwnerKeyChangeFieldsReq; + + static void _initializeBuilder(GOwnerKeyChangeFieldsReqBuilder b) => b + ..document = _i5.document + ..fragmentName = 'OwnerKeyChangeFields'; + + @override + _i3.GOwnerKeyChangeFieldsVars get vars; + @override + _i7.DocumentNode get document; + @override + String? get fragmentName; + @override + Map<String, dynamic> get idFields; + @override + _i2.GOwnerKeyChangeFieldsData? parseData(Map<String, dynamic> json) => + _i2.GOwnerKeyChangeFieldsData.fromJson(json); + + @override + Map<String, dynamic> varsToJson() => vars.toJson(); + + @override + Map<String, dynamic> dataToJson(_i2.GOwnerKeyChangeFieldsData data) => + data.toJson(); + + static Serializer<GOwnerKeyChangeFieldsReq> get serializer => + _$gOwnerKeyChangeFieldsReqSerializer; + + Map<String, dynamic> toJson() => (_i6.serializers.serializeWith( + GOwnerKeyChangeFieldsReq.serializer, + this, + ) as Map<String, dynamic>); + + static GOwnerKeyChangeFieldsReq? fromJson(Map<String, dynamic> json) => + _i6.serializers.deserializeWith( + GOwnerKeyChangeFieldsReq.serializer, + json, + ); +} + +abstract class GIdentityBasicFieldsReq + implements + Built<GIdentityBasicFieldsReq, GIdentityBasicFieldsReqBuilder>, + _i1.FragmentRequest<_i2.GIdentityBasicFieldsData, + _i3.GIdentityBasicFieldsVars> { + GIdentityBasicFieldsReq._(); + + factory GIdentityBasicFieldsReq( + [void Function(GIdentityBasicFieldsReqBuilder b) updates]) = + _$GIdentityBasicFieldsReq; + + static void _initializeBuilder(GIdentityBasicFieldsReqBuilder b) => b + ..document = _i5.document + ..fragmentName = 'IdentityBasicFields'; + + @override + _i3.GIdentityBasicFieldsVars get vars; + @override + _i7.DocumentNode get document; + @override + String? get fragmentName; + @override + Map<String, dynamic> get idFields; + @override + _i2.GIdentityBasicFieldsData? parseData(Map<String, dynamic> json) => + _i2.GIdentityBasicFieldsData.fromJson(json); + + @override + Map<String, dynamic> varsToJson() => vars.toJson(); + + @override + Map<String, dynamic> dataToJson(_i2.GIdentityBasicFieldsData data) => + data.toJson(); + + static Serializer<GIdentityBasicFieldsReq> get serializer => + _$gIdentityBasicFieldsReqSerializer; + + Map<String, dynamic> toJson() => (_i6.serializers.serializeWith( + GIdentityBasicFieldsReq.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityBasicFieldsReq? fromJson(Map<String, dynamic> json) => + _i6.serializers.deserializeWith( + GIdentityBasicFieldsReq.serializer, + json, + ); +} + +abstract class GIdentityFieldsReq + implements + Built<GIdentityFieldsReq, GIdentityFieldsReqBuilder>, + _i1.FragmentRequest<_i2.GIdentityFieldsData, _i3.GIdentityFieldsVars> { + GIdentityFieldsReq._(); + + factory GIdentityFieldsReq( + [void Function(GIdentityFieldsReqBuilder b) updates]) = + _$GIdentityFieldsReq; + + static void _initializeBuilder(GIdentityFieldsReqBuilder b) => b + ..document = _i5.document + ..fragmentName = 'IdentityFields'; + + @override + _i3.GIdentityFieldsVars get vars; + @override + _i7.DocumentNode get document; + @override + String? get fragmentName; + @override + Map<String, dynamic> get idFields; + @override + _i2.GIdentityFieldsData? parseData(Map<String, dynamic> json) => + _i2.GIdentityFieldsData.fromJson(json); + + @override + Map<String, dynamic> varsToJson() => vars.toJson(); + + @override + Map<String, dynamic> dataToJson(_i2.GIdentityFieldsData data) => + data.toJson(); + + static Serializer<GIdentityFieldsReq> get serializer => + _$gIdentityFieldsReqSerializer; + + Map<String, dynamic> toJson() => (_i6.serializers.serializeWith( + GIdentityFieldsReq.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsReq? fromJson(Map<String, dynamic> json) => + _i6.serializers.deserializeWith( + GIdentityFieldsReq.serializer, + json, + ); +} + +abstract class GCommentsIssuedReq + implements + Built<GCommentsIssuedReq, GCommentsIssuedReqBuilder>, + _i1.FragmentRequest<_i2.GCommentsIssuedData, _i3.GCommentsIssuedVars> { + GCommentsIssuedReq._(); + + factory GCommentsIssuedReq( + [void Function(GCommentsIssuedReqBuilder b) updates]) = + _$GCommentsIssuedReq; + + static void _initializeBuilder(GCommentsIssuedReqBuilder b) => b + ..document = _i5.document + ..fragmentName = 'CommentsIssued'; + + @override + _i3.GCommentsIssuedVars get vars; + @override + _i7.DocumentNode get document; + @override + String? get fragmentName; + @override + Map<String, dynamic> get idFields; + @override + _i2.GCommentsIssuedData? parseData(Map<String, dynamic> json) => + _i2.GCommentsIssuedData.fromJson(json); + + @override + Map<String, dynamic> varsToJson() => vars.toJson(); + + @override + Map<String, dynamic> dataToJson(_i2.GCommentsIssuedData data) => + data.toJson(); + + static Serializer<GCommentsIssuedReq> get serializer => + _$gCommentsIssuedReqSerializer; + + Map<String, dynamic> toJson() => (_i6.serializers.serializeWith( + GCommentsIssuedReq.serializer, + this, + ) as Map<String, dynamic>); + + static GCommentsIssuedReq? fromJson(Map<String, dynamic> json) => + _i6.serializers.deserializeWith( + GCommentsIssuedReq.serializer, + json, + ); +} + +abstract class GAccountBasicFieldsReq + implements + Built<GAccountBasicFieldsReq, GAccountBasicFieldsReqBuilder>, + _i1.FragmentRequest<_i2.GAccountBasicFieldsData, + _i3.GAccountBasicFieldsVars> { + GAccountBasicFieldsReq._(); + + factory GAccountBasicFieldsReq( + [void Function(GAccountBasicFieldsReqBuilder b) updates]) = + _$GAccountBasicFieldsReq; + + static void _initializeBuilder(GAccountBasicFieldsReqBuilder b) => b + ..document = _i5.document + ..fragmentName = 'AccountBasicFields'; + + @override + _i3.GAccountBasicFieldsVars get vars; + @override + _i7.DocumentNode get document; + @override + String? get fragmentName; + @override + Map<String, dynamic> get idFields; + @override + _i2.GAccountBasicFieldsData? parseData(Map<String, dynamic> json) => + _i2.GAccountBasicFieldsData.fromJson(json); + + @override + Map<String, dynamic> varsToJson() => vars.toJson(); + + @override + Map<String, dynamic> dataToJson(_i2.GAccountBasicFieldsData data) => + data.toJson(); + + static Serializer<GAccountBasicFieldsReq> get serializer => + _$gAccountBasicFieldsReqSerializer; + + Map<String, dynamic> toJson() => (_i6.serializers.serializeWith( + GAccountBasicFieldsReq.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountBasicFieldsReq? fromJson(Map<String, dynamic> json) => + _i6.serializers.deserializeWith( + GAccountBasicFieldsReq.serializer, + json, + ); +} + +abstract class GAccountFieldsReq + implements + Built<GAccountFieldsReq, GAccountFieldsReqBuilder>, + _i1.FragmentRequest<_i2.GAccountFieldsData, _i3.GAccountFieldsVars> { + GAccountFieldsReq._(); + + factory GAccountFieldsReq( + [void Function(GAccountFieldsReqBuilder b) updates]) = + _$GAccountFieldsReq; + + static void _initializeBuilder(GAccountFieldsReqBuilder b) => b + ..document = _i5.document + ..fragmentName = 'AccountFields'; + + @override + _i3.GAccountFieldsVars get vars; + @override + _i7.DocumentNode get document; + @override + String? get fragmentName; + @override + Map<String, dynamic> get idFields; + @override + _i2.GAccountFieldsData? parseData(Map<String, dynamic> json) => + _i2.GAccountFieldsData.fromJson(json); + + @override + Map<String, dynamic> varsToJson() => vars.toJson(); + + @override + Map<String, dynamic> dataToJson(_i2.GAccountFieldsData data) => data.toJson(); + + static Serializer<GAccountFieldsReq> get serializer => + _$gAccountFieldsReqSerializer; + + Map<String, dynamic> toJson() => (_i6.serializers.serializeWith( + GAccountFieldsReq.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsReq? fromJson(Map<String, dynamic> json) => + _i6.serializers.deserializeWith( + GAccountFieldsReq.serializer, + json, + ); +} + +abstract class GTransferFieldsReq + implements + Built<GTransferFieldsReq, GTransferFieldsReqBuilder>, + _i1.FragmentRequest<_i2.GTransferFieldsData, _i3.GTransferFieldsVars> { + GTransferFieldsReq._(); + + factory GTransferFieldsReq( + [void Function(GTransferFieldsReqBuilder b) updates]) = + _$GTransferFieldsReq; + + static void _initializeBuilder(GTransferFieldsReqBuilder b) => b + ..document = _i5.document + ..fragmentName = 'TransferFields'; + + @override + _i3.GTransferFieldsVars get vars; + @override + _i7.DocumentNode get document; + @override + String? get fragmentName; + @override + Map<String, dynamic> get idFields; + @override + _i2.GTransferFieldsData? parseData(Map<String, dynamic> json) => + _i2.GTransferFieldsData.fromJson(json); + + @override + Map<String, dynamic> varsToJson() => vars.toJson(); + + @override + Map<String, dynamic> dataToJson(_i2.GTransferFieldsData data) => + data.toJson(); + + static Serializer<GTransferFieldsReq> get serializer => + _$gTransferFieldsReqSerializer; + + Map<String, dynamic> toJson() => (_i6.serializers.serializeWith( + GTransferFieldsReq.serializer, + this, + ) as Map<String, dynamic>); + + static GTransferFieldsReq? fromJson(Map<String, dynamic> json) => + _i6.serializers.deserializeWith( + GTransferFieldsReq.serializer, + json, + ); +} diff --git a/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.req.gql.g.dart b/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.req.gql.g.dart index 6e940478..a73b9577 100644 --- a/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.req.gql.g.dart +++ b/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.req.gql.g.dart @@ -6,35 +6,180 @@ part of 'duniter-indexer-queries.req.gql.dart'; // BuiltValueGenerator // ************************************************************************** -Serializer<GAccountsByNameOrPkReq> _$gAccountsByNameOrPkReqSerializer = - new _$GAccountsByNameOrPkReqSerializer(); -Serializer<GAccountsByNameReq> _$gAccountsByNameReqSerializer = - new _$GAccountsByNameReqSerializer(); +Serializer<GIdentitiesByNameOrPkReq> _$gIdentitiesByNameOrPkReqSerializer = + new _$GIdentitiesByNameOrPkReqSerializer(); +Serializer<GIdentitiesByPkReq> _$gIdentitiesByPkReqSerializer = + new _$GIdentitiesByPkReqSerializer(); +Serializer<GIdentitiesByNameReq> _$gIdentitiesByNameReqSerializer = + new _$GIdentitiesByNameReqSerializer(); Serializer<GAccountByPkReq> _$gAccountByPkReqSerializer = new _$GAccountByPkReqSerializer(); +Serializer<GAccountBasicByPkReq> _$gAccountBasicByPkReqSerializer = + new _$GAccountBasicByPkReqSerializer(); +Serializer<GAccountsByPkReq> _$gAccountsByPkReqSerializer = + new _$GAccountsByPkReqSerializer(); Serializer<GLastBlockReq> _$gLastBlockReqSerializer = new _$GLastBlockReqSerializer(); Serializer<GGetHistoryAndBalanceReq> _$gGetHistoryAndBalanceReqSerializer = new _$GGetHistoryAndBalanceReqSerializer(); - -class _$GAccountsByNameOrPkReqSerializer - implements StructuredSerializer<GAccountsByNameOrPkReq> { +Serializer<GCertFieldsReq> _$gCertFieldsReqSerializer = + new _$GCertFieldsReqSerializer(); +Serializer<GSmithCertFieldsReq> _$gSmithCertFieldsReqSerializer = + new _$GSmithCertFieldsReqSerializer(); +Serializer<GSmithFieldsReq> _$gSmithFieldsReqSerializer = + new _$GSmithFieldsReqSerializer(); +Serializer<GOwnerKeyChangeFieldsReq> _$gOwnerKeyChangeFieldsReqSerializer = + new _$GOwnerKeyChangeFieldsReqSerializer(); +Serializer<GIdentityBasicFieldsReq> _$gIdentityBasicFieldsReqSerializer = + new _$GIdentityBasicFieldsReqSerializer(); +Serializer<GIdentityFieldsReq> _$gIdentityFieldsReqSerializer = + new _$GIdentityFieldsReqSerializer(); +Serializer<GCommentsIssuedReq> _$gCommentsIssuedReqSerializer = + new _$GCommentsIssuedReqSerializer(); +Serializer<GAccountBasicFieldsReq> _$gAccountBasicFieldsReqSerializer = + new _$GAccountBasicFieldsReqSerializer(); +Serializer<GAccountFieldsReq> _$gAccountFieldsReqSerializer = + new _$GAccountFieldsReqSerializer(); +Serializer<GTransferFieldsReq> _$gTransferFieldsReqSerializer = + new _$GTransferFieldsReqSerializer(); + +class _$GIdentitiesByNameOrPkReqSerializer + implements StructuredSerializer<GIdentitiesByNameOrPkReq> { @override final Iterable<Type> types = const [ - GAccountsByNameOrPkReq, - _$GAccountsByNameOrPkReq + GIdentitiesByNameOrPkReq, + _$GIdentitiesByNameOrPkReq ]; @override - final String wireName = 'GAccountsByNameOrPkReq'; + final String wireName = 'GIdentitiesByNameOrPkReq'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentitiesByNameOrPkReq object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + 'vars', + serializers.serialize(object.vars, + specifiedType: const FullType(_i3.GIdentitiesByNameOrPkVars)), + 'operation', + serializers.serialize(object.operation, + specifiedType: const FullType(_i4.Operation)), + 'executeOnListen', + serializers.serialize(object.executeOnListen, + specifiedType: const FullType(bool)), + ]; + Object? value; + value = object.requestId; + if (value != null) { + result + ..add('requestId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.optimisticResponse; + if (value != null) { + result + ..add('optimisticResponse') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GIdentitiesByNameOrPkData))); + } + value = object.updateCacheHandlerKey; + if (value != null) { + result + ..add('updateCacheHandlerKey') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.updateCacheHandlerContext; + if (value != null) { + result + ..add('updateCacheHandlerContext') + ..add(serializers.serialize(value, + specifiedType: const FullType( + Map, const [const FullType(String), const FullType(dynamic)]))); + } + value = object.fetchPolicy; + if (value != null) { + result + ..add('fetchPolicy') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i1.FetchPolicy))); + } + return result; + } + + @override + GIdentitiesByNameOrPkReq deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByNameOrPkReqBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'vars': + result.vars.replace(serializers.deserialize(value, + specifiedType: const FullType(_i3.GIdentitiesByNameOrPkVars))! + as _i3.GIdentitiesByNameOrPkVars); + break; + case 'operation': + result.operation = serializers.deserialize(value, + specifiedType: const FullType(_i4.Operation))! as _i4.Operation; + break; + case 'requestId': + result.requestId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'optimisticResponse': + result.optimisticResponse.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.GIdentitiesByNameOrPkData))! + as _i2.GIdentitiesByNameOrPkData); + break; + case 'updateCacheHandlerKey': + result.updateCacheHandlerKey = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'updateCacheHandlerContext': + result.updateCacheHandlerContext = serializers.deserialize(value, + specifiedType: const FullType(Map, const [ + const FullType(String), + const FullType(dynamic) + ])) as Map<String, dynamic>?; + break; + case 'fetchPolicy': + result.fetchPolicy = serializers.deserialize(value, + specifiedType: const FullType(_i1.FetchPolicy)) + as _i1.FetchPolicy?; + break; + case 'executeOnListen': + result.executeOnListen = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByPkReqSerializer + implements StructuredSerializer<GIdentitiesByPkReq> { + @override + final Iterable<Type> types = const [GIdentitiesByPkReq, _$GIdentitiesByPkReq]; + @override + final String wireName = 'GIdentitiesByPkReq'; @override Iterable<Object?> serialize( - Serializers serializers, GAccountsByNameOrPkReq object, + Serializers serializers, GIdentitiesByPkReq object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ 'vars', serializers.serialize(object.vars, - specifiedType: const FullType(_i3.GAccountsByNameOrPkVars)), + specifiedType: const FullType(_i3.GIdentitiesByPkVars)), 'operation', serializers.serialize(object.operation, specifiedType: const FullType(_i4.Operation)), @@ -55,7 +200,7 @@ class _$GAccountsByNameOrPkReqSerializer result ..add('optimisticResponse') ..add(serializers.serialize(value, - specifiedType: const FullType(_i2.GAccountsByNameOrPkData))); + specifiedType: const FullType(_i2.GIdentitiesByPkData))); } value = object.updateCacheHandlerKey; if (value != null) { @@ -83,10 +228,10 @@ class _$GAccountsByNameOrPkReqSerializer } @override - GAccountsByNameOrPkReq deserialize( + GIdentitiesByPkReq deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { - final result = new GAccountsByNameOrPkReqBuilder(); + final result = new GIdentitiesByPkReqBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -96,8 +241,8 @@ class _$GAccountsByNameOrPkReqSerializer switch (key) { case 'vars': result.vars.replace(serializers.deserialize(value, - specifiedType: const FullType(_i3.GAccountsByNameOrPkVars))! - as _i3.GAccountsByNameOrPkVars); + specifiedType: const FullType(_i3.GIdentitiesByPkVars))! + as _i3.GIdentitiesByPkVars); break; case 'operation': result.operation = serializers.deserialize(value, @@ -109,8 +254,8 @@ class _$GAccountsByNameOrPkReqSerializer break; case 'optimisticResponse': result.optimisticResponse.replace(serializers.deserialize(value, - specifiedType: const FullType(_i2.GAccountsByNameOrPkData))! - as _i2.GAccountsByNameOrPkData); + specifiedType: const FullType(_i2.GIdentitiesByPkData))! + as _i2.GIdentitiesByPkData); break; case 'updateCacheHandlerKey': result.updateCacheHandlerKey = serializers.deserialize(value, @@ -139,21 +284,24 @@ class _$GAccountsByNameOrPkReqSerializer } } -class _$GAccountsByNameReqSerializer - implements StructuredSerializer<GAccountsByNameReq> { +class _$GIdentitiesByNameReqSerializer + implements StructuredSerializer<GIdentitiesByNameReq> { @override - final Iterable<Type> types = const [GAccountsByNameReq, _$GAccountsByNameReq]; + final Iterable<Type> types = const [ + GIdentitiesByNameReq, + _$GIdentitiesByNameReq + ]; @override - final String wireName = 'GAccountsByNameReq'; + final String wireName = 'GIdentitiesByNameReq'; @override Iterable<Object?> serialize( - Serializers serializers, GAccountsByNameReq object, + Serializers serializers, GIdentitiesByNameReq object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ 'vars', serializers.serialize(object.vars, - specifiedType: const FullType(_i3.GAccountsByNameVars)), + specifiedType: const FullType(_i3.GIdentitiesByNameVars)), 'operation', serializers.serialize(object.operation, specifiedType: const FullType(_i4.Operation)), @@ -174,7 +322,7 @@ class _$GAccountsByNameReqSerializer result ..add('optimisticResponse') ..add(serializers.serialize(value, - specifiedType: const FullType(_i2.GAccountsByNameData))); + specifiedType: const FullType(_i2.GIdentitiesByNameData))); } value = object.updateCacheHandlerKey; if (value != null) { @@ -202,10 +350,10 @@ class _$GAccountsByNameReqSerializer } @override - GAccountsByNameReq deserialize( + GIdentitiesByNameReq deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { - final result = new GAccountsByNameReqBuilder(); + final result = new GIdentitiesByNameReqBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -215,8 +363,8 @@ class _$GAccountsByNameReqSerializer switch (key) { case 'vars': result.vars.replace(serializers.deserialize(value, - specifiedType: const FullType(_i3.GAccountsByNameVars))! - as _i3.GAccountsByNameVars); + specifiedType: const FullType(_i3.GIdentitiesByNameVars))! + as _i3.GIdentitiesByNameVars); break; case 'operation': result.operation = serializers.deserialize(value, @@ -228,8 +376,8 @@ class _$GAccountsByNameReqSerializer break; case 'optimisticResponse': result.optimisticResponse.replace(serializers.deserialize(value, - specifiedType: const FullType(_i2.GAccountsByNameData))! - as _i2.GAccountsByNameData); + specifiedType: const FullType(_i2.GIdentitiesByNameData))! + as _i2.GIdentitiesByNameData); break; case 'updateCacheHandlerKey': result.updateCacheHandlerKey = serializers.deserialize(value, @@ -376,19 +524,24 @@ class _$GAccountByPkReqSerializer } } -class _$GLastBlockReqSerializer implements StructuredSerializer<GLastBlockReq> { +class _$GAccountBasicByPkReqSerializer + implements StructuredSerializer<GAccountBasicByPkReq> { @override - final Iterable<Type> types = const [GLastBlockReq, _$GLastBlockReq]; + final Iterable<Type> types = const [ + GAccountBasicByPkReq, + _$GAccountBasicByPkReq + ]; @override - final String wireName = 'GLastBlockReq'; + final String wireName = 'GAccountBasicByPkReq'; @override - Iterable<Object?> serialize(Serializers serializers, GLastBlockReq object, + Iterable<Object?> serialize( + Serializers serializers, GAccountBasicByPkReq object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ 'vars', serializers.serialize(object.vars, - specifiedType: const FullType(_i3.GLastBlockVars)), + specifiedType: const FullType(_i3.GAccountBasicByPkVars)), 'operation', serializers.serialize(object.operation, specifiedType: const FullType(_i4.Operation)), @@ -409,7 +562,7 @@ class _$GLastBlockReqSerializer implements StructuredSerializer<GLastBlockReq> { result ..add('optimisticResponse') ..add(serializers.serialize(value, - specifiedType: const FullType(_i2.GLastBlockData))); + specifiedType: const FullType(_i2.GAccountBasicByPkData))); } value = object.updateCacheHandlerKey; if (value != null) { @@ -437,10 +590,10 @@ class _$GLastBlockReqSerializer implements StructuredSerializer<GLastBlockReq> { } @override - GLastBlockReq deserialize( + GAccountBasicByPkReq deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { - final result = new GLastBlockReqBuilder(); + final result = new GAccountBasicByPkReqBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -450,8 +603,8 @@ class _$GLastBlockReqSerializer implements StructuredSerializer<GLastBlockReq> { switch (key) { case 'vars': result.vars.replace(serializers.deserialize(value, - specifiedType: const FullType(_i3.GLastBlockVars))! - as _i3.GLastBlockVars); + specifiedType: const FullType(_i3.GAccountBasicByPkVars))! + as _i3.GAccountBasicByPkVars); break; case 'operation': result.operation = serializers.deserialize(value, @@ -463,8 +616,8 @@ class _$GLastBlockReqSerializer implements StructuredSerializer<GLastBlockReq> { break; case 'optimisticResponse': result.optimisticResponse.replace(serializers.deserialize(value, - specifiedType: const FullType(_i2.GLastBlockData))! - as _i2.GLastBlockData); + specifiedType: const FullType(_i2.GAccountBasicByPkData))! + as _i2.GAccountBasicByPkData); break; case 'updateCacheHandlerKey': result.updateCacheHandlerKey = serializers.deserialize(value, @@ -493,24 +646,20 @@ class _$GLastBlockReqSerializer implements StructuredSerializer<GLastBlockReq> { } } -class _$GGetHistoryAndBalanceReqSerializer - implements StructuredSerializer<GGetHistoryAndBalanceReq> { +class _$GAccountsByPkReqSerializer + implements StructuredSerializer<GAccountsByPkReq> { @override - final Iterable<Type> types = const [ - GGetHistoryAndBalanceReq, - _$GGetHistoryAndBalanceReq - ]; + final Iterable<Type> types = const [GAccountsByPkReq, _$GAccountsByPkReq]; @override - final String wireName = 'GGetHistoryAndBalanceReq'; + final String wireName = 'GAccountsByPkReq'; @override - Iterable<Object?> serialize( - Serializers serializers, GGetHistoryAndBalanceReq object, + Iterable<Object?> serialize(Serializers serializers, GAccountsByPkReq object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[ 'vars', serializers.serialize(object.vars, - specifiedType: const FullType(_i3.GGetHistoryAndBalanceVars)), + specifiedType: const FullType(_i3.GAccountsByPkVars)), 'operation', serializers.serialize(object.operation, specifiedType: const FullType(_i4.Operation)), @@ -531,7 +680,7 @@ class _$GGetHistoryAndBalanceReqSerializer result ..add('optimisticResponse') ..add(serializers.serialize(value, - specifiedType: const FullType(_i2.GGetHistoryAndBalanceData))); + specifiedType: const FullType(_i2.GAccountsByPkData))); } value = object.updateCacheHandlerKey; if (value != null) { @@ -559,10 +708,10 @@ class _$GGetHistoryAndBalanceReqSerializer } @override - GGetHistoryAndBalanceReq deserialize( + GAccountsByPkReq deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { - final result = new GGetHistoryAndBalanceReqBuilder(); + final result = new GAccountsByPkReqBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -572,8 +721,8 @@ class _$GGetHistoryAndBalanceReqSerializer switch (key) { case 'vars': result.vars.replace(serializers.deserialize(value, - specifiedType: const FullType(_i3.GGetHistoryAndBalanceVars))! - as _i3.GGetHistoryAndBalanceVars); + specifiedType: const FullType(_i3.GAccountsByPkVars))! + as _i3.GAccountsByPkVars); break; case 'operation': result.operation = serializers.deserialize(value, @@ -585,8 +734,8 @@ class _$GGetHistoryAndBalanceReqSerializer break; case 'optimisticResponse': result.optimisticResponse.replace(serializers.deserialize(value, - specifiedType: const FullType(_i2.GGetHistoryAndBalanceData))! - as _i2.GGetHistoryAndBalanceData); + specifiedType: const FullType(_i2.GAccountsByPkData))! + as _i2.GAccountsByPkData); break; case 'updateCacheHandlerKey': result.updateCacheHandlerKey = serializers.deserialize(value, @@ -615,91 +764,2750 @@ class _$GGetHistoryAndBalanceReqSerializer } } -class _$GAccountsByNameOrPkReq extends GAccountsByNameOrPkReq { - @override - final _i3.GAccountsByNameOrPkVars vars; - @override - final _i4.Operation operation; - @override - final String? requestId; - @override - final _i2.GAccountsByNameOrPkData? Function( - _i2.GAccountsByNameOrPkData?, _i2.GAccountsByNameOrPkData?)? updateResult; - @override - final _i2.GAccountsByNameOrPkData? optimisticResponse; - @override - final String? updateCacheHandlerKey; - @override - final Map<String, dynamic>? updateCacheHandlerContext; - @override - final _i1.FetchPolicy? fetchPolicy; - @override - final bool executeOnListen; - @override - final _i4.Context? context; - - factory _$GAccountsByNameOrPkReq( - [void Function(GAccountsByNameOrPkReqBuilder)? updates]) => - (new GAccountsByNameOrPkReqBuilder()..update(updates))._build(); - - _$GAccountsByNameOrPkReq._( - {required this.vars, - required this.operation, - this.requestId, - this.updateResult, - this.optimisticResponse, - this.updateCacheHandlerKey, - this.updateCacheHandlerContext, - this.fetchPolicy, - required this.executeOnListen, - this.context}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - vars, r'GAccountsByNameOrPkReq', 'vars'); - BuiltValueNullFieldError.checkNotNull( - operation, r'GAccountsByNameOrPkReq', 'operation'); - BuiltValueNullFieldError.checkNotNull( - executeOnListen, r'GAccountsByNameOrPkReq', 'executeOnListen'); - } - +class _$GLastBlockReqSerializer implements StructuredSerializer<GLastBlockReq> { @override - GAccountsByNameOrPkReq rebuild( - void Function(GAccountsByNameOrPkReqBuilder) updates) => - (toBuilder()..update(updates)).build(); - + final Iterable<Type> types = const [GLastBlockReq, _$GLastBlockReq]; @override - GAccountsByNameOrPkReqBuilder toBuilder() => - new GAccountsByNameOrPkReqBuilder()..replace(this); + final String wireName = 'GLastBlockReq'; @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - final dynamic _$dynamicOther = other; - return other is GAccountsByNameOrPkReq && - vars == other.vars && - operation == other.operation && - requestId == other.requestId && - updateResult == _$dynamicOther.updateResult && - optimisticResponse == other.optimisticResponse && - updateCacheHandlerKey == other.updateCacheHandlerKey && - updateCacheHandlerContext == other.updateCacheHandlerContext && - fetchPolicy == other.fetchPolicy && - executeOnListen == other.executeOnListen && - context == other.context; + Iterable<Object?> serialize(Serializers serializers, GLastBlockReq object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + 'vars', + serializers.serialize(object.vars, + specifiedType: const FullType(_i3.GLastBlockVars)), + 'operation', + serializers.serialize(object.operation, + specifiedType: const FullType(_i4.Operation)), + 'executeOnListen', + serializers.serialize(object.executeOnListen, + specifiedType: const FullType(bool)), + ]; + Object? value; + value = object.requestId; + if (value != null) { + result + ..add('requestId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.optimisticResponse; + if (value != null) { + result + ..add('optimisticResponse') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GLastBlockData))); + } + value = object.updateCacheHandlerKey; + if (value != null) { + result + ..add('updateCacheHandlerKey') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.updateCacheHandlerContext; + if (value != null) { + result + ..add('updateCacheHandlerContext') + ..add(serializers.serialize(value, + specifiedType: const FullType( + Map, const [const FullType(String), const FullType(dynamic)]))); + } + value = object.fetchPolicy; + if (value != null) { + result + ..add('fetchPolicy') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i1.FetchPolicy))); + } + return result; } @override - int get hashCode { - var _$hash = 0; - _$hash = $jc(_$hash, vars.hashCode); - _$hash = $jc(_$hash, operation.hashCode); - _$hash = $jc(_$hash, requestId.hashCode); - _$hash = $jc(_$hash, updateResult.hashCode); - _$hash = $jc(_$hash, optimisticResponse.hashCode); - _$hash = $jc(_$hash, updateCacheHandlerKey.hashCode); - _$hash = $jc(_$hash, updateCacheHandlerContext.hashCode); - _$hash = $jc(_$hash, fetchPolicy.hashCode); - _$hash = $jc(_$hash, executeOnListen.hashCode); + GLastBlockReq deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GLastBlockReqBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'vars': + result.vars.replace(serializers.deserialize(value, + specifiedType: const FullType(_i3.GLastBlockVars))! + as _i3.GLastBlockVars); + break; + case 'operation': + result.operation = serializers.deserialize(value, + specifiedType: const FullType(_i4.Operation))! as _i4.Operation; + break; + case 'requestId': + result.requestId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'optimisticResponse': + result.optimisticResponse.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.GLastBlockData))! + as _i2.GLastBlockData); + break; + case 'updateCacheHandlerKey': + result.updateCacheHandlerKey = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'updateCacheHandlerContext': + result.updateCacheHandlerContext = serializers.deserialize(value, + specifiedType: const FullType(Map, const [ + const FullType(String), + const FullType(dynamic) + ])) as Map<String, dynamic>?; + break; + case 'fetchPolicy': + result.fetchPolicy = serializers.deserialize(value, + specifiedType: const FullType(_i1.FetchPolicy)) + as _i1.FetchPolicy?; + break; + case 'executeOnListen': + result.executeOnListen = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$GGetHistoryAndBalanceReqSerializer + implements StructuredSerializer<GGetHistoryAndBalanceReq> { + @override + final Iterable<Type> types = const [ + GGetHistoryAndBalanceReq, + _$GGetHistoryAndBalanceReq + ]; + @override + final String wireName = 'GGetHistoryAndBalanceReq'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GGetHistoryAndBalanceReq object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + 'vars', + serializers.serialize(object.vars, + specifiedType: const FullType(_i3.GGetHistoryAndBalanceVars)), + 'operation', + serializers.serialize(object.operation, + specifiedType: const FullType(_i4.Operation)), + 'executeOnListen', + serializers.serialize(object.executeOnListen, + specifiedType: const FullType(bool)), + ]; + Object? value; + value = object.requestId; + if (value != null) { + result + ..add('requestId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.optimisticResponse; + if (value != null) { + result + ..add('optimisticResponse') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i2.GGetHistoryAndBalanceData))); + } + value = object.updateCacheHandlerKey; + if (value != null) { + result + ..add('updateCacheHandlerKey') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.updateCacheHandlerContext; + if (value != null) { + result + ..add('updateCacheHandlerContext') + ..add(serializers.serialize(value, + specifiedType: const FullType( + Map, const [const FullType(String), const FullType(dynamic)]))); + } + value = object.fetchPolicy; + if (value != null) { + result + ..add('fetchPolicy') + ..add(serializers.serialize(value, + specifiedType: const FullType(_i1.FetchPolicy))); + } + return result; + } + + @override + GGetHistoryAndBalanceReq deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GGetHistoryAndBalanceReqBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'vars': + result.vars.replace(serializers.deserialize(value, + specifiedType: const FullType(_i3.GGetHistoryAndBalanceVars))! + as _i3.GGetHistoryAndBalanceVars); + break; + case 'operation': + result.operation = serializers.deserialize(value, + specifiedType: const FullType(_i4.Operation))! as _i4.Operation; + break; + case 'requestId': + result.requestId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'optimisticResponse': + result.optimisticResponse.replace(serializers.deserialize(value, + specifiedType: const FullType(_i2.GGetHistoryAndBalanceData))! + as _i2.GGetHistoryAndBalanceData); + break; + case 'updateCacheHandlerKey': + result.updateCacheHandlerKey = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'updateCacheHandlerContext': + result.updateCacheHandlerContext = serializers.deserialize(value, + specifiedType: const FullType(Map, const [ + const FullType(String), + const FullType(dynamic) + ])) as Map<String, dynamic>?; + break; + case 'fetchPolicy': + result.fetchPolicy = serializers.deserialize(value, + specifiedType: const FullType(_i1.FetchPolicy)) + as _i1.FetchPolicy?; + break; + case 'executeOnListen': + result.executeOnListen = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$GCertFieldsReqSerializer + implements StructuredSerializer<GCertFieldsReq> { + @override + final Iterable<Type> types = const [GCertFieldsReq, _$GCertFieldsReq]; + @override + final String wireName = 'GCertFieldsReq'; + + @override + Iterable<Object?> serialize(Serializers serializers, GCertFieldsReq object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + 'vars', + serializers.serialize(object.vars, + specifiedType: const FullType(_i3.GCertFieldsVars)), + 'document', + serializers.serialize(object.document, + specifiedType: const FullType(_i7.DocumentNode)), + 'idFields', + serializers.serialize(object.idFields, + specifiedType: const FullType( + Map, const [const FullType(String), const FullType(dynamic)])), + ]; + Object? value; + value = object.fragmentName; + if (value != null) { + result + ..add('fragmentName') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GCertFieldsReq deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GCertFieldsReqBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'vars': + result.vars.replace(serializers.deserialize(value, + specifiedType: const FullType(_i3.GCertFieldsVars))! + as _i3.GCertFieldsVars); + break; + case 'document': + result.document = serializers.deserialize(value, + specifiedType: const FullType(_i7.DocumentNode))! + as _i7.DocumentNode; + break; + case 'fragmentName': + result.fragmentName = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'idFields': + result.idFields = serializers.deserialize(value, + specifiedType: const FullType(Map, const [ + const FullType(String), + const FullType(dynamic) + ]))! as Map<String, dynamic>; + break; + } + } + + return result.build(); + } +} + +class _$GSmithCertFieldsReqSerializer + implements StructuredSerializer<GSmithCertFieldsReq> { + @override + final Iterable<Type> types = const [ + GSmithCertFieldsReq, + _$GSmithCertFieldsReq + ]; + @override + final String wireName = 'GSmithCertFieldsReq'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GSmithCertFieldsReq object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + 'vars', + serializers.serialize(object.vars, + specifiedType: const FullType(_i3.GSmithCertFieldsVars)), + 'document', + serializers.serialize(object.document, + specifiedType: const FullType(_i7.DocumentNode)), + 'idFields', + serializers.serialize(object.idFields, + specifiedType: const FullType( + Map, const [const FullType(String), const FullType(dynamic)])), + ]; + Object? value; + value = object.fragmentName; + if (value != null) { + result + ..add('fragmentName') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GSmithCertFieldsReq deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GSmithCertFieldsReqBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'vars': + result.vars.replace(serializers.deserialize(value, + specifiedType: const FullType(_i3.GSmithCertFieldsVars))! + as _i3.GSmithCertFieldsVars); + break; + case 'document': + result.document = serializers.deserialize(value, + specifiedType: const FullType(_i7.DocumentNode))! + as _i7.DocumentNode; + break; + case 'fragmentName': + result.fragmentName = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'idFields': + result.idFields = serializers.deserialize(value, + specifiedType: const FullType(Map, const [ + const FullType(String), + const FullType(dynamic) + ]))! as Map<String, dynamic>; + break; + } + } + + return result.build(); + } +} + +class _$GSmithFieldsReqSerializer + implements StructuredSerializer<GSmithFieldsReq> { + @override + final Iterable<Type> types = const [GSmithFieldsReq, _$GSmithFieldsReq]; + @override + final String wireName = 'GSmithFieldsReq'; + + @override + Iterable<Object?> serialize(Serializers serializers, GSmithFieldsReq object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + 'vars', + serializers.serialize(object.vars, + specifiedType: const FullType(_i3.GSmithFieldsVars)), + 'document', + serializers.serialize(object.document, + specifiedType: const FullType(_i7.DocumentNode)), + 'idFields', + serializers.serialize(object.idFields, + specifiedType: const FullType( + Map, const [const FullType(String), const FullType(dynamic)])), + ]; + Object? value; + value = object.fragmentName; + if (value != null) { + result + ..add('fragmentName') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GSmithFieldsReq deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GSmithFieldsReqBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'vars': + result.vars.replace(serializers.deserialize(value, + specifiedType: const FullType(_i3.GSmithFieldsVars))! + as _i3.GSmithFieldsVars); + break; + case 'document': + result.document = serializers.deserialize(value, + specifiedType: const FullType(_i7.DocumentNode))! + as _i7.DocumentNode; + break; + case 'fragmentName': + result.fragmentName = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'idFields': + result.idFields = serializers.deserialize(value, + specifiedType: const FullType(Map, const [ + const FullType(String), + const FullType(dynamic) + ]))! as Map<String, dynamic>; + break; + } + } + + return result.build(); + } +} + +class _$GOwnerKeyChangeFieldsReqSerializer + implements StructuredSerializer<GOwnerKeyChangeFieldsReq> { + @override + final Iterable<Type> types = const [ + GOwnerKeyChangeFieldsReq, + _$GOwnerKeyChangeFieldsReq + ]; + @override + final String wireName = 'GOwnerKeyChangeFieldsReq'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GOwnerKeyChangeFieldsReq object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + 'vars', + serializers.serialize(object.vars, + specifiedType: const FullType(_i3.GOwnerKeyChangeFieldsVars)), + 'document', + serializers.serialize(object.document, + specifiedType: const FullType(_i7.DocumentNode)), + 'idFields', + serializers.serialize(object.idFields, + specifiedType: const FullType( + Map, const [const FullType(String), const FullType(dynamic)])), + ]; + Object? value; + value = object.fragmentName; + if (value != null) { + result + ..add('fragmentName') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GOwnerKeyChangeFieldsReq deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GOwnerKeyChangeFieldsReqBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'vars': + result.vars.replace(serializers.deserialize(value, + specifiedType: const FullType(_i3.GOwnerKeyChangeFieldsVars))! + as _i3.GOwnerKeyChangeFieldsVars); + break; + case 'document': + result.document = serializers.deserialize(value, + specifiedType: const FullType(_i7.DocumentNode))! + as _i7.DocumentNode; + break; + case 'fragmentName': + result.fragmentName = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'idFields': + result.idFields = serializers.deserialize(value, + specifiedType: const FullType(Map, const [ + const FullType(String), + const FullType(dynamic) + ]))! as Map<String, dynamic>; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityBasicFieldsReqSerializer + implements StructuredSerializer<GIdentityBasicFieldsReq> { + @override + final Iterable<Type> types = const [ + GIdentityBasicFieldsReq, + _$GIdentityBasicFieldsReq + ]; + @override + final String wireName = 'GIdentityBasicFieldsReq'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentityBasicFieldsReq object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + 'vars', + serializers.serialize(object.vars, + specifiedType: const FullType(_i3.GIdentityBasicFieldsVars)), + 'document', + serializers.serialize(object.document, + specifiedType: const FullType(_i7.DocumentNode)), + 'idFields', + serializers.serialize(object.idFields, + specifiedType: const FullType( + Map, const [const FullType(String), const FullType(dynamic)])), + ]; + Object? value; + value = object.fragmentName; + if (value != null) { + result + ..add('fragmentName') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GIdentityBasicFieldsReq deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityBasicFieldsReqBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'vars': + result.vars.replace(serializers.deserialize(value, + specifiedType: const FullType(_i3.GIdentityBasicFieldsVars))! + as _i3.GIdentityBasicFieldsVars); + break; + case 'document': + result.document = serializers.deserialize(value, + specifiedType: const FullType(_i7.DocumentNode))! + as _i7.DocumentNode; + break; + case 'fragmentName': + result.fragmentName = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'idFields': + result.idFields = serializers.deserialize(value, + specifiedType: const FullType(Map, const [ + const FullType(String), + const FullType(dynamic) + ]))! as Map<String, dynamic>; + break; + } + } + + return result.build(); + } +} + +class _$GIdentityFieldsReqSerializer + implements StructuredSerializer<GIdentityFieldsReq> { + @override + final Iterable<Type> types = const [GIdentityFieldsReq, _$GIdentityFieldsReq]; + @override + final String wireName = 'GIdentityFieldsReq'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentityFieldsReq object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + 'vars', + serializers.serialize(object.vars, + specifiedType: const FullType(_i3.GIdentityFieldsVars)), + 'document', + serializers.serialize(object.document, + specifiedType: const FullType(_i7.DocumentNode)), + 'idFields', + serializers.serialize(object.idFields, + specifiedType: const FullType( + Map, const [const FullType(String), const FullType(dynamic)])), + ]; + Object? value; + value = object.fragmentName; + if (value != null) { + result + ..add('fragmentName') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GIdentityFieldsReq deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentityFieldsReqBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'vars': + result.vars.replace(serializers.deserialize(value, + specifiedType: const FullType(_i3.GIdentityFieldsVars))! + as _i3.GIdentityFieldsVars); + break; + case 'document': + result.document = serializers.deserialize(value, + specifiedType: const FullType(_i7.DocumentNode))! + as _i7.DocumentNode; + break; + case 'fragmentName': + result.fragmentName = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'idFields': + result.idFields = serializers.deserialize(value, + specifiedType: const FullType(Map, const [ + const FullType(String), + const FullType(dynamic) + ]))! as Map<String, dynamic>; + break; + } + } + + return result.build(); + } +} + +class _$GCommentsIssuedReqSerializer + implements StructuredSerializer<GCommentsIssuedReq> { + @override + final Iterable<Type> types = const [GCommentsIssuedReq, _$GCommentsIssuedReq]; + @override + final String wireName = 'GCommentsIssuedReq'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GCommentsIssuedReq object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + 'vars', + serializers.serialize(object.vars, + specifiedType: const FullType(_i3.GCommentsIssuedVars)), + 'document', + serializers.serialize(object.document, + specifiedType: const FullType(_i7.DocumentNode)), + 'idFields', + serializers.serialize(object.idFields, + specifiedType: const FullType( + Map, const [const FullType(String), const FullType(dynamic)])), + ]; + Object? value; + value = object.fragmentName; + if (value != null) { + result + ..add('fragmentName') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GCommentsIssuedReq deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GCommentsIssuedReqBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'vars': + result.vars.replace(serializers.deserialize(value, + specifiedType: const FullType(_i3.GCommentsIssuedVars))! + as _i3.GCommentsIssuedVars); + break; + case 'document': + result.document = serializers.deserialize(value, + specifiedType: const FullType(_i7.DocumentNode))! + as _i7.DocumentNode; + break; + case 'fragmentName': + result.fragmentName = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'idFields': + result.idFields = serializers.deserialize(value, + specifiedType: const FullType(Map, const [ + const FullType(String), + const FullType(dynamic) + ]))! as Map<String, dynamic>; + break; + } + } + + return result.build(); + } +} + +class _$GAccountBasicFieldsReqSerializer + implements StructuredSerializer<GAccountBasicFieldsReq> { + @override + final Iterable<Type> types = const [ + GAccountBasicFieldsReq, + _$GAccountBasicFieldsReq + ]; + @override + final String wireName = 'GAccountBasicFieldsReq'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountBasicFieldsReq object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + 'vars', + serializers.serialize(object.vars, + specifiedType: const FullType(_i3.GAccountBasicFieldsVars)), + 'document', + serializers.serialize(object.document, + specifiedType: const FullType(_i7.DocumentNode)), + 'idFields', + serializers.serialize(object.idFields, + specifiedType: const FullType( + Map, const [const FullType(String), const FullType(dynamic)])), + ]; + Object? value; + value = object.fragmentName; + if (value != null) { + result + ..add('fragmentName') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GAccountBasicFieldsReq deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountBasicFieldsReqBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'vars': + result.vars.replace(serializers.deserialize(value, + specifiedType: const FullType(_i3.GAccountBasicFieldsVars))! + as _i3.GAccountBasicFieldsVars); + break; + case 'document': + result.document = serializers.deserialize(value, + specifiedType: const FullType(_i7.DocumentNode))! + as _i7.DocumentNode; + break; + case 'fragmentName': + result.fragmentName = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'idFields': + result.idFields = serializers.deserialize(value, + specifiedType: const FullType(Map, const [ + const FullType(String), + const FullType(dynamic) + ]))! as Map<String, dynamic>; + break; + } + } + + return result.build(); + } +} + +class _$GAccountFieldsReqSerializer + implements StructuredSerializer<GAccountFieldsReq> { + @override + final Iterable<Type> types = const [GAccountFieldsReq, _$GAccountFieldsReq]; + @override + final String wireName = 'GAccountFieldsReq'; + + @override + Iterable<Object?> serialize(Serializers serializers, GAccountFieldsReq object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + 'vars', + serializers.serialize(object.vars, + specifiedType: const FullType(_i3.GAccountFieldsVars)), + 'document', + serializers.serialize(object.document, + specifiedType: const FullType(_i7.DocumentNode)), + 'idFields', + serializers.serialize(object.idFields, + specifiedType: const FullType( + Map, const [const FullType(String), const FullType(dynamic)])), + ]; + Object? value; + value = object.fragmentName; + if (value != null) { + result + ..add('fragmentName') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GAccountFieldsReq deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsReqBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'vars': + result.vars.replace(serializers.deserialize(value, + specifiedType: const FullType(_i3.GAccountFieldsVars))! + as _i3.GAccountFieldsVars); + break; + case 'document': + result.document = serializers.deserialize(value, + specifiedType: const FullType(_i7.DocumentNode))! + as _i7.DocumentNode; + break; + case 'fragmentName': + result.fragmentName = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'idFields': + result.idFields = serializers.deserialize(value, + specifiedType: const FullType(Map, const [ + const FullType(String), + const FullType(dynamic) + ]))! as Map<String, dynamic>; + break; + } + } + + return result.build(); + } +} + +class _$GTransferFieldsReqSerializer + implements StructuredSerializer<GTransferFieldsReq> { + @override + final Iterable<Type> types = const [GTransferFieldsReq, _$GTransferFieldsReq]; + @override + final String wireName = 'GTransferFieldsReq'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GTransferFieldsReq object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + 'vars', + serializers.serialize(object.vars, + specifiedType: const FullType(_i3.GTransferFieldsVars)), + 'document', + serializers.serialize(object.document, + specifiedType: const FullType(_i7.DocumentNode)), + 'idFields', + serializers.serialize(object.idFields, + specifiedType: const FullType( + Map, const [const FullType(String), const FullType(dynamic)])), + ]; + Object? value; + value = object.fragmentName; + if (value != null) { + result + ..add('fragmentName') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GTransferFieldsReq deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GTransferFieldsReqBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'vars': + result.vars.replace(serializers.deserialize(value, + specifiedType: const FullType(_i3.GTransferFieldsVars))! + as _i3.GTransferFieldsVars); + break; + case 'document': + result.document = serializers.deserialize(value, + specifiedType: const FullType(_i7.DocumentNode))! + as _i7.DocumentNode; + break; + case 'fragmentName': + result.fragmentName = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'idFields': + result.idFields = serializers.deserialize(value, + specifiedType: const FullType(Map, const [ + const FullType(String), + const FullType(dynamic) + ]))! as Map<String, dynamic>; + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameOrPkReq extends GIdentitiesByNameOrPkReq { + @override + final _i3.GIdentitiesByNameOrPkVars vars; + @override + final _i4.Operation operation; + @override + final String? requestId; + @override + final _i2.GIdentitiesByNameOrPkData? Function( + _i2.GIdentitiesByNameOrPkData?, _i2.GIdentitiesByNameOrPkData?)? + updateResult; + @override + final _i2.GIdentitiesByNameOrPkData? optimisticResponse; + @override + final String? updateCacheHandlerKey; + @override + final Map<String, dynamic>? updateCacheHandlerContext; + @override + final _i1.FetchPolicy? fetchPolicy; + @override + final bool executeOnListen; + @override + final _i4.Context? context; + + factory _$GIdentitiesByNameOrPkReq( + [void Function(GIdentitiesByNameOrPkReqBuilder)? updates]) => + (new GIdentitiesByNameOrPkReqBuilder()..update(updates))._build(); + + _$GIdentitiesByNameOrPkReq._( + {required this.vars, + required this.operation, + this.requestId, + this.updateResult, + this.optimisticResponse, + this.updateCacheHandlerKey, + this.updateCacheHandlerContext, + this.fetchPolicy, + required this.executeOnListen, + this.context}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + vars, r'GIdentitiesByNameOrPkReq', 'vars'); + BuiltValueNullFieldError.checkNotNull( + operation, r'GIdentitiesByNameOrPkReq', 'operation'); + BuiltValueNullFieldError.checkNotNull( + executeOnListen, r'GIdentitiesByNameOrPkReq', 'executeOnListen'); + } + + @override + GIdentitiesByNameOrPkReq rebuild( + void Function(GIdentitiesByNameOrPkReqBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkReqBuilder toBuilder() => + new GIdentitiesByNameOrPkReqBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + final dynamic _$dynamicOther = other; + return other is GIdentitiesByNameOrPkReq && + vars == other.vars && + operation == other.operation && + requestId == other.requestId && + updateResult == _$dynamicOther.updateResult && + optimisticResponse == other.optimisticResponse && + updateCacheHandlerKey == other.updateCacheHandlerKey && + updateCacheHandlerContext == other.updateCacheHandlerContext && + fetchPolicy == other.fetchPolicy && + executeOnListen == other.executeOnListen && + context == other.context; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, vars.hashCode); + _$hash = $jc(_$hash, operation.hashCode); + _$hash = $jc(_$hash, requestId.hashCode); + _$hash = $jc(_$hash, updateResult.hashCode); + _$hash = $jc(_$hash, optimisticResponse.hashCode); + _$hash = $jc(_$hash, updateCacheHandlerKey.hashCode); + _$hash = $jc(_$hash, updateCacheHandlerContext.hashCode); + _$hash = $jc(_$hash, fetchPolicy.hashCode); + _$hash = $jc(_$hash, executeOnListen.hashCode); + _$hash = $jc(_$hash, context.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentitiesByNameOrPkReq') + ..add('vars', vars) + ..add('operation', operation) + ..add('requestId', requestId) + ..add('updateResult', updateResult) + ..add('optimisticResponse', optimisticResponse) + ..add('updateCacheHandlerKey', updateCacheHandlerKey) + ..add('updateCacheHandlerContext', updateCacheHandlerContext) + ..add('fetchPolicy', fetchPolicy) + ..add('executeOnListen', executeOnListen) + ..add('context', context)) + .toString(); + } +} + +class GIdentitiesByNameOrPkReqBuilder + implements + Builder<GIdentitiesByNameOrPkReq, GIdentitiesByNameOrPkReqBuilder> { + _$GIdentitiesByNameOrPkReq? _$v; + + _i3.GIdentitiesByNameOrPkVarsBuilder? _vars; + _i3.GIdentitiesByNameOrPkVarsBuilder get vars => + _$this._vars ??= new _i3.GIdentitiesByNameOrPkVarsBuilder(); + set vars(_i3.GIdentitiesByNameOrPkVarsBuilder? vars) => _$this._vars = vars; + + _i4.Operation? _operation; + _i4.Operation? get operation => _$this._operation; + set operation(_i4.Operation? operation) => _$this._operation = operation; + + String? _requestId; + String? get requestId => _$this._requestId; + set requestId(String? requestId) => _$this._requestId = requestId; + + _i2.GIdentitiesByNameOrPkData? Function( + _i2.GIdentitiesByNameOrPkData?, _i2.GIdentitiesByNameOrPkData?)? + _updateResult; + _i2.GIdentitiesByNameOrPkData? Function( + _i2.GIdentitiesByNameOrPkData?, _i2.GIdentitiesByNameOrPkData?)? + get updateResult => _$this._updateResult; + set updateResult( + _i2.GIdentitiesByNameOrPkData? Function( + _i2.GIdentitiesByNameOrPkData?, + _i2.GIdentitiesByNameOrPkData?)? + updateResult) => + _$this._updateResult = updateResult; + + _i2.GIdentitiesByNameOrPkDataBuilder? _optimisticResponse; + _i2.GIdentitiesByNameOrPkDataBuilder get optimisticResponse => + _$this._optimisticResponse ??= new _i2.GIdentitiesByNameOrPkDataBuilder(); + set optimisticResponse( + _i2.GIdentitiesByNameOrPkDataBuilder? optimisticResponse) => + _$this._optimisticResponse = optimisticResponse; + + String? _updateCacheHandlerKey; + String? get updateCacheHandlerKey => _$this._updateCacheHandlerKey; + set updateCacheHandlerKey(String? updateCacheHandlerKey) => + _$this._updateCacheHandlerKey = updateCacheHandlerKey; + + Map<String, dynamic>? _updateCacheHandlerContext; + Map<String, dynamic>? get updateCacheHandlerContext => + _$this._updateCacheHandlerContext; + set updateCacheHandlerContext( + Map<String, dynamic>? updateCacheHandlerContext) => + _$this._updateCacheHandlerContext = updateCacheHandlerContext; + + _i1.FetchPolicy? _fetchPolicy; + _i1.FetchPolicy? get fetchPolicy => _$this._fetchPolicy; + set fetchPolicy(_i1.FetchPolicy? fetchPolicy) => + _$this._fetchPolicy = fetchPolicy; + + bool? _executeOnListen; + bool? get executeOnListen => _$this._executeOnListen; + set executeOnListen(bool? executeOnListen) => + _$this._executeOnListen = executeOnListen; + + _i4.Context? _context; + _i4.Context? get context => _$this._context; + set context(_i4.Context? context) => _$this._context = context; + + GIdentitiesByNameOrPkReqBuilder() { + GIdentitiesByNameOrPkReq._initializeBuilder(this); + } + + GIdentitiesByNameOrPkReqBuilder get _$this { + final $v = _$v; + if ($v != null) { + _vars = $v.vars.toBuilder(); + _operation = $v.operation; + _requestId = $v.requestId; + _updateResult = $v.updateResult; + _optimisticResponse = $v.optimisticResponse?.toBuilder(); + _updateCacheHandlerKey = $v.updateCacheHandlerKey; + _updateCacheHandlerContext = $v.updateCacheHandlerContext; + _fetchPolicy = $v.fetchPolicy; + _executeOnListen = $v.executeOnListen; + _context = $v.context; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameOrPkReq other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameOrPkReq; + } + + @override + void update(void Function(GIdentitiesByNameOrPkReqBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameOrPkReq build() => _build(); + + _$GIdentitiesByNameOrPkReq _build() { + _$GIdentitiesByNameOrPkReq _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameOrPkReq._( + vars: vars.build(), + operation: BuiltValueNullFieldError.checkNotNull( + operation, r'GIdentitiesByNameOrPkReq', 'operation'), + requestId: requestId, + updateResult: updateResult, + optimisticResponse: _optimisticResponse?.build(), + updateCacheHandlerKey: updateCacheHandlerKey, + updateCacheHandlerContext: updateCacheHandlerContext, + fetchPolicy: fetchPolicy, + executeOnListen: BuiltValueNullFieldError.checkNotNull( + executeOnListen, + r'GIdentitiesByNameOrPkReq', + 'executeOnListen'), + context: context); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'vars'; + vars.build(); + + _$failedField = 'optimisticResponse'; + _optimisticResponse?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameOrPkReq', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByPkReq extends GIdentitiesByPkReq { + @override + final _i3.GIdentitiesByPkVars vars; + @override + final _i4.Operation operation; + @override + final String? requestId; + @override + final _i2.GIdentitiesByPkData? Function( + _i2.GIdentitiesByPkData?, _i2.GIdentitiesByPkData?)? updateResult; + @override + final _i2.GIdentitiesByPkData? optimisticResponse; + @override + final String? updateCacheHandlerKey; + @override + final Map<String, dynamic>? updateCacheHandlerContext; + @override + final _i1.FetchPolicy? fetchPolicy; + @override + final bool executeOnListen; + @override + final _i4.Context? context; + + factory _$GIdentitiesByPkReq( + [void Function(GIdentitiesByPkReqBuilder)? updates]) => + (new GIdentitiesByPkReqBuilder()..update(updates))._build(); + + _$GIdentitiesByPkReq._( + {required this.vars, + required this.operation, + this.requestId, + this.updateResult, + this.optimisticResponse, + this.updateCacheHandlerKey, + this.updateCacheHandlerContext, + this.fetchPolicy, + required this.executeOnListen, + this.context}) + : super._() { + BuiltValueNullFieldError.checkNotNull(vars, r'GIdentitiesByPkReq', 'vars'); + BuiltValueNullFieldError.checkNotNull( + operation, r'GIdentitiesByPkReq', 'operation'); + BuiltValueNullFieldError.checkNotNull( + executeOnListen, r'GIdentitiesByPkReq', 'executeOnListen'); + } + + @override + GIdentitiesByPkReq rebuild( + void Function(GIdentitiesByPkReqBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByPkReqBuilder toBuilder() => + new GIdentitiesByPkReqBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + final dynamic _$dynamicOther = other; + return other is GIdentitiesByPkReq && + vars == other.vars && + operation == other.operation && + requestId == other.requestId && + updateResult == _$dynamicOther.updateResult && + optimisticResponse == other.optimisticResponse && + updateCacheHandlerKey == other.updateCacheHandlerKey && + updateCacheHandlerContext == other.updateCacheHandlerContext && + fetchPolicy == other.fetchPolicy && + executeOnListen == other.executeOnListen && + context == other.context; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, vars.hashCode); + _$hash = $jc(_$hash, operation.hashCode); + _$hash = $jc(_$hash, requestId.hashCode); + _$hash = $jc(_$hash, updateResult.hashCode); + _$hash = $jc(_$hash, optimisticResponse.hashCode); + _$hash = $jc(_$hash, updateCacheHandlerKey.hashCode); + _$hash = $jc(_$hash, updateCacheHandlerContext.hashCode); + _$hash = $jc(_$hash, fetchPolicy.hashCode); + _$hash = $jc(_$hash, executeOnListen.hashCode); + _$hash = $jc(_$hash, context.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentitiesByPkReq') + ..add('vars', vars) + ..add('operation', operation) + ..add('requestId', requestId) + ..add('updateResult', updateResult) + ..add('optimisticResponse', optimisticResponse) + ..add('updateCacheHandlerKey', updateCacheHandlerKey) + ..add('updateCacheHandlerContext', updateCacheHandlerContext) + ..add('fetchPolicy', fetchPolicy) + ..add('executeOnListen', executeOnListen) + ..add('context', context)) + .toString(); + } +} + +class GIdentitiesByPkReqBuilder + implements Builder<GIdentitiesByPkReq, GIdentitiesByPkReqBuilder> { + _$GIdentitiesByPkReq? _$v; + + _i3.GIdentitiesByPkVarsBuilder? _vars; + _i3.GIdentitiesByPkVarsBuilder get vars => + _$this._vars ??= new _i3.GIdentitiesByPkVarsBuilder(); + set vars(_i3.GIdentitiesByPkVarsBuilder? vars) => _$this._vars = vars; + + _i4.Operation? _operation; + _i4.Operation? get operation => _$this._operation; + set operation(_i4.Operation? operation) => _$this._operation = operation; + + String? _requestId; + String? get requestId => _$this._requestId; + set requestId(String? requestId) => _$this._requestId = requestId; + + _i2.GIdentitiesByPkData? Function( + _i2.GIdentitiesByPkData?, _i2.GIdentitiesByPkData?)? _updateResult; + _i2.GIdentitiesByPkData? Function( + _i2.GIdentitiesByPkData?, _i2.GIdentitiesByPkData?)? + get updateResult => _$this._updateResult; + set updateResult( + _i2.GIdentitiesByPkData? Function( + _i2.GIdentitiesByPkData?, _i2.GIdentitiesByPkData?)? + updateResult) => + _$this._updateResult = updateResult; + + _i2.GIdentitiesByPkDataBuilder? _optimisticResponse; + _i2.GIdentitiesByPkDataBuilder get optimisticResponse => + _$this._optimisticResponse ??= new _i2.GIdentitiesByPkDataBuilder(); + set optimisticResponse(_i2.GIdentitiesByPkDataBuilder? optimisticResponse) => + _$this._optimisticResponse = optimisticResponse; + + String? _updateCacheHandlerKey; + String? get updateCacheHandlerKey => _$this._updateCacheHandlerKey; + set updateCacheHandlerKey(String? updateCacheHandlerKey) => + _$this._updateCacheHandlerKey = updateCacheHandlerKey; + + Map<String, dynamic>? _updateCacheHandlerContext; + Map<String, dynamic>? get updateCacheHandlerContext => + _$this._updateCacheHandlerContext; + set updateCacheHandlerContext( + Map<String, dynamic>? updateCacheHandlerContext) => + _$this._updateCacheHandlerContext = updateCacheHandlerContext; + + _i1.FetchPolicy? _fetchPolicy; + _i1.FetchPolicy? get fetchPolicy => _$this._fetchPolicy; + set fetchPolicy(_i1.FetchPolicy? fetchPolicy) => + _$this._fetchPolicy = fetchPolicy; + + bool? _executeOnListen; + bool? get executeOnListen => _$this._executeOnListen; + set executeOnListen(bool? executeOnListen) => + _$this._executeOnListen = executeOnListen; + + _i4.Context? _context; + _i4.Context? get context => _$this._context; + set context(_i4.Context? context) => _$this._context = context; + + GIdentitiesByPkReqBuilder() { + GIdentitiesByPkReq._initializeBuilder(this); + } + + GIdentitiesByPkReqBuilder get _$this { + final $v = _$v; + if ($v != null) { + _vars = $v.vars.toBuilder(); + _operation = $v.operation; + _requestId = $v.requestId; + _updateResult = $v.updateResult; + _optimisticResponse = $v.optimisticResponse?.toBuilder(); + _updateCacheHandlerKey = $v.updateCacheHandlerKey; + _updateCacheHandlerContext = $v.updateCacheHandlerContext; + _fetchPolicy = $v.fetchPolicy; + _executeOnListen = $v.executeOnListen; + _context = $v.context; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByPkReq other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByPkReq; + } + + @override + void update(void Function(GIdentitiesByPkReqBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByPkReq build() => _build(); + + _$GIdentitiesByPkReq _build() { + _$GIdentitiesByPkReq _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByPkReq._( + vars: vars.build(), + operation: BuiltValueNullFieldError.checkNotNull( + operation, r'GIdentitiesByPkReq', 'operation'), + requestId: requestId, + updateResult: updateResult, + optimisticResponse: _optimisticResponse?.build(), + updateCacheHandlerKey: updateCacheHandlerKey, + updateCacheHandlerContext: updateCacheHandlerContext, + fetchPolicy: fetchPolicy, + executeOnListen: BuiltValueNullFieldError.checkNotNull( + executeOnListen, r'GIdentitiesByPkReq', 'executeOnListen'), + context: context); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'vars'; + vars.build(); + + _$failedField = 'optimisticResponse'; + _optimisticResponse?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByPkReq', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentitiesByNameReq extends GIdentitiesByNameReq { + @override + final _i3.GIdentitiesByNameVars vars; + @override + final _i4.Operation operation; + @override + final String? requestId; + @override + final _i2.GIdentitiesByNameData? Function( + _i2.GIdentitiesByNameData?, _i2.GIdentitiesByNameData?)? updateResult; + @override + final _i2.GIdentitiesByNameData? optimisticResponse; + @override + final String? updateCacheHandlerKey; + @override + final Map<String, dynamic>? updateCacheHandlerContext; + @override + final _i1.FetchPolicy? fetchPolicy; + @override + final bool executeOnListen; + @override + final _i4.Context? context; + + factory _$GIdentitiesByNameReq( + [void Function(GIdentitiesByNameReqBuilder)? updates]) => + (new GIdentitiesByNameReqBuilder()..update(updates))._build(); + + _$GIdentitiesByNameReq._( + {required this.vars, + required this.operation, + this.requestId, + this.updateResult, + this.optimisticResponse, + this.updateCacheHandlerKey, + this.updateCacheHandlerContext, + this.fetchPolicy, + required this.executeOnListen, + this.context}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + vars, r'GIdentitiesByNameReq', 'vars'); + BuiltValueNullFieldError.checkNotNull( + operation, r'GIdentitiesByNameReq', 'operation'); + BuiltValueNullFieldError.checkNotNull( + executeOnListen, r'GIdentitiesByNameReq', 'executeOnListen'); + } + + @override + GIdentitiesByNameReq rebuild( + void Function(GIdentitiesByNameReqBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameReqBuilder toBuilder() => + new GIdentitiesByNameReqBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + final dynamic _$dynamicOther = other; + return other is GIdentitiesByNameReq && + vars == other.vars && + operation == other.operation && + requestId == other.requestId && + updateResult == _$dynamicOther.updateResult && + optimisticResponse == other.optimisticResponse && + updateCacheHandlerKey == other.updateCacheHandlerKey && + updateCacheHandlerContext == other.updateCacheHandlerContext && + fetchPolicy == other.fetchPolicy && + executeOnListen == other.executeOnListen && + context == other.context; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, vars.hashCode); + _$hash = $jc(_$hash, operation.hashCode); + _$hash = $jc(_$hash, requestId.hashCode); + _$hash = $jc(_$hash, updateResult.hashCode); + _$hash = $jc(_$hash, optimisticResponse.hashCode); + _$hash = $jc(_$hash, updateCacheHandlerKey.hashCode); + _$hash = $jc(_$hash, updateCacheHandlerContext.hashCode); + _$hash = $jc(_$hash, fetchPolicy.hashCode); + _$hash = $jc(_$hash, executeOnListen.hashCode); + _$hash = $jc(_$hash, context.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentitiesByNameReq') + ..add('vars', vars) + ..add('operation', operation) + ..add('requestId', requestId) + ..add('updateResult', updateResult) + ..add('optimisticResponse', optimisticResponse) + ..add('updateCacheHandlerKey', updateCacheHandlerKey) + ..add('updateCacheHandlerContext', updateCacheHandlerContext) + ..add('fetchPolicy', fetchPolicy) + ..add('executeOnListen', executeOnListen) + ..add('context', context)) + .toString(); + } +} + +class GIdentitiesByNameReqBuilder + implements Builder<GIdentitiesByNameReq, GIdentitiesByNameReqBuilder> { + _$GIdentitiesByNameReq? _$v; + + _i3.GIdentitiesByNameVarsBuilder? _vars; + _i3.GIdentitiesByNameVarsBuilder get vars => + _$this._vars ??= new _i3.GIdentitiesByNameVarsBuilder(); + set vars(_i3.GIdentitiesByNameVarsBuilder? vars) => _$this._vars = vars; + + _i4.Operation? _operation; + _i4.Operation? get operation => _$this._operation; + set operation(_i4.Operation? operation) => _$this._operation = operation; + + String? _requestId; + String? get requestId => _$this._requestId; + set requestId(String? requestId) => _$this._requestId = requestId; + + _i2.GIdentitiesByNameData? Function( + _i2.GIdentitiesByNameData?, _i2.GIdentitiesByNameData?)? _updateResult; + _i2.GIdentitiesByNameData? Function( + _i2.GIdentitiesByNameData?, _i2.GIdentitiesByNameData?)? + get updateResult => _$this._updateResult; + set updateResult( + _i2.GIdentitiesByNameData? Function( + _i2.GIdentitiesByNameData?, _i2.GIdentitiesByNameData?)? + updateResult) => + _$this._updateResult = updateResult; + + _i2.GIdentitiesByNameDataBuilder? _optimisticResponse; + _i2.GIdentitiesByNameDataBuilder get optimisticResponse => + _$this._optimisticResponse ??= new _i2.GIdentitiesByNameDataBuilder(); + set optimisticResponse( + _i2.GIdentitiesByNameDataBuilder? optimisticResponse) => + _$this._optimisticResponse = optimisticResponse; + + String? _updateCacheHandlerKey; + String? get updateCacheHandlerKey => _$this._updateCacheHandlerKey; + set updateCacheHandlerKey(String? updateCacheHandlerKey) => + _$this._updateCacheHandlerKey = updateCacheHandlerKey; + + Map<String, dynamic>? _updateCacheHandlerContext; + Map<String, dynamic>? get updateCacheHandlerContext => + _$this._updateCacheHandlerContext; + set updateCacheHandlerContext( + Map<String, dynamic>? updateCacheHandlerContext) => + _$this._updateCacheHandlerContext = updateCacheHandlerContext; + + _i1.FetchPolicy? _fetchPolicy; + _i1.FetchPolicy? get fetchPolicy => _$this._fetchPolicy; + set fetchPolicy(_i1.FetchPolicy? fetchPolicy) => + _$this._fetchPolicy = fetchPolicy; + + bool? _executeOnListen; + bool? get executeOnListen => _$this._executeOnListen; + set executeOnListen(bool? executeOnListen) => + _$this._executeOnListen = executeOnListen; + + _i4.Context? _context; + _i4.Context? get context => _$this._context; + set context(_i4.Context? context) => _$this._context = context; + + GIdentitiesByNameReqBuilder() { + GIdentitiesByNameReq._initializeBuilder(this); + } + + GIdentitiesByNameReqBuilder get _$this { + final $v = _$v; + if ($v != null) { + _vars = $v.vars.toBuilder(); + _operation = $v.operation; + _requestId = $v.requestId; + _updateResult = $v.updateResult; + _optimisticResponse = $v.optimisticResponse?.toBuilder(); + _updateCacheHandlerKey = $v.updateCacheHandlerKey; + _updateCacheHandlerContext = $v.updateCacheHandlerContext; + _fetchPolicy = $v.fetchPolicy; + _executeOnListen = $v.executeOnListen; + _context = $v.context; + _$v = null; + } + return this; + } + + @override + void replace(GIdentitiesByNameReq other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentitiesByNameReq; + } + + @override + void update(void Function(GIdentitiesByNameReqBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentitiesByNameReq build() => _build(); + + _$GIdentitiesByNameReq _build() { + _$GIdentitiesByNameReq _$result; + try { + _$result = _$v ?? + new _$GIdentitiesByNameReq._( + vars: vars.build(), + operation: BuiltValueNullFieldError.checkNotNull( + operation, r'GIdentitiesByNameReq', 'operation'), + requestId: requestId, + updateResult: updateResult, + optimisticResponse: _optimisticResponse?.build(), + updateCacheHandlerKey: updateCacheHandlerKey, + updateCacheHandlerContext: updateCacheHandlerContext, + fetchPolicy: fetchPolicy, + executeOnListen: BuiltValueNullFieldError.checkNotNull( + executeOnListen, r'GIdentitiesByNameReq', 'executeOnListen'), + context: context); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'vars'; + vars.build(); + + _$failedField = 'optimisticResponse'; + _optimisticResponse?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByNameReq', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountByPkReq extends GAccountByPkReq { + @override + final _i3.GAccountByPkVars vars; + @override + final _i4.Operation operation; + @override + final String? requestId; + @override + final _i2.GAccountByPkData? Function( + _i2.GAccountByPkData?, _i2.GAccountByPkData?)? updateResult; + @override + final _i2.GAccountByPkData? optimisticResponse; + @override + final String? updateCacheHandlerKey; + @override + final Map<String, dynamic>? updateCacheHandlerContext; + @override + final _i1.FetchPolicy? fetchPolicy; + @override + final bool executeOnListen; + @override + final _i4.Context? context; + + factory _$GAccountByPkReq([void Function(GAccountByPkReqBuilder)? updates]) => + (new GAccountByPkReqBuilder()..update(updates))._build(); + + _$GAccountByPkReq._( + {required this.vars, + required this.operation, + this.requestId, + this.updateResult, + this.optimisticResponse, + this.updateCacheHandlerKey, + this.updateCacheHandlerContext, + this.fetchPolicy, + required this.executeOnListen, + this.context}) + : super._() { + BuiltValueNullFieldError.checkNotNull(vars, r'GAccountByPkReq', 'vars'); + BuiltValueNullFieldError.checkNotNull( + operation, r'GAccountByPkReq', 'operation'); + BuiltValueNullFieldError.checkNotNull( + executeOnListen, r'GAccountByPkReq', 'executeOnListen'); + } + + @override + GAccountByPkReq rebuild(void Function(GAccountByPkReqBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountByPkReqBuilder toBuilder() => + new GAccountByPkReqBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + final dynamic _$dynamicOther = other; + return other is GAccountByPkReq && + vars == other.vars && + operation == other.operation && + requestId == other.requestId && + updateResult == _$dynamicOther.updateResult && + optimisticResponse == other.optimisticResponse && + updateCacheHandlerKey == other.updateCacheHandlerKey && + updateCacheHandlerContext == other.updateCacheHandlerContext && + fetchPolicy == other.fetchPolicy && + executeOnListen == other.executeOnListen && + context == other.context; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, vars.hashCode); + _$hash = $jc(_$hash, operation.hashCode); + _$hash = $jc(_$hash, requestId.hashCode); + _$hash = $jc(_$hash, updateResult.hashCode); + _$hash = $jc(_$hash, optimisticResponse.hashCode); + _$hash = $jc(_$hash, updateCacheHandlerKey.hashCode); + _$hash = $jc(_$hash, updateCacheHandlerContext.hashCode); + _$hash = $jc(_$hash, fetchPolicy.hashCode); + _$hash = $jc(_$hash, executeOnListen.hashCode); + _$hash = $jc(_$hash, context.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountByPkReq') + ..add('vars', vars) + ..add('operation', operation) + ..add('requestId', requestId) + ..add('updateResult', updateResult) + ..add('optimisticResponse', optimisticResponse) + ..add('updateCacheHandlerKey', updateCacheHandlerKey) + ..add('updateCacheHandlerContext', updateCacheHandlerContext) + ..add('fetchPolicy', fetchPolicy) + ..add('executeOnListen', executeOnListen) + ..add('context', context)) + .toString(); + } +} + +class GAccountByPkReqBuilder + implements Builder<GAccountByPkReq, GAccountByPkReqBuilder> { + _$GAccountByPkReq? _$v; + + _i3.GAccountByPkVarsBuilder? _vars; + _i3.GAccountByPkVarsBuilder get vars => + _$this._vars ??= new _i3.GAccountByPkVarsBuilder(); + set vars(_i3.GAccountByPkVarsBuilder? vars) => _$this._vars = vars; + + _i4.Operation? _operation; + _i4.Operation? get operation => _$this._operation; + set operation(_i4.Operation? operation) => _$this._operation = operation; + + String? _requestId; + String? get requestId => _$this._requestId; + set requestId(String? requestId) => _$this._requestId = requestId; + + _i2.GAccountByPkData? Function(_i2.GAccountByPkData?, _i2.GAccountByPkData?)? + _updateResult; + _i2.GAccountByPkData? Function(_i2.GAccountByPkData?, _i2.GAccountByPkData?)? + get updateResult => _$this._updateResult; + set updateResult( + _i2.GAccountByPkData? Function( + _i2.GAccountByPkData?, _i2.GAccountByPkData?)? + updateResult) => + _$this._updateResult = updateResult; + + _i2.GAccountByPkDataBuilder? _optimisticResponse; + _i2.GAccountByPkDataBuilder get optimisticResponse => + _$this._optimisticResponse ??= new _i2.GAccountByPkDataBuilder(); + set optimisticResponse(_i2.GAccountByPkDataBuilder? optimisticResponse) => + _$this._optimisticResponse = optimisticResponse; + + String? _updateCacheHandlerKey; + String? get updateCacheHandlerKey => _$this._updateCacheHandlerKey; + set updateCacheHandlerKey(String? updateCacheHandlerKey) => + _$this._updateCacheHandlerKey = updateCacheHandlerKey; + + Map<String, dynamic>? _updateCacheHandlerContext; + Map<String, dynamic>? get updateCacheHandlerContext => + _$this._updateCacheHandlerContext; + set updateCacheHandlerContext( + Map<String, dynamic>? updateCacheHandlerContext) => + _$this._updateCacheHandlerContext = updateCacheHandlerContext; + + _i1.FetchPolicy? _fetchPolicy; + _i1.FetchPolicy? get fetchPolicy => _$this._fetchPolicy; + set fetchPolicy(_i1.FetchPolicy? fetchPolicy) => + _$this._fetchPolicy = fetchPolicy; + + bool? _executeOnListen; + bool? get executeOnListen => _$this._executeOnListen; + set executeOnListen(bool? executeOnListen) => + _$this._executeOnListen = executeOnListen; + + _i4.Context? _context; + _i4.Context? get context => _$this._context; + set context(_i4.Context? context) => _$this._context = context; + + GAccountByPkReqBuilder() { + GAccountByPkReq._initializeBuilder(this); + } + + GAccountByPkReqBuilder get _$this { + final $v = _$v; + if ($v != null) { + _vars = $v.vars.toBuilder(); + _operation = $v.operation; + _requestId = $v.requestId; + _updateResult = $v.updateResult; + _optimisticResponse = $v.optimisticResponse?.toBuilder(); + _updateCacheHandlerKey = $v.updateCacheHandlerKey; + _updateCacheHandlerContext = $v.updateCacheHandlerContext; + _fetchPolicy = $v.fetchPolicy; + _executeOnListen = $v.executeOnListen; + _context = $v.context; + _$v = null; + } + return this; + } + + @override + void replace(GAccountByPkReq other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountByPkReq; + } + + @override + void update(void Function(GAccountByPkReqBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountByPkReq build() => _build(); + + _$GAccountByPkReq _build() { + _$GAccountByPkReq _$result; + try { + _$result = _$v ?? + new _$GAccountByPkReq._( + vars: vars.build(), + operation: BuiltValueNullFieldError.checkNotNull( + operation, r'GAccountByPkReq', 'operation'), + requestId: requestId, + updateResult: updateResult, + optimisticResponse: _optimisticResponse?.build(), + updateCacheHandlerKey: updateCacheHandlerKey, + updateCacheHandlerContext: updateCacheHandlerContext, + fetchPolicy: fetchPolicy, + executeOnListen: BuiltValueNullFieldError.checkNotNull( + executeOnListen, r'GAccountByPkReq', 'executeOnListen'), + context: context); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'vars'; + vars.build(); + + _$failedField = 'optimisticResponse'; + _optimisticResponse?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountByPkReq', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountBasicByPkReq extends GAccountBasicByPkReq { + @override + final _i3.GAccountBasicByPkVars vars; + @override + final _i4.Operation operation; + @override + final String? requestId; + @override + final _i2.GAccountBasicByPkData? Function( + _i2.GAccountBasicByPkData?, _i2.GAccountBasicByPkData?)? updateResult; + @override + final _i2.GAccountBasicByPkData? optimisticResponse; + @override + final String? updateCacheHandlerKey; + @override + final Map<String, dynamic>? updateCacheHandlerContext; + @override + final _i1.FetchPolicy? fetchPolicy; + @override + final bool executeOnListen; + @override + final _i4.Context? context; + + factory _$GAccountBasicByPkReq( + [void Function(GAccountBasicByPkReqBuilder)? updates]) => + (new GAccountBasicByPkReqBuilder()..update(updates))._build(); + + _$GAccountBasicByPkReq._( + {required this.vars, + required this.operation, + this.requestId, + this.updateResult, + this.optimisticResponse, + this.updateCacheHandlerKey, + this.updateCacheHandlerContext, + this.fetchPolicy, + required this.executeOnListen, + this.context}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + vars, r'GAccountBasicByPkReq', 'vars'); + BuiltValueNullFieldError.checkNotNull( + operation, r'GAccountBasicByPkReq', 'operation'); + BuiltValueNullFieldError.checkNotNull( + executeOnListen, r'GAccountBasicByPkReq', 'executeOnListen'); + } + + @override + GAccountBasicByPkReq rebuild( + void Function(GAccountBasicByPkReqBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountBasicByPkReqBuilder toBuilder() => + new GAccountBasicByPkReqBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + final dynamic _$dynamicOther = other; + return other is GAccountBasicByPkReq && + vars == other.vars && + operation == other.operation && + requestId == other.requestId && + updateResult == _$dynamicOther.updateResult && + optimisticResponse == other.optimisticResponse && + updateCacheHandlerKey == other.updateCacheHandlerKey && + updateCacheHandlerContext == other.updateCacheHandlerContext && + fetchPolicy == other.fetchPolicy && + executeOnListen == other.executeOnListen && + context == other.context; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, vars.hashCode); + _$hash = $jc(_$hash, operation.hashCode); + _$hash = $jc(_$hash, requestId.hashCode); + _$hash = $jc(_$hash, updateResult.hashCode); + _$hash = $jc(_$hash, optimisticResponse.hashCode); + _$hash = $jc(_$hash, updateCacheHandlerKey.hashCode); + _$hash = $jc(_$hash, updateCacheHandlerContext.hashCode); + _$hash = $jc(_$hash, fetchPolicy.hashCode); + _$hash = $jc(_$hash, executeOnListen.hashCode); + _$hash = $jc(_$hash, context.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountBasicByPkReq') + ..add('vars', vars) + ..add('operation', operation) + ..add('requestId', requestId) + ..add('updateResult', updateResult) + ..add('optimisticResponse', optimisticResponse) + ..add('updateCacheHandlerKey', updateCacheHandlerKey) + ..add('updateCacheHandlerContext', updateCacheHandlerContext) + ..add('fetchPolicy', fetchPolicy) + ..add('executeOnListen', executeOnListen) + ..add('context', context)) + .toString(); + } +} + +class GAccountBasicByPkReqBuilder + implements Builder<GAccountBasicByPkReq, GAccountBasicByPkReqBuilder> { + _$GAccountBasicByPkReq? _$v; + + _i3.GAccountBasicByPkVarsBuilder? _vars; + _i3.GAccountBasicByPkVarsBuilder get vars => + _$this._vars ??= new _i3.GAccountBasicByPkVarsBuilder(); + set vars(_i3.GAccountBasicByPkVarsBuilder? vars) => _$this._vars = vars; + + _i4.Operation? _operation; + _i4.Operation? get operation => _$this._operation; + set operation(_i4.Operation? operation) => _$this._operation = operation; + + String? _requestId; + String? get requestId => _$this._requestId; + set requestId(String? requestId) => _$this._requestId = requestId; + + _i2.GAccountBasicByPkData? Function( + _i2.GAccountBasicByPkData?, _i2.GAccountBasicByPkData?)? _updateResult; + _i2.GAccountBasicByPkData? Function( + _i2.GAccountBasicByPkData?, _i2.GAccountBasicByPkData?)? + get updateResult => _$this._updateResult; + set updateResult( + _i2.GAccountBasicByPkData? Function( + _i2.GAccountBasicByPkData?, _i2.GAccountBasicByPkData?)? + updateResult) => + _$this._updateResult = updateResult; + + _i2.GAccountBasicByPkDataBuilder? _optimisticResponse; + _i2.GAccountBasicByPkDataBuilder get optimisticResponse => + _$this._optimisticResponse ??= new _i2.GAccountBasicByPkDataBuilder(); + set optimisticResponse( + _i2.GAccountBasicByPkDataBuilder? optimisticResponse) => + _$this._optimisticResponse = optimisticResponse; + + String? _updateCacheHandlerKey; + String? get updateCacheHandlerKey => _$this._updateCacheHandlerKey; + set updateCacheHandlerKey(String? updateCacheHandlerKey) => + _$this._updateCacheHandlerKey = updateCacheHandlerKey; + + Map<String, dynamic>? _updateCacheHandlerContext; + Map<String, dynamic>? get updateCacheHandlerContext => + _$this._updateCacheHandlerContext; + set updateCacheHandlerContext( + Map<String, dynamic>? updateCacheHandlerContext) => + _$this._updateCacheHandlerContext = updateCacheHandlerContext; + + _i1.FetchPolicy? _fetchPolicy; + _i1.FetchPolicy? get fetchPolicy => _$this._fetchPolicy; + set fetchPolicy(_i1.FetchPolicy? fetchPolicy) => + _$this._fetchPolicy = fetchPolicy; + + bool? _executeOnListen; + bool? get executeOnListen => _$this._executeOnListen; + set executeOnListen(bool? executeOnListen) => + _$this._executeOnListen = executeOnListen; + + _i4.Context? _context; + _i4.Context? get context => _$this._context; + set context(_i4.Context? context) => _$this._context = context; + + GAccountBasicByPkReqBuilder() { + GAccountBasicByPkReq._initializeBuilder(this); + } + + GAccountBasicByPkReqBuilder get _$this { + final $v = _$v; + if ($v != null) { + _vars = $v.vars.toBuilder(); + _operation = $v.operation; + _requestId = $v.requestId; + _updateResult = $v.updateResult; + _optimisticResponse = $v.optimisticResponse?.toBuilder(); + _updateCacheHandlerKey = $v.updateCacheHandlerKey; + _updateCacheHandlerContext = $v.updateCacheHandlerContext; + _fetchPolicy = $v.fetchPolicy; + _executeOnListen = $v.executeOnListen; + _context = $v.context; + _$v = null; + } + return this; + } + + @override + void replace(GAccountBasicByPkReq other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountBasicByPkReq; + } + + @override + void update(void Function(GAccountBasicByPkReqBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountBasicByPkReq build() => _build(); + + _$GAccountBasicByPkReq _build() { + _$GAccountBasicByPkReq _$result; + try { + _$result = _$v ?? + new _$GAccountBasicByPkReq._( + vars: vars.build(), + operation: BuiltValueNullFieldError.checkNotNull( + operation, r'GAccountBasicByPkReq', 'operation'), + requestId: requestId, + updateResult: updateResult, + optimisticResponse: _optimisticResponse?.build(), + updateCacheHandlerKey: updateCacheHandlerKey, + updateCacheHandlerContext: updateCacheHandlerContext, + fetchPolicy: fetchPolicy, + executeOnListen: BuiltValueNullFieldError.checkNotNull( + executeOnListen, r'GAccountBasicByPkReq', 'executeOnListen'), + context: context); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'vars'; + vars.build(); + + _$failedField = 'optimisticResponse'; + _optimisticResponse?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountBasicByPkReq', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkReq extends GAccountsByPkReq { + @override + final _i3.GAccountsByPkVars vars; + @override + final _i4.Operation operation; + @override + final String? requestId; + @override + final _i2.GAccountsByPkData? Function( + _i2.GAccountsByPkData?, _i2.GAccountsByPkData?)? updateResult; + @override + final _i2.GAccountsByPkData? optimisticResponse; + @override + final String? updateCacheHandlerKey; + @override + final Map<String, dynamic>? updateCacheHandlerContext; + @override + final _i1.FetchPolicy? fetchPolicy; + @override + final bool executeOnListen; + @override + final _i4.Context? context; + + factory _$GAccountsByPkReq( + [void Function(GAccountsByPkReqBuilder)? updates]) => + (new GAccountsByPkReqBuilder()..update(updates))._build(); + + _$GAccountsByPkReq._( + {required this.vars, + required this.operation, + this.requestId, + this.updateResult, + this.optimisticResponse, + this.updateCacheHandlerKey, + this.updateCacheHandlerContext, + this.fetchPolicy, + required this.executeOnListen, + this.context}) + : super._() { + BuiltValueNullFieldError.checkNotNull(vars, r'GAccountsByPkReq', 'vars'); + BuiltValueNullFieldError.checkNotNull( + operation, r'GAccountsByPkReq', 'operation'); + BuiltValueNullFieldError.checkNotNull( + executeOnListen, r'GAccountsByPkReq', 'executeOnListen'); + } + + @override + GAccountsByPkReq rebuild(void Function(GAccountsByPkReqBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkReqBuilder toBuilder() => + new GAccountsByPkReqBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + final dynamic _$dynamicOther = other; + return other is GAccountsByPkReq && + vars == other.vars && + operation == other.operation && + requestId == other.requestId && + updateResult == _$dynamicOther.updateResult && + optimisticResponse == other.optimisticResponse && + updateCacheHandlerKey == other.updateCacheHandlerKey && + updateCacheHandlerContext == other.updateCacheHandlerContext && + fetchPolicy == other.fetchPolicy && + executeOnListen == other.executeOnListen && + context == other.context; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, vars.hashCode); + _$hash = $jc(_$hash, operation.hashCode); + _$hash = $jc(_$hash, requestId.hashCode); + _$hash = $jc(_$hash, updateResult.hashCode); + _$hash = $jc(_$hash, optimisticResponse.hashCode); + _$hash = $jc(_$hash, updateCacheHandlerKey.hashCode); + _$hash = $jc(_$hash, updateCacheHandlerContext.hashCode); + _$hash = $jc(_$hash, fetchPolicy.hashCode); + _$hash = $jc(_$hash, executeOnListen.hashCode); + _$hash = $jc(_$hash, context.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountsByPkReq') + ..add('vars', vars) + ..add('operation', operation) + ..add('requestId', requestId) + ..add('updateResult', updateResult) + ..add('optimisticResponse', optimisticResponse) + ..add('updateCacheHandlerKey', updateCacheHandlerKey) + ..add('updateCacheHandlerContext', updateCacheHandlerContext) + ..add('fetchPolicy', fetchPolicy) + ..add('executeOnListen', executeOnListen) + ..add('context', context)) + .toString(); + } +} + +class GAccountsByPkReqBuilder + implements Builder<GAccountsByPkReq, GAccountsByPkReqBuilder> { + _$GAccountsByPkReq? _$v; + + _i3.GAccountsByPkVarsBuilder? _vars; + _i3.GAccountsByPkVarsBuilder get vars => + _$this._vars ??= new _i3.GAccountsByPkVarsBuilder(); + set vars(_i3.GAccountsByPkVarsBuilder? vars) => _$this._vars = vars; + + _i4.Operation? _operation; + _i4.Operation? get operation => _$this._operation; + set operation(_i4.Operation? operation) => _$this._operation = operation; + + String? _requestId; + String? get requestId => _$this._requestId; + set requestId(String? requestId) => _$this._requestId = requestId; + + _i2.GAccountsByPkData? Function( + _i2.GAccountsByPkData?, _i2.GAccountsByPkData?)? _updateResult; + _i2.GAccountsByPkData? Function( + _i2.GAccountsByPkData?, _i2.GAccountsByPkData?)? + get updateResult => _$this._updateResult; + set updateResult( + _i2.GAccountsByPkData? Function( + _i2.GAccountsByPkData?, _i2.GAccountsByPkData?)? + updateResult) => + _$this._updateResult = updateResult; + + _i2.GAccountsByPkDataBuilder? _optimisticResponse; + _i2.GAccountsByPkDataBuilder get optimisticResponse => + _$this._optimisticResponse ??= new _i2.GAccountsByPkDataBuilder(); + set optimisticResponse(_i2.GAccountsByPkDataBuilder? optimisticResponse) => + _$this._optimisticResponse = optimisticResponse; + + String? _updateCacheHandlerKey; + String? get updateCacheHandlerKey => _$this._updateCacheHandlerKey; + set updateCacheHandlerKey(String? updateCacheHandlerKey) => + _$this._updateCacheHandlerKey = updateCacheHandlerKey; + + Map<String, dynamic>? _updateCacheHandlerContext; + Map<String, dynamic>? get updateCacheHandlerContext => + _$this._updateCacheHandlerContext; + set updateCacheHandlerContext( + Map<String, dynamic>? updateCacheHandlerContext) => + _$this._updateCacheHandlerContext = updateCacheHandlerContext; + + _i1.FetchPolicy? _fetchPolicy; + _i1.FetchPolicy? get fetchPolicy => _$this._fetchPolicy; + set fetchPolicy(_i1.FetchPolicy? fetchPolicy) => + _$this._fetchPolicy = fetchPolicy; + + bool? _executeOnListen; + bool? get executeOnListen => _$this._executeOnListen; + set executeOnListen(bool? executeOnListen) => + _$this._executeOnListen = executeOnListen; + + _i4.Context? _context; + _i4.Context? get context => _$this._context; + set context(_i4.Context? context) => _$this._context = context; + + GAccountsByPkReqBuilder() { + GAccountsByPkReq._initializeBuilder(this); + } + + GAccountsByPkReqBuilder get _$this { + final $v = _$v; + if ($v != null) { + _vars = $v.vars.toBuilder(); + _operation = $v.operation; + _requestId = $v.requestId; + _updateResult = $v.updateResult; + _optimisticResponse = $v.optimisticResponse?.toBuilder(); + _updateCacheHandlerKey = $v.updateCacheHandlerKey; + _updateCacheHandlerContext = $v.updateCacheHandlerContext; + _fetchPolicy = $v.fetchPolicy; + _executeOnListen = $v.executeOnListen; + _context = $v.context; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkReq other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkReq; + } + + @override + void update(void Function(GAccountsByPkReqBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkReq build() => _build(); + + _$GAccountsByPkReq _build() { + _$GAccountsByPkReq _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkReq._( + vars: vars.build(), + operation: BuiltValueNullFieldError.checkNotNull( + operation, r'GAccountsByPkReq', 'operation'), + requestId: requestId, + updateResult: updateResult, + optimisticResponse: _optimisticResponse?.build(), + updateCacheHandlerKey: updateCacheHandlerKey, + updateCacheHandlerContext: updateCacheHandlerContext, + fetchPolicy: fetchPolicy, + executeOnListen: BuiltValueNullFieldError.checkNotNull( + executeOnListen, r'GAccountsByPkReq', 'executeOnListen'), + context: context); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'vars'; + vars.build(); + + _$failedField = 'optimisticResponse'; + _optimisticResponse?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkReq', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GLastBlockReq extends GLastBlockReq { + @override + final _i3.GLastBlockVars vars; + @override + final _i4.Operation operation; + @override + final String? requestId; + @override + final _i2.GLastBlockData? Function(_i2.GLastBlockData?, _i2.GLastBlockData?)? + updateResult; + @override + final _i2.GLastBlockData? optimisticResponse; + @override + final String? updateCacheHandlerKey; + @override + final Map<String, dynamic>? updateCacheHandlerContext; + @override + final _i1.FetchPolicy? fetchPolicy; + @override + final bool executeOnListen; + @override + final _i4.Context? context; + + factory _$GLastBlockReq([void Function(GLastBlockReqBuilder)? updates]) => + (new GLastBlockReqBuilder()..update(updates))._build(); + + _$GLastBlockReq._( + {required this.vars, + required this.operation, + this.requestId, + this.updateResult, + this.optimisticResponse, + this.updateCacheHandlerKey, + this.updateCacheHandlerContext, + this.fetchPolicy, + required this.executeOnListen, + this.context}) + : super._() { + BuiltValueNullFieldError.checkNotNull(vars, r'GLastBlockReq', 'vars'); + BuiltValueNullFieldError.checkNotNull( + operation, r'GLastBlockReq', 'operation'); + BuiltValueNullFieldError.checkNotNull( + executeOnListen, r'GLastBlockReq', 'executeOnListen'); + } + + @override + GLastBlockReq rebuild(void Function(GLastBlockReqBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GLastBlockReqBuilder toBuilder() => new GLastBlockReqBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + final dynamic _$dynamicOther = other; + return other is GLastBlockReq && + vars == other.vars && + operation == other.operation && + requestId == other.requestId && + updateResult == _$dynamicOther.updateResult && + optimisticResponse == other.optimisticResponse && + updateCacheHandlerKey == other.updateCacheHandlerKey && + updateCacheHandlerContext == other.updateCacheHandlerContext && + fetchPolicy == other.fetchPolicy && + executeOnListen == other.executeOnListen && + context == other.context; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, vars.hashCode); + _$hash = $jc(_$hash, operation.hashCode); + _$hash = $jc(_$hash, requestId.hashCode); + _$hash = $jc(_$hash, updateResult.hashCode); + _$hash = $jc(_$hash, optimisticResponse.hashCode); + _$hash = $jc(_$hash, updateCacheHandlerKey.hashCode); + _$hash = $jc(_$hash, updateCacheHandlerContext.hashCode); + _$hash = $jc(_$hash, fetchPolicy.hashCode); + _$hash = $jc(_$hash, executeOnListen.hashCode); + _$hash = $jc(_$hash, context.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GLastBlockReq') + ..add('vars', vars) + ..add('operation', operation) + ..add('requestId', requestId) + ..add('updateResult', updateResult) + ..add('optimisticResponse', optimisticResponse) + ..add('updateCacheHandlerKey', updateCacheHandlerKey) + ..add('updateCacheHandlerContext', updateCacheHandlerContext) + ..add('fetchPolicy', fetchPolicy) + ..add('executeOnListen', executeOnListen) + ..add('context', context)) + .toString(); + } +} + +class GLastBlockReqBuilder + implements Builder<GLastBlockReq, GLastBlockReqBuilder> { + _$GLastBlockReq? _$v; + + _i3.GLastBlockVarsBuilder? _vars; + _i3.GLastBlockVarsBuilder get vars => + _$this._vars ??= new _i3.GLastBlockVarsBuilder(); + set vars(_i3.GLastBlockVarsBuilder? vars) => _$this._vars = vars; + + _i4.Operation? _operation; + _i4.Operation? get operation => _$this._operation; + set operation(_i4.Operation? operation) => _$this._operation = operation; + + String? _requestId; + String? get requestId => _$this._requestId; + set requestId(String? requestId) => _$this._requestId = requestId; + + _i2.GLastBlockData? Function(_i2.GLastBlockData?, _i2.GLastBlockData?)? + _updateResult; + _i2.GLastBlockData? Function(_i2.GLastBlockData?, _i2.GLastBlockData?)? + get updateResult => _$this._updateResult; + set updateResult( + _i2.GLastBlockData? Function( + _i2.GLastBlockData?, _i2.GLastBlockData?)? + updateResult) => + _$this._updateResult = updateResult; + + _i2.GLastBlockDataBuilder? _optimisticResponse; + _i2.GLastBlockDataBuilder get optimisticResponse => + _$this._optimisticResponse ??= new _i2.GLastBlockDataBuilder(); + set optimisticResponse(_i2.GLastBlockDataBuilder? optimisticResponse) => + _$this._optimisticResponse = optimisticResponse; + + String? _updateCacheHandlerKey; + String? get updateCacheHandlerKey => _$this._updateCacheHandlerKey; + set updateCacheHandlerKey(String? updateCacheHandlerKey) => + _$this._updateCacheHandlerKey = updateCacheHandlerKey; + + Map<String, dynamic>? _updateCacheHandlerContext; + Map<String, dynamic>? get updateCacheHandlerContext => + _$this._updateCacheHandlerContext; + set updateCacheHandlerContext( + Map<String, dynamic>? updateCacheHandlerContext) => + _$this._updateCacheHandlerContext = updateCacheHandlerContext; + + _i1.FetchPolicy? _fetchPolicy; + _i1.FetchPolicy? get fetchPolicy => _$this._fetchPolicy; + set fetchPolicy(_i1.FetchPolicy? fetchPolicy) => + _$this._fetchPolicy = fetchPolicy; + + bool? _executeOnListen; + bool? get executeOnListen => _$this._executeOnListen; + set executeOnListen(bool? executeOnListen) => + _$this._executeOnListen = executeOnListen; + + _i4.Context? _context; + _i4.Context? get context => _$this._context; + set context(_i4.Context? context) => _$this._context = context; + + GLastBlockReqBuilder() { + GLastBlockReq._initializeBuilder(this); + } + + GLastBlockReqBuilder get _$this { + final $v = _$v; + if ($v != null) { + _vars = $v.vars.toBuilder(); + _operation = $v.operation; + _requestId = $v.requestId; + _updateResult = $v.updateResult; + _optimisticResponse = $v.optimisticResponse?.toBuilder(); + _updateCacheHandlerKey = $v.updateCacheHandlerKey; + _updateCacheHandlerContext = $v.updateCacheHandlerContext; + _fetchPolicy = $v.fetchPolicy; + _executeOnListen = $v.executeOnListen; + _context = $v.context; + _$v = null; + } + return this; + } + + @override + void replace(GLastBlockReq other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GLastBlockReq; + } + + @override + void update(void Function(GLastBlockReqBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GLastBlockReq build() => _build(); + + _$GLastBlockReq _build() { + _$GLastBlockReq _$result; + try { + _$result = _$v ?? + new _$GLastBlockReq._( + vars: vars.build(), + operation: BuiltValueNullFieldError.checkNotNull( + operation, r'GLastBlockReq', 'operation'), + requestId: requestId, + updateResult: updateResult, + optimisticResponse: _optimisticResponse?.build(), + updateCacheHandlerKey: updateCacheHandlerKey, + updateCacheHandlerContext: updateCacheHandlerContext, + fetchPolicy: fetchPolicy, + executeOnListen: BuiltValueNullFieldError.checkNotNull( + executeOnListen, r'GLastBlockReq', 'executeOnListen'), + context: context); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'vars'; + vars.build(); + + _$failedField = 'optimisticResponse'; + _optimisticResponse?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GLastBlockReq', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceReq extends GGetHistoryAndBalanceReq { + @override + final _i3.GGetHistoryAndBalanceVars vars; + @override + final _i4.Operation operation; + @override + final String? requestId; + @override + final _i2.GGetHistoryAndBalanceData? Function( + _i2.GGetHistoryAndBalanceData?, _i2.GGetHistoryAndBalanceData?)? + updateResult; + @override + final _i2.GGetHistoryAndBalanceData? optimisticResponse; + @override + final String? updateCacheHandlerKey; + @override + final Map<String, dynamic>? updateCacheHandlerContext; + @override + final _i1.FetchPolicy? fetchPolicy; + @override + final bool executeOnListen; + @override + final _i4.Context? context; + + factory _$GGetHistoryAndBalanceReq( + [void Function(GGetHistoryAndBalanceReqBuilder)? updates]) => + (new GGetHistoryAndBalanceReqBuilder()..update(updates))._build(); + + _$GGetHistoryAndBalanceReq._( + {required this.vars, + required this.operation, + this.requestId, + this.updateResult, + this.optimisticResponse, + this.updateCacheHandlerKey, + this.updateCacheHandlerContext, + this.fetchPolicy, + required this.executeOnListen, + this.context}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + vars, r'GGetHistoryAndBalanceReq', 'vars'); + BuiltValueNullFieldError.checkNotNull( + operation, r'GGetHistoryAndBalanceReq', 'operation'); + BuiltValueNullFieldError.checkNotNull( + executeOnListen, r'GGetHistoryAndBalanceReq', 'executeOnListen'); + } + + @override + GGetHistoryAndBalanceReq rebuild( + void Function(GGetHistoryAndBalanceReqBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceReqBuilder toBuilder() => + new GGetHistoryAndBalanceReqBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + final dynamic _$dynamicOther = other; + return other is GGetHistoryAndBalanceReq && + vars == other.vars && + operation == other.operation && + requestId == other.requestId && + updateResult == _$dynamicOther.updateResult && + optimisticResponse == other.optimisticResponse && + updateCacheHandlerKey == other.updateCacheHandlerKey && + updateCacheHandlerContext == other.updateCacheHandlerContext && + fetchPolicy == other.fetchPolicy && + executeOnListen == other.executeOnListen && + context == other.context; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, vars.hashCode); + _$hash = $jc(_$hash, operation.hashCode); + _$hash = $jc(_$hash, requestId.hashCode); + _$hash = $jc(_$hash, updateResult.hashCode); + _$hash = $jc(_$hash, optimisticResponse.hashCode); + _$hash = $jc(_$hash, updateCacheHandlerKey.hashCode); + _$hash = $jc(_$hash, updateCacheHandlerContext.hashCode); + _$hash = $jc(_$hash, fetchPolicy.hashCode); + _$hash = $jc(_$hash, executeOnListen.hashCode); _$hash = $jc(_$hash, context.hashCode); _$hash = $jf(_$hash); return _$hash; @@ -707,149 +3515,881 @@ class _$GAccountsByNameOrPkReq extends GAccountsByNameOrPkReq { @override String toString() { - return (newBuiltValueToStringHelper(r'GAccountsByNameOrPkReq') + return (newBuiltValueToStringHelper(r'GGetHistoryAndBalanceReq') + ..add('vars', vars) + ..add('operation', operation) + ..add('requestId', requestId) + ..add('updateResult', updateResult) + ..add('optimisticResponse', optimisticResponse) + ..add('updateCacheHandlerKey', updateCacheHandlerKey) + ..add('updateCacheHandlerContext', updateCacheHandlerContext) + ..add('fetchPolicy', fetchPolicy) + ..add('executeOnListen', executeOnListen) + ..add('context', context)) + .toString(); + } +} + +class GGetHistoryAndBalanceReqBuilder + implements + Builder<GGetHistoryAndBalanceReq, GGetHistoryAndBalanceReqBuilder> { + _$GGetHistoryAndBalanceReq? _$v; + + _i3.GGetHistoryAndBalanceVarsBuilder? _vars; + _i3.GGetHistoryAndBalanceVarsBuilder get vars => + _$this._vars ??= new _i3.GGetHistoryAndBalanceVarsBuilder(); + set vars(_i3.GGetHistoryAndBalanceVarsBuilder? vars) => _$this._vars = vars; + + _i4.Operation? _operation; + _i4.Operation? get operation => _$this._operation; + set operation(_i4.Operation? operation) => _$this._operation = operation; + + String? _requestId; + String? get requestId => _$this._requestId; + set requestId(String? requestId) => _$this._requestId = requestId; + + _i2.GGetHistoryAndBalanceData? Function( + _i2.GGetHistoryAndBalanceData?, _i2.GGetHistoryAndBalanceData?)? + _updateResult; + _i2.GGetHistoryAndBalanceData? Function( + _i2.GGetHistoryAndBalanceData?, _i2.GGetHistoryAndBalanceData?)? + get updateResult => _$this._updateResult; + set updateResult( + _i2.GGetHistoryAndBalanceData? Function( + _i2.GGetHistoryAndBalanceData?, + _i2.GGetHistoryAndBalanceData?)? + updateResult) => + _$this._updateResult = updateResult; + + _i2.GGetHistoryAndBalanceDataBuilder? _optimisticResponse; + _i2.GGetHistoryAndBalanceDataBuilder get optimisticResponse => + _$this._optimisticResponse ??= new _i2.GGetHistoryAndBalanceDataBuilder(); + set optimisticResponse( + _i2.GGetHistoryAndBalanceDataBuilder? optimisticResponse) => + _$this._optimisticResponse = optimisticResponse; + + String? _updateCacheHandlerKey; + String? get updateCacheHandlerKey => _$this._updateCacheHandlerKey; + set updateCacheHandlerKey(String? updateCacheHandlerKey) => + _$this._updateCacheHandlerKey = updateCacheHandlerKey; + + Map<String, dynamic>? _updateCacheHandlerContext; + Map<String, dynamic>? get updateCacheHandlerContext => + _$this._updateCacheHandlerContext; + set updateCacheHandlerContext( + Map<String, dynamic>? updateCacheHandlerContext) => + _$this._updateCacheHandlerContext = updateCacheHandlerContext; + + _i1.FetchPolicy? _fetchPolicy; + _i1.FetchPolicy? get fetchPolicy => _$this._fetchPolicy; + set fetchPolicy(_i1.FetchPolicy? fetchPolicy) => + _$this._fetchPolicy = fetchPolicy; + + bool? _executeOnListen; + bool? get executeOnListen => _$this._executeOnListen; + set executeOnListen(bool? executeOnListen) => + _$this._executeOnListen = executeOnListen; + + _i4.Context? _context; + _i4.Context? get context => _$this._context; + set context(_i4.Context? context) => _$this._context = context; + + GGetHistoryAndBalanceReqBuilder() { + GGetHistoryAndBalanceReq._initializeBuilder(this); + } + + GGetHistoryAndBalanceReqBuilder get _$this { + final $v = _$v; + if ($v != null) { + _vars = $v.vars.toBuilder(); + _operation = $v.operation; + _requestId = $v.requestId; + _updateResult = $v.updateResult; + _optimisticResponse = $v.optimisticResponse?.toBuilder(); + _updateCacheHandlerKey = $v.updateCacheHandlerKey; + _updateCacheHandlerContext = $v.updateCacheHandlerContext; + _fetchPolicy = $v.fetchPolicy; + _executeOnListen = $v.executeOnListen; + _context = $v.context; + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceReq other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceReq; + } + + @override + void update(void Function(GGetHistoryAndBalanceReqBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceReq build() => _build(); + + _$GGetHistoryAndBalanceReq _build() { + _$GGetHistoryAndBalanceReq _$result; + try { + _$result = _$v ?? + new _$GGetHistoryAndBalanceReq._( + vars: vars.build(), + operation: BuiltValueNullFieldError.checkNotNull( + operation, r'GGetHistoryAndBalanceReq', 'operation'), + requestId: requestId, + updateResult: updateResult, + optimisticResponse: _optimisticResponse?.build(), + updateCacheHandlerKey: updateCacheHandlerKey, + updateCacheHandlerContext: updateCacheHandlerContext, + fetchPolicy: fetchPolicy, + executeOnListen: BuiltValueNullFieldError.checkNotNull( + executeOnListen, + r'GGetHistoryAndBalanceReq', + 'executeOnListen'), + context: context); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'vars'; + vars.build(); + + _$failedField = 'optimisticResponse'; + _optimisticResponse?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GGetHistoryAndBalanceReq', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GCertFieldsReq extends GCertFieldsReq { + @override + final _i3.GCertFieldsVars vars; + @override + final _i7.DocumentNode document; + @override + final String? fragmentName; + @override + final Map<String, dynamic> idFields; + + factory _$GCertFieldsReq([void Function(GCertFieldsReqBuilder)? updates]) => + (new GCertFieldsReqBuilder()..update(updates))._build(); + + _$GCertFieldsReq._( + {required this.vars, + required this.document, + this.fragmentName, + required this.idFields}) + : super._() { + BuiltValueNullFieldError.checkNotNull(vars, r'GCertFieldsReq', 'vars'); + BuiltValueNullFieldError.checkNotNull( + document, r'GCertFieldsReq', 'document'); + BuiltValueNullFieldError.checkNotNull( + idFields, r'GCertFieldsReq', 'idFields'); + } + + @override + GCertFieldsReq rebuild(void Function(GCertFieldsReqBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GCertFieldsReqBuilder toBuilder() => + new GCertFieldsReqBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GCertFieldsReq && + vars == other.vars && + document == other.document && + fragmentName == other.fragmentName && + idFields == other.idFields; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, vars.hashCode); + _$hash = $jc(_$hash, document.hashCode); + _$hash = $jc(_$hash, fragmentName.hashCode); + _$hash = $jc(_$hash, idFields.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GCertFieldsReq') + ..add('vars', vars) + ..add('document', document) + ..add('fragmentName', fragmentName) + ..add('idFields', idFields)) + .toString(); + } +} + +class GCertFieldsReqBuilder + implements Builder<GCertFieldsReq, GCertFieldsReqBuilder> { + _$GCertFieldsReq? _$v; + + _i3.GCertFieldsVarsBuilder? _vars; + _i3.GCertFieldsVarsBuilder get vars => + _$this._vars ??= new _i3.GCertFieldsVarsBuilder(); + set vars(_i3.GCertFieldsVarsBuilder? vars) => _$this._vars = vars; + + _i7.DocumentNode? _document; + _i7.DocumentNode? get document => _$this._document; + set document(_i7.DocumentNode? document) => _$this._document = document; + + String? _fragmentName; + String? get fragmentName => _$this._fragmentName; + set fragmentName(String? fragmentName) => _$this._fragmentName = fragmentName; + + Map<String, dynamic>? _idFields; + Map<String, dynamic>? get idFields => _$this._idFields; + set idFields(Map<String, dynamic>? idFields) => _$this._idFields = idFields; + + GCertFieldsReqBuilder() { + GCertFieldsReq._initializeBuilder(this); + } + + GCertFieldsReqBuilder get _$this { + final $v = _$v; + if ($v != null) { + _vars = $v.vars.toBuilder(); + _document = $v.document; + _fragmentName = $v.fragmentName; + _idFields = $v.idFields; + _$v = null; + } + return this; + } + + @override + void replace(GCertFieldsReq other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GCertFieldsReq; + } + + @override + void update(void Function(GCertFieldsReqBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GCertFieldsReq build() => _build(); + + _$GCertFieldsReq _build() { + _$GCertFieldsReq _$result; + try { + _$result = _$v ?? + new _$GCertFieldsReq._( + vars: vars.build(), + document: BuiltValueNullFieldError.checkNotNull( + document, r'GCertFieldsReq', 'document'), + fragmentName: fragmentName, + idFields: BuiltValueNullFieldError.checkNotNull( + idFields, r'GCertFieldsReq', 'idFields')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'vars'; + vars.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GCertFieldsReq', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GSmithCertFieldsReq extends GSmithCertFieldsReq { + @override + final _i3.GSmithCertFieldsVars vars; + @override + final _i7.DocumentNode document; + @override + final String? fragmentName; + @override + final Map<String, dynamic> idFields; + + factory _$GSmithCertFieldsReq( + [void Function(GSmithCertFieldsReqBuilder)? updates]) => + (new GSmithCertFieldsReqBuilder()..update(updates))._build(); + + _$GSmithCertFieldsReq._( + {required this.vars, + required this.document, + this.fragmentName, + required this.idFields}) + : super._() { + BuiltValueNullFieldError.checkNotNull(vars, r'GSmithCertFieldsReq', 'vars'); + BuiltValueNullFieldError.checkNotNull( + document, r'GSmithCertFieldsReq', 'document'); + BuiltValueNullFieldError.checkNotNull( + idFields, r'GSmithCertFieldsReq', 'idFields'); + } + + @override + GSmithCertFieldsReq rebuild( + void Function(GSmithCertFieldsReqBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GSmithCertFieldsReqBuilder toBuilder() => + new GSmithCertFieldsReqBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GSmithCertFieldsReq && + vars == other.vars && + document == other.document && + fragmentName == other.fragmentName && + idFields == other.idFields; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, vars.hashCode); + _$hash = $jc(_$hash, document.hashCode); + _$hash = $jc(_$hash, fragmentName.hashCode); + _$hash = $jc(_$hash, idFields.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GSmithCertFieldsReq') + ..add('vars', vars) + ..add('document', document) + ..add('fragmentName', fragmentName) + ..add('idFields', idFields)) + .toString(); + } +} + +class GSmithCertFieldsReqBuilder + implements Builder<GSmithCertFieldsReq, GSmithCertFieldsReqBuilder> { + _$GSmithCertFieldsReq? _$v; + + _i3.GSmithCertFieldsVarsBuilder? _vars; + _i3.GSmithCertFieldsVarsBuilder get vars => + _$this._vars ??= new _i3.GSmithCertFieldsVarsBuilder(); + set vars(_i3.GSmithCertFieldsVarsBuilder? vars) => _$this._vars = vars; + + _i7.DocumentNode? _document; + _i7.DocumentNode? get document => _$this._document; + set document(_i7.DocumentNode? document) => _$this._document = document; + + String? _fragmentName; + String? get fragmentName => _$this._fragmentName; + set fragmentName(String? fragmentName) => _$this._fragmentName = fragmentName; + + Map<String, dynamic>? _idFields; + Map<String, dynamic>? get idFields => _$this._idFields; + set idFields(Map<String, dynamic>? idFields) => _$this._idFields = idFields; + + GSmithCertFieldsReqBuilder() { + GSmithCertFieldsReq._initializeBuilder(this); + } + + GSmithCertFieldsReqBuilder get _$this { + final $v = _$v; + if ($v != null) { + _vars = $v.vars.toBuilder(); + _document = $v.document; + _fragmentName = $v.fragmentName; + _idFields = $v.idFields; + _$v = null; + } + return this; + } + + @override + void replace(GSmithCertFieldsReq other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GSmithCertFieldsReq; + } + + @override + void update(void Function(GSmithCertFieldsReqBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GSmithCertFieldsReq build() => _build(); + + _$GSmithCertFieldsReq _build() { + _$GSmithCertFieldsReq _$result; + try { + _$result = _$v ?? + new _$GSmithCertFieldsReq._( + vars: vars.build(), + document: BuiltValueNullFieldError.checkNotNull( + document, r'GSmithCertFieldsReq', 'document'), + fragmentName: fragmentName, + idFields: BuiltValueNullFieldError.checkNotNull( + idFields, r'GSmithCertFieldsReq', 'idFields')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'vars'; + vars.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GSmithCertFieldsReq', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GSmithFieldsReq extends GSmithFieldsReq { + @override + final _i3.GSmithFieldsVars vars; + @override + final _i7.DocumentNode document; + @override + final String? fragmentName; + @override + final Map<String, dynamic> idFields; + + factory _$GSmithFieldsReq([void Function(GSmithFieldsReqBuilder)? updates]) => + (new GSmithFieldsReqBuilder()..update(updates))._build(); + + _$GSmithFieldsReq._( + {required this.vars, + required this.document, + this.fragmentName, + required this.idFields}) + : super._() { + BuiltValueNullFieldError.checkNotNull(vars, r'GSmithFieldsReq', 'vars'); + BuiltValueNullFieldError.checkNotNull( + document, r'GSmithFieldsReq', 'document'); + BuiltValueNullFieldError.checkNotNull( + idFields, r'GSmithFieldsReq', 'idFields'); + } + + @override + GSmithFieldsReq rebuild(void Function(GSmithFieldsReqBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GSmithFieldsReqBuilder toBuilder() => + new GSmithFieldsReqBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GSmithFieldsReq && + vars == other.vars && + document == other.document && + fragmentName == other.fragmentName && + idFields == other.idFields; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, vars.hashCode); + _$hash = $jc(_$hash, document.hashCode); + _$hash = $jc(_$hash, fragmentName.hashCode); + _$hash = $jc(_$hash, idFields.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GSmithFieldsReq') + ..add('vars', vars) + ..add('document', document) + ..add('fragmentName', fragmentName) + ..add('idFields', idFields)) + .toString(); + } +} + +class GSmithFieldsReqBuilder + implements Builder<GSmithFieldsReq, GSmithFieldsReqBuilder> { + _$GSmithFieldsReq? _$v; + + _i3.GSmithFieldsVarsBuilder? _vars; + _i3.GSmithFieldsVarsBuilder get vars => + _$this._vars ??= new _i3.GSmithFieldsVarsBuilder(); + set vars(_i3.GSmithFieldsVarsBuilder? vars) => _$this._vars = vars; + + _i7.DocumentNode? _document; + _i7.DocumentNode? get document => _$this._document; + set document(_i7.DocumentNode? document) => _$this._document = document; + + String? _fragmentName; + String? get fragmentName => _$this._fragmentName; + set fragmentName(String? fragmentName) => _$this._fragmentName = fragmentName; + + Map<String, dynamic>? _idFields; + Map<String, dynamic>? get idFields => _$this._idFields; + set idFields(Map<String, dynamic>? idFields) => _$this._idFields = idFields; + + GSmithFieldsReqBuilder() { + GSmithFieldsReq._initializeBuilder(this); + } + + GSmithFieldsReqBuilder get _$this { + final $v = _$v; + if ($v != null) { + _vars = $v.vars.toBuilder(); + _document = $v.document; + _fragmentName = $v.fragmentName; + _idFields = $v.idFields; + _$v = null; + } + return this; + } + + @override + void replace(GSmithFieldsReq other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GSmithFieldsReq; + } + + @override + void update(void Function(GSmithFieldsReqBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GSmithFieldsReq build() => _build(); + + _$GSmithFieldsReq _build() { + _$GSmithFieldsReq _$result; + try { + _$result = _$v ?? + new _$GSmithFieldsReq._( + vars: vars.build(), + document: BuiltValueNullFieldError.checkNotNull( + document, r'GSmithFieldsReq', 'document'), + fragmentName: fragmentName, + idFields: BuiltValueNullFieldError.checkNotNull( + idFields, r'GSmithFieldsReq', 'idFields')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'vars'; + vars.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GSmithFieldsReq', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GOwnerKeyChangeFieldsReq extends GOwnerKeyChangeFieldsReq { + @override + final _i3.GOwnerKeyChangeFieldsVars vars; + @override + final _i7.DocumentNode document; + @override + final String? fragmentName; + @override + final Map<String, dynamic> idFields; + + factory _$GOwnerKeyChangeFieldsReq( + [void Function(GOwnerKeyChangeFieldsReqBuilder)? updates]) => + (new GOwnerKeyChangeFieldsReqBuilder()..update(updates))._build(); + + _$GOwnerKeyChangeFieldsReq._( + {required this.vars, + required this.document, + this.fragmentName, + required this.idFields}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + vars, r'GOwnerKeyChangeFieldsReq', 'vars'); + BuiltValueNullFieldError.checkNotNull( + document, r'GOwnerKeyChangeFieldsReq', 'document'); + BuiltValueNullFieldError.checkNotNull( + idFields, r'GOwnerKeyChangeFieldsReq', 'idFields'); + } + + @override + GOwnerKeyChangeFieldsReq rebuild( + void Function(GOwnerKeyChangeFieldsReqBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GOwnerKeyChangeFieldsReqBuilder toBuilder() => + new GOwnerKeyChangeFieldsReqBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GOwnerKeyChangeFieldsReq && + vars == other.vars && + document == other.document && + fragmentName == other.fragmentName && + idFields == other.idFields; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, vars.hashCode); + _$hash = $jc(_$hash, document.hashCode); + _$hash = $jc(_$hash, fragmentName.hashCode); + _$hash = $jc(_$hash, idFields.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GOwnerKeyChangeFieldsReq') + ..add('vars', vars) + ..add('document', document) + ..add('fragmentName', fragmentName) + ..add('idFields', idFields)) + .toString(); + } +} + +class GOwnerKeyChangeFieldsReqBuilder + implements + Builder<GOwnerKeyChangeFieldsReq, GOwnerKeyChangeFieldsReqBuilder> { + _$GOwnerKeyChangeFieldsReq? _$v; + + _i3.GOwnerKeyChangeFieldsVarsBuilder? _vars; + _i3.GOwnerKeyChangeFieldsVarsBuilder get vars => + _$this._vars ??= new _i3.GOwnerKeyChangeFieldsVarsBuilder(); + set vars(_i3.GOwnerKeyChangeFieldsVarsBuilder? vars) => _$this._vars = vars; + + _i7.DocumentNode? _document; + _i7.DocumentNode? get document => _$this._document; + set document(_i7.DocumentNode? document) => _$this._document = document; + + String? _fragmentName; + String? get fragmentName => _$this._fragmentName; + set fragmentName(String? fragmentName) => _$this._fragmentName = fragmentName; + + Map<String, dynamic>? _idFields; + Map<String, dynamic>? get idFields => _$this._idFields; + set idFields(Map<String, dynamic>? idFields) => _$this._idFields = idFields; + + GOwnerKeyChangeFieldsReqBuilder() { + GOwnerKeyChangeFieldsReq._initializeBuilder(this); + } + + GOwnerKeyChangeFieldsReqBuilder get _$this { + final $v = _$v; + if ($v != null) { + _vars = $v.vars.toBuilder(); + _document = $v.document; + _fragmentName = $v.fragmentName; + _idFields = $v.idFields; + _$v = null; + } + return this; + } + + @override + void replace(GOwnerKeyChangeFieldsReq other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GOwnerKeyChangeFieldsReq; + } + + @override + void update(void Function(GOwnerKeyChangeFieldsReqBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GOwnerKeyChangeFieldsReq build() => _build(); + + _$GOwnerKeyChangeFieldsReq _build() { + _$GOwnerKeyChangeFieldsReq _$result; + try { + _$result = _$v ?? + new _$GOwnerKeyChangeFieldsReq._( + vars: vars.build(), + document: BuiltValueNullFieldError.checkNotNull( + document, r'GOwnerKeyChangeFieldsReq', 'document'), + fragmentName: fragmentName, + idFields: BuiltValueNullFieldError.checkNotNull( + idFields, r'GOwnerKeyChangeFieldsReq', 'idFields')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'vars'; + vars.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GOwnerKeyChangeFieldsReq', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GIdentityBasicFieldsReq extends GIdentityBasicFieldsReq { + @override + final _i3.GIdentityBasicFieldsVars vars; + @override + final _i7.DocumentNode document; + @override + final String? fragmentName; + @override + final Map<String, dynamic> idFields; + + factory _$GIdentityBasicFieldsReq( + [void Function(GIdentityBasicFieldsReqBuilder)? updates]) => + (new GIdentityBasicFieldsReqBuilder()..update(updates))._build(); + + _$GIdentityBasicFieldsReq._( + {required this.vars, + required this.document, + this.fragmentName, + required this.idFields}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + vars, r'GIdentityBasicFieldsReq', 'vars'); + BuiltValueNullFieldError.checkNotNull( + document, r'GIdentityBasicFieldsReq', 'document'); + BuiltValueNullFieldError.checkNotNull( + idFields, r'GIdentityBasicFieldsReq', 'idFields'); + } + + @override + GIdentityBasicFieldsReq rebuild( + void Function(GIdentityBasicFieldsReqBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityBasicFieldsReqBuilder toBuilder() => + new GIdentityBasicFieldsReqBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityBasicFieldsReq && + vars == other.vars && + document == other.document && + fragmentName == other.fragmentName && + idFields == other.idFields; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, vars.hashCode); + _$hash = $jc(_$hash, document.hashCode); + _$hash = $jc(_$hash, fragmentName.hashCode); + _$hash = $jc(_$hash, idFields.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentityBasicFieldsReq') ..add('vars', vars) - ..add('operation', operation) - ..add('requestId', requestId) - ..add('updateResult', updateResult) - ..add('optimisticResponse', optimisticResponse) - ..add('updateCacheHandlerKey', updateCacheHandlerKey) - ..add('updateCacheHandlerContext', updateCacheHandlerContext) - ..add('fetchPolicy', fetchPolicy) - ..add('executeOnListen', executeOnListen) - ..add('context', context)) + ..add('document', document) + ..add('fragmentName', fragmentName) + ..add('idFields', idFields)) .toString(); } } -class GAccountsByNameOrPkReqBuilder - implements Builder<GAccountsByNameOrPkReq, GAccountsByNameOrPkReqBuilder> { - _$GAccountsByNameOrPkReq? _$v; - - _i3.GAccountsByNameOrPkVarsBuilder? _vars; - _i3.GAccountsByNameOrPkVarsBuilder get vars => - _$this._vars ??= new _i3.GAccountsByNameOrPkVarsBuilder(); - set vars(_i3.GAccountsByNameOrPkVarsBuilder? vars) => _$this._vars = vars; - - _i4.Operation? _operation; - _i4.Operation? get operation => _$this._operation; - set operation(_i4.Operation? operation) => _$this._operation = operation; - - String? _requestId; - String? get requestId => _$this._requestId; - set requestId(String? requestId) => _$this._requestId = requestId; - - _i2.GAccountsByNameOrPkData? Function( - _i2.GAccountsByNameOrPkData?, _i2.GAccountsByNameOrPkData?)? - _updateResult; - _i2.GAccountsByNameOrPkData? Function( - _i2.GAccountsByNameOrPkData?, _i2.GAccountsByNameOrPkData?)? - get updateResult => _$this._updateResult; - set updateResult( - _i2.GAccountsByNameOrPkData? Function( - _i2.GAccountsByNameOrPkData?, _i2.GAccountsByNameOrPkData?)? - updateResult) => - _$this._updateResult = updateResult; - - _i2.GAccountsByNameOrPkDataBuilder? _optimisticResponse; - _i2.GAccountsByNameOrPkDataBuilder get optimisticResponse => - _$this._optimisticResponse ??= new _i2.GAccountsByNameOrPkDataBuilder(); - set optimisticResponse( - _i2.GAccountsByNameOrPkDataBuilder? optimisticResponse) => - _$this._optimisticResponse = optimisticResponse; - - String? _updateCacheHandlerKey; - String? get updateCacheHandlerKey => _$this._updateCacheHandlerKey; - set updateCacheHandlerKey(String? updateCacheHandlerKey) => - _$this._updateCacheHandlerKey = updateCacheHandlerKey; +class GIdentityBasicFieldsReqBuilder + implements + Builder<GIdentityBasicFieldsReq, GIdentityBasicFieldsReqBuilder> { + _$GIdentityBasicFieldsReq? _$v; - Map<String, dynamic>? _updateCacheHandlerContext; - Map<String, dynamic>? get updateCacheHandlerContext => - _$this._updateCacheHandlerContext; - set updateCacheHandlerContext( - Map<String, dynamic>? updateCacheHandlerContext) => - _$this._updateCacheHandlerContext = updateCacheHandlerContext; + _i3.GIdentityBasicFieldsVarsBuilder? _vars; + _i3.GIdentityBasicFieldsVarsBuilder get vars => + _$this._vars ??= new _i3.GIdentityBasicFieldsVarsBuilder(); + set vars(_i3.GIdentityBasicFieldsVarsBuilder? vars) => _$this._vars = vars; - _i1.FetchPolicy? _fetchPolicy; - _i1.FetchPolicy? get fetchPolicy => _$this._fetchPolicy; - set fetchPolicy(_i1.FetchPolicy? fetchPolicy) => - _$this._fetchPolicy = fetchPolicy; + _i7.DocumentNode? _document; + _i7.DocumentNode? get document => _$this._document; + set document(_i7.DocumentNode? document) => _$this._document = document; - bool? _executeOnListen; - bool? get executeOnListen => _$this._executeOnListen; - set executeOnListen(bool? executeOnListen) => - _$this._executeOnListen = executeOnListen; + String? _fragmentName; + String? get fragmentName => _$this._fragmentName; + set fragmentName(String? fragmentName) => _$this._fragmentName = fragmentName; - _i4.Context? _context; - _i4.Context? get context => _$this._context; - set context(_i4.Context? context) => _$this._context = context; + Map<String, dynamic>? _idFields; + Map<String, dynamic>? get idFields => _$this._idFields; + set idFields(Map<String, dynamic>? idFields) => _$this._idFields = idFields; - GAccountsByNameOrPkReqBuilder() { - GAccountsByNameOrPkReq._initializeBuilder(this); + GIdentityBasicFieldsReqBuilder() { + GIdentityBasicFieldsReq._initializeBuilder(this); } - GAccountsByNameOrPkReqBuilder get _$this { + GIdentityBasicFieldsReqBuilder get _$this { final $v = _$v; if ($v != null) { _vars = $v.vars.toBuilder(); - _operation = $v.operation; - _requestId = $v.requestId; - _updateResult = $v.updateResult; - _optimisticResponse = $v.optimisticResponse?.toBuilder(); - _updateCacheHandlerKey = $v.updateCacheHandlerKey; - _updateCacheHandlerContext = $v.updateCacheHandlerContext; - _fetchPolicy = $v.fetchPolicy; - _executeOnListen = $v.executeOnListen; - _context = $v.context; + _document = $v.document; + _fragmentName = $v.fragmentName; + _idFields = $v.idFields; _$v = null; } return this; } @override - void replace(GAccountsByNameOrPkReq other) { + void replace(GIdentityBasicFieldsReq other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GAccountsByNameOrPkReq; + _$v = other as _$GIdentityBasicFieldsReq; } @override - void update(void Function(GAccountsByNameOrPkReqBuilder)? updates) { + void update(void Function(GIdentityBasicFieldsReqBuilder)? updates) { if (updates != null) updates(this); } @override - GAccountsByNameOrPkReq build() => _build(); + GIdentityBasicFieldsReq build() => _build(); - _$GAccountsByNameOrPkReq _build() { - _$GAccountsByNameOrPkReq _$result; + _$GIdentityBasicFieldsReq _build() { + _$GIdentityBasicFieldsReq _$result; try { _$result = _$v ?? - new _$GAccountsByNameOrPkReq._( + new _$GIdentityBasicFieldsReq._( vars: vars.build(), - operation: BuiltValueNullFieldError.checkNotNull( - operation, r'GAccountsByNameOrPkReq', 'operation'), - requestId: requestId, - updateResult: updateResult, - optimisticResponse: _optimisticResponse?.build(), - updateCacheHandlerKey: updateCacheHandlerKey, - updateCacheHandlerContext: updateCacheHandlerContext, - fetchPolicy: fetchPolicy, - executeOnListen: BuiltValueNullFieldError.checkNotNull( - executeOnListen, - r'GAccountsByNameOrPkReq', - 'executeOnListen'), - context: context); + document: BuiltValueNullFieldError.checkNotNull( + document, r'GIdentityBasicFieldsReq', 'document'), + fragmentName: fragmentName, + idFields: BuiltValueNullFieldError.checkNotNull( + idFields, r'GIdentityBasicFieldsReq', 'idFields')); } catch (_) { late String _$failedField; try { _$failedField = 'vars'; vars.build(); - - _$failedField = 'optimisticResponse'; - _optimisticResponse?.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'GAccountsByNameOrPkReq', _$failedField, e.toString()); + r'GIdentityBasicFieldsReq', _$failedField, e.toString()); } rethrow; } @@ -858,236 +4398,144 @@ class GAccountsByNameOrPkReqBuilder } } -class _$GAccountsByNameReq extends GAccountsByNameReq { - @override - final _i3.GAccountsByNameVars vars; - @override - final _i4.Operation operation; +class _$GIdentityFieldsReq extends GIdentityFieldsReq { @override - final String? requestId; - @override - final _i2.GAccountsByNameData? Function( - _i2.GAccountsByNameData?, _i2.GAccountsByNameData?)? updateResult; - @override - final _i2.GAccountsByNameData? optimisticResponse; - @override - final String? updateCacheHandlerKey; - @override - final Map<String, dynamic>? updateCacheHandlerContext; + final _i3.GIdentityFieldsVars vars; @override - final _i1.FetchPolicy? fetchPolicy; + final _i7.DocumentNode document; @override - final bool executeOnListen; + final String? fragmentName; @override - final _i4.Context? context; + final Map<String, dynamic> idFields; - factory _$GAccountsByNameReq( - [void Function(GAccountsByNameReqBuilder)? updates]) => - (new GAccountsByNameReqBuilder()..update(updates))._build(); + factory _$GIdentityFieldsReq( + [void Function(GIdentityFieldsReqBuilder)? updates]) => + (new GIdentityFieldsReqBuilder()..update(updates))._build(); - _$GAccountsByNameReq._( + _$GIdentityFieldsReq._( {required this.vars, - required this.operation, - this.requestId, - this.updateResult, - this.optimisticResponse, - this.updateCacheHandlerKey, - this.updateCacheHandlerContext, - this.fetchPolicy, - required this.executeOnListen, - this.context}) + required this.document, + this.fragmentName, + required this.idFields}) : super._() { - BuiltValueNullFieldError.checkNotNull(vars, r'GAccountsByNameReq', 'vars'); + BuiltValueNullFieldError.checkNotNull(vars, r'GIdentityFieldsReq', 'vars'); BuiltValueNullFieldError.checkNotNull( - operation, r'GAccountsByNameReq', 'operation'); + document, r'GIdentityFieldsReq', 'document'); BuiltValueNullFieldError.checkNotNull( - executeOnListen, r'GAccountsByNameReq', 'executeOnListen'); + idFields, r'GIdentityFieldsReq', 'idFields'); } @override - GAccountsByNameReq rebuild( - void Function(GAccountsByNameReqBuilder) updates) => + GIdentityFieldsReq rebuild( + void Function(GIdentityFieldsReqBuilder) updates) => (toBuilder()..update(updates)).build(); @override - GAccountsByNameReqBuilder toBuilder() => - new GAccountsByNameReqBuilder()..replace(this); + GIdentityFieldsReqBuilder toBuilder() => + new GIdentityFieldsReqBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - final dynamic _$dynamicOther = other; - return other is GAccountsByNameReq && + return other is GIdentityFieldsReq && vars == other.vars && - operation == other.operation && - requestId == other.requestId && - updateResult == _$dynamicOther.updateResult && - optimisticResponse == other.optimisticResponse && - updateCacheHandlerKey == other.updateCacheHandlerKey && - updateCacheHandlerContext == other.updateCacheHandlerContext && - fetchPolicy == other.fetchPolicy && - executeOnListen == other.executeOnListen && - context == other.context; + document == other.document && + fragmentName == other.fragmentName && + idFields == other.idFields; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, vars.hashCode); - _$hash = $jc(_$hash, operation.hashCode); - _$hash = $jc(_$hash, requestId.hashCode); - _$hash = $jc(_$hash, updateResult.hashCode); - _$hash = $jc(_$hash, optimisticResponse.hashCode); - _$hash = $jc(_$hash, updateCacheHandlerKey.hashCode); - _$hash = $jc(_$hash, updateCacheHandlerContext.hashCode); - _$hash = $jc(_$hash, fetchPolicy.hashCode); - _$hash = $jc(_$hash, executeOnListen.hashCode); - _$hash = $jc(_$hash, context.hashCode); + _$hash = $jc(_$hash, document.hashCode); + _$hash = $jc(_$hash, fragmentName.hashCode); + _$hash = $jc(_$hash, idFields.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'GAccountsByNameReq') + return (newBuiltValueToStringHelper(r'GIdentityFieldsReq') ..add('vars', vars) - ..add('operation', operation) - ..add('requestId', requestId) - ..add('updateResult', updateResult) - ..add('optimisticResponse', optimisticResponse) - ..add('updateCacheHandlerKey', updateCacheHandlerKey) - ..add('updateCacheHandlerContext', updateCacheHandlerContext) - ..add('fetchPolicy', fetchPolicy) - ..add('executeOnListen', executeOnListen) - ..add('context', context)) + ..add('document', document) + ..add('fragmentName', fragmentName) + ..add('idFields', idFields)) .toString(); } } -class GAccountsByNameReqBuilder - implements Builder<GAccountsByNameReq, GAccountsByNameReqBuilder> { - _$GAccountsByNameReq? _$v; - - _i3.GAccountsByNameVarsBuilder? _vars; - _i3.GAccountsByNameVarsBuilder get vars => - _$this._vars ??= new _i3.GAccountsByNameVarsBuilder(); - set vars(_i3.GAccountsByNameVarsBuilder? vars) => _$this._vars = vars; - - _i4.Operation? _operation; - _i4.Operation? get operation => _$this._operation; - set operation(_i4.Operation? operation) => _$this._operation = operation; - - String? _requestId; - String? get requestId => _$this._requestId; - set requestId(String? requestId) => _$this._requestId = requestId; - - _i2.GAccountsByNameData? Function( - _i2.GAccountsByNameData?, _i2.GAccountsByNameData?)? _updateResult; - _i2.GAccountsByNameData? Function( - _i2.GAccountsByNameData?, _i2.GAccountsByNameData?)? - get updateResult => _$this._updateResult; - set updateResult( - _i2.GAccountsByNameData? Function( - _i2.GAccountsByNameData?, _i2.GAccountsByNameData?)? - updateResult) => - _$this._updateResult = updateResult; - - _i2.GAccountsByNameDataBuilder? _optimisticResponse; - _i2.GAccountsByNameDataBuilder get optimisticResponse => - _$this._optimisticResponse ??= new _i2.GAccountsByNameDataBuilder(); - set optimisticResponse(_i2.GAccountsByNameDataBuilder? optimisticResponse) => - _$this._optimisticResponse = optimisticResponse; - - String? _updateCacheHandlerKey; - String? get updateCacheHandlerKey => _$this._updateCacheHandlerKey; - set updateCacheHandlerKey(String? updateCacheHandlerKey) => - _$this._updateCacheHandlerKey = updateCacheHandlerKey; +class GIdentityFieldsReqBuilder + implements Builder<GIdentityFieldsReq, GIdentityFieldsReqBuilder> { + _$GIdentityFieldsReq? _$v; - Map<String, dynamic>? _updateCacheHandlerContext; - Map<String, dynamic>? get updateCacheHandlerContext => - _$this._updateCacheHandlerContext; - set updateCacheHandlerContext( - Map<String, dynamic>? updateCacheHandlerContext) => - _$this._updateCacheHandlerContext = updateCacheHandlerContext; + _i3.GIdentityFieldsVarsBuilder? _vars; + _i3.GIdentityFieldsVarsBuilder get vars => + _$this._vars ??= new _i3.GIdentityFieldsVarsBuilder(); + set vars(_i3.GIdentityFieldsVarsBuilder? vars) => _$this._vars = vars; - _i1.FetchPolicy? _fetchPolicy; - _i1.FetchPolicy? get fetchPolicy => _$this._fetchPolicy; - set fetchPolicy(_i1.FetchPolicy? fetchPolicy) => - _$this._fetchPolicy = fetchPolicy; + _i7.DocumentNode? _document; + _i7.DocumentNode? get document => _$this._document; + set document(_i7.DocumentNode? document) => _$this._document = document; - bool? _executeOnListen; - bool? get executeOnListen => _$this._executeOnListen; - set executeOnListen(bool? executeOnListen) => - _$this._executeOnListen = executeOnListen; + String? _fragmentName; + String? get fragmentName => _$this._fragmentName; + set fragmentName(String? fragmentName) => _$this._fragmentName = fragmentName; - _i4.Context? _context; - _i4.Context? get context => _$this._context; - set context(_i4.Context? context) => _$this._context = context; + Map<String, dynamic>? _idFields; + Map<String, dynamic>? get idFields => _$this._idFields; + set idFields(Map<String, dynamic>? idFields) => _$this._idFields = idFields; - GAccountsByNameReqBuilder() { - GAccountsByNameReq._initializeBuilder(this); + GIdentityFieldsReqBuilder() { + GIdentityFieldsReq._initializeBuilder(this); } - GAccountsByNameReqBuilder get _$this { + GIdentityFieldsReqBuilder get _$this { final $v = _$v; if ($v != null) { _vars = $v.vars.toBuilder(); - _operation = $v.operation; - _requestId = $v.requestId; - _updateResult = $v.updateResult; - _optimisticResponse = $v.optimisticResponse?.toBuilder(); - _updateCacheHandlerKey = $v.updateCacheHandlerKey; - _updateCacheHandlerContext = $v.updateCacheHandlerContext; - _fetchPolicy = $v.fetchPolicy; - _executeOnListen = $v.executeOnListen; - _context = $v.context; + _document = $v.document; + _fragmentName = $v.fragmentName; + _idFields = $v.idFields; _$v = null; } return this; } @override - void replace(GAccountsByNameReq other) { + void replace(GIdentityFieldsReq other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GAccountsByNameReq; + _$v = other as _$GIdentityFieldsReq; } @override - void update(void Function(GAccountsByNameReqBuilder)? updates) { + void update(void Function(GIdentityFieldsReqBuilder)? updates) { if (updates != null) updates(this); } @override - GAccountsByNameReq build() => _build(); + GIdentityFieldsReq build() => _build(); - _$GAccountsByNameReq _build() { - _$GAccountsByNameReq _$result; + _$GIdentityFieldsReq _build() { + _$GIdentityFieldsReq _$result; try { _$result = _$v ?? - new _$GAccountsByNameReq._( + new _$GIdentityFieldsReq._( vars: vars.build(), - operation: BuiltValueNullFieldError.checkNotNull( - operation, r'GAccountsByNameReq', 'operation'), - requestId: requestId, - updateResult: updateResult, - optimisticResponse: _optimisticResponse?.build(), - updateCacheHandlerKey: updateCacheHandlerKey, - updateCacheHandlerContext: updateCacheHandlerContext, - fetchPolicy: fetchPolicy, - executeOnListen: BuiltValueNullFieldError.checkNotNull( - executeOnListen, r'GAccountsByNameReq', 'executeOnListen'), - context: context); + document: BuiltValueNullFieldError.checkNotNull( + document, r'GIdentityFieldsReq', 'document'), + fragmentName: fragmentName, + idFields: BuiltValueNullFieldError.checkNotNull( + idFields, r'GIdentityFieldsReq', 'idFields')); } catch (_) { late String _$failedField; try { _$failedField = 'vars'; vars.build(); - - _$failedField = 'optimisticResponse'; - _optimisticResponse?.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'GAccountsByNameReq', _$failedField, e.toString()); + r'GIdentityFieldsReq', _$failedField, e.toString()); } rethrow; } @@ -1096,233 +4544,144 @@ class GAccountsByNameReqBuilder } } -class _$GAccountByPkReq extends GAccountByPkReq { - @override - final _i3.GAccountByPkVars vars; - @override - final _i4.Operation operation; - @override - final String? requestId; - @override - final _i2.GAccountByPkData? Function( - _i2.GAccountByPkData?, _i2.GAccountByPkData?)? updateResult; - @override - final _i2.GAccountByPkData? optimisticResponse; - @override - final String? updateCacheHandlerKey; +class _$GCommentsIssuedReq extends GCommentsIssuedReq { @override - final Map<String, dynamic>? updateCacheHandlerContext; + final _i3.GCommentsIssuedVars vars; @override - final _i1.FetchPolicy? fetchPolicy; + final _i7.DocumentNode document; @override - final bool executeOnListen; + final String? fragmentName; @override - final _i4.Context? context; + final Map<String, dynamic> idFields; - factory _$GAccountByPkReq([void Function(GAccountByPkReqBuilder)? updates]) => - (new GAccountByPkReqBuilder()..update(updates))._build(); + factory _$GCommentsIssuedReq( + [void Function(GCommentsIssuedReqBuilder)? updates]) => + (new GCommentsIssuedReqBuilder()..update(updates))._build(); - _$GAccountByPkReq._( + _$GCommentsIssuedReq._( {required this.vars, - required this.operation, - this.requestId, - this.updateResult, - this.optimisticResponse, - this.updateCacheHandlerKey, - this.updateCacheHandlerContext, - this.fetchPolicy, - required this.executeOnListen, - this.context}) + required this.document, + this.fragmentName, + required this.idFields}) : super._() { - BuiltValueNullFieldError.checkNotNull(vars, r'GAccountByPkReq', 'vars'); + BuiltValueNullFieldError.checkNotNull(vars, r'GCommentsIssuedReq', 'vars'); BuiltValueNullFieldError.checkNotNull( - operation, r'GAccountByPkReq', 'operation'); + document, r'GCommentsIssuedReq', 'document'); BuiltValueNullFieldError.checkNotNull( - executeOnListen, r'GAccountByPkReq', 'executeOnListen'); + idFields, r'GCommentsIssuedReq', 'idFields'); } @override - GAccountByPkReq rebuild(void Function(GAccountByPkReqBuilder) updates) => + GCommentsIssuedReq rebuild( + void Function(GCommentsIssuedReqBuilder) updates) => (toBuilder()..update(updates)).build(); @override - GAccountByPkReqBuilder toBuilder() => - new GAccountByPkReqBuilder()..replace(this); + GCommentsIssuedReqBuilder toBuilder() => + new GCommentsIssuedReqBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - final dynamic _$dynamicOther = other; - return other is GAccountByPkReq && + return other is GCommentsIssuedReq && vars == other.vars && - operation == other.operation && - requestId == other.requestId && - updateResult == _$dynamicOther.updateResult && - optimisticResponse == other.optimisticResponse && - updateCacheHandlerKey == other.updateCacheHandlerKey && - updateCacheHandlerContext == other.updateCacheHandlerContext && - fetchPolicy == other.fetchPolicy && - executeOnListen == other.executeOnListen && - context == other.context; + document == other.document && + fragmentName == other.fragmentName && + idFields == other.idFields; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, vars.hashCode); - _$hash = $jc(_$hash, operation.hashCode); - _$hash = $jc(_$hash, requestId.hashCode); - _$hash = $jc(_$hash, updateResult.hashCode); - _$hash = $jc(_$hash, optimisticResponse.hashCode); - _$hash = $jc(_$hash, updateCacheHandlerKey.hashCode); - _$hash = $jc(_$hash, updateCacheHandlerContext.hashCode); - _$hash = $jc(_$hash, fetchPolicy.hashCode); - _$hash = $jc(_$hash, executeOnListen.hashCode); - _$hash = $jc(_$hash, context.hashCode); + _$hash = $jc(_$hash, document.hashCode); + _$hash = $jc(_$hash, fragmentName.hashCode); + _$hash = $jc(_$hash, idFields.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'GAccountByPkReq') + return (newBuiltValueToStringHelper(r'GCommentsIssuedReq') ..add('vars', vars) - ..add('operation', operation) - ..add('requestId', requestId) - ..add('updateResult', updateResult) - ..add('optimisticResponse', optimisticResponse) - ..add('updateCacheHandlerKey', updateCacheHandlerKey) - ..add('updateCacheHandlerContext', updateCacheHandlerContext) - ..add('fetchPolicy', fetchPolicy) - ..add('executeOnListen', executeOnListen) - ..add('context', context)) + ..add('document', document) + ..add('fragmentName', fragmentName) + ..add('idFields', idFields)) .toString(); } } -class GAccountByPkReqBuilder - implements Builder<GAccountByPkReq, GAccountByPkReqBuilder> { - _$GAccountByPkReq? _$v; - - _i3.GAccountByPkVarsBuilder? _vars; - _i3.GAccountByPkVarsBuilder get vars => - _$this._vars ??= new _i3.GAccountByPkVarsBuilder(); - set vars(_i3.GAccountByPkVarsBuilder? vars) => _$this._vars = vars; - - _i4.Operation? _operation; - _i4.Operation? get operation => _$this._operation; - set operation(_i4.Operation? operation) => _$this._operation = operation; - - String? _requestId; - String? get requestId => _$this._requestId; - set requestId(String? requestId) => _$this._requestId = requestId; - - _i2.GAccountByPkData? Function(_i2.GAccountByPkData?, _i2.GAccountByPkData?)? - _updateResult; - _i2.GAccountByPkData? Function(_i2.GAccountByPkData?, _i2.GAccountByPkData?)? - get updateResult => _$this._updateResult; - set updateResult( - _i2.GAccountByPkData? Function( - _i2.GAccountByPkData?, _i2.GAccountByPkData?)? - updateResult) => - _$this._updateResult = updateResult; - - _i2.GAccountByPkDataBuilder? _optimisticResponse; - _i2.GAccountByPkDataBuilder get optimisticResponse => - _$this._optimisticResponse ??= new _i2.GAccountByPkDataBuilder(); - set optimisticResponse(_i2.GAccountByPkDataBuilder? optimisticResponse) => - _$this._optimisticResponse = optimisticResponse; - - String? _updateCacheHandlerKey; - String? get updateCacheHandlerKey => _$this._updateCacheHandlerKey; - set updateCacheHandlerKey(String? updateCacheHandlerKey) => - _$this._updateCacheHandlerKey = updateCacheHandlerKey; +class GCommentsIssuedReqBuilder + implements Builder<GCommentsIssuedReq, GCommentsIssuedReqBuilder> { + _$GCommentsIssuedReq? _$v; - Map<String, dynamic>? _updateCacheHandlerContext; - Map<String, dynamic>? get updateCacheHandlerContext => - _$this._updateCacheHandlerContext; - set updateCacheHandlerContext( - Map<String, dynamic>? updateCacheHandlerContext) => - _$this._updateCacheHandlerContext = updateCacheHandlerContext; + _i3.GCommentsIssuedVarsBuilder? _vars; + _i3.GCommentsIssuedVarsBuilder get vars => + _$this._vars ??= new _i3.GCommentsIssuedVarsBuilder(); + set vars(_i3.GCommentsIssuedVarsBuilder? vars) => _$this._vars = vars; - _i1.FetchPolicy? _fetchPolicy; - _i1.FetchPolicy? get fetchPolicy => _$this._fetchPolicy; - set fetchPolicy(_i1.FetchPolicy? fetchPolicy) => - _$this._fetchPolicy = fetchPolicy; + _i7.DocumentNode? _document; + _i7.DocumentNode? get document => _$this._document; + set document(_i7.DocumentNode? document) => _$this._document = document; - bool? _executeOnListen; - bool? get executeOnListen => _$this._executeOnListen; - set executeOnListen(bool? executeOnListen) => - _$this._executeOnListen = executeOnListen; + String? _fragmentName; + String? get fragmentName => _$this._fragmentName; + set fragmentName(String? fragmentName) => _$this._fragmentName = fragmentName; - _i4.Context? _context; - _i4.Context? get context => _$this._context; - set context(_i4.Context? context) => _$this._context = context; + Map<String, dynamic>? _idFields; + Map<String, dynamic>? get idFields => _$this._idFields; + set idFields(Map<String, dynamic>? idFields) => _$this._idFields = idFields; - GAccountByPkReqBuilder() { - GAccountByPkReq._initializeBuilder(this); + GCommentsIssuedReqBuilder() { + GCommentsIssuedReq._initializeBuilder(this); } - GAccountByPkReqBuilder get _$this { + GCommentsIssuedReqBuilder get _$this { final $v = _$v; if ($v != null) { _vars = $v.vars.toBuilder(); - _operation = $v.operation; - _requestId = $v.requestId; - _updateResult = $v.updateResult; - _optimisticResponse = $v.optimisticResponse?.toBuilder(); - _updateCacheHandlerKey = $v.updateCacheHandlerKey; - _updateCacheHandlerContext = $v.updateCacheHandlerContext; - _fetchPolicy = $v.fetchPolicy; - _executeOnListen = $v.executeOnListen; - _context = $v.context; + _document = $v.document; + _fragmentName = $v.fragmentName; + _idFields = $v.idFields; _$v = null; } return this; } @override - void replace(GAccountByPkReq other) { + void replace(GCommentsIssuedReq other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GAccountByPkReq; + _$v = other as _$GCommentsIssuedReq; } @override - void update(void Function(GAccountByPkReqBuilder)? updates) { + void update(void Function(GCommentsIssuedReqBuilder)? updates) { if (updates != null) updates(this); } @override - GAccountByPkReq build() => _build(); + GCommentsIssuedReq build() => _build(); - _$GAccountByPkReq _build() { - _$GAccountByPkReq _$result; + _$GCommentsIssuedReq _build() { + _$GCommentsIssuedReq _$result; try { _$result = _$v ?? - new _$GAccountByPkReq._( + new _$GCommentsIssuedReq._( vars: vars.build(), - operation: BuiltValueNullFieldError.checkNotNull( - operation, r'GAccountByPkReq', 'operation'), - requestId: requestId, - updateResult: updateResult, - optimisticResponse: _optimisticResponse?.build(), - updateCacheHandlerKey: updateCacheHandlerKey, - updateCacheHandlerContext: updateCacheHandlerContext, - fetchPolicy: fetchPolicy, - executeOnListen: BuiltValueNullFieldError.checkNotNull( - executeOnListen, r'GAccountByPkReq', 'executeOnListen'), - context: context); + document: BuiltValueNullFieldError.checkNotNull( + document, r'GCommentsIssuedReq', 'document'), + fragmentName: fragmentName, + idFields: BuiltValueNullFieldError.checkNotNull( + idFields, r'GCommentsIssuedReq', 'idFields')); } catch (_) { late String _$failedField; try { _$failedField = 'vars'; vars.build(); - - _$failedField = 'optimisticResponse'; - _optimisticResponse?.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'GAccountByPkReq', _$failedField, e.toString()); + r'GCommentsIssuedReq', _$failedField, e.toString()); } rethrow; } @@ -1331,232 +4690,290 @@ class GAccountByPkReqBuilder } } -class _$GLastBlockReq extends GLastBlockReq { - @override - final _i3.GLastBlockVars vars; - @override - final _i4.Operation operation; - @override - final String? requestId; - @override - final _i2.GLastBlockData? Function(_i2.GLastBlockData?, _i2.GLastBlockData?)? - updateResult; - @override - final _i2.GLastBlockData? optimisticResponse; +class _$GAccountBasicFieldsReq extends GAccountBasicFieldsReq { @override - final String? updateCacheHandlerKey; - @override - final Map<String, dynamic>? updateCacheHandlerContext; + final _i3.GAccountBasicFieldsVars vars; @override - final _i1.FetchPolicy? fetchPolicy; + final _i7.DocumentNode document; @override - final bool executeOnListen; + final String? fragmentName; @override - final _i4.Context? context; + final Map<String, dynamic> idFields; - factory _$GLastBlockReq([void Function(GLastBlockReqBuilder)? updates]) => - (new GLastBlockReqBuilder()..update(updates))._build(); + factory _$GAccountBasicFieldsReq( + [void Function(GAccountBasicFieldsReqBuilder)? updates]) => + (new GAccountBasicFieldsReqBuilder()..update(updates))._build(); - _$GLastBlockReq._( + _$GAccountBasicFieldsReq._( {required this.vars, - required this.operation, - this.requestId, - this.updateResult, - this.optimisticResponse, - this.updateCacheHandlerKey, - this.updateCacheHandlerContext, - this.fetchPolicy, - required this.executeOnListen, - this.context}) + required this.document, + this.fragmentName, + required this.idFields}) : super._() { - BuiltValueNullFieldError.checkNotNull(vars, r'GLastBlockReq', 'vars'); BuiltValueNullFieldError.checkNotNull( - operation, r'GLastBlockReq', 'operation'); + vars, r'GAccountBasicFieldsReq', 'vars'); BuiltValueNullFieldError.checkNotNull( - executeOnListen, r'GLastBlockReq', 'executeOnListen'); + document, r'GAccountBasicFieldsReq', 'document'); + BuiltValueNullFieldError.checkNotNull( + idFields, r'GAccountBasicFieldsReq', 'idFields'); } @override - GLastBlockReq rebuild(void Function(GLastBlockReqBuilder) updates) => + GAccountBasicFieldsReq rebuild( + void Function(GAccountBasicFieldsReqBuilder) updates) => (toBuilder()..update(updates)).build(); @override - GLastBlockReqBuilder toBuilder() => new GLastBlockReqBuilder()..replace(this); + GAccountBasicFieldsReqBuilder toBuilder() => + new GAccountBasicFieldsReqBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - final dynamic _$dynamicOther = other; - return other is GLastBlockReq && + return other is GAccountBasicFieldsReq && vars == other.vars && - operation == other.operation && - requestId == other.requestId && - updateResult == _$dynamicOther.updateResult && - optimisticResponse == other.optimisticResponse && - updateCacheHandlerKey == other.updateCacheHandlerKey && - updateCacheHandlerContext == other.updateCacheHandlerContext && - fetchPolicy == other.fetchPolicy && - executeOnListen == other.executeOnListen && - context == other.context; + document == other.document && + fragmentName == other.fragmentName && + idFields == other.idFields; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, vars.hashCode); - _$hash = $jc(_$hash, operation.hashCode); - _$hash = $jc(_$hash, requestId.hashCode); - _$hash = $jc(_$hash, updateResult.hashCode); - _$hash = $jc(_$hash, optimisticResponse.hashCode); - _$hash = $jc(_$hash, updateCacheHandlerKey.hashCode); - _$hash = $jc(_$hash, updateCacheHandlerContext.hashCode); - _$hash = $jc(_$hash, fetchPolicy.hashCode); - _$hash = $jc(_$hash, executeOnListen.hashCode); - _$hash = $jc(_$hash, context.hashCode); + _$hash = $jc(_$hash, document.hashCode); + _$hash = $jc(_$hash, fragmentName.hashCode); + _$hash = $jc(_$hash, idFields.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'GLastBlockReq') + return (newBuiltValueToStringHelper(r'GAccountBasicFieldsReq') ..add('vars', vars) - ..add('operation', operation) - ..add('requestId', requestId) - ..add('updateResult', updateResult) - ..add('optimisticResponse', optimisticResponse) - ..add('updateCacheHandlerKey', updateCacheHandlerKey) - ..add('updateCacheHandlerContext', updateCacheHandlerContext) - ..add('fetchPolicy', fetchPolicy) - ..add('executeOnListen', executeOnListen) - ..add('context', context)) + ..add('document', document) + ..add('fragmentName', fragmentName) + ..add('idFields', idFields)) .toString(); } } -class GLastBlockReqBuilder - implements Builder<GLastBlockReq, GLastBlockReqBuilder> { - _$GLastBlockReq? _$v; +class GAccountBasicFieldsReqBuilder + implements Builder<GAccountBasicFieldsReq, GAccountBasicFieldsReqBuilder> { + _$GAccountBasicFieldsReq? _$v; - _i3.GLastBlockVarsBuilder? _vars; - _i3.GLastBlockVarsBuilder get vars => - _$this._vars ??= new _i3.GLastBlockVarsBuilder(); - set vars(_i3.GLastBlockVarsBuilder? vars) => _$this._vars = vars; + _i3.GAccountBasicFieldsVarsBuilder? _vars; + _i3.GAccountBasicFieldsVarsBuilder get vars => + _$this._vars ??= new _i3.GAccountBasicFieldsVarsBuilder(); + set vars(_i3.GAccountBasicFieldsVarsBuilder? vars) => _$this._vars = vars; - _i4.Operation? _operation; - _i4.Operation? get operation => _$this._operation; - set operation(_i4.Operation? operation) => _$this._operation = operation; + _i7.DocumentNode? _document; + _i7.DocumentNode? get document => _$this._document; + set document(_i7.DocumentNode? document) => _$this._document = document; + + String? _fragmentName; + String? get fragmentName => _$this._fragmentName; + set fragmentName(String? fragmentName) => _$this._fragmentName = fragmentName; + + Map<String, dynamic>? _idFields; + Map<String, dynamic>? get idFields => _$this._idFields; + set idFields(Map<String, dynamic>? idFields) => _$this._idFields = idFields; + + GAccountBasicFieldsReqBuilder() { + GAccountBasicFieldsReq._initializeBuilder(this); + } + + GAccountBasicFieldsReqBuilder get _$this { + final $v = _$v; + if ($v != null) { + _vars = $v.vars.toBuilder(); + _document = $v.document; + _fragmentName = $v.fragmentName; + _idFields = $v.idFields; + _$v = null; + } + return this; + } + + @override + void replace(GAccountBasicFieldsReq other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountBasicFieldsReq; + } + + @override + void update(void Function(GAccountBasicFieldsReqBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountBasicFieldsReq build() => _build(); + + _$GAccountBasicFieldsReq _build() { + _$GAccountBasicFieldsReq _$result; + try { + _$result = _$v ?? + new _$GAccountBasicFieldsReq._( + vars: vars.build(), + document: BuiltValueNullFieldError.checkNotNull( + document, r'GAccountBasicFieldsReq', 'document'), + fragmentName: fragmentName, + idFields: BuiltValueNullFieldError.checkNotNull( + idFields, r'GAccountBasicFieldsReq', 'idFields')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'vars'; + vars.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountBasicFieldsReq', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsReq extends GAccountFieldsReq { + @override + final _i3.GAccountFieldsVars vars; + @override + final _i7.DocumentNode document; + @override + final String? fragmentName; + @override + final Map<String, dynamic> idFields; + + factory _$GAccountFieldsReq( + [void Function(GAccountFieldsReqBuilder)? updates]) => + (new GAccountFieldsReqBuilder()..update(updates))._build(); + + _$GAccountFieldsReq._( + {required this.vars, + required this.document, + this.fragmentName, + required this.idFields}) + : super._() { + BuiltValueNullFieldError.checkNotNull(vars, r'GAccountFieldsReq', 'vars'); + BuiltValueNullFieldError.checkNotNull( + document, r'GAccountFieldsReq', 'document'); + BuiltValueNullFieldError.checkNotNull( + idFields, r'GAccountFieldsReq', 'idFields'); + } + + @override + GAccountFieldsReq rebuild(void Function(GAccountFieldsReqBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsReqBuilder toBuilder() => + new GAccountFieldsReqBuilder()..replace(this); - String? _requestId; - String? get requestId => _$this._requestId; - set requestId(String? requestId) => _$this._requestId = requestId; + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsReq && + vars == other.vars && + document == other.document && + fragmentName == other.fragmentName && + idFields == other.idFields; + } - _i2.GLastBlockData? Function(_i2.GLastBlockData?, _i2.GLastBlockData?)? - _updateResult; - _i2.GLastBlockData? Function(_i2.GLastBlockData?, _i2.GLastBlockData?)? - get updateResult => _$this._updateResult; - set updateResult( - _i2.GLastBlockData? Function( - _i2.GLastBlockData?, _i2.GLastBlockData?)? - updateResult) => - _$this._updateResult = updateResult; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, vars.hashCode); + _$hash = $jc(_$hash, document.hashCode); + _$hash = $jc(_$hash, fragmentName.hashCode); + _$hash = $jc(_$hash, idFields.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } - _i2.GLastBlockDataBuilder? _optimisticResponse; - _i2.GLastBlockDataBuilder get optimisticResponse => - _$this._optimisticResponse ??= new _i2.GLastBlockDataBuilder(); - set optimisticResponse(_i2.GLastBlockDataBuilder? optimisticResponse) => - _$this._optimisticResponse = optimisticResponse; + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountFieldsReq') + ..add('vars', vars) + ..add('document', document) + ..add('fragmentName', fragmentName) + ..add('idFields', idFields)) + .toString(); + } +} - String? _updateCacheHandlerKey; - String? get updateCacheHandlerKey => _$this._updateCacheHandlerKey; - set updateCacheHandlerKey(String? updateCacheHandlerKey) => - _$this._updateCacheHandlerKey = updateCacheHandlerKey; +class GAccountFieldsReqBuilder + implements Builder<GAccountFieldsReq, GAccountFieldsReqBuilder> { + _$GAccountFieldsReq? _$v; - Map<String, dynamic>? _updateCacheHandlerContext; - Map<String, dynamic>? get updateCacheHandlerContext => - _$this._updateCacheHandlerContext; - set updateCacheHandlerContext( - Map<String, dynamic>? updateCacheHandlerContext) => - _$this._updateCacheHandlerContext = updateCacheHandlerContext; + _i3.GAccountFieldsVarsBuilder? _vars; + _i3.GAccountFieldsVarsBuilder get vars => + _$this._vars ??= new _i3.GAccountFieldsVarsBuilder(); + set vars(_i3.GAccountFieldsVarsBuilder? vars) => _$this._vars = vars; - _i1.FetchPolicy? _fetchPolicy; - _i1.FetchPolicy? get fetchPolicy => _$this._fetchPolicy; - set fetchPolicy(_i1.FetchPolicy? fetchPolicy) => - _$this._fetchPolicy = fetchPolicy; + _i7.DocumentNode? _document; + _i7.DocumentNode? get document => _$this._document; + set document(_i7.DocumentNode? document) => _$this._document = document; - bool? _executeOnListen; - bool? get executeOnListen => _$this._executeOnListen; - set executeOnListen(bool? executeOnListen) => - _$this._executeOnListen = executeOnListen; + String? _fragmentName; + String? get fragmentName => _$this._fragmentName; + set fragmentName(String? fragmentName) => _$this._fragmentName = fragmentName; - _i4.Context? _context; - _i4.Context? get context => _$this._context; - set context(_i4.Context? context) => _$this._context = context; + Map<String, dynamic>? _idFields; + Map<String, dynamic>? get idFields => _$this._idFields; + set idFields(Map<String, dynamic>? idFields) => _$this._idFields = idFields; - GLastBlockReqBuilder() { - GLastBlockReq._initializeBuilder(this); + GAccountFieldsReqBuilder() { + GAccountFieldsReq._initializeBuilder(this); } - GLastBlockReqBuilder get _$this { + GAccountFieldsReqBuilder get _$this { final $v = _$v; if ($v != null) { _vars = $v.vars.toBuilder(); - _operation = $v.operation; - _requestId = $v.requestId; - _updateResult = $v.updateResult; - _optimisticResponse = $v.optimisticResponse?.toBuilder(); - _updateCacheHandlerKey = $v.updateCacheHandlerKey; - _updateCacheHandlerContext = $v.updateCacheHandlerContext; - _fetchPolicy = $v.fetchPolicy; - _executeOnListen = $v.executeOnListen; - _context = $v.context; + _document = $v.document; + _fragmentName = $v.fragmentName; + _idFields = $v.idFields; _$v = null; } return this; } @override - void replace(GLastBlockReq other) { + void replace(GAccountFieldsReq other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GLastBlockReq; + _$v = other as _$GAccountFieldsReq; } @override - void update(void Function(GLastBlockReqBuilder)? updates) { + void update(void Function(GAccountFieldsReqBuilder)? updates) { if (updates != null) updates(this); } @override - GLastBlockReq build() => _build(); + GAccountFieldsReq build() => _build(); - _$GLastBlockReq _build() { - _$GLastBlockReq _$result; + _$GAccountFieldsReq _build() { + _$GAccountFieldsReq _$result; try { _$result = _$v ?? - new _$GLastBlockReq._( + new _$GAccountFieldsReq._( vars: vars.build(), - operation: BuiltValueNullFieldError.checkNotNull( - operation, r'GLastBlockReq', 'operation'), - requestId: requestId, - updateResult: updateResult, - optimisticResponse: _optimisticResponse?.build(), - updateCacheHandlerKey: updateCacheHandlerKey, - updateCacheHandlerContext: updateCacheHandlerContext, - fetchPolicy: fetchPolicy, - executeOnListen: BuiltValueNullFieldError.checkNotNull( - executeOnListen, r'GLastBlockReq', 'executeOnListen'), - context: context); + document: BuiltValueNullFieldError.checkNotNull( + document, r'GAccountFieldsReq', 'document'), + fragmentName: fragmentName, + idFields: BuiltValueNullFieldError.checkNotNull( + idFields, r'GAccountFieldsReq', 'idFields')); } catch (_) { late String _$failedField; try { _$failedField = 'vars'; vars.build(); - - _$failedField = 'optimisticResponse'; - _optimisticResponse?.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'GLastBlockReq', _$failedField, e.toString()); + r'GAccountFieldsReq', _$failedField, e.toString()); } rethrow; } @@ -1565,244 +4982,144 @@ class GLastBlockReqBuilder } } -class _$GGetHistoryAndBalanceReq extends GGetHistoryAndBalanceReq { - @override - final _i3.GGetHistoryAndBalanceVars vars; - @override - final _i4.Operation operation; +class _$GTransferFieldsReq extends GTransferFieldsReq { @override - final String? requestId; - @override - final _i2.GGetHistoryAndBalanceData? Function( - _i2.GGetHistoryAndBalanceData?, _i2.GGetHistoryAndBalanceData?)? - updateResult; - @override - final _i2.GGetHistoryAndBalanceData? optimisticResponse; - @override - final String? updateCacheHandlerKey; - @override - final Map<String, dynamic>? updateCacheHandlerContext; + final _i3.GTransferFieldsVars vars; @override - final _i1.FetchPolicy? fetchPolicy; + final _i7.DocumentNode document; @override - final bool executeOnListen; + final String? fragmentName; @override - final _i4.Context? context; + final Map<String, dynamic> idFields; - factory _$GGetHistoryAndBalanceReq( - [void Function(GGetHistoryAndBalanceReqBuilder)? updates]) => - (new GGetHistoryAndBalanceReqBuilder()..update(updates))._build(); + factory _$GTransferFieldsReq( + [void Function(GTransferFieldsReqBuilder)? updates]) => + (new GTransferFieldsReqBuilder()..update(updates))._build(); - _$GGetHistoryAndBalanceReq._( + _$GTransferFieldsReq._( {required this.vars, - required this.operation, - this.requestId, - this.updateResult, - this.optimisticResponse, - this.updateCacheHandlerKey, - this.updateCacheHandlerContext, - this.fetchPolicy, - required this.executeOnListen, - this.context}) + required this.document, + this.fragmentName, + required this.idFields}) : super._() { + BuiltValueNullFieldError.checkNotNull(vars, r'GTransferFieldsReq', 'vars'); BuiltValueNullFieldError.checkNotNull( - vars, r'GGetHistoryAndBalanceReq', 'vars'); - BuiltValueNullFieldError.checkNotNull( - operation, r'GGetHistoryAndBalanceReq', 'operation'); + document, r'GTransferFieldsReq', 'document'); BuiltValueNullFieldError.checkNotNull( - executeOnListen, r'GGetHistoryAndBalanceReq', 'executeOnListen'); + idFields, r'GTransferFieldsReq', 'idFields'); } @override - GGetHistoryAndBalanceReq rebuild( - void Function(GGetHistoryAndBalanceReqBuilder) updates) => + GTransferFieldsReq rebuild( + void Function(GTransferFieldsReqBuilder) updates) => (toBuilder()..update(updates)).build(); @override - GGetHistoryAndBalanceReqBuilder toBuilder() => - new GGetHistoryAndBalanceReqBuilder()..replace(this); + GTransferFieldsReqBuilder toBuilder() => + new GTransferFieldsReqBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - final dynamic _$dynamicOther = other; - return other is GGetHistoryAndBalanceReq && + return other is GTransferFieldsReq && vars == other.vars && - operation == other.operation && - requestId == other.requestId && - updateResult == _$dynamicOther.updateResult && - optimisticResponse == other.optimisticResponse && - updateCacheHandlerKey == other.updateCacheHandlerKey && - updateCacheHandlerContext == other.updateCacheHandlerContext && - fetchPolicy == other.fetchPolicy && - executeOnListen == other.executeOnListen && - context == other.context; + document == other.document && + fragmentName == other.fragmentName && + idFields == other.idFields; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, vars.hashCode); - _$hash = $jc(_$hash, operation.hashCode); - _$hash = $jc(_$hash, requestId.hashCode); - _$hash = $jc(_$hash, updateResult.hashCode); - _$hash = $jc(_$hash, optimisticResponse.hashCode); - _$hash = $jc(_$hash, updateCacheHandlerKey.hashCode); - _$hash = $jc(_$hash, updateCacheHandlerContext.hashCode); - _$hash = $jc(_$hash, fetchPolicy.hashCode); - _$hash = $jc(_$hash, executeOnListen.hashCode); - _$hash = $jc(_$hash, context.hashCode); + _$hash = $jc(_$hash, document.hashCode); + _$hash = $jc(_$hash, fragmentName.hashCode); + _$hash = $jc(_$hash, idFields.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'GGetHistoryAndBalanceReq') + return (newBuiltValueToStringHelper(r'GTransferFieldsReq') ..add('vars', vars) - ..add('operation', operation) - ..add('requestId', requestId) - ..add('updateResult', updateResult) - ..add('optimisticResponse', optimisticResponse) - ..add('updateCacheHandlerKey', updateCacheHandlerKey) - ..add('updateCacheHandlerContext', updateCacheHandlerContext) - ..add('fetchPolicy', fetchPolicy) - ..add('executeOnListen', executeOnListen) - ..add('context', context)) + ..add('document', document) + ..add('fragmentName', fragmentName) + ..add('idFields', idFields)) .toString(); } } -class GGetHistoryAndBalanceReqBuilder - implements - Builder<GGetHistoryAndBalanceReq, GGetHistoryAndBalanceReqBuilder> { - _$GGetHistoryAndBalanceReq? _$v; - - _i3.GGetHistoryAndBalanceVarsBuilder? _vars; - _i3.GGetHistoryAndBalanceVarsBuilder get vars => - _$this._vars ??= new _i3.GGetHistoryAndBalanceVarsBuilder(); - set vars(_i3.GGetHistoryAndBalanceVarsBuilder? vars) => _$this._vars = vars; - - _i4.Operation? _operation; - _i4.Operation? get operation => _$this._operation; - set operation(_i4.Operation? operation) => _$this._operation = operation; - - String? _requestId; - String? get requestId => _$this._requestId; - set requestId(String? requestId) => _$this._requestId = requestId; - - _i2.GGetHistoryAndBalanceData? Function( - _i2.GGetHistoryAndBalanceData?, _i2.GGetHistoryAndBalanceData?)? - _updateResult; - _i2.GGetHistoryAndBalanceData? Function( - _i2.GGetHistoryAndBalanceData?, _i2.GGetHistoryAndBalanceData?)? - get updateResult => _$this._updateResult; - set updateResult( - _i2.GGetHistoryAndBalanceData? Function( - _i2.GGetHistoryAndBalanceData?, - _i2.GGetHistoryAndBalanceData?)? - updateResult) => - _$this._updateResult = updateResult; - - _i2.GGetHistoryAndBalanceDataBuilder? _optimisticResponse; - _i2.GGetHistoryAndBalanceDataBuilder get optimisticResponse => - _$this._optimisticResponse ??= new _i2.GGetHistoryAndBalanceDataBuilder(); - set optimisticResponse( - _i2.GGetHistoryAndBalanceDataBuilder? optimisticResponse) => - _$this._optimisticResponse = optimisticResponse; - - String? _updateCacheHandlerKey; - String? get updateCacheHandlerKey => _$this._updateCacheHandlerKey; - set updateCacheHandlerKey(String? updateCacheHandlerKey) => - _$this._updateCacheHandlerKey = updateCacheHandlerKey; +class GTransferFieldsReqBuilder + implements Builder<GTransferFieldsReq, GTransferFieldsReqBuilder> { + _$GTransferFieldsReq? _$v; - Map<String, dynamic>? _updateCacheHandlerContext; - Map<String, dynamic>? get updateCacheHandlerContext => - _$this._updateCacheHandlerContext; - set updateCacheHandlerContext( - Map<String, dynamic>? updateCacheHandlerContext) => - _$this._updateCacheHandlerContext = updateCacheHandlerContext; + _i3.GTransferFieldsVarsBuilder? _vars; + _i3.GTransferFieldsVarsBuilder get vars => + _$this._vars ??= new _i3.GTransferFieldsVarsBuilder(); + set vars(_i3.GTransferFieldsVarsBuilder? vars) => _$this._vars = vars; - _i1.FetchPolicy? _fetchPolicy; - _i1.FetchPolicy? get fetchPolicy => _$this._fetchPolicy; - set fetchPolicy(_i1.FetchPolicy? fetchPolicy) => - _$this._fetchPolicy = fetchPolicy; + _i7.DocumentNode? _document; + _i7.DocumentNode? get document => _$this._document; + set document(_i7.DocumentNode? document) => _$this._document = document; - bool? _executeOnListen; - bool? get executeOnListen => _$this._executeOnListen; - set executeOnListen(bool? executeOnListen) => - _$this._executeOnListen = executeOnListen; + String? _fragmentName; + String? get fragmentName => _$this._fragmentName; + set fragmentName(String? fragmentName) => _$this._fragmentName = fragmentName; - _i4.Context? _context; - _i4.Context? get context => _$this._context; - set context(_i4.Context? context) => _$this._context = context; + Map<String, dynamic>? _idFields; + Map<String, dynamic>? get idFields => _$this._idFields; + set idFields(Map<String, dynamic>? idFields) => _$this._idFields = idFields; - GGetHistoryAndBalanceReqBuilder() { - GGetHistoryAndBalanceReq._initializeBuilder(this); + GTransferFieldsReqBuilder() { + GTransferFieldsReq._initializeBuilder(this); } - GGetHistoryAndBalanceReqBuilder get _$this { + GTransferFieldsReqBuilder get _$this { final $v = _$v; if ($v != null) { _vars = $v.vars.toBuilder(); - _operation = $v.operation; - _requestId = $v.requestId; - _updateResult = $v.updateResult; - _optimisticResponse = $v.optimisticResponse?.toBuilder(); - _updateCacheHandlerKey = $v.updateCacheHandlerKey; - _updateCacheHandlerContext = $v.updateCacheHandlerContext; - _fetchPolicy = $v.fetchPolicy; - _executeOnListen = $v.executeOnListen; - _context = $v.context; + _document = $v.document; + _fragmentName = $v.fragmentName; + _idFields = $v.idFields; _$v = null; } return this; } @override - void replace(GGetHistoryAndBalanceReq other) { + void replace(GTransferFieldsReq other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GGetHistoryAndBalanceReq; + _$v = other as _$GTransferFieldsReq; } @override - void update(void Function(GGetHistoryAndBalanceReqBuilder)? updates) { + void update(void Function(GTransferFieldsReqBuilder)? updates) { if (updates != null) updates(this); } @override - GGetHistoryAndBalanceReq build() => _build(); + GTransferFieldsReq build() => _build(); - _$GGetHistoryAndBalanceReq _build() { - _$GGetHistoryAndBalanceReq _$result; + _$GTransferFieldsReq _build() { + _$GTransferFieldsReq _$result; try { _$result = _$v ?? - new _$GGetHistoryAndBalanceReq._( + new _$GTransferFieldsReq._( vars: vars.build(), - operation: BuiltValueNullFieldError.checkNotNull( - operation, r'GGetHistoryAndBalanceReq', 'operation'), - requestId: requestId, - updateResult: updateResult, - optimisticResponse: _optimisticResponse?.build(), - updateCacheHandlerKey: updateCacheHandlerKey, - updateCacheHandlerContext: updateCacheHandlerContext, - fetchPolicy: fetchPolicy, - executeOnListen: BuiltValueNullFieldError.checkNotNull( - executeOnListen, - r'GGetHistoryAndBalanceReq', - 'executeOnListen'), - context: context); + document: BuiltValueNullFieldError.checkNotNull( + document, r'GTransferFieldsReq', 'document'), + fragmentName: fragmentName, + idFields: BuiltValueNullFieldError.checkNotNull( + idFields, r'GTransferFieldsReq', 'idFields')); } catch (_) { late String _$failedField; try { _$failedField = 'vars'; vars.build(); - - _$failedField = 'optimisticResponse'; - _optimisticResponse?.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'GGetHistoryAndBalanceReq', _$failedField, e.toString()); + r'GTransferFieldsReq', _$failedField, e.toString()); } rethrow; } diff --git a/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.var.gql.dart b/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.var.gql.dart index 2f1348e8..f2f588aa 100644 --- a/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.var.gql.dart +++ b/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.var.gql.dart @@ -2,6 +2,7 @@ // ignore_for_file: type=lint // ignore_for_file: no_leading_underscores_for_library_prefixes +import 'package:built_collection/built_collection.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; import 'package:duniter_indexer/graphql/schema/__generated__/serializers.gql.dart' @@ -9,50 +10,75 @@ import 'package:duniter_indexer/graphql/schema/__generated__/serializers.gql.dar part 'duniter-indexer-queries.var.gql.g.dart'; -abstract class GAccountsByNameOrPkVars - implements Built<GAccountsByNameOrPkVars, GAccountsByNameOrPkVarsBuilder> { - GAccountsByNameOrPkVars._(); +abstract class GIdentitiesByNameOrPkVars + implements + Built<GIdentitiesByNameOrPkVars, GIdentitiesByNameOrPkVarsBuilder> { + GIdentitiesByNameOrPkVars._(); - factory GAccountsByNameOrPkVars( - [void Function(GAccountsByNameOrPkVarsBuilder b) updates]) = - _$GAccountsByNameOrPkVars; + factory GIdentitiesByNameOrPkVars( + [void Function(GIdentitiesByNameOrPkVarsBuilder b) updates]) = + _$GIdentitiesByNameOrPkVars; String? get pattern; - static Serializer<GAccountsByNameOrPkVars> get serializer => - _$gAccountsByNameOrPkVarsSerializer; + static Serializer<GIdentitiesByNameOrPkVars> get serializer => + _$gIdentitiesByNameOrPkVarsSerializer; Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GAccountsByNameOrPkVars.serializer, + GIdentitiesByNameOrPkVars.serializer, this, ) as Map<String, dynamic>); - static GAccountsByNameOrPkVars? fromJson(Map<String, dynamic> json) => + static GIdentitiesByNameOrPkVars? fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( - GAccountsByNameOrPkVars.serializer, + GIdentitiesByNameOrPkVars.serializer, json, ); } -abstract class GAccountsByNameVars - implements Built<GAccountsByNameVars, GAccountsByNameVarsBuilder> { - GAccountsByNameVars._(); +abstract class GIdentitiesByPkVars + implements Built<GIdentitiesByPkVars, GIdentitiesByPkVarsBuilder> { + GIdentitiesByPkVars._(); + + factory GIdentitiesByPkVars( + [void Function(GIdentitiesByPkVarsBuilder b) updates]) = + _$GIdentitiesByPkVars; + + BuiltList<String> get pubKeys; + static Serializer<GIdentitiesByPkVars> get serializer => + _$gIdentitiesByPkVarsSerializer; - factory GAccountsByNameVars( - [void Function(GAccountsByNameVarsBuilder b) updates]) = - _$GAccountsByNameVars; + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentitiesByPkVars.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentitiesByPkVars? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentitiesByPkVars.serializer, + json, + ); +} + +abstract class GIdentitiesByNameVars + implements Built<GIdentitiesByNameVars, GIdentitiesByNameVarsBuilder> { + GIdentitiesByNameVars._(); + + factory GIdentitiesByNameVars( + [void Function(GIdentitiesByNameVarsBuilder b) updates]) = + _$GIdentitiesByNameVars; String? get pattern; - static Serializer<GAccountsByNameVars> get serializer => - _$gAccountsByNameVarsSerializer; + static Serializer<GIdentitiesByNameVars> get serializer => + _$gIdentitiesByNameVarsSerializer; Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( - GAccountsByNameVars.serializer, + GIdentitiesByNameVars.serializer, this, ) as Map<String, dynamic>); - static GAccountsByNameVars? fromJson(Map<String, dynamic> json) => + static GIdentitiesByNameVars? fromJson(Map<String, dynamic> json) => _i1.serializers.deserializeWith( - GAccountsByNameVars.serializer, + GIdentitiesByNameVars.serializer, json, ); } @@ -65,6 +91,8 @@ abstract class GAccountByPkVars _$GAccountByPkVars; String get id; + int? get limit; + int? get offset; static Serializer<GAccountByPkVars> get serializer => _$gAccountByPkVarsSerializer; @@ -80,6 +108,56 @@ abstract class GAccountByPkVars ); } +abstract class GAccountBasicByPkVars + implements Built<GAccountBasicByPkVars, GAccountBasicByPkVarsBuilder> { + GAccountBasicByPkVars._(); + + factory GAccountBasicByPkVars( + [void Function(GAccountBasicByPkVarsBuilder b) updates]) = + _$GAccountBasicByPkVars; + + String get id; + static Serializer<GAccountBasicByPkVars> get serializer => + _$gAccountBasicByPkVarsSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountBasicByPkVars.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountBasicByPkVars? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountBasicByPkVars.serializer, + json, + ); +} + +abstract class GAccountsByPkVars + implements Built<GAccountsByPkVars, GAccountsByPkVarsBuilder> { + GAccountsByPkVars._(); + + factory GAccountsByPkVars( + [void Function(GAccountsByPkVarsBuilder b) updates]) = + _$GAccountsByPkVars; + + BuiltList<String> get accountIds; + int? get limit; + int? get offset; + static Serializer<GAccountsByPkVars> get serializer => + _$gAccountsByPkVarsSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountsByPkVars.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountsByPkVars? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountsByPkVars.serializer, + json, + ); +} + abstract class GLastBlockVars implements Built<GLastBlockVars, GLastBlockVarsBuilder> { GLastBlockVars._(); @@ -128,3 +206,235 @@ abstract class GGetHistoryAndBalanceVars json, ); } + +abstract class GCertFieldsVars + implements Built<GCertFieldsVars, GCertFieldsVarsBuilder> { + GCertFieldsVars._(); + + factory GCertFieldsVars([void Function(GCertFieldsVarsBuilder b) updates]) = + _$GCertFieldsVars; + + static Serializer<GCertFieldsVars> get serializer => + _$gCertFieldsVarsSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GCertFieldsVars.serializer, + this, + ) as Map<String, dynamic>); + + static GCertFieldsVars? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GCertFieldsVars.serializer, + json, + ); +} + +abstract class GSmithCertFieldsVars + implements Built<GSmithCertFieldsVars, GSmithCertFieldsVarsBuilder> { + GSmithCertFieldsVars._(); + + factory GSmithCertFieldsVars( + [void Function(GSmithCertFieldsVarsBuilder b) updates]) = + _$GSmithCertFieldsVars; + + static Serializer<GSmithCertFieldsVars> get serializer => + _$gSmithCertFieldsVarsSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GSmithCertFieldsVars.serializer, + this, + ) as Map<String, dynamic>); + + static GSmithCertFieldsVars? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GSmithCertFieldsVars.serializer, + json, + ); +} + +abstract class GSmithFieldsVars + implements Built<GSmithFieldsVars, GSmithFieldsVarsBuilder> { + GSmithFieldsVars._(); + + factory GSmithFieldsVars([void Function(GSmithFieldsVarsBuilder b) updates]) = + _$GSmithFieldsVars; + + static Serializer<GSmithFieldsVars> get serializer => + _$gSmithFieldsVarsSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GSmithFieldsVars.serializer, + this, + ) as Map<String, dynamic>); + + static GSmithFieldsVars? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GSmithFieldsVars.serializer, + json, + ); +} + +abstract class GOwnerKeyChangeFieldsVars + implements + Built<GOwnerKeyChangeFieldsVars, GOwnerKeyChangeFieldsVarsBuilder> { + GOwnerKeyChangeFieldsVars._(); + + factory GOwnerKeyChangeFieldsVars( + [void Function(GOwnerKeyChangeFieldsVarsBuilder b) updates]) = + _$GOwnerKeyChangeFieldsVars; + + static Serializer<GOwnerKeyChangeFieldsVars> get serializer => + _$gOwnerKeyChangeFieldsVarsSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GOwnerKeyChangeFieldsVars.serializer, + this, + ) as Map<String, dynamic>); + + static GOwnerKeyChangeFieldsVars? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GOwnerKeyChangeFieldsVars.serializer, + json, + ); +} + +abstract class GIdentityBasicFieldsVars + implements + Built<GIdentityBasicFieldsVars, GIdentityBasicFieldsVarsBuilder> { + GIdentityBasicFieldsVars._(); + + factory GIdentityBasicFieldsVars( + [void Function(GIdentityBasicFieldsVarsBuilder b) updates]) = + _$GIdentityBasicFieldsVars; + + static Serializer<GIdentityBasicFieldsVars> get serializer => + _$gIdentityBasicFieldsVarsSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityBasicFieldsVars.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityBasicFieldsVars? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityBasicFieldsVars.serializer, + json, + ); +} + +abstract class GIdentityFieldsVars + implements Built<GIdentityFieldsVars, GIdentityFieldsVarsBuilder> { + GIdentityFieldsVars._(); + + factory GIdentityFieldsVars( + [void Function(GIdentityFieldsVarsBuilder b) updates]) = + _$GIdentityFieldsVars; + + static Serializer<GIdentityFieldsVars> get serializer => + _$gIdentityFieldsVarsSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GIdentityFieldsVars.serializer, + this, + ) as Map<String, dynamic>); + + static GIdentityFieldsVars? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GIdentityFieldsVars.serializer, + json, + ); +} + +abstract class GCommentsIssuedVars + implements Built<GCommentsIssuedVars, GCommentsIssuedVarsBuilder> { + GCommentsIssuedVars._(); + + factory GCommentsIssuedVars( + [void Function(GCommentsIssuedVarsBuilder b) updates]) = + _$GCommentsIssuedVars; + + static Serializer<GCommentsIssuedVars> get serializer => + _$gCommentsIssuedVarsSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GCommentsIssuedVars.serializer, + this, + ) as Map<String, dynamic>); + + static GCommentsIssuedVars? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GCommentsIssuedVars.serializer, + json, + ); +} + +abstract class GAccountBasicFieldsVars + implements Built<GAccountBasicFieldsVars, GAccountBasicFieldsVarsBuilder> { + GAccountBasicFieldsVars._(); + + factory GAccountBasicFieldsVars( + [void Function(GAccountBasicFieldsVarsBuilder b) updates]) = + _$GAccountBasicFieldsVars; + + static Serializer<GAccountBasicFieldsVars> get serializer => + _$gAccountBasicFieldsVarsSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountBasicFieldsVars.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountBasicFieldsVars? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountBasicFieldsVars.serializer, + json, + ); +} + +abstract class GAccountFieldsVars + implements Built<GAccountFieldsVars, GAccountFieldsVarsBuilder> { + GAccountFieldsVars._(); + + factory GAccountFieldsVars( + [void Function(GAccountFieldsVarsBuilder b) updates]) = + _$GAccountFieldsVars; + + int? get limit; + int? get offset; + static Serializer<GAccountFieldsVars> get serializer => + _$gAccountFieldsVarsSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GAccountFieldsVars.serializer, + this, + ) as Map<String, dynamic>); + + static GAccountFieldsVars? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GAccountFieldsVars.serializer, + json, + ); +} + +abstract class GTransferFieldsVars + implements Built<GTransferFieldsVars, GTransferFieldsVarsBuilder> { + GTransferFieldsVars._(); + + factory GTransferFieldsVars( + [void Function(GTransferFieldsVarsBuilder b) updates]) = + _$GTransferFieldsVars; + + static Serializer<GTransferFieldsVars> get serializer => + _$gTransferFieldsVarsSerializer; + + Map<String, dynamic> toJson() => (_i1.serializers.serializeWith( + GTransferFieldsVars.serializer, + this, + ) as Map<String, dynamic>); + + static GTransferFieldsVars? fromJson(Map<String, dynamic> json) => + _i1.serializers.deserializeWith( + GTransferFieldsVars.serializer, + json, + ); +} diff --git a/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.var.gql.g.dart b/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.var.gql.g.dart index 52ca7915..a49c53f1 100644 --- a/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.var.gql.g.dart +++ b/packages/duniter_indexer/lib/graphql/schema/__generated__/duniter-indexer-queries.var.gql.g.dart @@ -6,30 +6,56 @@ part of 'duniter-indexer-queries.var.gql.dart'; // BuiltValueGenerator // ************************************************************************** -Serializer<GAccountsByNameOrPkVars> _$gAccountsByNameOrPkVarsSerializer = - new _$GAccountsByNameOrPkVarsSerializer(); -Serializer<GAccountsByNameVars> _$gAccountsByNameVarsSerializer = - new _$GAccountsByNameVarsSerializer(); +Serializer<GIdentitiesByNameOrPkVars> _$gIdentitiesByNameOrPkVarsSerializer = + new _$GIdentitiesByNameOrPkVarsSerializer(); +Serializer<GIdentitiesByPkVars> _$gIdentitiesByPkVarsSerializer = + new _$GIdentitiesByPkVarsSerializer(); +Serializer<GIdentitiesByNameVars> _$gIdentitiesByNameVarsSerializer = + new _$GIdentitiesByNameVarsSerializer(); Serializer<GAccountByPkVars> _$gAccountByPkVarsSerializer = new _$GAccountByPkVarsSerializer(); +Serializer<GAccountBasicByPkVars> _$gAccountBasicByPkVarsSerializer = + new _$GAccountBasicByPkVarsSerializer(); +Serializer<GAccountsByPkVars> _$gAccountsByPkVarsSerializer = + new _$GAccountsByPkVarsSerializer(); Serializer<GLastBlockVars> _$gLastBlockVarsSerializer = new _$GLastBlockVarsSerializer(); Serializer<GGetHistoryAndBalanceVars> _$gGetHistoryAndBalanceVarsSerializer = new _$GGetHistoryAndBalanceVarsSerializer(); - -class _$GAccountsByNameOrPkVarsSerializer - implements StructuredSerializer<GAccountsByNameOrPkVars> { +Serializer<GCertFieldsVars> _$gCertFieldsVarsSerializer = + new _$GCertFieldsVarsSerializer(); +Serializer<GSmithCertFieldsVars> _$gSmithCertFieldsVarsSerializer = + new _$GSmithCertFieldsVarsSerializer(); +Serializer<GSmithFieldsVars> _$gSmithFieldsVarsSerializer = + new _$GSmithFieldsVarsSerializer(); +Serializer<GOwnerKeyChangeFieldsVars> _$gOwnerKeyChangeFieldsVarsSerializer = + new _$GOwnerKeyChangeFieldsVarsSerializer(); +Serializer<GIdentityBasicFieldsVars> _$gIdentityBasicFieldsVarsSerializer = + new _$GIdentityBasicFieldsVarsSerializer(); +Serializer<GIdentityFieldsVars> _$gIdentityFieldsVarsSerializer = + new _$GIdentityFieldsVarsSerializer(); +Serializer<GCommentsIssuedVars> _$gCommentsIssuedVarsSerializer = + new _$GCommentsIssuedVarsSerializer(); +Serializer<GAccountBasicFieldsVars> _$gAccountBasicFieldsVarsSerializer = + new _$GAccountBasicFieldsVarsSerializer(); +Serializer<GAccountFieldsVars> _$gAccountFieldsVarsSerializer = + new _$GAccountFieldsVarsSerializer(); +Serializer<GTransferFieldsVars> _$gTransferFieldsVarsSerializer = + new _$GTransferFieldsVarsSerializer(); + +class _$GIdentitiesByNameOrPkVarsSerializer + implements StructuredSerializer<GIdentitiesByNameOrPkVars> { @override final Iterable<Type> types = const [ - GAccountsByNameOrPkVars, - _$GAccountsByNameOrPkVars + GIdentitiesByNameOrPkVars, + _$GIdentitiesByNameOrPkVars ]; @override - final String wireName = 'GAccountsByNameOrPkVars'; + final String wireName = 'GIdentitiesByNameOrPkVars'; @override Iterable<Object?> serialize( - Serializers serializers, GAccountsByNameOrPkVars object, + Serializers serializers, GIdentitiesByNameOrPkVars object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[]; Object? value; @@ -44,10 +70,10 @@ class _$GAccountsByNameOrPkVarsSerializer } @override - GAccountsByNameOrPkVars deserialize( + GIdentitiesByNameOrPkVars deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { - final result = new GAccountsByNameOrPkVarsBuilder(); + final result = new GIdentitiesByNameOrPkVarsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -66,19 +92,68 @@ class _$GAccountsByNameOrPkVarsSerializer } } -class _$GAccountsByNameVarsSerializer - implements StructuredSerializer<GAccountsByNameVars> { +class _$GIdentitiesByPkVarsSerializer + implements StructuredSerializer<GIdentitiesByPkVars> { + @override + final Iterable<Type> types = const [ + GIdentitiesByPkVars, + _$GIdentitiesByPkVars + ]; + @override + final String wireName = 'GIdentitiesByPkVars'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentitiesByPkVars object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + 'pubKeys', + serializers.serialize(object.pubKeys, + specifiedType: + const FullType(BuiltList, const [const FullType(String)])), + ]; + + return result; + } + + @override + GIdentitiesByPkVars deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GIdentitiesByPkVarsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'pubKeys': + result.pubKeys.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(String)]))! + as BuiltList<Object?>); + break; + } + } + + return result.build(); + } +} + +class _$GIdentitiesByNameVarsSerializer + implements StructuredSerializer<GIdentitiesByNameVars> { @override final Iterable<Type> types = const [ - GAccountsByNameVars, - _$GAccountsByNameVars + GIdentitiesByNameVars, + _$GIdentitiesByNameVars ]; @override - final String wireName = 'GAccountsByNameVars'; + final String wireName = 'GIdentitiesByNameVars'; @override Iterable<Object?> serialize( - Serializers serializers, GAccountsByNameVars object, + Serializers serializers, GIdentitiesByNameVars object, {FullType specifiedType = FullType.unspecified}) { final result = <Object?>[]; Object? value; @@ -93,10 +168,10 @@ class _$GAccountsByNameVarsSerializer } @override - GAccountsByNameVars deserialize( + GIdentitiesByNameVars deserialize( Serializers serializers, Iterable<Object?> serialized, {FullType specifiedType = FullType.unspecified}) { - final result = new GAccountsByNameVarsBuilder(); + final result = new GIdentitiesByNameVarsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -129,7 +204,19 @@ class _$GAccountByPkVarsSerializer 'id', serializers.serialize(object.id, specifiedType: const FullType(String)), ]; - + Object? value; + value = object.limit; + if (value != null) { + result + ..add('limit') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.offset; + if (value != null) { + result + ..add('offset') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } return result; } @@ -149,6 +236,124 @@ class _$GAccountByPkVarsSerializer result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; + case 'limit': + result.limit = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'offset': + result.offset = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + } + } + + return result.build(); + } +} + +class _$GAccountBasicByPkVarsSerializer + implements StructuredSerializer<GAccountBasicByPkVars> { + @override + final Iterable<Type> types = const [ + GAccountBasicByPkVars, + _$GAccountBasicByPkVars + ]; + @override + final String wireName = 'GAccountBasicByPkVars'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountBasicByPkVars object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GAccountBasicByPkVars deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountBasicByPkVarsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$GAccountsByPkVarsSerializer + implements StructuredSerializer<GAccountsByPkVars> { + @override + final Iterable<Type> types = const [GAccountsByPkVars, _$GAccountsByPkVars]; + @override + final String wireName = 'GAccountsByPkVars'; + + @override + Iterable<Object?> serialize(Serializers serializers, GAccountsByPkVars object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[ + 'accountIds', + serializers.serialize(object.accountIds, + specifiedType: + const FullType(BuiltList, const [const FullType(String)])), + ]; + Object? value; + value = object.limit; + if (value != null) { + result + ..add('limit') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.offset; + if (value != null) { + result + ..add('offset') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GAccountsByPkVars deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountsByPkVarsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'accountIds': + result.accountIds.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(String)]))! + as BuiltList<Object?>); + break; + case 'limit': + result.limit = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'offset': + result.offset = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; } } @@ -243,140 +448,331 @@ class _$GGetHistoryAndBalanceVarsSerializer } } -class _$GAccountsByNameOrPkVars extends GAccountsByNameOrPkVars { +class _$GCertFieldsVarsSerializer + implements StructuredSerializer<GCertFieldsVars> { @override - final String? pattern; - - factory _$GAccountsByNameOrPkVars( - [void Function(GAccountsByNameOrPkVarsBuilder)? updates]) => - (new GAccountsByNameOrPkVarsBuilder()..update(updates))._build(); - - _$GAccountsByNameOrPkVars._({this.pattern}) : super._(); - + final Iterable<Type> types = const [GCertFieldsVars, _$GCertFieldsVars]; @override - GAccountsByNameOrPkVars rebuild( - void Function(GAccountsByNameOrPkVarsBuilder) updates) => - (toBuilder()..update(updates)).build(); + final String wireName = 'GCertFieldsVars'; @override - GAccountsByNameOrPkVarsBuilder toBuilder() => - new GAccountsByNameOrPkVarsBuilder()..replace(this); + Iterable<Object?> serialize(Serializers serializers, GCertFieldsVars object, + {FullType specifiedType = FullType.unspecified}) { + return <Object?>[]; + } @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is GAccountsByNameOrPkVars && pattern == other.pattern; + GCertFieldsVars deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + return new GCertFieldsVarsBuilder().build(); } +} +class _$GSmithCertFieldsVarsSerializer + implements StructuredSerializer<GSmithCertFieldsVars> { @override - int get hashCode { - var _$hash = 0; - _$hash = $jc(_$hash, pattern.hashCode); - _$hash = $jf(_$hash); - return _$hash; + final Iterable<Type> types = const [ + GSmithCertFieldsVars, + _$GSmithCertFieldsVars + ]; + @override + final String wireName = 'GSmithCertFieldsVars'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GSmithCertFieldsVars object, + {FullType specifiedType = FullType.unspecified}) { + return <Object?>[]; } @override - String toString() { - return (newBuiltValueToStringHelper(r'GAccountsByNameOrPkVars') - ..add('pattern', pattern)) - .toString(); + GSmithCertFieldsVars deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + return new GSmithCertFieldsVarsBuilder().build(); } } -class GAccountsByNameOrPkVarsBuilder - implements - Builder<GAccountsByNameOrPkVars, GAccountsByNameOrPkVarsBuilder> { - _$GAccountsByNameOrPkVars? _$v; - - String? _pattern; - String? get pattern => _$this._pattern; - set pattern(String? pattern) => _$this._pattern = pattern; - - GAccountsByNameOrPkVarsBuilder(); +class _$GSmithFieldsVarsSerializer + implements StructuredSerializer<GSmithFieldsVars> { + @override + final Iterable<Type> types = const [GSmithFieldsVars, _$GSmithFieldsVars]; + @override + final String wireName = 'GSmithFieldsVars'; - GAccountsByNameOrPkVarsBuilder get _$this { - final $v = _$v; - if ($v != null) { - _pattern = $v.pattern; - _$v = null; - } - return this; + @override + Iterable<Object?> serialize(Serializers serializers, GSmithFieldsVars object, + {FullType specifiedType = FullType.unspecified}) { + return <Object?>[]; } @override - void replace(GAccountsByNameOrPkVars other) { - ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GAccountsByNameOrPkVars; + GSmithFieldsVars deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + return new GSmithFieldsVarsBuilder().build(); } +} +class _$GOwnerKeyChangeFieldsVarsSerializer + implements StructuredSerializer<GOwnerKeyChangeFieldsVars> { @override - void update(void Function(GAccountsByNameOrPkVarsBuilder)? updates) { - if (updates != null) updates(this); - } + final Iterable<Type> types = const [ + GOwnerKeyChangeFieldsVars, + _$GOwnerKeyChangeFieldsVars + ]; + @override + final String wireName = 'GOwnerKeyChangeFieldsVars'; @override - GAccountsByNameOrPkVars build() => _build(); + Iterable<Object?> serialize( + Serializers serializers, GOwnerKeyChangeFieldsVars object, + {FullType specifiedType = FullType.unspecified}) { + return <Object?>[]; + } - _$GAccountsByNameOrPkVars _build() { - final _$result = _$v ?? new _$GAccountsByNameOrPkVars._(pattern: pattern); - replace(_$result); - return _$result; + @override + GOwnerKeyChangeFieldsVars deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + return new GOwnerKeyChangeFieldsVarsBuilder().build(); } } -class _$GAccountsByNameVars extends GAccountsByNameVars { +class _$GIdentityBasicFieldsVarsSerializer + implements StructuredSerializer<GIdentityBasicFieldsVars> { @override - final String? pattern; + final Iterable<Type> types = const [ + GIdentityBasicFieldsVars, + _$GIdentityBasicFieldsVars + ]; + @override + final String wireName = 'GIdentityBasicFieldsVars'; - factory _$GAccountsByNameVars( - [void Function(GAccountsByNameVarsBuilder)? updates]) => - (new GAccountsByNameVarsBuilder()..update(updates))._build(); + @override + Iterable<Object?> serialize( + Serializers serializers, GIdentityBasicFieldsVars object, + {FullType specifiedType = FullType.unspecified}) { + return <Object?>[]; + } - _$GAccountsByNameVars._({this.pattern}) : super._(); + @override + GIdentityBasicFieldsVars deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + return new GIdentityBasicFieldsVarsBuilder().build(); + } +} +class _$GIdentityFieldsVarsSerializer + implements StructuredSerializer<GIdentityFieldsVars> { @override - GAccountsByNameVars rebuild( - void Function(GAccountsByNameVarsBuilder) updates) => - (toBuilder()..update(updates)).build(); + final Iterable<Type> types = const [ + GIdentityFieldsVars, + _$GIdentityFieldsVars + ]; + @override + final String wireName = 'GIdentityFieldsVars'; @override - GAccountsByNameVarsBuilder toBuilder() => - new GAccountsByNameVarsBuilder()..replace(this); + Iterable<Object?> serialize( + Serializers serializers, GIdentityFieldsVars object, + {FullType specifiedType = FullType.unspecified}) { + return <Object?>[]; + } @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is GAccountsByNameVars && pattern == other.pattern; + GIdentityFieldsVars deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + return new GIdentityFieldsVarsBuilder().build(); } +} +class _$GCommentsIssuedVarsSerializer + implements StructuredSerializer<GCommentsIssuedVars> { @override - int get hashCode { - var _$hash = 0; - _$hash = $jc(_$hash, pattern.hashCode); - _$hash = $jf(_$hash); - return _$hash; + final Iterable<Type> types = const [ + GCommentsIssuedVars, + _$GCommentsIssuedVars + ]; + @override + final String wireName = 'GCommentsIssuedVars'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GCommentsIssuedVars object, + {FullType specifiedType = FullType.unspecified}) { + return <Object?>[]; } @override - String toString() { - return (newBuiltValueToStringHelper(r'GAccountsByNameVars') - ..add('pattern', pattern)) - .toString(); + GCommentsIssuedVars deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + return new GCommentsIssuedVarsBuilder().build(); } } -class GAccountsByNameVarsBuilder - implements Builder<GAccountsByNameVars, GAccountsByNameVarsBuilder> { - _$GAccountsByNameVars? _$v; +class _$GAccountBasicFieldsVarsSerializer + implements StructuredSerializer<GAccountBasicFieldsVars> { + @override + final Iterable<Type> types = const [ + GAccountBasicFieldsVars, + _$GAccountBasicFieldsVars + ]; + @override + final String wireName = 'GAccountBasicFieldsVars'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountBasicFieldsVars object, + {FullType specifiedType = FullType.unspecified}) { + return <Object?>[]; + } + + @override + GAccountBasicFieldsVars deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + return new GAccountBasicFieldsVarsBuilder().build(); + } +} + +class _$GAccountFieldsVarsSerializer + implements StructuredSerializer<GAccountFieldsVars> { + @override + final Iterable<Type> types = const [GAccountFieldsVars, _$GAccountFieldsVars]; + @override + final String wireName = 'GAccountFieldsVars'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GAccountFieldsVars object, + {FullType specifiedType = FullType.unspecified}) { + final result = <Object?>[]; + Object? value; + value = object.limit; + if (value != null) { + result + ..add('limit') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.offset; + if (value != null) { + result + ..add('offset') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GAccountFieldsVars deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GAccountFieldsVarsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'limit': + result.limit = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'offset': + result.offset = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + } + } + + return result.build(); + } +} + +class _$GTransferFieldsVarsSerializer + implements StructuredSerializer<GTransferFieldsVars> { + @override + final Iterable<Type> types = const [ + GTransferFieldsVars, + _$GTransferFieldsVars + ]; + @override + final String wireName = 'GTransferFieldsVars'; + + @override + Iterable<Object?> serialize( + Serializers serializers, GTransferFieldsVars object, + {FullType specifiedType = FullType.unspecified}) { + return <Object?>[]; + } + + @override + GTransferFieldsVars deserialize( + Serializers serializers, Iterable<Object?> serialized, + {FullType specifiedType = FullType.unspecified}) { + return new GTransferFieldsVarsBuilder().build(); + } +} + +class _$GIdentitiesByNameOrPkVars extends GIdentitiesByNameOrPkVars { + @override + final String? pattern; + + factory _$GIdentitiesByNameOrPkVars( + [void Function(GIdentitiesByNameOrPkVarsBuilder)? updates]) => + (new GIdentitiesByNameOrPkVarsBuilder()..update(updates))._build(); + + _$GIdentitiesByNameOrPkVars._({this.pattern}) : super._(); + + @override + GIdentitiesByNameOrPkVars rebuild( + void Function(GIdentitiesByNameOrPkVarsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentitiesByNameOrPkVarsBuilder toBuilder() => + new GIdentitiesByNameOrPkVarsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentitiesByNameOrPkVars && pattern == other.pattern; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, pattern.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GIdentitiesByNameOrPkVars') + ..add('pattern', pattern)) + .toString(); + } +} + +class GIdentitiesByNameOrPkVarsBuilder + implements + Builder<GIdentitiesByNameOrPkVars, GIdentitiesByNameOrPkVarsBuilder> { + _$GIdentitiesByNameOrPkVars? _$v; String? _pattern; String? get pattern => _$this._pattern; set pattern(String? pattern) => _$this._pattern = pattern; - GAccountsByNameVarsBuilder(); + GIdentitiesByNameOrPkVarsBuilder(); - GAccountsByNameVarsBuilder get _$this { + GIdentitiesByNameOrPkVarsBuilder get _$this { final $v = _$v; if ($v != null) { _pattern = $v.pattern; @@ -386,201 +782,235 @@ class GAccountsByNameVarsBuilder } @override - void replace(GAccountsByNameVars other) { + void replace(GIdentitiesByNameOrPkVars other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GAccountsByNameVars; + _$v = other as _$GIdentitiesByNameOrPkVars; } @override - void update(void Function(GAccountsByNameVarsBuilder)? updates) { + void update(void Function(GIdentitiesByNameOrPkVarsBuilder)? updates) { if (updates != null) updates(this); } @override - GAccountsByNameVars build() => _build(); + GIdentitiesByNameOrPkVars build() => _build(); - _$GAccountsByNameVars _build() { - final _$result = _$v ?? new _$GAccountsByNameVars._(pattern: pattern); + _$GIdentitiesByNameOrPkVars _build() { + final _$result = _$v ?? new _$GIdentitiesByNameOrPkVars._(pattern: pattern); replace(_$result); return _$result; } } -class _$GAccountByPkVars extends GAccountByPkVars { +class _$GIdentitiesByPkVars extends GIdentitiesByPkVars { @override - final String id; + final BuiltList<String> pubKeys; - factory _$GAccountByPkVars( - [void Function(GAccountByPkVarsBuilder)? updates]) => - (new GAccountByPkVarsBuilder()..update(updates))._build(); + factory _$GIdentitiesByPkVars( + [void Function(GIdentitiesByPkVarsBuilder)? updates]) => + (new GIdentitiesByPkVarsBuilder()..update(updates))._build(); - _$GAccountByPkVars._({required this.id}) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'GAccountByPkVars', 'id'); + _$GIdentitiesByPkVars._({required this.pubKeys}) : super._() { + BuiltValueNullFieldError.checkNotNull( + pubKeys, r'GIdentitiesByPkVars', 'pubKeys'); } @override - GAccountByPkVars rebuild(void Function(GAccountByPkVarsBuilder) updates) => + GIdentitiesByPkVars rebuild( + void Function(GIdentitiesByPkVarsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - GAccountByPkVarsBuilder toBuilder() => - new GAccountByPkVarsBuilder()..replace(this); + GIdentitiesByPkVarsBuilder toBuilder() => + new GIdentitiesByPkVarsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GAccountByPkVars && id == other.id; + return other is GIdentitiesByPkVars && pubKeys == other.pubKeys; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, pubKeys.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'GAccountByPkVars')..add('id', id)) + return (newBuiltValueToStringHelper(r'GIdentitiesByPkVars') + ..add('pubKeys', pubKeys)) .toString(); } } -class GAccountByPkVarsBuilder - implements Builder<GAccountByPkVars, GAccountByPkVarsBuilder> { - _$GAccountByPkVars? _$v; +class GIdentitiesByPkVarsBuilder + implements Builder<GIdentitiesByPkVars, GIdentitiesByPkVarsBuilder> { + _$GIdentitiesByPkVars? _$v; - String? _id; - String? get id => _$this._id; - set id(String? id) => _$this._id = id; + ListBuilder<String>? _pubKeys; + ListBuilder<String> get pubKeys => + _$this._pubKeys ??= new ListBuilder<String>(); + set pubKeys(ListBuilder<String>? pubKeys) => _$this._pubKeys = pubKeys; - GAccountByPkVarsBuilder(); + GIdentitiesByPkVarsBuilder(); - GAccountByPkVarsBuilder get _$this { + GIdentitiesByPkVarsBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; + _pubKeys = $v.pubKeys.toBuilder(); _$v = null; } return this; } @override - void replace(GAccountByPkVars other) { + void replace(GIdentitiesByPkVars other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GAccountByPkVars; + _$v = other as _$GIdentitiesByPkVars; } @override - void update(void Function(GAccountByPkVarsBuilder)? updates) { + void update(void Function(GIdentitiesByPkVarsBuilder)? updates) { if (updates != null) updates(this); } @override - GAccountByPkVars build() => _build(); - - _$GAccountByPkVars _build() { - final _$result = _$v ?? - new _$GAccountByPkVars._( - id: BuiltValueNullFieldError.checkNotNull( - id, r'GAccountByPkVars', 'id')); + GIdentitiesByPkVars build() => _build(); + + _$GIdentitiesByPkVars _build() { + _$GIdentitiesByPkVars _$result; + try { + _$result = _$v ?? new _$GIdentitiesByPkVars._(pubKeys: pubKeys.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'pubKeys'; + pubKeys.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GIdentitiesByPkVars', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$GLastBlockVars extends GLastBlockVars { - factory _$GLastBlockVars([void Function(GLastBlockVarsBuilder)? updates]) => - (new GLastBlockVarsBuilder()..update(updates))._build(); +class _$GIdentitiesByNameVars extends GIdentitiesByNameVars { + @override + final String? pattern; - _$GLastBlockVars._() : super._(); + factory _$GIdentitiesByNameVars( + [void Function(GIdentitiesByNameVarsBuilder)? updates]) => + (new GIdentitiesByNameVarsBuilder()..update(updates))._build(); + + _$GIdentitiesByNameVars._({this.pattern}) : super._(); @override - GLastBlockVars rebuild(void Function(GLastBlockVarsBuilder) updates) => + GIdentitiesByNameVars rebuild( + void Function(GIdentitiesByNameVarsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - GLastBlockVarsBuilder toBuilder() => - new GLastBlockVarsBuilder()..replace(this); + GIdentitiesByNameVarsBuilder toBuilder() => + new GIdentitiesByNameVarsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GLastBlockVars; + return other is GIdentitiesByNameVars && pattern == other.pattern; } @override int get hashCode { - return 816187239; + var _$hash = 0; + _$hash = $jc(_$hash, pattern.hashCode); + _$hash = $jf(_$hash); + return _$hash; } @override String toString() { - return newBuiltValueToStringHelper(r'GLastBlockVars').toString(); + return (newBuiltValueToStringHelper(r'GIdentitiesByNameVars') + ..add('pattern', pattern)) + .toString(); } } -class GLastBlockVarsBuilder - implements Builder<GLastBlockVars, GLastBlockVarsBuilder> { - _$GLastBlockVars? _$v; +class GIdentitiesByNameVarsBuilder + implements Builder<GIdentitiesByNameVars, GIdentitiesByNameVarsBuilder> { + _$GIdentitiesByNameVars? _$v; - GLastBlockVarsBuilder(); + String? _pattern; + String? get pattern => _$this._pattern; + set pattern(String? pattern) => _$this._pattern = pattern; + + GIdentitiesByNameVarsBuilder(); + + GIdentitiesByNameVarsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _pattern = $v.pattern; + _$v = null; + } + return this; + } @override - void replace(GLastBlockVars other) { + void replace(GIdentitiesByNameVars other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GLastBlockVars; + _$v = other as _$GIdentitiesByNameVars; } @override - void update(void Function(GLastBlockVarsBuilder)? updates) { + void update(void Function(GIdentitiesByNameVarsBuilder)? updates) { if (updates != null) updates(this); } @override - GLastBlockVars build() => _build(); + GIdentitiesByNameVars build() => _build(); - _$GLastBlockVars _build() { - final _$result = _$v ?? new _$GLastBlockVars._(); + _$GIdentitiesByNameVars _build() { + final _$result = _$v ?? new _$GIdentitiesByNameVars._(pattern: pattern); replace(_$result); return _$result; } } -class _$GGetHistoryAndBalanceVars extends GGetHistoryAndBalanceVars { +class _$GAccountByPkVars extends GAccountByPkVars { @override - final String accountId; + final String id; @override final int? limit; @override final int? offset; - factory _$GGetHistoryAndBalanceVars( - [void Function(GGetHistoryAndBalanceVarsBuilder)? updates]) => - (new GGetHistoryAndBalanceVarsBuilder()..update(updates))._build(); + factory _$GAccountByPkVars( + [void Function(GAccountByPkVarsBuilder)? updates]) => + (new GAccountByPkVarsBuilder()..update(updates))._build(); - _$GGetHistoryAndBalanceVars._( - {required this.accountId, this.limit, this.offset}) + _$GAccountByPkVars._({required this.id, this.limit, this.offset}) : super._() { - BuiltValueNullFieldError.checkNotNull( - accountId, r'GGetHistoryAndBalanceVars', 'accountId'); + BuiltValueNullFieldError.checkNotNull(id, r'GAccountByPkVars', 'id'); } @override - GGetHistoryAndBalanceVars rebuild( - void Function(GGetHistoryAndBalanceVarsBuilder) updates) => + GAccountByPkVars rebuild(void Function(GAccountByPkVarsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - GGetHistoryAndBalanceVarsBuilder toBuilder() => - new GGetHistoryAndBalanceVarsBuilder()..replace(this); + GAccountByPkVarsBuilder toBuilder() => + new GAccountByPkVarsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is GGetHistoryAndBalanceVars && - accountId == other.accountId && + return other is GAccountByPkVars && + id == other.id && limit == other.limit && offset == other.offset; } @@ -588,7 +1018,7 @@ class _$GGetHistoryAndBalanceVars extends GGetHistoryAndBalanceVars { @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, id.hashCode); _$hash = $jc(_$hash, limit.hashCode); _$hash = $jc(_$hash, offset.hashCode); _$hash = $jf(_$hash); @@ -597,22 +1027,21 @@ class _$GGetHistoryAndBalanceVars extends GGetHistoryAndBalanceVars { @override String toString() { - return (newBuiltValueToStringHelper(r'GGetHistoryAndBalanceVars') - ..add('accountId', accountId) + return (newBuiltValueToStringHelper(r'GAccountByPkVars') + ..add('id', id) ..add('limit', limit) ..add('offset', offset)) .toString(); } } -class GGetHistoryAndBalanceVarsBuilder - implements - Builder<GGetHistoryAndBalanceVars, GGetHistoryAndBalanceVarsBuilder> { - _$GGetHistoryAndBalanceVars? _$v; +class GAccountByPkVarsBuilder + implements Builder<GAccountByPkVars, GAccountByPkVarsBuilder> { + _$GAccountByPkVars? _$v; - String? _accountId; - String? get accountId => _$this._accountId; - set accountId(String? accountId) => _$this._accountId = accountId; + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; int? _limit; int? get limit => _$this._limit; @@ -622,12 +1051,12 @@ class GGetHistoryAndBalanceVarsBuilder int? get offset => _$this._offset; set offset(int? offset) => _$this._offset = offset; - GGetHistoryAndBalanceVarsBuilder(); + GAccountByPkVarsBuilder(); - GGetHistoryAndBalanceVarsBuilder get _$this { + GAccountByPkVarsBuilder get _$this { final $v = _$v; if ($v != null) { - _accountId = $v.accountId; + _id = $v.id; _limit = $v.limit; _offset = $v.offset; _$v = null; @@ -636,24 +1065,24 @@ class GGetHistoryAndBalanceVarsBuilder } @override - void replace(GGetHistoryAndBalanceVars other) { + void replace(GAccountByPkVars other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$GGetHistoryAndBalanceVars; + _$v = other as _$GAccountByPkVars; } @override - void update(void Function(GGetHistoryAndBalanceVarsBuilder)? updates) { + void update(void Function(GAccountByPkVarsBuilder)? updates) { if (updates != null) updates(this); } @override - GGetHistoryAndBalanceVars build() => _build(); + GAccountByPkVars build() => _build(); - _$GGetHistoryAndBalanceVars _build() { + _$GAccountByPkVars _build() { final _$result = _$v ?? - new _$GGetHistoryAndBalanceVars._( - accountId: BuiltValueNullFieldError.checkNotNull( - accountId, r'GGetHistoryAndBalanceVars', 'accountId'), + new _$GAccountByPkVars._( + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountByPkVars', 'id'), limit: limit, offset: offset); replace(_$result); @@ -661,4 +1090,1016 @@ class GGetHistoryAndBalanceVarsBuilder } } +class _$GAccountBasicByPkVars extends GAccountBasicByPkVars { + @override + final String id; + + factory _$GAccountBasicByPkVars( + [void Function(GAccountBasicByPkVarsBuilder)? updates]) => + (new GAccountBasicByPkVarsBuilder()..update(updates))._build(); + + _$GAccountBasicByPkVars._({required this.id}) : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'GAccountBasicByPkVars', 'id'); + } + + @override + GAccountBasicByPkVars rebuild( + void Function(GAccountBasicByPkVarsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountBasicByPkVarsBuilder toBuilder() => + new GAccountBasicByPkVarsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountBasicByPkVars && id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountBasicByPkVars') + ..add('id', id)) + .toString(); + } +} + +class GAccountBasicByPkVarsBuilder + implements Builder<GAccountBasicByPkVars, GAccountBasicByPkVarsBuilder> { + _$GAccountBasicByPkVars? _$v; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GAccountBasicByPkVarsBuilder(); + + GAccountBasicByPkVarsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GAccountBasicByPkVars other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountBasicByPkVars; + } + + @override + void update(void Function(GAccountBasicByPkVarsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountBasicByPkVars build() => _build(); + + _$GAccountBasicByPkVars _build() { + final _$result = _$v ?? + new _$GAccountBasicByPkVars._( + id: BuiltValueNullFieldError.checkNotNull( + id, r'GAccountBasicByPkVars', 'id')); + replace(_$result); + return _$result; + } +} + +class _$GAccountsByPkVars extends GAccountsByPkVars { + @override + final BuiltList<String> accountIds; + @override + final int? limit; + @override + final int? offset; + + factory _$GAccountsByPkVars( + [void Function(GAccountsByPkVarsBuilder)? updates]) => + (new GAccountsByPkVarsBuilder()..update(updates))._build(); + + _$GAccountsByPkVars._({required this.accountIds, this.limit, this.offset}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + accountIds, r'GAccountsByPkVars', 'accountIds'); + } + + @override + GAccountsByPkVars rebuild(void Function(GAccountsByPkVarsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountsByPkVarsBuilder toBuilder() => + new GAccountsByPkVarsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountsByPkVars && + accountIds == other.accountIds && + limit == other.limit && + offset == other.offset; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, accountIds.hashCode); + _$hash = $jc(_$hash, limit.hashCode); + _$hash = $jc(_$hash, offset.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountsByPkVars') + ..add('accountIds', accountIds) + ..add('limit', limit) + ..add('offset', offset)) + .toString(); + } +} + +class GAccountsByPkVarsBuilder + implements Builder<GAccountsByPkVars, GAccountsByPkVarsBuilder> { + _$GAccountsByPkVars? _$v; + + ListBuilder<String>? _accountIds; + ListBuilder<String> get accountIds => + _$this._accountIds ??= new ListBuilder<String>(); + set accountIds(ListBuilder<String>? accountIds) => + _$this._accountIds = accountIds; + + int? _limit; + int? get limit => _$this._limit; + set limit(int? limit) => _$this._limit = limit; + + int? _offset; + int? get offset => _$this._offset; + set offset(int? offset) => _$this._offset = offset; + + GAccountsByPkVarsBuilder(); + + GAccountsByPkVarsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _accountIds = $v.accountIds.toBuilder(); + _limit = $v.limit; + _offset = $v.offset; + _$v = null; + } + return this; + } + + @override + void replace(GAccountsByPkVars other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountsByPkVars; + } + + @override + void update(void Function(GAccountsByPkVarsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountsByPkVars build() => _build(); + + _$GAccountsByPkVars _build() { + _$GAccountsByPkVars _$result; + try { + _$result = _$v ?? + new _$GAccountsByPkVars._( + accountIds: accountIds.build(), limit: limit, offset: offset); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'accountIds'; + accountIds.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'GAccountsByPkVars', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GLastBlockVars extends GLastBlockVars { + factory _$GLastBlockVars([void Function(GLastBlockVarsBuilder)? updates]) => + (new GLastBlockVarsBuilder()..update(updates))._build(); + + _$GLastBlockVars._() : super._(); + + @override + GLastBlockVars rebuild(void Function(GLastBlockVarsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GLastBlockVarsBuilder toBuilder() => + new GLastBlockVarsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GLastBlockVars; + } + + @override + int get hashCode { + return 816187239; + } + + @override + String toString() { + return newBuiltValueToStringHelper(r'GLastBlockVars').toString(); + } +} + +class GLastBlockVarsBuilder + implements Builder<GLastBlockVars, GLastBlockVarsBuilder> { + _$GLastBlockVars? _$v; + + GLastBlockVarsBuilder(); + + @override + void replace(GLastBlockVars other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GLastBlockVars; + } + + @override + void update(void Function(GLastBlockVarsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GLastBlockVars build() => _build(); + + _$GLastBlockVars _build() { + final _$result = _$v ?? new _$GLastBlockVars._(); + replace(_$result); + return _$result; + } +} + +class _$GGetHistoryAndBalanceVars extends GGetHistoryAndBalanceVars { + @override + final String accountId; + @override + final int? limit; + @override + final int? offset; + + factory _$GGetHistoryAndBalanceVars( + [void Function(GGetHistoryAndBalanceVarsBuilder)? updates]) => + (new GGetHistoryAndBalanceVarsBuilder()..update(updates))._build(); + + _$GGetHistoryAndBalanceVars._( + {required this.accountId, this.limit, this.offset}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + accountId, r'GGetHistoryAndBalanceVars', 'accountId'); + } + + @override + GGetHistoryAndBalanceVars rebuild( + void Function(GGetHistoryAndBalanceVarsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GGetHistoryAndBalanceVarsBuilder toBuilder() => + new GGetHistoryAndBalanceVarsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGetHistoryAndBalanceVars && + accountId == other.accountId && + limit == other.limit && + offset == other.offset; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, accountId.hashCode); + _$hash = $jc(_$hash, limit.hashCode); + _$hash = $jc(_$hash, offset.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GGetHistoryAndBalanceVars') + ..add('accountId', accountId) + ..add('limit', limit) + ..add('offset', offset)) + .toString(); + } +} + +class GGetHistoryAndBalanceVarsBuilder + implements + Builder<GGetHistoryAndBalanceVars, GGetHistoryAndBalanceVarsBuilder> { + _$GGetHistoryAndBalanceVars? _$v; + + String? _accountId; + String? get accountId => _$this._accountId; + set accountId(String? accountId) => _$this._accountId = accountId; + + int? _limit; + int? get limit => _$this._limit; + set limit(int? limit) => _$this._limit = limit; + + int? _offset; + int? get offset => _$this._offset; + set offset(int? offset) => _$this._offset = offset; + + GGetHistoryAndBalanceVarsBuilder(); + + GGetHistoryAndBalanceVarsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _accountId = $v.accountId; + _limit = $v.limit; + _offset = $v.offset; + _$v = null; + } + return this; + } + + @override + void replace(GGetHistoryAndBalanceVars other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGetHistoryAndBalanceVars; + } + + @override + void update(void Function(GGetHistoryAndBalanceVarsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GGetHistoryAndBalanceVars build() => _build(); + + _$GGetHistoryAndBalanceVars _build() { + final _$result = _$v ?? + new _$GGetHistoryAndBalanceVars._( + accountId: BuiltValueNullFieldError.checkNotNull( + accountId, r'GGetHistoryAndBalanceVars', 'accountId'), + limit: limit, + offset: offset); + replace(_$result); + return _$result; + } +} + +class _$GCertFieldsVars extends GCertFieldsVars { + factory _$GCertFieldsVars([void Function(GCertFieldsVarsBuilder)? updates]) => + (new GCertFieldsVarsBuilder()..update(updates))._build(); + + _$GCertFieldsVars._() : super._(); + + @override + GCertFieldsVars rebuild(void Function(GCertFieldsVarsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GCertFieldsVarsBuilder toBuilder() => + new GCertFieldsVarsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GCertFieldsVars; + } + + @override + int get hashCode { + return 633575688; + } + + @override + String toString() { + return newBuiltValueToStringHelper(r'GCertFieldsVars').toString(); + } +} + +class GCertFieldsVarsBuilder + implements Builder<GCertFieldsVars, GCertFieldsVarsBuilder> { + _$GCertFieldsVars? _$v; + + GCertFieldsVarsBuilder(); + + @override + void replace(GCertFieldsVars other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GCertFieldsVars; + } + + @override + void update(void Function(GCertFieldsVarsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GCertFieldsVars build() => _build(); + + _$GCertFieldsVars _build() { + final _$result = _$v ?? new _$GCertFieldsVars._(); + replace(_$result); + return _$result; + } +} + +class _$GSmithCertFieldsVars extends GSmithCertFieldsVars { + factory _$GSmithCertFieldsVars( + [void Function(GSmithCertFieldsVarsBuilder)? updates]) => + (new GSmithCertFieldsVarsBuilder()..update(updates))._build(); + + _$GSmithCertFieldsVars._() : super._(); + + @override + GSmithCertFieldsVars rebuild( + void Function(GSmithCertFieldsVarsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GSmithCertFieldsVarsBuilder toBuilder() => + new GSmithCertFieldsVarsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GSmithCertFieldsVars; + } + + @override + int get hashCode { + return 79748027; + } + + @override + String toString() { + return newBuiltValueToStringHelper(r'GSmithCertFieldsVars').toString(); + } +} + +class GSmithCertFieldsVarsBuilder + implements Builder<GSmithCertFieldsVars, GSmithCertFieldsVarsBuilder> { + _$GSmithCertFieldsVars? _$v; + + GSmithCertFieldsVarsBuilder(); + + @override + void replace(GSmithCertFieldsVars other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GSmithCertFieldsVars; + } + + @override + void update(void Function(GSmithCertFieldsVarsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GSmithCertFieldsVars build() => _build(); + + _$GSmithCertFieldsVars _build() { + final _$result = _$v ?? new _$GSmithCertFieldsVars._(); + replace(_$result); + return _$result; + } +} + +class _$GSmithFieldsVars extends GSmithFieldsVars { + factory _$GSmithFieldsVars( + [void Function(GSmithFieldsVarsBuilder)? updates]) => + (new GSmithFieldsVarsBuilder()..update(updates))._build(); + + _$GSmithFieldsVars._() : super._(); + + @override + GSmithFieldsVars rebuild(void Function(GSmithFieldsVarsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GSmithFieldsVarsBuilder toBuilder() => + new GSmithFieldsVarsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GSmithFieldsVars; + } + + @override + int get hashCode { + return 634029961; + } + + @override + String toString() { + return newBuiltValueToStringHelper(r'GSmithFieldsVars').toString(); + } +} + +class GSmithFieldsVarsBuilder + implements Builder<GSmithFieldsVars, GSmithFieldsVarsBuilder> { + _$GSmithFieldsVars? _$v; + + GSmithFieldsVarsBuilder(); + + @override + void replace(GSmithFieldsVars other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GSmithFieldsVars; + } + + @override + void update(void Function(GSmithFieldsVarsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GSmithFieldsVars build() => _build(); + + _$GSmithFieldsVars _build() { + final _$result = _$v ?? new _$GSmithFieldsVars._(); + replace(_$result); + return _$result; + } +} + +class _$GOwnerKeyChangeFieldsVars extends GOwnerKeyChangeFieldsVars { + factory _$GOwnerKeyChangeFieldsVars( + [void Function(GOwnerKeyChangeFieldsVarsBuilder)? updates]) => + (new GOwnerKeyChangeFieldsVarsBuilder()..update(updates))._build(); + + _$GOwnerKeyChangeFieldsVars._() : super._(); + + @override + GOwnerKeyChangeFieldsVars rebuild( + void Function(GOwnerKeyChangeFieldsVarsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GOwnerKeyChangeFieldsVarsBuilder toBuilder() => + new GOwnerKeyChangeFieldsVarsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GOwnerKeyChangeFieldsVars; + } + + @override + int get hashCode { + return 1055270346; + } + + @override + String toString() { + return newBuiltValueToStringHelper(r'GOwnerKeyChangeFieldsVars').toString(); + } +} + +class GOwnerKeyChangeFieldsVarsBuilder + implements + Builder<GOwnerKeyChangeFieldsVars, GOwnerKeyChangeFieldsVarsBuilder> { + _$GOwnerKeyChangeFieldsVars? _$v; + + GOwnerKeyChangeFieldsVarsBuilder(); + + @override + void replace(GOwnerKeyChangeFieldsVars other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GOwnerKeyChangeFieldsVars; + } + + @override + void update(void Function(GOwnerKeyChangeFieldsVarsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GOwnerKeyChangeFieldsVars build() => _build(); + + _$GOwnerKeyChangeFieldsVars _build() { + final _$result = _$v ?? new _$GOwnerKeyChangeFieldsVars._(); + replace(_$result); + return _$result; + } +} + +class _$GIdentityBasicFieldsVars extends GIdentityBasicFieldsVars { + factory _$GIdentityBasicFieldsVars( + [void Function(GIdentityBasicFieldsVarsBuilder)? updates]) => + (new GIdentityBasicFieldsVarsBuilder()..update(updates))._build(); + + _$GIdentityBasicFieldsVars._() : super._(); + + @override + GIdentityBasicFieldsVars rebuild( + void Function(GIdentityBasicFieldsVarsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityBasicFieldsVarsBuilder toBuilder() => + new GIdentityBasicFieldsVarsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityBasicFieldsVars; + } + + @override + int get hashCode { + return 585637490; + } + + @override + String toString() { + return newBuiltValueToStringHelper(r'GIdentityBasicFieldsVars').toString(); + } +} + +class GIdentityBasicFieldsVarsBuilder + implements + Builder<GIdentityBasicFieldsVars, GIdentityBasicFieldsVarsBuilder> { + _$GIdentityBasicFieldsVars? _$v; + + GIdentityBasicFieldsVarsBuilder(); + + @override + void replace(GIdentityBasicFieldsVars other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityBasicFieldsVars; + } + + @override + void update(void Function(GIdentityBasicFieldsVarsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentityBasicFieldsVars build() => _build(); + + _$GIdentityBasicFieldsVars _build() { + final _$result = _$v ?? new _$GIdentityBasicFieldsVars._(); + replace(_$result); + return _$result; + } +} + +class _$GIdentityFieldsVars extends GIdentityFieldsVars { + factory _$GIdentityFieldsVars( + [void Function(GIdentityFieldsVarsBuilder)? updates]) => + (new GIdentityFieldsVarsBuilder()..update(updates))._build(); + + _$GIdentityFieldsVars._() : super._(); + + @override + GIdentityFieldsVars rebuild( + void Function(GIdentityFieldsVarsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GIdentityFieldsVarsBuilder toBuilder() => + new GIdentityFieldsVarsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GIdentityFieldsVars; + } + + @override + int get hashCode { + return 971826826; + } + + @override + String toString() { + return newBuiltValueToStringHelper(r'GIdentityFieldsVars').toString(); + } +} + +class GIdentityFieldsVarsBuilder + implements Builder<GIdentityFieldsVars, GIdentityFieldsVarsBuilder> { + _$GIdentityFieldsVars? _$v; + + GIdentityFieldsVarsBuilder(); + + @override + void replace(GIdentityFieldsVars other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GIdentityFieldsVars; + } + + @override + void update(void Function(GIdentityFieldsVarsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GIdentityFieldsVars build() => _build(); + + _$GIdentityFieldsVars _build() { + final _$result = _$v ?? new _$GIdentityFieldsVars._(); + replace(_$result); + return _$result; + } +} + +class _$GCommentsIssuedVars extends GCommentsIssuedVars { + factory _$GCommentsIssuedVars( + [void Function(GCommentsIssuedVarsBuilder)? updates]) => + (new GCommentsIssuedVarsBuilder()..update(updates))._build(); + + _$GCommentsIssuedVars._() : super._(); + + @override + GCommentsIssuedVars rebuild( + void Function(GCommentsIssuedVarsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GCommentsIssuedVarsBuilder toBuilder() => + new GCommentsIssuedVarsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GCommentsIssuedVars; + } + + @override + int get hashCode { + return 291561414; + } + + @override + String toString() { + return newBuiltValueToStringHelper(r'GCommentsIssuedVars').toString(); + } +} + +class GCommentsIssuedVarsBuilder + implements Builder<GCommentsIssuedVars, GCommentsIssuedVarsBuilder> { + _$GCommentsIssuedVars? _$v; + + GCommentsIssuedVarsBuilder(); + + @override + void replace(GCommentsIssuedVars other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GCommentsIssuedVars; + } + + @override + void update(void Function(GCommentsIssuedVarsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GCommentsIssuedVars build() => _build(); + + _$GCommentsIssuedVars _build() { + final _$result = _$v ?? new _$GCommentsIssuedVars._(); + replace(_$result); + return _$result; + } +} + +class _$GAccountBasicFieldsVars extends GAccountBasicFieldsVars { + factory _$GAccountBasicFieldsVars( + [void Function(GAccountBasicFieldsVarsBuilder)? updates]) => + (new GAccountBasicFieldsVarsBuilder()..update(updates))._build(); + + _$GAccountBasicFieldsVars._() : super._(); + + @override + GAccountBasicFieldsVars rebuild( + void Function(GAccountBasicFieldsVarsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountBasicFieldsVarsBuilder toBuilder() => + new GAccountBasicFieldsVarsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountBasicFieldsVars; + } + + @override + int get hashCode { + return 913040934; + } + + @override + String toString() { + return newBuiltValueToStringHelper(r'GAccountBasicFieldsVars').toString(); + } +} + +class GAccountBasicFieldsVarsBuilder + implements + Builder<GAccountBasicFieldsVars, GAccountBasicFieldsVarsBuilder> { + _$GAccountBasicFieldsVars? _$v; + + GAccountBasicFieldsVarsBuilder(); + + @override + void replace(GAccountBasicFieldsVars other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountBasicFieldsVars; + } + + @override + void update(void Function(GAccountBasicFieldsVarsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountBasicFieldsVars build() => _build(); + + _$GAccountBasicFieldsVars _build() { + final _$result = _$v ?? new _$GAccountBasicFieldsVars._(); + replace(_$result); + return _$result; + } +} + +class _$GAccountFieldsVars extends GAccountFieldsVars { + @override + final int? limit; + @override + final int? offset; + + factory _$GAccountFieldsVars( + [void Function(GAccountFieldsVarsBuilder)? updates]) => + (new GAccountFieldsVarsBuilder()..update(updates))._build(); + + _$GAccountFieldsVars._({this.limit, this.offset}) : super._(); + + @override + GAccountFieldsVars rebuild( + void Function(GAccountFieldsVarsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GAccountFieldsVarsBuilder toBuilder() => + new GAccountFieldsVarsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GAccountFieldsVars && + limit == other.limit && + offset == other.offset; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, limit.hashCode); + _$hash = $jc(_$hash, offset.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GAccountFieldsVars') + ..add('limit', limit) + ..add('offset', offset)) + .toString(); + } +} + +class GAccountFieldsVarsBuilder + implements Builder<GAccountFieldsVars, GAccountFieldsVarsBuilder> { + _$GAccountFieldsVars? _$v; + + int? _limit; + int? get limit => _$this._limit; + set limit(int? limit) => _$this._limit = limit; + + int? _offset; + int? get offset => _$this._offset; + set offset(int? offset) => _$this._offset = offset; + + GAccountFieldsVarsBuilder(); + + GAccountFieldsVarsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _limit = $v.limit; + _offset = $v.offset; + _$v = null; + } + return this; + } + + @override + void replace(GAccountFieldsVars other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GAccountFieldsVars; + } + + @override + void update(void Function(GAccountFieldsVarsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GAccountFieldsVars build() => _build(); + + _$GAccountFieldsVars _build() { + final _$result = + _$v ?? new _$GAccountFieldsVars._(limit: limit, offset: offset); + replace(_$result); + return _$result; + } +} + +class _$GTransferFieldsVars extends GTransferFieldsVars { + factory _$GTransferFieldsVars( + [void Function(GTransferFieldsVarsBuilder)? updates]) => + (new GTransferFieldsVarsBuilder()..update(updates))._build(); + + _$GTransferFieldsVars._() : super._(); + + @override + GTransferFieldsVars rebuild( + void Function(GTransferFieldsVarsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GTransferFieldsVarsBuilder toBuilder() => + new GTransferFieldsVarsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GTransferFieldsVars; + } + + @override + int get hashCode { + return 96410947; + } + + @override + String toString() { + return newBuiltValueToStringHelper(r'GTransferFieldsVars').toString(); + } +} + +class GTransferFieldsVarsBuilder + implements Builder<GTransferFieldsVars, GTransferFieldsVarsBuilder> { + _$GTransferFieldsVars? _$v; + + GTransferFieldsVarsBuilder(); + + @override + void replace(GTransferFieldsVars other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GTransferFieldsVars; + } + + @override + void update(void Function(GTransferFieldsVarsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GTransferFieldsVars build() => _build(); + + _$GTransferFieldsVars _build() { + final _$result = _$v ?? new _$GTransferFieldsVars._(); + replace(_$result); + return _$result; + } +} + // ignore_for_file: deprecated_member_use_from_same_package,type=lint diff --git a/packages/duniter_indexer/lib/graphql/schema/__generated__/serializers.gql.dart b/packages/duniter_indexer/lib/graphql/schema/__generated__/serializers.gql.dart index 2b6ce2fb..41b6ab93 100644 --- a/packages/duniter_indexer/lib/graphql/schema/__generated__/serializers.gql.dart +++ b/packages/duniter_indexer/lib/graphql/schema/__generated__/serializers.gql.dart @@ -11,40 +11,365 @@ import 'package:built_value/src/json_object_serializer.dart' import 'package:built_value/standard_json_plugin.dart' show StandardJsonPlugin; import 'package:duniter_indexer/graphql/schema/__generated__/duniter-indexer-queries.data.gql.dart' show + GAccountBasicByPkData, + GAccountBasicByPkData_accountByPk, + GAccountBasicByPkData_accountByPk_identity, + GAccountBasicFieldsData, + GAccountBasicFieldsData_identity, GAccountByPkData, GAccountByPkData_accountByPk, - GAccountsByNameData, - GAccountsByNameData_identity, - GAccountsByNameData_identity_account, - GAccountsByNameOrPkData, - GAccountsByNameOrPkData_identity, - GAccountsByNameOrPkData_identity_account, + GAccountByPkData_accountByPk_commentsIssued, + GAccountByPkData_accountByPk_commentsIssuedAggregate, + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate, + GAccountByPkData_accountByPk_identity, + GAccountByPkData_accountByPk_identity_certIssued, + GAccountByPkData_accountByPk_identity_certIssuedAggregate, + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate, + GAccountByPkData_accountByPk_identity_certIssued_issuer, + GAccountByPkData_accountByPk_identity_certIssued_receiver, + GAccountByPkData_accountByPk_identity_certReceived, + GAccountByPkData_accountByPk_identity_certReceivedAggregate, + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate, + GAccountByPkData_accountByPk_identity_certReceived_issuer, + GAccountByPkData_accountByPk_identity_certReceived_receiver, + GAccountByPkData_accountByPk_identity_linkedAccount, + GAccountByPkData_accountByPk_identity_linkedAccountAggregate, + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate, + GAccountByPkData_accountByPk_identity_membershipHistory, + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate, + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate, + GAccountByPkData_accountByPk_identity_ownerKeyChange, + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate, + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate, + GAccountByPkData_accountByPk_identity_smith, + GAccountByPkData_accountByPk_identity_smith_smithCertIssued, + GAccountByPkData_accountByPk_identity_smith_smithCertReceived, + GAccountByPkData_accountByPk_identity_udHistory, + GAccountByPkData_accountByPk_linkedIdentity, + GAccountByPkData_accountByPk_removedIdentities, + GAccountByPkData_accountByPk_removedIdentitiesAggregate, + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate, + GAccountByPkData_accountByPk_transfersIssued, + GAccountByPkData_accountByPk_transfersIssuedAggregate, + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate, + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum, + GAccountByPkData_accountByPk_transfersIssued_comment, + GAccountByPkData_accountByPk_transfersIssued_from, + GAccountByPkData_accountByPk_transfersIssued_to, + GAccountByPkData_accountByPk_transfersReceived, + GAccountByPkData_accountByPk_transfersReceivedAggregate, + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate, + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum, + GAccountByPkData_accountByPk_transfersReceived_comment, + GAccountByPkData_accountByPk_transfersReceived_from, + GAccountByPkData_accountByPk_transfersReceived_to, + GAccountByPkData_accountByPk_wasIdentity, + GAccountByPkData_accountByPk_wasIdentityAggregate, + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate, + GAccountFieldsData, + GAccountFieldsData_commentsIssued, + GAccountFieldsData_commentsIssuedAggregate, + GAccountFieldsData_commentsIssuedAggregate_aggregate, + GAccountFieldsData_identity, + GAccountFieldsData_identity_certIssued, + GAccountFieldsData_identity_certIssuedAggregate, + GAccountFieldsData_identity_certIssuedAggregate_aggregate, + GAccountFieldsData_identity_certIssued_issuer, + GAccountFieldsData_identity_certIssued_receiver, + GAccountFieldsData_identity_certReceived, + GAccountFieldsData_identity_certReceivedAggregate, + GAccountFieldsData_identity_certReceivedAggregate_aggregate, + GAccountFieldsData_identity_certReceived_issuer, + GAccountFieldsData_identity_certReceived_receiver, + GAccountFieldsData_identity_linkedAccount, + GAccountFieldsData_identity_linkedAccountAggregate, + GAccountFieldsData_identity_linkedAccountAggregate_aggregate, + GAccountFieldsData_identity_membershipHistory, + GAccountFieldsData_identity_membershipHistoryAggregate, + GAccountFieldsData_identity_membershipHistoryAggregate_aggregate, + GAccountFieldsData_identity_ownerKeyChange, + GAccountFieldsData_identity_ownerKeyChangeAggregate, + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate, + GAccountFieldsData_identity_smith, + GAccountFieldsData_identity_smith_smithCertIssued, + GAccountFieldsData_identity_smith_smithCertReceived, + GAccountFieldsData_identity_udHistory, + GAccountFieldsData_linkedIdentity, + GAccountFieldsData_removedIdentities, + GAccountFieldsData_removedIdentitiesAggregate, + GAccountFieldsData_removedIdentitiesAggregate_aggregate, + GAccountFieldsData_transfersIssued, + GAccountFieldsData_transfersIssuedAggregate, + GAccountFieldsData_transfersIssuedAggregate_aggregate, + GAccountFieldsData_transfersIssuedAggregate_aggregate_sum, + GAccountFieldsData_transfersIssued_comment, + GAccountFieldsData_transfersIssued_from, + GAccountFieldsData_transfersIssued_to, + GAccountFieldsData_transfersReceived, + GAccountFieldsData_transfersReceivedAggregate, + GAccountFieldsData_transfersReceivedAggregate_aggregate, + GAccountFieldsData_transfersReceivedAggregate_aggregate_sum, + GAccountFieldsData_transfersReceived_comment, + GAccountFieldsData_transfersReceived_from, + GAccountFieldsData_transfersReceived_to, + GAccountFieldsData_wasIdentity, + GAccountFieldsData_wasIdentityAggregate, + GAccountFieldsData_wasIdentityAggregate_aggregate, + GAccountsByPkData, + GAccountsByPkData_account, + GAccountsByPkData_account_commentsIssued, + GAccountsByPkData_account_commentsIssuedAggregate, + GAccountsByPkData_account_commentsIssuedAggregate_aggregate, + GAccountsByPkData_account_identity, + GAccountsByPkData_account_identity_certIssued, + GAccountsByPkData_account_identity_certIssuedAggregate, + GAccountsByPkData_account_identity_certIssuedAggregate_aggregate, + GAccountsByPkData_account_identity_certIssued_issuer, + GAccountsByPkData_account_identity_certIssued_receiver, + GAccountsByPkData_account_identity_certReceived, + GAccountsByPkData_account_identity_certReceivedAggregate, + GAccountsByPkData_account_identity_certReceivedAggregate_aggregate, + GAccountsByPkData_account_identity_certReceived_issuer, + GAccountsByPkData_account_identity_certReceived_receiver, + GAccountsByPkData_account_identity_linkedAccount, + GAccountsByPkData_account_identity_linkedAccountAggregate, + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate, + GAccountsByPkData_account_identity_membershipHistory, + GAccountsByPkData_account_identity_membershipHistoryAggregate, + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate, + GAccountsByPkData_account_identity_ownerKeyChange, + GAccountsByPkData_account_identity_ownerKeyChangeAggregate, + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate, + GAccountsByPkData_account_identity_smith, + GAccountsByPkData_account_identity_smith_smithCertIssued, + GAccountsByPkData_account_identity_smith_smithCertReceived, + GAccountsByPkData_account_identity_udHistory, + GAccountsByPkData_account_linkedIdentity, + GAccountsByPkData_account_removedIdentities, + GAccountsByPkData_account_removedIdentitiesAggregate, + GAccountsByPkData_account_removedIdentitiesAggregate_aggregate, + GAccountsByPkData_account_transfersIssued, + GAccountsByPkData_account_transfersIssuedAggregate, + GAccountsByPkData_account_transfersIssuedAggregate_aggregate, + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum, + GAccountsByPkData_account_transfersIssued_comment, + GAccountsByPkData_account_transfersIssued_from, + GAccountsByPkData_account_transfersIssued_to, + GAccountsByPkData_account_transfersReceived, + GAccountsByPkData_account_transfersReceivedAggregate, + GAccountsByPkData_account_transfersReceivedAggregate_aggregate, + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum, + GAccountsByPkData_account_transfersReceived_comment, + GAccountsByPkData_account_transfersReceived_from, + GAccountsByPkData_account_transfersReceived_to, + GAccountsByPkData_account_wasIdentity, + GAccountsByPkData_account_wasIdentityAggregate, + GAccountsByPkData_account_wasIdentityAggregate_aggregate, + GCertFieldsData, + GCertFieldsData_issuer, + GCertFieldsData_receiver, + GCommentsIssuedData, GGetHistoryAndBalanceData, GGetHistoryAndBalanceData_account, + GGetHistoryAndBalanceData_account_commentsIssued, + GGetHistoryAndBalanceData_account_commentsIssuedAggregate, + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity, + GGetHistoryAndBalanceData_account_identity_certIssued, + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate, + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_certIssued_issuer, + GGetHistoryAndBalanceData_account_identity_certIssued_receiver, + GGetHistoryAndBalanceData_account_identity_certReceived, + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate, + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_certReceived_issuer, + GGetHistoryAndBalanceData_account_identity_certReceived_receiver, + GGetHistoryAndBalanceData_account_identity_linkedAccount, + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate, + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_membershipHistory, + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate, + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_ownerKeyChange, + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate, + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_smith, + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued, + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived, + GGetHistoryAndBalanceData_account_identity_udHistory, + GGetHistoryAndBalanceData_account_linkedIdentity, + GGetHistoryAndBalanceData_account_removedIdentities, + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate, + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate, GGetHistoryAndBalanceData_account_transfersIssued, + GGetHistoryAndBalanceData_account_transfersIssuedAggregate, + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate, + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum, GGetHistoryAndBalanceData_account_transfersIssued_comment, GGetHistoryAndBalanceData_account_transfersIssued_from, GGetHistoryAndBalanceData_account_transfersIssued_to, GGetHistoryAndBalanceData_account_transfersReceived, + GGetHistoryAndBalanceData_account_transfersReceivedAggregate, + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate, + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum, GGetHistoryAndBalanceData_account_transfersReceived_comment, GGetHistoryAndBalanceData_account_transfersReceived_from, GGetHistoryAndBalanceData_account_transfersReceived_to, + GGetHistoryAndBalanceData_account_wasIdentity, + GGetHistoryAndBalanceData_account_wasIdentityAggregate, + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate, + GIdentitiesByNameData, + GIdentitiesByNameData_identity, + GIdentitiesByNameData_identity_certIssued, + GIdentitiesByNameData_identity_certIssuedAggregate, + GIdentitiesByNameData_identity_certIssuedAggregate_aggregate, + GIdentitiesByNameData_identity_certIssued_issuer, + GIdentitiesByNameData_identity_certIssued_receiver, + GIdentitiesByNameData_identity_certReceived, + GIdentitiesByNameData_identity_certReceivedAggregate, + GIdentitiesByNameData_identity_certReceivedAggregate_aggregate, + GIdentitiesByNameData_identity_certReceived_issuer, + GIdentitiesByNameData_identity_certReceived_receiver, + GIdentitiesByNameData_identity_linkedAccount, + GIdentitiesByNameData_identity_linkedAccountAggregate, + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate, + GIdentitiesByNameData_identity_membershipHistory, + GIdentitiesByNameData_identity_membershipHistoryAggregate, + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate, + GIdentitiesByNameData_identity_ownerKeyChange, + GIdentitiesByNameData_identity_ownerKeyChangeAggregate, + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate, + GIdentitiesByNameData_identity_smith, + GIdentitiesByNameData_identity_smith_smithCertIssued, + GIdentitiesByNameData_identity_smith_smithCertReceived, + GIdentitiesByNameData_identity_udHistory, + GIdentitiesByNameOrPkData, + GIdentitiesByNameOrPkData_identity, + GIdentitiesByNameOrPkData_identity_certIssued, + GIdentitiesByNameOrPkData_identity_certIssuedAggregate, + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_certIssued_issuer, + GIdentitiesByNameOrPkData_identity_certIssued_receiver, + GIdentitiesByNameOrPkData_identity_certReceived, + GIdentitiesByNameOrPkData_identity_certReceivedAggregate, + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_certReceived_issuer, + GIdentitiesByNameOrPkData_identity_certReceived_receiver, + GIdentitiesByNameOrPkData_identity_linkedAccount, + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate, + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_membershipHistory, + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate, + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_ownerKeyChange, + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate, + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_smith, + GIdentitiesByNameOrPkData_identity_smith_smithCertIssued, + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived, + GIdentitiesByNameOrPkData_identity_udHistory, + GIdentitiesByPkData, + GIdentitiesByPkData_identity, + GIdentitiesByPkData_identity_certIssued, + GIdentitiesByPkData_identity_certIssuedAggregate, + GIdentitiesByPkData_identity_certIssuedAggregate_aggregate, + GIdentitiesByPkData_identity_certIssued_issuer, + GIdentitiesByPkData_identity_certIssued_receiver, + GIdentitiesByPkData_identity_certReceived, + GIdentitiesByPkData_identity_certReceivedAggregate, + GIdentitiesByPkData_identity_certReceivedAggregate_aggregate, + GIdentitiesByPkData_identity_certReceived_issuer, + GIdentitiesByPkData_identity_certReceived_receiver, + GIdentitiesByPkData_identity_linkedAccount, + GIdentitiesByPkData_identity_linkedAccountAggregate, + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate, + GIdentitiesByPkData_identity_membershipHistory, + GIdentitiesByPkData_identity_membershipHistoryAggregate, + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate, + GIdentitiesByPkData_identity_ownerKeyChange, + GIdentitiesByPkData_identity_ownerKeyChangeAggregate, + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate, + GIdentitiesByPkData_identity_smith, + GIdentitiesByPkData_identity_smith_smithCertIssued, + GIdentitiesByPkData_identity_smith_smithCertReceived, + GIdentitiesByPkData_identity_udHistory, + GIdentityBasicFieldsData, + GIdentityFieldsData, + GIdentityFieldsData_certIssued, + GIdentityFieldsData_certIssuedAggregate, + GIdentityFieldsData_certIssuedAggregate_aggregate, + GIdentityFieldsData_certIssued_issuer, + GIdentityFieldsData_certIssued_receiver, + GIdentityFieldsData_certReceived, + GIdentityFieldsData_certReceivedAggregate, + GIdentityFieldsData_certReceivedAggregate_aggregate, + GIdentityFieldsData_certReceived_issuer, + GIdentityFieldsData_certReceived_receiver, + GIdentityFieldsData_linkedAccount, + GIdentityFieldsData_linkedAccountAggregate, + GIdentityFieldsData_linkedAccountAggregate_aggregate, + GIdentityFieldsData_membershipHistory, + GIdentityFieldsData_membershipHistoryAggregate, + GIdentityFieldsData_membershipHistoryAggregate_aggregate, + GIdentityFieldsData_ownerKeyChange, + GIdentityFieldsData_ownerKeyChangeAggregate, + GIdentityFieldsData_ownerKeyChangeAggregate_aggregate, + GIdentityFieldsData_smith, + GIdentityFieldsData_smith_smithCertIssued, + GIdentityFieldsData_smith_smithCertReceived, + GIdentityFieldsData_udHistory, GLastBlockData, - GLastBlockData_block; + GLastBlockData_block, + GOwnerKeyChangeFieldsData, + GSmithCertFieldsData, + GSmithFieldsData, + GSmithFieldsData_smithCertIssued, + GSmithFieldsData_smithCertReceived, + GTransferFieldsData, + GTransferFieldsData_comment, + GTransferFieldsData_from, + GTransferFieldsData_to; import 'package:duniter_indexer/graphql/schema/__generated__/duniter-indexer-queries.req.gql.dart' show + GAccountBasicByPkReq, + GAccountBasicFieldsReq, GAccountByPkReq, - GAccountsByNameOrPkReq, - GAccountsByNameReq, + GAccountFieldsReq, + GAccountsByPkReq, + GCertFieldsReq, + GCommentsIssuedReq, GGetHistoryAndBalanceReq, - GLastBlockReq; + GIdentitiesByNameOrPkReq, + GIdentitiesByNameReq, + GIdentitiesByPkReq, + GIdentityBasicFieldsReq, + GIdentityFieldsReq, + GLastBlockReq, + GOwnerKeyChangeFieldsReq, + GSmithCertFieldsReq, + GSmithFieldsReq, + GTransferFieldsReq; import 'package:duniter_indexer/graphql/schema/__generated__/duniter-indexer-queries.var.gql.dart' show + GAccountBasicByPkVars, + GAccountBasicFieldsVars, GAccountByPkVars, - GAccountsByNameOrPkVars, - GAccountsByNameVars, + GAccountFieldsVars, + GAccountsByPkVars, + GCertFieldsVars, + GCommentsIssuedVars, GGetHistoryAndBalanceVars, - GLastBlockVars; + GIdentitiesByNameOrPkVars, + GIdentitiesByNameVars, + GIdentitiesByPkVars, + GIdentityBasicFieldsVars, + GIdentityFieldsVars, + GLastBlockVars, + GOwnerKeyChangeFieldsVars, + GSmithCertFieldsVars, + GSmithFieldsVars, + GTransferFieldsVars; import 'package:duniter_indexer/graphql/schema/__generated__/duniter-indexer.schema.schema.gql.dart' show GAccountAggregateBoolExp, @@ -388,11 +713,119 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GAccountAggregateBoolExp, GAccountAggregateOrderBy, GAccountAvgOrderBy, + GAccountBasicByPkData, + GAccountBasicByPkData_accountByPk, + GAccountBasicByPkData_accountByPk_identity, + GAccountBasicByPkReq, + GAccountBasicByPkVars, + GAccountBasicFieldsData, + GAccountBasicFieldsData_identity, + GAccountBasicFieldsReq, + GAccountBasicFieldsVars, GAccountBoolExp, GAccountByPkData, GAccountByPkData_accountByPk, + GAccountByPkData_accountByPk_commentsIssued, + GAccountByPkData_accountByPk_commentsIssuedAggregate, + GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate, + GAccountByPkData_accountByPk_identity, + GAccountByPkData_accountByPk_identity_certIssued, + GAccountByPkData_accountByPk_identity_certIssuedAggregate, + GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate, + GAccountByPkData_accountByPk_identity_certIssued_issuer, + GAccountByPkData_accountByPk_identity_certIssued_receiver, + GAccountByPkData_accountByPk_identity_certReceived, + GAccountByPkData_accountByPk_identity_certReceivedAggregate, + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate, + GAccountByPkData_accountByPk_identity_certReceived_issuer, + GAccountByPkData_accountByPk_identity_certReceived_receiver, + GAccountByPkData_accountByPk_identity_linkedAccount, + GAccountByPkData_accountByPk_identity_linkedAccountAggregate, + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate, + GAccountByPkData_accountByPk_identity_membershipHistory, + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate, + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate, + GAccountByPkData_accountByPk_identity_ownerKeyChange, + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate, + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate, + GAccountByPkData_accountByPk_identity_smith, + GAccountByPkData_accountByPk_identity_smith_smithCertIssued, + GAccountByPkData_accountByPk_identity_smith_smithCertReceived, + GAccountByPkData_accountByPk_identity_udHistory, + GAccountByPkData_accountByPk_linkedIdentity, + GAccountByPkData_accountByPk_removedIdentities, + GAccountByPkData_accountByPk_removedIdentitiesAggregate, + GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate, + GAccountByPkData_accountByPk_transfersIssued, + GAccountByPkData_accountByPk_transfersIssuedAggregate, + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate, + GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum, + GAccountByPkData_accountByPk_transfersIssued_comment, + GAccountByPkData_accountByPk_transfersIssued_from, + GAccountByPkData_accountByPk_transfersIssued_to, + GAccountByPkData_accountByPk_transfersReceived, + GAccountByPkData_accountByPk_transfersReceivedAggregate, + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate, + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum, + GAccountByPkData_accountByPk_transfersReceived_comment, + GAccountByPkData_accountByPk_transfersReceived_from, + GAccountByPkData_accountByPk_transfersReceived_to, + GAccountByPkData_accountByPk_wasIdentity, + GAccountByPkData_accountByPk_wasIdentityAggregate, + GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate, GAccountByPkReq, GAccountByPkVars, + GAccountFieldsData, + GAccountFieldsData_commentsIssued, + GAccountFieldsData_commentsIssuedAggregate, + GAccountFieldsData_commentsIssuedAggregate_aggregate, + GAccountFieldsData_identity, + GAccountFieldsData_identity_certIssued, + GAccountFieldsData_identity_certIssuedAggregate, + GAccountFieldsData_identity_certIssuedAggregate_aggregate, + GAccountFieldsData_identity_certIssued_issuer, + GAccountFieldsData_identity_certIssued_receiver, + GAccountFieldsData_identity_certReceived, + GAccountFieldsData_identity_certReceivedAggregate, + GAccountFieldsData_identity_certReceivedAggregate_aggregate, + GAccountFieldsData_identity_certReceived_issuer, + GAccountFieldsData_identity_certReceived_receiver, + GAccountFieldsData_identity_linkedAccount, + GAccountFieldsData_identity_linkedAccountAggregate, + GAccountFieldsData_identity_linkedAccountAggregate_aggregate, + GAccountFieldsData_identity_membershipHistory, + GAccountFieldsData_identity_membershipHistoryAggregate, + GAccountFieldsData_identity_membershipHistoryAggregate_aggregate, + GAccountFieldsData_identity_ownerKeyChange, + GAccountFieldsData_identity_ownerKeyChangeAggregate, + GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate, + GAccountFieldsData_identity_smith, + GAccountFieldsData_identity_smith_smithCertIssued, + GAccountFieldsData_identity_smith_smithCertReceived, + GAccountFieldsData_identity_udHistory, + GAccountFieldsData_linkedIdentity, + GAccountFieldsData_removedIdentities, + GAccountFieldsData_removedIdentitiesAggregate, + GAccountFieldsData_removedIdentitiesAggregate_aggregate, + GAccountFieldsData_transfersIssued, + GAccountFieldsData_transfersIssuedAggregate, + GAccountFieldsData_transfersIssuedAggregate_aggregate, + GAccountFieldsData_transfersIssuedAggregate_aggregate_sum, + GAccountFieldsData_transfersIssued_comment, + GAccountFieldsData_transfersIssued_from, + GAccountFieldsData_transfersIssued_to, + GAccountFieldsData_transfersReceived, + GAccountFieldsData_transfersReceivedAggregate, + GAccountFieldsData_transfersReceivedAggregate_aggregate, + GAccountFieldsData_transfersReceivedAggregate_aggregate_sum, + GAccountFieldsData_transfersReceived_comment, + GAccountFieldsData_transfersReceived_from, + GAccountFieldsData_transfersReceived_to, + GAccountFieldsData_wasIdentity, + GAccountFieldsData_wasIdentityAggregate, + GAccountFieldsData_wasIdentityAggregate_aggregate, + GAccountFieldsReq, + GAccountFieldsVars, GAccountMaxOrderBy, GAccountMinOrderBy, GAccountOrderBy, @@ -408,16 +841,58 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GAccountVarPopOrderBy, GAccountVarSampOrderBy, GAccountVarianceOrderBy, - GAccountsByNameData, - GAccountsByNameData_identity, - GAccountsByNameData_identity_account, - GAccountsByNameOrPkData, - GAccountsByNameOrPkData_identity, - GAccountsByNameOrPkData_identity_account, - GAccountsByNameOrPkReq, - GAccountsByNameOrPkVars, - GAccountsByNameReq, - GAccountsByNameVars, + GAccountsByPkData, + GAccountsByPkData_account, + GAccountsByPkData_account_commentsIssued, + GAccountsByPkData_account_commentsIssuedAggregate, + GAccountsByPkData_account_commentsIssuedAggregate_aggregate, + GAccountsByPkData_account_identity, + GAccountsByPkData_account_identity_certIssued, + GAccountsByPkData_account_identity_certIssuedAggregate, + GAccountsByPkData_account_identity_certIssuedAggregate_aggregate, + GAccountsByPkData_account_identity_certIssued_issuer, + GAccountsByPkData_account_identity_certIssued_receiver, + GAccountsByPkData_account_identity_certReceived, + GAccountsByPkData_account_identity_certReceivedAggregate, + GAccountsByPkData_account_identity_certReceivedAggregate_aggregate, + GAccountsByPkData_account_identity_certReceived_issuer, + GAccountsByPkData_account_identity_certReceived_receiver, + GAccountsByPkData_account_identity_linkedAccount, + GAccountsByPkData_account_identity_linkedAccountAggregate, + GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate, + GAccountsByPkData_account_identity_membershipHistory, + GAccountsByPkData_account_identity_membershipHistoryAggregate, + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate, + GAccountsByPkData_account_identity_ownerKeyChange, + GAccountsByPkData_account_identity_ownerKeyChangeAggregate, + GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate, + GAccountsByPkData_account_identity_smith, + GAccountsByPkData_account_identity_smith_smithCertIssued, + GAccountsByPkData_account_identity_smith_smithCertReceived, + GAccountsByPkData_account_identity_udHistory, + GAccountsByPkData_account_linkedIdentity, + GAccountsByPkData_account_removedIdentities, + GAccountsByPkData_account_removedIdentitiesAggregate, + GAccountsByPkData_account_removedIdentitiesAggregate_aggregate, + GAccountsByPkData_account_transfersIssued, + GAccountsByPkData_account_transfersIssuedAggregate, + GAccountsByPkData_account_transfersIssuedAggregate_aggregate, + GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum, + GAccountsByPkData_account_transfersIssued_comment, + GAccountsByPkData_account_transfersIssued_from, + GAccountsByPkData_account_transfersIssued_to, + GAccountsByPkData_account_transfersReceived, + GAccountsByPkData_account_transfersReceivedAggregate, + GAccountsByPkData_account_transfersReceivedAggregate_aggregate, + GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum, + GAccountsByPkData_account_transfersReceived_comment, + GAccountsByPkData_account_transfersReceived_from, + GAccountsByPkData_account_transfersReceived_to, + GAccountsByPkData_account_wasIdentity, + GAccountsByPkData_account_wasIdentityAggregate, + GAccountsByPkData_account_wasIdentityAggregate_aggregate, + GAccountsByPkReq, + GAccountsByPkVars, GBlockBoolExp, GBlockOrderBy, GBlockSelectColumn, @@ -457,6 +932,11 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GCertEventVarPopOrderBy, GCertEventVarSampOrderBy, GCertEventVarianceOrderBy, + GCertFieldsData, + GCertFieldsData_issuer, + GCertFieldsData_receiver, + GCertFieldsReq, + GCertFieldsVars, GCertMaxOrderBy, GCertMinOrderBy, GCertOrderBy, @@ -491,6 +971,9 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GChangeOwnerKeyVarianceOrderBy, GCommentTypeEnum, GCommentTypeEnumComparisonExp, + GCommentsIssuedData, + GCommentsIssuedReq, + GCommentsIssuedVars, GCounterLevelEnum, GCounterLevelEnumComparisonExp, GCursorOrdering, @@ -534,20 +1017,170 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GExtrinsicVarianceOrderBy, GGetHistoryAndBalanceData, GGetHistoryAndBalanceData_account, + GGetHistoryAndBalanceData_account_commentsIssued, + GGetHistoryAndBalanceData_account_commentsIssuedAggregate, + GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity, + GGetHistoryAndBalanceData_account_identity_certIssued, + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate, + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_certIssued_issuer, + GGetHistoryAndBalanceData_account_identity_certIssued_receiver, + GGetHistoryAndBalanceData_account_identity_certReceived, + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate, + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_certReceived_issuer, + GGetHistoryAndBalanceData_account_identity_certReceived_receiver, + GGetHistoryAndBalanceData_account_identity_linkedAccount, + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate, + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_membershipHistory, + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate, + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_ownerKeyChange, + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate, + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate, + GGetHistoryAndBalanceData_account_identity_smith, + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued, + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived, + GGetHistoryAndBalanceData_account_identity_udHistory, + GGetHistoryAndBalanceData_account_linkedIdentity, + GGetHistoryAndBalanceData_account_removedIdentities, + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate, + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate, GGetHistoryAndBalanceData_account_transfersIssued, + GGetHistoryAndBalanceData_account_transfersIssuedAggregate, + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate, + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum, GGetHistoryAndBalanceData_account_transfersIssued_comment, GGetHistoryAndBalanceData_account_transfersIssued_from, GGetHistoryAndBalanceData_account_transfersIssued_to, GGetHistoryAndBalanceData_account_transfersReceived, + GGetHistoryAndBalanceData_account_transfersReceivedAggregate, + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate, + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum, GGetHistoryAndBalanceData_account_transfersReceived_comment, GGetHistoryAndBalanceData_account_transfersReceived_from, GGetHistoryAndBalanceData_account_transfersReceived_to, + GGetHistoryAndBalanceData_account_wasIdentity, + GGetHistoryAndBalanceData_account_wasIdentityAggregate, + GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate, GGetHistoryAndBalanceReq, GGetHistoryAndBalanceVars, + GIdentitiesByNameData, + GIdentitiesByNameData_identity, + GIdentitiesByNameData_identity_certIssued, + GIdentitiesByNameData_identity_certIssuedAggregate, + GIdentitiesByNameData_identity_certIssuedAggregate_aggregate, + GIdentitiesByNameData_identity_certIssued_issuer, + GIdentitiesByNameData_identity_certIssued_receiver, + GIdentitiesByNameData_identity_certReceived, + GIdentitiesByNameData_identity_certReceivedAggregate, + GIdentitiesByNameData_identity_certReceivedAggregate_aggregate, + GIdentitiesByNameData_identity_certReceived_issuer, + GIdentitiesByNameData_identity_certReceived_receiver, + GIdentitiesByNameData_identity_linkedAccount, + GIdentitiesByNameData_identity_linkedAccountAggregate, + GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate, + GIdentitiesByNameData_identity_membershipHistory, + GIdentitiesByNameData_identity_membershipHistoryAggregate, + GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate, + GIdentitiesByNameData_identity_ownerKeyChange, + GIdentitiesByNameData_identity_ownerKeyChangeAggregate, + GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate, + GIdentitiesByNameData_identity_smith, + GIdentitiesByNameData_identity_smith_smithCertIssued, + GIdentitiesByNameData_identity_smith_smithCertReceived, + GIdentitiesByNameData_identity_udHistory, + GIdentitiesByNameOrPkData, + GIdentitiesByNameOrPkData_identity, + GIdentitiesByNameOrPkData_identity_certIssued, + GIdentitiesByNameOrPkData_identity_certIssuedAggregate, + GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_certIssued_issuer, + GIdentitiesByNameOrPkData_identity_certIssued_receiver, + GIdentitiesByNameOrPkData_identity_certReceived, + GIdentitiesByNameOrPkData_identity_certReceivedAggregate, + GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_certReceived_issuer, + GIdentitiesByNameOrPkData_identity_certReceived_receiver, + GIdentitiesByNameOrPkData_identity_linkedAccount, + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate, + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_membershipHistory, + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate, + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_ownerKeyChange, + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate, + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate, + GIdentitiesByNameOrPkData_identity_smith, + GIdentitiesByNameOrPkData_identity_smith_smithCertIssued, + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived, + GIdentitiesByNameOrPkData_identity_udHistory, + GIdentitiesByNameOrPkReq, + GIdentitiesByNameOrPkVars, + GIdentitiesByNameReq, + GIdentitiesByNameVars, + GIdentitiesByPkData, + GIdentitiesByPkData_identity, + GIdentitiesByPkData_identity_certIssued, + GIdentitiesByPkData_identity_certIssuedAggregate, + GIdentitiesByPkData_identity_certIssuedAggregate_aggregate, + GIdentitiesByPkData_identity_certIssued_issuer, + GIdentitiesByPkData_identity_certIssued_receiver, + GIdentitiesByPkData_identity_certReceived, + GIdentitiesByPkData_identity_certReceivedAggregate, + GIdentitiesByPkData_identity_certReceivedAggregate_aggregate, + GIdentitiesByPkData_identity_certReceived_issuer, + GIdentitiesByPkData_identity_certReceived_receiver, + GIdentitiesByPkData_identity_linkedAccount, + GIdentitiesByPkData_identity_linkedAccountAggregate, + GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate, + GIdentitiesByPkData_identity_membershipHistory, + GIdentitiesByPkData_identity_membershipHistoryAggregate, + GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate, + GIdentitiesByPkData_identity_ownerKeyChange, + GIdentitiesByPkData_identity_ownerKeyChangeAggregate, + GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate, + GIdentitiesByPkData_identity_smith, + GIdentitiesByPkData_identity_smith_smithCertIssued, + GIdentitiesByPkData_identity_smith_smithCertReceived, + GIdentitiesByPkData_identity_udHistory, + GIdentitiesByPkReq, + GIdentitiesByPkVars, GIdentityAggregateBoolExp, GIdentityAggregateOrderBy, GIdentityAvgOrderBy, + GIdentityBasicFieldsData, + GIdentityBasicFieldsReq, + GIdentityBasicFieldsVars, GIdentityBoolExp, + GIdentityFieldsData, + GIdentityFieldsData_certIssued, + GIdentityFieldsData_certIssuedAggregate, + GIdentityFieldsData_certIssuedAggregate_aggregate, + GIdentityFieldsData_certIssued_issuer, + GIdentityFieldsData_certIssued_receiver, + GIdentityFieldsData_certReceived, + GIdentityFieldsData_certReceivedAggregate, + GIdentityFieldsData_certReceivedAggregate_aggregate, + GIdentityFieldsData_certReceived_issuer, + GIdentityFieldsData_certReceived_receiver, + GIdentityFieldsData_linkedAccount, + GIdentityFieldsData_linkedAccountAggregate, + GIdentityFieldsData_linkedAccountAggregate_aggregate, + GIdentityFieldsData_membershipHistory, + GIdentityFieldsData_membershipHistoryAggregate, + GIdentityFieldsData_membershipHistoryAggregate_aggregate, + GIdentityFieldsData_ownerKeyChange, + GIdentityFieldsData_ownerKeyChangeAggregate, + GIdentityFieldsData_ownerKeyChangeAggregate_aggregate, + GIdentityFieldsData_smith, + GIdentityFieldsData_smith_smithCertIssued, + GIdentityFieldsData_smith_smithCertReceived, + GIdentityFieldsData_udHistory, + GIdentityFieldsReq, + GIdentityFieldsVars, GIdentityMaxOrderBy, GIdentityMinOrderBy, GIdentityOrderBy, @@ -599,6 +1232,9 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GMembershipEventVarianceOrderBy, GNumericComparisonExp, GOrderBy, + GOwnerKeyChangeFieldsData, + GOwnerKeyChangeFieldsReq, + GOwnerKeyChangeFieldsVars, GPopulationHistoryBoolExp, GPopulationHistoryOrderBy, GPopulationHistorySelectColumn, @@ -609,6 +1245,9 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GSmithCertAggregateOrderBy, GSmithCertAvgOrderBy, GSmithCertBoolExp, + GSmithCertFieldsData, + GSmithCertFieldsReq, + GSmithCertFieldsVars, GSmithCertMaxOrderBy, GSmithCertMinOrderBy, GSmithCertOrderBy, @@ -641,6 +1280,11 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GSmithEventVarPopOrderBy, GSmithEventVarSampOrderBy, GSmithEventVarianceOrderBy, + GSmithFieldsData, + GSmithFieldsData_smithCertIssued, + GSmithFieldsData_smithCertReceived, + GSmithFieldsReq, + GSmithFieldsVars, GSmithOrderBy, GSmithSelectColumn, GSmithStatusEnum, @@ -654,6 +1298,12 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GTransferAggregateOrderBy, GTransferAvgOrderBy, GTransferBoolExp, + GTransferFieldsData, + GTransferFieldsData_comment, + GTransferFieldsData_from, + GTransferFieldsData_to, + GTransferFieldsReq, + GTransferFieldsVars, GTransferMaxOrderBy, GTransferMinOrderBy, GTransferOrderBy, diff --git a/packages/duniter_indexer/lib/graphql/schema/__generated__/serializers.gql.g.dart b/packages/duniter_indexer/lib/graphql/schema/__generated__/serializers.gql.g.dart index 06342f4c..15906b0f 100644 --- a/packages/duniter_indexer/lib/graphql/schema/__generated__/serializers.gql.g.dart +++ b/packages/duniter_indexer/lib/graphql/schema/__generated__/serializers.gql.g.dart @@ -11,11 +11,153 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GAccountAggregateBoolExp.serializer) ..add(GAccountAggregateOrderBy.serializer) ..add(GAccountAvgOrderBy.serializer) + ..add(GAccountBasicByPkData.serializer) + ..add(GAccountBasicByPkData_accountByPk.serializer) + ..add(GAccountBasicByPkData_accountByPk_identity.serializer) + ..add(GAccountBasicByPkReq.serializer) + ..add(GAccountBasicByPkVars.serializer) + ..add(GAccountBasicFieldsData.serializer) + ..add(GAccountBasicFieldsData_identity.serializer) + ..add(GAccountBasicFieldsReq.serializer) + ..add(GAccountBasicFieldsVars.serializer) ..add(GAccountBoolExp.serializer) ..add(GAccountByPkData.serializer) ..add(GAccountByPkData_accountByPk.serializer) + ..add(GAccountByPkData_accountByPk_commentsIssued.serializer) + ..add(GAccountByPkData_accountByPk_commentsIssuedAggregate.serializer) + ..add(GAccountByPkData_accountByPk_commentsIssuedAggregate_aggregate + .serializer) + ..add(GAccountByPkData_accountByPk_identity.serializer) + ..add(GAccountByPkData_accountByPk_identity_certIssued.serializer) + ..add( + GAccountByPkData_accountByPk_identity_certIssuedAggregate.serializer) + ..add(GAccountByPkData_accountByPk_identity_certIssuedAggregate_aggregate + .serializer) + ..add(GAccountByPkData_accountByPk_identity_certIssued_issuer.serializer) + ..add( + GAccountByPkData_accountByPk_identity_certIssued_receiver.serializer) + ..add(GAccountByPkData_accountByPk_identity_certReceived.serializer) + ..add(GAccountByPkData_accountByPk_identity_certReceivedAggregate + .serializer) + ..add( + GAccountByPkData_accountByPk_identity_certReceivedAggregate_aggregate + .serializer) + ..add( + GAccountByPkData_accountByPk_identity_certReceived_issuer.serializer) + ..add(GAccountByPkData_accountByPk_identity_certReceived_receiver + .serializer) + ..add(GAccountByPkData_accountByPk_identity_linkedAccount.serializer) + ..add(GAccountByPkData_accountByPk_identity_linkedAccountAggregate + .serializer) + ..add( + GAccountByPkData_accountByPk_identity_linkedAccountAggregate_aggregate + .serializer) + ..add(GAccountByPkData_accountByPk_identity_membershipHistory.serializer) + ..add(GAccountByPkData_accountByPk_identity_membershipHistoryAggregate + .serializer) + ..add( + GAccountByPkData_accountByPk_identity_membershipHistoryAggregate_aggregate + .serializer) + ..add(GAccountByPkData_accountByPk_identity_ownerKeyChange.serializer) + ..add(GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate + .serializer) + ..add( + GAccountByPkData_accountByPk_identity_ownerKeyChangeAggregate_aggregate + .serializer) + ..add(GAccountByPkData_accountByPk_identity_smith.serializer) + ..add(GAccountByPkData_accountByPk_identity_smith_smithCertIssued + .serializer) + ..add(GAccountByPkData_accountByPk_identity_smith_smithCertReceived + .serializer) + ..add(GAccountByPkData_accountByPk_identity_udHistory.serializer) + ..add(GAccountByPkData_accountByPk_linkedIdentity.serializer) + ..add(GAccountByPkData_accountByPk_removedIdentities.serializer) + ..add(GAccountByPkData_accountByPk_removedIdentitiesAggregate.serializer) + ..add(GAccountByPkData_accountByPk_removedIdentitiesAggregate_aggregate + .serializer) + ..add(GAccountByPkData_accountByPk_transfersIssued.serializer) + ..add(GAccountByPkData_accountByPk_transfersIssuedAggregate.serializer) + ..add(GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate + .serializer) + ..add(GAccountByPkData_accountByPk_transfersIssuedAggregate_aggregate_sum + .serializer) + ..add(GAccountByPkData_accountByPk_transfersIssued_comment.serializer) + ..add(GAccountByPkData_accountByPk_transfersIssued_from.serializer) + ..add(GAccountByPkData_accountByPk_transfersIssued_to.serializer) + ..add(GAccountByPkData_accountByPk_transfersReceived.serializer) + ..add(GAccountByPkData_accountByPk_transfersReceivedAggregate.serializer) + ..add(GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate + .serializer) + ..add( + GAccountByPkData_accountByPk_transfersReceivedAggregate_aggregate_sum + .serializer) + ..add(GAccountByPkData_accountByPk_transfersReceived_comment.serializer) + ..add(GAccountByPkData_accountByPk_transfersReceived_from.serializer) + ..add(GAccountByPkData_accountByPk_transfersReceived_to.serializer) + ..add(GAccountByPkData_accountByPk_wasIdentity.serializer) + ..add(GAccountByPkData_accountByPk_wasIdentityAggregate.serializer) + ..add(GAccountByPkData_accountByPk_wasIdentityAggregate_aggregate + .serializer) ..add(GAccountByPkReq.serializer) ..add(GAccountByPkVars.serializer) + ..add(GAccountFieldsData.serializer) + ..add(GAccountFieldsData_commentsIssued.serializer) + ..add(GAccountFieldsData_commentsIssuedAggregate.serializer) + ..add(GAccountFieldsData_commentsIssuedAggregate_aggregate.serializer) + ..add(GAccountFieldsData_identity.serializer) + ..add(GAccountFieldsData_identity_certIssued.serializer) + ..add(GAccountFieldsData_identity_certIssuedAggregate.serializer) + ..add( + GAccountFieldsData_identity_certIssuedAggregate_aggregate.serializer) + ..add(GAccountFieldsData_identity_certIssued_issuer.serializer) + ..add(GAccountFieldsData_identity_certIssued_receiver.serializer) + ..add(GAccountFieldsData_identity_certReceived.serializer) + ..add(GAccountFieldsData_identity_certReceivedAggregate.serializer) + ..add(GAccountFieldsData_identity_certReceivedAggregate_aggregate + .serializer) + ..add(GAccountFieldsData_identity_certReceived_issuer.serializer) + ..add(GAccountFieldsData_identity_certReceived_receiver.serializer) + ..add(GAccountFieldsData_identity_linkedAccount.serializer) + ..add(GAccountFieldsData_identity_linkedAccountAggregate.serializer) + ..add(GAccountFieldsData_identity_linkedAccountAggregate_aggregate + .serializer) + ..add(GAccountFieldsData_identity_membershipHistory.serializer) + ..add(GAccountFieldsData_identity_membershipHistoryAggregate.serializer) + ..add(GAccountFieldsData_identity_membershipHistoryAggregate_aggregate + .serializer) + ..add(GAccountFieldsData_identity_ownerKeyChange.serializer) + ..add(GAccountFieldsData_identity_ownerKeyChangeAggregate.serializer) + ..add(GAccountFieldsData_identity_ownerKeyChangeAggregate_aggregate + .serializer) + ..add(GAccountFieldsData_identity_smith.serializer) + ..add(GAccountFieldsData_identity_smith_smithCertIssued.serializer) + ..add(GAccountFieldsData_identity_smith_smithCertReceived.serializer) + ..add(GAccountFieldsData_identity_udHistory.serializer) + ..add(GAccountFieldsData_linkedIdentity.serializer) + ..add(GAccountFieldsData_removedIdentities.serializer) + ..add(GAccountFieldsData_removedIdentitiesAggregate.serializer) + ..add(GAccountFieldsData_removedIdentitiesAggregate_aggregate.serializer) + ..add(GAccountFieldsData_transfersIssued.serializer) + ..add(GAccountFieldsData_transfersIssuedAggregate.serializer) + ..add(GAccountFieldsData_transfersIssuedAggregate_aggregate.serializer) + ..add( + GAccountFieldsData_transfersIssuedAggregate_aggregate_sum.serializer) + ..add(GAccountFieldsData_transfersIssued_comment.serializer) + ..add(GAccountFieldsData_transfersIssued_from.serializer) + ..add(GAccountFieldsData_transfersIssued_to.serializer) + ..add(GAccountFieldsData_transfersReceived.serializer) + ..add(GAccountFieldsData_transfersReceivedAggregate.serializer) + ..add(GAccountFieldsData_transfersReceivedAggregate_aggregate.serializer) + ..add(GAccountFieldsData_transfersReceivedAggregate_aggregate_sum + .serializer) + ..add(GAccountFieldsData_transfersReceived_comment.serializer) + ..add(GAccountFieldsData_transfersReceived_from.serializer) + ..add(GAccountFieldsData_transfersReceived_to.serializer) + ..add(GAccountFieldsData_wasIdentity.serializer) + ..add(GAccountFieldsData_wasIdentityAggregate.serializer) + ..add(GAccountFieldsData_wasIdentityAggregate_aggregate.serializer) + ..add(GAccountFieldsReq.serializer) + ..add(GAccountFieldsVars.serializer) ..add(GAccountMaxOrderBy.serializer) ..add(GAccountMinOrderBy.serializer) ..add(GAccountOrderBy.serializer) @@ -33,16 +175,74 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GAccountVarPopOrderBy.serializer) ..add(GAccountVarSampOrderBy.serializer) ..add(GAccountVarianceOrderBy.serializer) - ..add(GAccountsByNameData.serializer) - ..add(GAccountsByNameData_identity.serializer) - ..add(GAccountsByNameData_identity_account.serializer) - ..add(GAccountsByNameOrPkData.serializer) - ..add(GAccountsByNameOrPkData_identity.serializer) - ..add(GAccountsByNameOrPkData_identity_account.serializer) - ..add(GAccountsByNameOrPkReq.serializer) - ..add(GAccountsByNameOrPkVars.serializer) - ..add(GAccountsByNameReq.serializer) - ..add(GAccountsByNameVars.serializer) + ..add(GAccountsByPkData.serializer) + ..add(GAccountsByPkData_account.serializer) + ..add(GAccountsByPkData_account_commentsIssued.serializer) + ..add(GAccountsByPkData_account_commentsIssuedAggregate.serializer) + ..add(GAccountsByPkData_account_commentsIssuedAggregate_aggregate + .serializer) + ..add(GAccountsByPkData_account_identity.serializer) + ..add(GAccountsByPkData_account_identity_certIssued.serializer) + ..add(GAccountsByPkData_account_identity_certIssuedAggregate.serializer) + ..add(GAccountsByPkData_account_identity_certIssuedAggregate_aggregate + .serializer) + ..add(GAccountsByPkData_account_identity_certIssued_issuer.serializer) + ..add(GAccountsByPkData_account_identity_certIssued_receiver.serializer) + ..add(GAccountsByPkData_account_identity_certReceived.serializer) + ..add(GAccountsByPkData_account_identity_certReceivedAggregate.serializer) + ..add(GAccountsByPkData_account_identity_certReceivedAggregate_aggregate + .serializer) + ..add(GAccountsByPkData_account_identity_certReceived_issuer.serializer) + ..add(GAccountsByPkData_account_identity_certReceived_receiver.serializer) + ..add(GAccountsByPkData_account_identity_linkedAccount.serializer) + ..add( + GAccountsByPkData_account_identity_linkedAccountAggregate.serializer) + ..add(GAccountsByPkData_account_identity_linkedAccountAggregate_aggregate + .serializer) + ..add(GAccountsByPkData_account_identity_membershipHistory.serializer) + ..add(GAccountsByPkData_account_identity_membershipHistoryAggregate + .serializer) + ..add( + GAccountsByPkData_account_identity_membershipHistoryAggregate_aggregate + .serializer) + ..add(GAccountsByPkData_account_identity_ownerKeyChange.serializer) + ..add( + GAccountsByPkData_account_identity_ownerKeyChangeAggregate.serializer) + ..add(GAccountsByPkData_account_identity_ownerKeyChangeAggregate_aggregate + .serializer) + ..add(GAccountsByPkData_account_identity_smith.serializer) + ..add(GAccountsByPkData_account_identity_smith_smithCertIssued.serializer) + ..add( + GAccountsByPkData_account_identity_smith_smithCertReceived.serializer) + ..add(GAccountsByPkData_account_identity_udHistory.serializer) + ..add(GAccountsByPkData_account_linkedIdentity.serializer) + ..add(GAccountsByPkData_account_removedIdentities.serializer) + ..add(GAccountsByPkData_account_removedIdentitiesAggregate.serializer) + ..add(GAccountsByPkData_account_removedIdentitiesAggregate_aggregate + .serializer) + ..add(GAccountsByPkData_account_transfersIssued.serializer) + ..add(GAccountsByPkData_account_transfersIssuedAggregate.serializer) + ..add(GAccountsByPkData_account_transfersIssuedAggregate_aggregate + .serializer) + ..add(GAccountsByPkData_account_transfersIssuedAggregate_aggregate_sum + .serializer) + ..add(GAccountsByPkData_account_transfersIssued_comment.serializer) + ..add(GAccountsByPkData_account_transfersIssued_from.serializer) + ..add(GAccountsByPkData_account_transfersIssued_to.serializer) + ..add(GAccountsByPkData_account_transfersReceived.serializer) + ..add(GAccountsByPkData_account_transfersReceivedAggregate.serializer) + ..add(GAccountsByPkData_account_transfersReceivedAggregate_aggregate + .serializer) + ..add(GAccountsByPkData_account_transfersReceivedAggregate_aggregate_sum + .serializer) + ..add(GAccountsByPkData_account_transfersReceived_comment.serializer) + ..add(GAccountsByPkData_account_transfersReceived_from.serializer) + ..add(GAccountsByPkData_account_transfersReceived_to.serializer) + ..add(GAccountsByPkData_account_wasIdentity.serializer) + ..add(GAccountsByPkData_account_wasIdentityAggregate.serializer) + ..add(GAccountsByPkData_account_wasIdentityAggregate_aggregate.serializer) + ..add(GAccountsByPkReq.serializer) + ..add(GAccountsByPkVars.serializer) ..add(GBlockBoolExp.serializer) ..add(GBlockOrderBy.serializer) ..add(GBlockSelectColumn.serializer) @@ -84,6 +284,11 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GCertEventVarPopOrderBy.serializer) ..add(GCertEventVarSampOrderBy.serializer) ..add(GCertEventVarianceOrderBy.serializer) + ..add(GCertFieldsData.serializer) + ..add(GCertFieldsData_issuer.serializer) + ..add(GCertFieldsData_receiver.serializer) + ..add(GCertFieldsReq.serializer) + ..add(GCertFieldsVars.serializer) ..add(GCertMaxOrderBy.serializer) ..add(GCertMinOrderBy.serializer) ..add(GCertOrderBy.serializer) @@ -120,6 +325,9 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GChangeOwnerKeyVarianceOrderBy.serializer) ..add(GCommentTypeEnum.serializer) ..add(GCommentTypeEnumComparisonExp.serializer) + ..add(GCommentsIssuedData.serializer) + ..add(GCommentsIssuedReq.serializer) + ..add(GCommentsIssuedVars.serializer) ..add(GCounterLevelEnum.serializer) ..add(GCounterLevelEnumComparisonExp.serializer) ..add(GCursorOrdering.serializer) @@ -167,22 +375,232 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GExtrinsicVarianceOrderBy.serializer) ..add(GGetHistoryAndBalanceData.serializer) ..add(GGetHistoryAndBalanceData_account.serializer) + ..add(GGetHistoryAndBalanceData_account_commentsIssued.serializer) + ..add( + GGetHistoryAndBalanceData_account_commentsIssuedAggregate.serializer) + ..add(GGetHistoryAndBalanceData_account_commentsIssuedAggregate_aggregate + .serializer) + ..add(GGetHistoryAndBalanceData_account_identity.serializer) + ..add(GGetHistoryAndBalanceData_account_identity_certIssued.serializer) + ..add(GGetHistoryAndBalanceData_account_identity_certIssuedAggregate + .serializer) + ..add( + GGetHistoryAndBalanceData_account_identity_certIssuedAggregate_aggregate + .serializer) + ..add(GGetHistoryAndBalanceData_account_identity_certIssued_issuer + .serializer) + ..add(GGetHistoryAndBalanceData_account_identity_certIssued_receiver + .serializer) + ..add(GGetHistoryAndBalanceData_account_identity_certReceived.serializer) + ..add(GGetHistoryAndBalanceData_account_identity_certReceivedAggregate + .serializer) + ..add( + GGetHistoryAndBalanceData_account_identity_certReceivedAggregate_aggregate + .serializer) + ..add(GGetHistoryAndBalanceData_account_identity_certReceived_issuer + .serializer) + ..add(GGetHistoryAndBalanceData_account_identity_certReceived_receiver + .serializer) + ..add(GGetHistoryAndBalanceData_account_identity_linkedAccount.serializer) + ..add(GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate + .serializer) + ..add( + GGetHistoryAndBalanceData_account_identity_linkedAccountAggregate_aggregate + .serializer) + ..add(GGetHistoryAndBalanceData_account_identity_membershipHistory + .serializer) + ..add( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate + .serializer) + ..add( + GGetHistoryAndBalanceData_account_identity_membershipHistoryAggregate_aggregate + .serializer) + ..add( + GGetHistoryAndBalanceData_account_identity_ownerKeyChange.serializer) + ..add(GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate + .serializer) + ..add( + GGetHistoryAndBalanceData_account_identity_ownerKeyChangeAggregate_aggregate + .serializer) + ..add(GGetHistoryAndBalanceData_account_identity_smith.serializer) + ..add(GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued + .serializer) + ..add(GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived + .serializer) + ..add(GGetHistoryAndBalanceData_account_identity_udHistory.serializer) + ..add(GGetHistoryAndBalanceData_account_linkedIdentity.serializer) + ..add(GGetHistoryAndBalanceData_account_removedIdentities.serializer) + ..add(GGetHistoryAndBalanceData_account_removedIdentitiesAggregate + .serializer) + ..add( + GGetHistoryAndBalanceData_account_removedIdentitiesAggregate_aggregate + .serializer) ..add(GGetHistoryAndBalanceData_account_transfersIssued.serializer) + ..add( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate.serializer) + ..add(GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate + .serializer) + ..add( + GGetHistoryAndBalanceData_account_transfersIssuedAggregate_aggregate_sum + .serializer) ..add( GGetHistoryAndBalanceData_account_transfersIssued_comment.serializer) ..add(GGetHistoryAndBalanceData_account_transfersIssued_from.serializer) ..add(GGetHistoryAndBalanceData_account_transfersIssued_to.serializer) ..add(GGetHistoryAndBalanceData_account_transfersReceived.serializer) + ..add(GGetHistoryAndBalanceData_account_transfersReceivedAggregate + .serializer) + ..add( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate + .serializer) + ..add( + GGetHistoryAndBalanceData_account_transfersReceivedAggregate_aggregate_sum + .serializer) ..add(GGetHistoryAndBalanceData_account_transfersReceived_comment .serializer) ..add(GGetHistoryAndBalanceData_account_transfersReceived_from.serializer) ..add(GGetHistoryAndBalanceData_account_transfersReceived_to.serializer) + ..add(GGetHistoryAndBalanceData_account_wasIdentity.serializer) + ..add(GGetHistoryAndBalanceData_account_wasIdentityAggregate.serializer) + ..add(GGetHistoryAndBalanceData_account_wasIdentityAggregate_aggregate + .serializer) ..add(GGetHistoryAndBalanceReq.serializer) ..add(GGetHistoryAndBalanceVars.serializer) + ..add(GIdentitiesByNameData.serializer) + ..add(GIdentitiesByNameData_identity.serializer) + ..add(GIdentitiesByNameData_identity_certIssued.serializer) + ..add(GIdentitiesByNameData_identity_certIssuedAggregate.serializer) + ..add(GIdentitiesByNameData_identity_certIssuedAggregate_aggregate + .serializer) + ..add(GIdentitiesByNameData_identity_certIssued_issuer.serializer) + ..add(GIdentitiesByNameData_identity_certIssued_receiver.serializer) + ..add(GIdentitiesByNameData_identity_certReceived.serializer) + ..add(GIdentitiesByNameData_identity_certReceivedAggregate.serializer) + ..add(GIdentitiesByNameData_identity_certReceivedAggregate_aggregate + .serializer) + ..add(GIdentitiesByNameData_identity_certReceived_issuer.serializer) + ..add(GIdentitiesByNameData_identity_certReceived_receiver.serializer) + ..add(GIdentitiesByNameData_identity_linkedAccount.serializer) + ..add(GIdentitiesByNameData_identity_linkedAccountAggregate.serializer) + ..add(GIdentitiesByNameData_identity_linkedAccountAggregate_aggregate + .serializer) + ..add(GIdentitiesByNameData_identity_membershipHistory.serializer) + ..add( + GIdentitiesByNameData_identity_membershipHistoryAggregate.serializer) + ..add(GIdentitiesByNameData_identity_membershipHistoryAggregate_aggregate + .serializer) + ..add(GIdentitiesByNameData_identity_ownerKeyChange.serializer) + ..add(GIdentitiesByNameData_identity_ownerKeyChangeAggregate.serializer) + ..add(GIdentitiesByNameData_identity_ownerKeyChangeAggregate_aggregate + .serializer) + ..add(GIdentitiesByNameData_identity_smith.serializer) + ..add(GIdentitiesByNameData_identity_smith_smithCertIssued.serializer) + ..add(GIdentitiesByNameData_identity_smith_smithCertReceived.serializer) + ..add(GIdentitiesByNameData_identity_udHistory.serializer) + ..add(GIdentitiesByNameOrPkData.serializer) + ..add(GIdentitiesByNameOrPkData_identity.serializer) + ..add(GIdentitiesByNameOrPkData_identity_certIssued.serializer) + ..add(GIdentitiesByNameOrPkData_identity_certIssuedAggregate.serializer) + ..add(GIdentitiesByNameOrPkData_identity_certIssuedAggregate_aggregate + .serializer) + ..add(GIdentitiesByNameOrPkData_identity_certIssued_issuer.serializer) + ..add(GIdentitiesByNameOrPkData_identity_certIssued_receiver.serializer) + ..add(GIdentitiesByNameOrPkData_identity_certReceived.serializer) + ..add(GIdentitiesByNameOrPkData_identity_certReceivedAggregate.serializer) + ..add(GIdentitiesByNameOrPkData_identity_certReceivedAggregate_aggregate + .serializer) + ..add(GIdentitiesByNameOrPkData_identity_certReceived_issuer.serializer) + ..add(GIdentitiesByNameOrPkData_identity_certReceived_receiver.serializer) + ..add(GIdentitiesByNameOrPkData_identity_linkedAccount.serializer) + ..add( + GIdentitiesByNameOrPkData_identity_linkedAccountAggregate.serializer) + ..add(GIdentitiesByNameOrPkData_identity_linkedAccountAggregate_aggregate + .serializer) + ..add(GIdentitiesByNameOrPkData_identity_membershipHistory.serializer) + ..add(GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate + .serializer) + ..add( + GIdentitiesByNameOrPkData_identity_membershipHistoryAggregate_aggregate + .serializer) + ..add(GIdentitiesByNameOrPkData_identity_ownerKeyChange.serializer) + ..add( + GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate.serializer) + ..add(GIdentitiesByNameOrPkData_identity_ownerKeyChangeAggregate_aggregate + .serializer) + ..add(GIdentitiesByNameOrPkData_identity_smith.serializer) + ..add(GIdentitiesByNameOrPkData_identity_smith_smithCertIssued.serializer) + ..add( + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived.serializer) + ..add(GIdentitiesByNameOrPkData_identity_udHistory.serializer) + ..add(GIdentitiesByNameOrPkReq.serializer) + ..add(GIdentitiesByNameOrPkVars.serializer) + ..add(GIdentitiesByNameReq.serializer) + ..add(GIdentitiesByNameVars.serializer) + ..add(GIdentitiesByPkData.serializer) + ..add(GIdentitiesByPkData_identity.serializer) + ..add(GIdentitiesByPkData_identity_certIssued.serializer) + ..add(GIdentitiesByPkData_identity_certIssuedAggregate.serializer) + ..add( + GIdentitiesByPkData_identity_certIssuedAggregate_aggregate.serializer) + ..add(GIdentitiesByPkData_identity_certIssued_issuer.serializer) + ..add(GIdentitiesByPkData_identity_certIssued_receiver.serializer) + ..add(GIdentitiesByPkData_identity_certReceived.serializer) + ..add(GIdentitiesByPkData_identity_certReceivedAggregate.serializer) + ..add(GIdentitiesByPkData_identity_certReceivedAggregate_aggregate + .serializer) + ..add(GIdentitiesByPkData_identity_certReceived_issuer.serializer) + ..add(GIdentitiesByPkData_identity_certReceived_receiver.serializer) + ..add(GIdentitiesByPkData_identity_linkedAccount.serializer) + ..add(GIdentitiesByPkData_identity_linkedAccountAggregate.serializer) + ..add(GIdentitiesByPkData_identity_linkedAccountAggregate_aggregate + .serializer) + ..add(GIdentitiesByPkData_identity_membershipHistory.serializer) + ..add(GIdentitiesByPkData_identity_membershipHistoryAggregate.serializer) + ..add(GIdentitiesByPkData_identity_membershipHistoryAggregate_aggregate + .serializer) + ..add(GIdentitiesByPkData_identity_ownerKeyChange.serializer) + ..add(GIdentitiesByPkData_identity_ownerKeyChangeAggregate.serializer) + ..add(GIdentitiesByPkData_identity_ownerKeyChangeAggregate_aggregate + .serializer) + ..add(GIdentitiesByPkData_identity_smith.serializer) + ..add(GIdentitiesByPkData_identity_smith_smithCertIssued.serializer) + ..add(GIdentitiesByPkData_identity_smith_smithCertReceived.serializer) + ..add(GIdentitiesByPkData_identity_udHistory.serializer) + ..add(GIdentitiesByPkReq.serializer) + ..add(GIdentitiesByPkVars.serializer) ..add(GIdentityAggregateBoolExp.serializer) ..add(GIdentityAggregateOrderBy.serializer) ..add(GIdentityAvgOrderBy.serializer) + ..add(GIdentityBasicFieldsData.serializer) + ..add(GIdentityBasicFieldsReq.serializer) + ..add(GIdentityBasicFieldsVars.serializer) ..add(GIdentityBoolExp.serializer) + ..add(GIdentityFieldsData.serializer) + ..add(GIdentityFieldsData_certIssued.serializer) + ..add(GIdentityFieldsData_certIssuedAggregate.serializer) + ..add(GIdentityFieldsData_certIssuedAggregate_aggregate.serializer) + ..add(GIdentityFieldsData_certIssued_issuer.serializer) + ..add(GIdentityFieldsData_certIssued_receiver.serializer) + ..add(GIdentityFieldsData_certReceived.serializer) + ..add(GIdentityFieldsData_certReceivedAggregate.serializer) + ..add(GIdentityFieldsData_certReceivedAggregate_aggregate.serializer) + ..add(GIdentityFieldsData_certReceived_issuer.serializer) + ..add(GIdentityFieldsData_certReceived_receiver.serializer) + ..add(GIdentityFieldsData_linkedAccount.serializer) + ..add(GIdentityFieldsData_linkedAccountAggregate.serializer) + ..add(GIdentityFieldsData_linkedAccountAggregate_aggregate.serializer) + ..add(GIdentityFieldsData_membershipHistory.serializer) + ..add(GIdentityFieldsData_membershipHistoryAggregate.serializer) + ..add(GIdentityFieldsData_membershipHistoryAggregate_aggregate.serializer) + ..add(GIdentityFieldsData_ownerKeyChange.serializer) + ..add(GIdentityFieldsData_ownerKeyChangeAggregate.serializer) + ..add(GIdentityFieldsData_ownerKeyChangeAggregate_aggregate.serializer) + ..add(GIdentityFieldsData_smith.serializer) + ..add(GIdentityFieldsData_smith_smithCertIssued.serializer) + ..add(GIdentityFieldsData_smith_smithCertReceived.serializer) + ..add(GIdentityFieldsData_udHistory.serializer) + ..add(GIdentityFieldsReq.serializer) + ..add(GIdentityFieldsVars.serializer) ..add(GIdentityMaxOrderBy.serializer) ..add(GIdentityMinOrderBy.serializer) ..add(GIdentityOrderBy.serializer) @@ -237,6 +655,9 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GMembershipEventVarianceOrderBy.serializer) ..add(GNumericComparisonExp.serializer) ..add(GOrderBy.serializer) + ..add(GOwnerKeyChangeFieldsData.serializer) + ..add(GOwnerKeyChangeFieldsReq.serializer) + ..add(GOwnerKeyChangeFieldsVars.serializer) ..add(GPopulationHistoryBoolExp.serializer) ..add(GPopulationHistoryOrderBy.serializer) ..add(GPopulationHistorySelectColumn.serializer) @@ -247,6 +668,9 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GSmithCertAggregateOrderBy.serializer) ..add(GSmithCertAvgOrderBy.serializer) ..add(GSmithCertBoolExp.serializer) + ..add(GSmithCertFieldsData.serializer) + ..add(GSmithCertFieldsReq.serializer) + ..add(GSmithCertFieldsVars.serializer) ..add(GSmithCertMaxOrderBy.serializer) ..add(GSmithCertMinOrderBy.serializer) ..add(GSmithCertOrderBy.serializer) @@ -279,6 +703,11 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GSmithEventVarPopOrderBy.serializer) ..add(GSmithEventVarSampOrderBy.serializer) ..add(GSmithEventVarianceOrderBy.serializer) + ..add(GSmithFieldsData.serializer) + ..add(GSmithFieldsData_smithCertIssued.serializer) + ..add(GSmithFieldsData_smithCertReceived.serializer) + ..add(GSmithFieldsReq.serializer) + ..add(GSmithFieldsVars.serializer) ..add(GSmithOrderBy.serializer) ..add(GSmithSelectColumn.serializer) ..add(GSmithStatusEnum.serializer) @@ -292,6 +721,12 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GTransferAggregateOrderBy.serializer) ..add(GTransferAvgOrderBy.serializer) ..add(GTransferBoolExp.serializer) + ..add(GTransferFieldsData.serializer) + ..add(GTransferFieldsData_comment.serializer) + ..add(GTransferFieldsData_from.serializer) + ..add(GTransferFieldsData_to.serializer) + ..add(GTransferFieldsReq.serializer) + ..add(GTransferFieldsVars.serializer) ..add(GTransferMaxOrderBy.serializer) ..add(GTransferMinOrderBy.serializer) ..add(GTransferOrderBy.serializer) @@ -386,18 +821,223 @@ Serializers _$serializers = (new Serializers().toBuilder() ..addBuilderFactory( const FullType(BuiltList, const [const FullType(GAccountBoolExp)]), () => new ListBuilder<GAccountBoolExp>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_commentsIssued) + ]), + () => new ListBuilder<GAccountByPkData_accountByPk_commentsIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_removedIdentities) + ]), + () => + new ListBuilder<GAccountByPkData_accountByPk_removedIdentities>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_transfersIssued) + ]), + () => new ListBuilder<GAccountByPkData_accountByPk_transfersIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_transfersReceived) + ]), + () => + new ListBuilder<GAccountByPkData_accountByPk_transfersReceived>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GAccountByPkData_accountByPk_wasIdentity)]), + () => new ListBuilder<GAccountByPkData_accountByPk_wasIdentity>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_identity_certIssued) + ]), + () => new ListBuilder< + GAccountByPkData_accountByPk_identity_certIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_identity_certReceived) + ]), + () => new ListBuilder< + GAccountByPkData_accountByPk_identity_certReceived>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_identity_linkedAccount) + ]), + () => new ListBuilder< + GAccountByPkData_accountByPk_identity_linkedAccount>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType( + GAccountByPkData_accountByPk_identity_membershipHistory) + ]), + () => new ListBuilder< + GAccountByPkData_accountByPk_identity_membershipHistory>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_identity_ownerKeyChange) + ]), + () => new ListBuilder< + GAccountByPkData_accountByPk_identity_ownerKeyChange>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountByPkData_accountByPk_identity_udHistory) + ]), + () => new ListBuilder< + GAccountByPkData_accountByPk_identity_udHistory>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType( + GAccountByPkData_accountByPk_identity_smith_smithCertIssued) + ]), + () => new ListBuilder< + GAccountByPkData_accountByPk_identity_smith_smithCertIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType( + GAccountByPkData_accountByPk_identity_smith_smithCertReceived) + ]), + () => new ListBuilder< + GAccountByPkData_accountByPk_identity_smith_smithCertReceived>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GAccountFieldsData_commentsIssued)]), + () => new ListBuilder<GAccountFieldsData_commentsIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GAccountFieldsData_removedIdentities)]), + () => new ListBuilder<GAccountFieldsData_removedIdentities>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GAccountFieldsData_transfersIssued)]), + () => new ListBuilder<GAccountFieldsData_transfersIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GAccountFieldsData_transfersReceived)]), + () => new ListBuilder<GAccountFieldsData_transfersReceived>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GAccountFieldsData_wasIdentity)]), + () => new ListBuilder<GAccountFieldsData_wasIdentity>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GAccountFieldsData_identity_certIssued)]), + () => new ListBuilder<GAccountFieldsData_identity_certIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GAccountFieldsData_identity_certReceived)]), + () => new ListBuilder<GAccountFieldsData_identity_certReceived>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_identity_linkedAccount) + ]), + () => new ListBuilder<GAccountFieldsData_identity_linkedAccount>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_identity_membershipHistory) + ]), + () => + new ListBuilder<GAccountFieldsData_identity_membershipHistory>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_identity_ownerKeyChange) + ]), + () => new ListBuilder<GAccountFieldsData_identity_ownerKeyChange>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GAccountFieldsData_identity_udHistory)]), + () => new ListBuilder<GAccountFieldsData_identity_udHistory>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_identity_smith_smithCertIssued) + ]), + () => new ListBuilder< + GAccountFieldsData_identity_smith_smithCertIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountFieldsData_identity_smith_smithCertReceived) + ]), + () => new ListBuilder< + GAccountFieldsData_identity_smith_smithCertReceived>()) ..addBuilderFactory( const FullType( BuiltList, const [const FullType(GAccountSelectColumn)]), () => new ListBuilder<GAccountSelectColumn>()) ..addBuilderFactory( const FullType( - BuiltList, const [const FullType(GAccountsByNameData_identity)]), - () => new ListBuilder<GAccountsByNameData_identity>()) + BuiltList, const [const FullType(GAccountsByPkData_account)]), + () => new ListBuilder<GAccountsByPkData_account>()) ..addBuilderFactory( const FullType(BuiltList, - const [const FullType(GAccountsByNameOrPkData_identity)]), - () => new ListBuilder<GAccountsByNameOrPkData_identity>()) + const [const FullType(GAccountsByPkData_account_commentsIssued)]), + () => new ListBuilder<GAccountsByPkData_account_commentsIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_removedIdentities) + ]), + () => new ListBuilder<GAccountsByPkData_account_removedIdentities>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_transfersIssued) + ]), + () => new ListBuilder<GAccountsByPkData_account_transfersIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_transfersReceived) + ]), + () => new ListBuilder<GAccountsByPkData_account_transfersReceived>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GAccountsByPkData_account_wasIdentity)]), + () => new ListBuilder<GAccountsByPkData_account_wasIdentity>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_identity_certIssued) + ]), + () => + new ListBuilder<GAccountsByPkData_account_identity_certIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_identity_certReceived) + ]), + () => new ListBuilder< + GAccountsByPkData_account_identity_certReceived>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_identity_linkedAccount) + ]), + () => new ListBuilder< + GAccountsByPkData_account_identity_linkedAccount>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_identity_membershipHistory) + ]), + () => new ListBuilder< + GAccountsByPkData_account_identity_membershipHistory>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_identity_ownerKeyChange) + ]), + () => new ListBuilder< + GAccountsByPkData_account_identity_ownerKeyChange>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GAccountsByPkData_account_identity_udHistory) + ]), + () => new ListBuilder<GAccountsByPkData_account_identity_udHistory>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType( + GAccountsByPkData_account_identity_smith_smithCertIssued) + ]), + () => new ListBuilder< + GAccountsByPkData_account_identity_smith_smithCertIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType( + GAccountsByPkData_account_identity_smith_smithCertReceived) + ]), + () => new ListBuilder< + GAccountsByPkData_account_identity_smith_smithCertReceived>()) ..addBuilderFactory( const FullType(BuiltList, const [const FullType(GBlockBoolExp)]), () => new ListBuilder<GBlockBoolExp>()) @@ -485,6 +1125,18 @@ Serializers _$serializers = (new Serializers().toBuilder() const FullType(BuiltList, const [const FullType(GGetHistoryAndBalanceData_account)]), () => new ListBuilder<GGetHistoryAndBalanceData_account>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GGetHistoryAndBalanceData_account_commentsIssued) + ]), + () => new ListBuilder< + GGetHistoryAndBalanceData_account_commentsIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GGetHistoryAndBalanceData_account_removedIdentities) + ]), + () => new ListBuilder< + GGetHistoryAndBalanceData_account_removedIdentities>()) ..addBuilderFactory( const FullType(BuiltList, const [ const FullType(GGetHistoryAndBalanceData_account_transfersIssued) @@ -497,12 +1149,253 @@ Serializers _$serializers = (new Serializers().toBuilder() ]), () => new ListBuilder< GGetHistoryAndBalanceData_account_transfersReceived>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GGetHistoryAndBalanceData_account_wasIdentity) + ]), + () => + new ListBuilder<GGetHistoryAndBalanceData_account_wasIdentity>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_certIssued) + ]), + () => new ListBuilder< + GGetHistoryAndBalanceData_account_identity_certIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_certReceived) + ]), + () => new ListBuilder< + GGetHistoryAndBalanceData_account_identity_certReceived>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_linkedAccount) + ]), + () => new ListBuilder< + GGetHistoryAndBalanceData_account_identity_linkedAccount>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_membershipHistory) + ]), + () => new ListBuilder< + GGetHistoryAndBalanceData_account_identity_membershipHistory>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_ownerKeyChange) + ]), + () => new ListBuilder< + GGetHistoryAndBalanceData_account_identity_ownerKeyChange>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GGetHistoryAndBalanceData_account_identity_udHistory) + ]), + () => new ListBuilder< + GGetHistoryAndBalanceData_account_identity_udHistory>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued) + ]), + () => new ListBuilder< + GGetHistoryAndBalanceData_account_identity_smith_smithCertIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType( + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived) + ]), + () => new ListBuilder< + GGetHistoryAndBalanceData_account_identity_smith_smithCertReceived>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GIdentitiesByNameData_identity)]), + () => new ListBuilder<GIdentitiesByNameData_identity>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity_certIssued) + ]), + () => new ListBuilder<GIdentitiesByNameData_identity_certIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity_certReceived) + ]), + () => new ListBuilder<GIdentitiesByNameData_identity_certReceived>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity_linkedAccount) + ]), + () => new ListBuilder<GIdentitiesByNameData_identity_linkedAccount>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity_membershipHistory) + ]), + () => new ListBuilder< + GIdentitiesByNameData_identity_membershipHistory>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity_ownerKeyChange) + ]), + () => + new ListBuilder<GIdentitiesByNameData_identity_ownerKeyChange>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GIdentitiesByNameData_identity_udHistory)]), + () => new ListBuilder<GIdentitiesByNameData_identity_udHistory>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameData_identity_smith_smithCertIssued) + ]), + () => new ListBuilder< + GIdentitiesByNameData_identity_smith_smithCertIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType( + GIdentitiesByNameData_identity_smith_smithCertReceived) + ]), + () => new ListBuilder< + GIdentitiesByNameData_identity_smith_smithCertReceived>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GIdentitiesByNameOrPkData_identity)]), + () => new ListBuilder<GIdentitiesByNameOrPkData_identity>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameOrPkData_identity_certIssued) + ]), + () => + new ListBuilder<GIdentitiesByNameOrPkData_identity_certIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameOrPkData_identity_certReceived) + ]), + () => new ListBuilder< + GIdentitiesByNameOrPkData_identity_certReceived>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameOrPkData_identity_linkedAccount) + ]), + () => new ListBuilder< + GIdentitiesByNameOrPkData_identity_linkedAccount>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameOrPkData_identity_membershipHistory) + ]), + () => new ListBuilder< + GIdentitiesByNameOrPkData_identity_membershipHistory>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameOrPkData_identity_ownerKeyChange) + ]), + () => new ListBuilder< + GIdentitiesByNameOrPkData_identity_ownerKeyChange>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentitiesByNameOrPkData_identity_udHistory) + ]), + () => new ListBuilder<GIdentitiesByNameOrPkData_identity_udHistory>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType( + GIdentitiesByNameOrPkData_identity_smith_smithCertIssued) + ]), + () => new ListBuilder< + GIdentitiesByNameOrPkData_identity_smith_smithCertIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType( + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived) + ]), + () => new ListBuilder< + GIdentitiesByNameOrPkData_identity_smith_smithCertReceived>()) + ..addBuilderFactory( + const FullType( + BuiltList, const [const FullType(GIdentitiesByPkData_identity)]), + () => new ListBuilder<GIdentitiesByPkData_identity>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GIdentitiesByPkData_identity_certIssued)]), + () => new ListBuilder<GIdentitiesByPkData_identity_certIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity_certReceived) + ]), + () => new ListBuilder<GIdentitiesByPkData_identity_certReceived>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity_linkedAccount) + ]), + () => new ListBuilder<GIdentitiesByPkData_identity_linkedAccount>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity_membershipHistory) + ]), + () => + new ListBuilder<GIdentitiesByPkData_identity_membershipHistory>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity_ownerKeyChange) + ]), + () => new ListBuilder<GIdentitiesByPkData_identity_ownerKeyChange>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GIdentitiesByPkData_identity_udHistory)]), + () => new ListBuilder<GIdentitiesByPkData_identity_udHistory>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity_smith_smithCertIssued) + ]), + () => new ListBuilder< + GIdentitiesByPkData_identity_smith_smithCertIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentitiesByPkData_identity_smith_smithCertReceived) + ]), + () => new ListBuilder< + GIdentitiesByPkData_identity_smith_smithCertReceived>()) ..addBuilderFactory( const FullType(BuiltList, const [const FullType(GIdentityBoolExp)]), () => new ListBuilder<GIdentityBoolExp>()) ..addBuilderFactory( const FullType(BuiltList, const [const FullType(GIdentityBoolExp)]), () => new ListBuilder<GIdentityBoolExp>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GIdentityFieldsData_certIssued)]), + () => new ListBuilder<GIdentityFieldsData_certIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GIdentityFieldsData_certReceived)]), + () => new ListBuilder<GIdentityFieldsData_certReceived>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GIdentityFieldsData_linkedAccount)]), + () => new ListBuilder<GIdentityFieldsData_linkedAccount>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GIdentityFieldsData_membershipHistory)]), + () => new ListBuilder<GIdentityFieldsData_membershipHistory>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GIdentityFieldsData_ownerKeyChange)]), + () => new ListBuilder<GIdentityFieldsData_ownerKeyChange>()) + ..addBuilderFactory( + const FullType( + BuiltList, const [const FullType(GIdentityFieldsData_udHistory)]), + () => new ListBuilder<GIdentityFieldsData_udHistory>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentityFieldsData_smith_smithCertIssued) + ]), + () => new ListBuilder<GIdentityFieldsData_smith_smithCertIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(GIdentityFieldsData_smith_smithCertReceived) + ]), + () => new ListBuilder<GIdentityFieldsData_smith_smithCertReceived>()) ..addBuilderFactory( const FullType( BuiltList, const [const FullType(GIdentitySelectColumn)]), @@ -587,6 +1480,14 @@ Serializers _$serializers = (new Serializers().toBuilder() const FullType( BuiltList, const [const FullType(GSmithEventTypeEnum)]), () => new ListBuilder<GSmithEventTypeEnum>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GSmithFieldsData_smithCertIssued)]), + () => new ListBuilder<GSmithFieldsData_smithCertIssued>()) + ..addBuilderFactory( + const FullType(BuiltList, + const [const FullType(GSmithFieldsData_smithCertReceived)]), + () => new ListBuilder<GSmithFieldsData_smithCertReceived>()) ..addBuilderFactory( const FullType(BuiltList, const [const FullType(GSmithStatusEnum)]), () => new ListBuilder<GSmithStatusEnum>()) @@ -666,6 +1567,12 @@ Serializers _$serializers = (new Serializers().toBuilder() ..addBuilderFactory( const FullType(BuiltList, const [const FullType(String)]), () => new ListBuilder<String>()) + ..addBuilderFactory( + const FullType(BuiltList, const [const FullType(String)]), + () => new ListBuilder<String>()) + ..addBuilderFactory( + const FullType(BuiltList, const [const FullType(String)]), + () => new ListBuilder<String>()) ..addBuilderFactory( const FullType(BuiltList, const [const FullType(JsonObject)]), () => new ListBuilder<JsonObject>()) diff --git a/packages/duniter_indexer/lib/graphql/schema/duniter-indexer-queries.graphql b/packages/duniter_indexer/lib/graphql/schema/duniter-indexer-queries.graphql index c78f58e1..6381d119 100644 --- a/packages/duniter_indexer/lib/graphql/schema/duniter-indexer-queries.graphql +++ b/packages/duniter_indexer/lib/graphql/schema/duniter-indexer-queries.graphql @@ -1,4 +1,225 @@ -query AccountsByNameOrPk($pattern: String) { +fragment CertFields on Cert { + id + issuerId + issuer { + ...IdentityBasicFields + } + receiverId + receiver { + ...IdentityBasicFields + } + createdOn + expireOn + isActive + updatedOn +} + +fragment SmithCertFields on SmithCert { + id + issuerId + receiverId + createdOn +} + + +fragment SmithFields on Smith { + id + forged + index + lastChanged + lastForged + smithCertIssued { + ...SmithCertFields + } + smithCertReceived { + ...SmithCertFields + } +} + +fragment OwnerKeyChangeFields on ChangeOwnerKey { + id + blockNumber + identityId + nextId + previousId +} + +fragment IdentityBasicFields on Identity { + accountId + id + isMember + status + name + status +} + +fragment IdentityFields on Identity { + # account { + # createdOn + # id + # isActive + #} + accountId + accountRemovedId + certIssued (where: { isActive: { _eq: true } }) { + ...CertFields + } + certIssuedAggregate (where: { isActive: { _eq: true } }) { + aggregate { + count + } + } + certReceived (where: { isActive: { _eq: true } }) { + ...CertFields + } + certReceivedAggregate (where: { isActive: { _eq: true } }) { + aggregate { + count + } + } + createdInId + createdOn + expireOn + id + index + isMember + lastChangeOn + linkedAccount { + id + # ...AccountFields + } + linkedAccountAggregate { + aggregate { + count + } + } + status + membershipHistory { + blockNumber + eventId + eventType + id + identityId + } + membershipHistoryAggregate { + aggregate { + count + } + } + name + ownerKeyChange { + ...OwnerKeyChangeFields + } + ownerKeyChangeAggregate { + aggregate { + count + } + } + status + smith { + ...SmithFields + } + udHistory { + id + amount + timestamp + } +} + +fragment CommentsIssued on TxComment { + authorId + blockNumber + eventId + hash + id + remark + type +} + + +fragment AccountBasicFields on Account { + createdOn + id + identity { + ...IdentityBasicFields + } + isActive +} + +fragment AccountFields on Account { + commentsIssued { + ...CommentsIssued + } + commentsIssuedAggregate { + aggregate { + count + } + } + createdOn + id + identity { + ...IdentityFields + } + isActive + linkedIdentity { + ...IdentityBasicFields + } + removedIdentities { + ...IdentityBasicFields + } + removedIdentitiesAggregate { + aggregate { + count + } + } + transfersIssued(limit: $limit, offset: $offset, orderBy: { timestamp: DESC }) { + ...TransferFields + } + transfersIssuedAggregate { + aggregate { + sum { + amount + } + count + } + } + transfersReceived(limit: $limit, offset: $offset, orderBy: { timestamp: DESC }) { + ...TransferFields + } + transfersReceivedAggregate { + aggregate { + sum { + amount + } + count + } + } + wasIdentity { + ...OwnerKeyChangeFields + } + wasIdentityAggregate { + aggregate { + count + } + } +} + +fragment TransferFields on Transfer { + blockNumber + timestamp + amount + to { + id + } + from { + id + } + comment { + remark + } +} + +query IdentitiesByNameOrPk($pattern: String) { identity( where: { _or: [ @@ -7,44 +228,39 @@ query AccountsByNameOrPk($pattern: String) { ] } ) { - isMember - name - accountId - status - createdOn - account { - isActive - } - index + ...IdentityFields } } -# createdOn: "Block number of account creation", if account is created multiple times, this is the first creation block +query IdentitiesByPk($pubKeys: [String!]!) { + identity(where: { accountId: { _in: $pubKeys } }) { + ...IdentityFields + } +} -query AccountsByName($pattern: String) { - identity( - where: - { name: { _iregex: $pattern } } - ) { - isMember - name - accountId - status - createdOn - account { - isActive - } - index +query IdentitiesByName($pattern: String) { + identity(where: { name: { _iregex: $pattern } }) { + ...IdentityFields } } +query AccountByPk($id: String!, $limit: Int, $offset: Int) { + accountByPk(id: $id) { + ...AccountFields + } +} -query AccountByPk ($id: String!) { +query AccountBasicByPk($id: String!) { accountByPk(id: $id) { - isActive + ...AccountBasicFields } } +query AccountsByPk($accountIds: [String!]!, $limit: Int, $offset: Int) { + account(where: { id: { _in: $accountIds } }) { + ...AccountFields + } +} query LastBlock { block(limit: 1, orderBy: {timestamp: DESC}) { @@ -54,34 +270,6 @@ query LastBlock { query GetHistoryAndBalance($accountId: String!, $limit: Int, $offset: Int) { account(where: { id: { _eq: $accountId } }) { - id - transfersIssued(limit: $limit, offset: $offset, orderBy: { timestamp: DESC }) { - blockNumber - timestamp - amount - to { - id - } - from { - id - } - comment { - remark - } - } - transfersReceived(limit: $limit, offset: $offset, orderBy: { timestamp: DESC }) { - blockNumber - timestamp - amount - from { - id - } - to { - id - } - comment { - remark - } - } + ...AccountFields } } -- GitLab