@@ -670,14 +670,14 @@ final class Account_name implements Account_Field {
670
670
671
671
@immutable
672
672
final class AccountOrNote implements query_string.GraphQLObjectType {
673
- const AccountOrNote ({
674
- this .name = 'AccountOrNote' ,
673
+ const AccountOrNote (
674
+ this .typeName__, {
675
675
required this .account,
676
676
required this .note,
677
677
});
678
678
679
- /// この構造の型につける型の名前. ※同じ名前で違う構造にするとエラーになるので注意! ※Nameという名前の型が定義されていた場合は...想定外
680
- final String name ;
679
+ /// この構造の型につける型の名前. ※同じ名前で違う構造にするとエラーになるので注意!
680
+ final String typeName__ ;
681
681
682
682
/// よくあるアカウントの型
683
683
final Account account;
@@ -688,12 +688,12 @@ final class AccountOrNote implements query_string.GraphQLObjectType {
688
688
/// `AccountOrNote` を複製する
689
689
@useResult
690
690
AccountOrNote copyWith ({
691
- String ? name ,
691
+ String ? typeName__ ,
692
692
Account ? account,
693
693
Note ? note,
694
694
}) {
695
695
return AccountOrNote (
696
- name : (name ?? this .name ),
696
+ (typeName__ ?? this .typeName__ ),
697
697
account: (account ?? this .account),
698
698
note: (note ?? this .note),
699
699
);
@@ -702,12 +702,12 @@ final class AccountOrNote implements query_string.GraphQLObjectType {
702
702
/// `AccountOrNote` のフィールドを変更したものを新しく返す
703
703
@useResult
704
704
AccountOrNote updateFields ({
705
- String Function (String prevName )? name ,
705
+ String Function (String prevTypeName__ )? typeName__ ,
706
706
Account Function (Account prevAccount)? account,
707
707
Note Function (Note prevNote)? note,
708
708
}) {
709
709
return AccountOrNote (
710
- name : ((name == null ) ? this .name : name (this .name )),
710
+ ((typeName__ == null ) ? this .typeName__ : typeName__ (this .typeName__ )),
711
711
account: ((account == null ) ? this .account : account (this .account)),
712
712
note: ((note == null ) ? this .note : note (this .note)),
713
713
);
@@ -717,7 +717,7 @@ final class AccountOrNote implements query_string.GraphQLObjectType {
717
717
@useResult
718
718
int get hashCode {
719
719
return Object .hash (
720
- name ,
720
+ typeName__ ,
721
721
account,
722
722
note,
723
723
);
@@ -728,15 +728,15 @@ final class AccountOrNote implements query_string.GraphQLObjectType {
728
728
bool operator == (
729
729
Object other,
730
730
) {
731
- return ((((other is AccountOrNote ) && (name == other.name )) &&
731
+ return ((((other is AccountOrNote ) && (typeName__ == other.typeName__ )) &&
732
732
(account == other.account)) &&
733
733
(note == other.note));
734
734
}
735
735
736
736
@override
737
737
@useResult
738
738
String toString () {
739
- return 'AccountOrNote(name: ${ name }, account: ${account }, note: ${note }, )' ;
739
+ return 'AccountOrNote(${ typeName__ }, account: ${account }, note: ${note }, )' ;
740
740
}
741
741
742
742
@override
@@ -766,7 +766,7 @@ final class AccountOrNote implements query_string.GraphQLObjectType {
766
766
@override
767
767
@useResult
768
768
String getTypeName () {
769
- return name ;
769
+ return typeName__ ;
770
770
}
771
771
772
772
@override
0 commit comments