@@ -448,7 +448,7 @@ static Models.AttributeBoolean Convert(Dictionary<string, object> it) =>
448
448
/// already existing documents.
449
449
/// </para>
450
450
/// </summary>
451
- public Task < Models . AttributeBoolean > UpdateBooleanAttribute ( string databaseId , string collectionId , string key , bool required , bool xdefault )
451
+ public Task < Models . AttributeBoolean > UpdateBooleanAttribute ( string databaseId , string collectionId , string key , bool required , bool xdefault , string ? newKey = null )
452
452
{
453
453
var apiPath = "/databases/{databaseId}/collections/{collectionId}/attributes/boolean/{key}"
454
454
. Replace ( "{databaseId}" , databaseId )
@@ -458,7 +458,8 @@ static Models.AttributeBoolean Convert(Dictionary<string, object> it) =>
458
458
var apiParameters = new Dictionary < string , object ? > ( )
459
459
{
460
460
{ "required" , required } ,
461
- { "default" , xdefault }
461
+ { "default" , xdefault } ,
462
+ { "newKey" , newKey }
462
463
} ;
463
464
464
465
var apiHeaders = new Dictionary < string , string > ( )
@@ -524,7 +525,7 @@ static Models.AttributeDatetime Convert(Dictionary<string, object> it) =>
524
525
/// already existing documents.
525
526
/// </para>
526
527
/// </summary>
527
- public Task < Models . AttributeDatetime > UpdateDatetimeAttribute ( string databaseId , string collectionId , string key , bool required , string xdefault )
528
+ public Task < Models . AttributeDatetime > UpdateDatetimeAttribute ( string databaseId , string collectionId , string key , bool required , string xdefault , string ? newKey = null )
528
529
{
529
530
var apiPath = "/databases/{databaseId}/collections/{collectionId}/attributes/datetime/{key}"
530
531
. Replace ( "{databaseId}" , databaseId )
@@ -534,7 +535,8 @@ static Models.AttributeDatetime Convert(Dictionary<string, object> it) =>
534
535
var apiParameters = new Dictionary < string , object ? > ( )
535
536
{
536
537
{ "required" , required } ,
537
- { "default" , xdefault }
538
+ { "default" , xdefault } ,
539
+ { "newKey" , newKey }
538
540
} ;
539
541
540
542
var apiHeaders = new Dictionary < string , string > ( )
@@ -602,7 +604,7 @@ static Models.AttributeEmail Convert(Dictionary<string, object> it) =>
602
604
///
603
605
/// </para>
604
606
/// </summary>
605
- public Task < Models . AttributeEmail > UpdateEmailAttribute ( string databaseId , string collectionId , string key , bool required , string xdefault )
607
+ public Task < Models . AttributeEmail > UpdateEmailAttribute ( string databaseId , string collectionId , string key , bool required , string xdefault , string ? newKey = null )
606
608
{
607
609
var apiPath = "/databases/{databaseId}/collections/{collectionId}/attributes/email/{key}"
608
610
. Replace ( "{databaseId}" , databaseId )
@@ -612,7 +614,8 @@ static Models.AttributeEmail Convert(Dictionary<string, object> it) =>
612
614
var apiParameters = new Dictionary < string , object ? > ( )
613
615
{
614
616
{ "required" , required } ,
615
- { "default" , xdefault }
617
+ { "default" , xdefault } ,
618
+ { "newKey" , newKey }
616
619
} ;
617
620
618
621
var apiHeaders = new Dictionary < string , string > ( )
@@ -682,7 +685,7 @@ static Models.AttributeEnum Convert(Dictionary<string, object> it) =>
682
685
///
683
686
/// </para>
684
687
/// </summary>
685
- public Task < Models . AttributeEnum > UpdateEnumAttribute ( string databaseId , string collectionId , string key , List < string > elements , bool required , string xdefault )
688
+ public Task < Models . AttributeEnum > UpdateEnumAttribute ( string databaseId , string collectionId , string key , List < string > elements , bool required , string xdefault , string ? newKey = null )
686
689
{
687
690
var apiPath = "/databases/{databaseId}/collections/{collectionId}/attributes/enum/{key}"
688
691
. Replace ( "{databaseId}" , databaseId )
@@ -693,7 +696,8 @@ static Models.AttributeEnum Convert(Dictionary<string, object> it) =>
693
696
{
694
697
{ "elements" , elements } ,
695
698
{ "required" , required } ,
696
- { "default" , xdefault }
699
+ { "default" , xdefault } ,
700
+ { "newKey" , newKey }
697
701
} ;
698
702
699
703
var apiHeaders = new Dictionary < string , string > ( )
@@ -764,7 +768,7 @@ static Models.AttributeFloat Convert(Dictionary<string, object> it) =>
764
768
///
765
769
/// </para>
766
770
/// </summary>
767
- public Task < Models . AttributeFloat > UpdateFloatAttribute ( string databaseId , string collectionId , string key , bool required , double min , double max , double xdefault )
771
+ public Task < Models . AttributeFloat > UpdateFloatAttribute ( string databaseId , string collectionId , string key , bool required , double min , double max , double xdefault , string ? newKey = null )
768
772
{
769
773
var apiPath = "/databases/{databaseId}/collections/{collectionId}/attributes/float/{key}"
770
774
. Replace ( "{databaseId}" , databaseId )
@@ -776,7 +780,8 @@ static Models.AttributeFloat Convert(Dictionary<string, object> it) =>
776
780
{ "required" , required } ,
777
781
{ "min" , min } ,
778
782
{ "max" , max } ,
779
- { "default" , xdefault }
783
+ { "default" , xdefault } ,
784
+ { "newKey" , newKey }
780
785
} ;
781
786
782
787
var apiHeaders = new Dictionary < string , string > ( )
@@ -847,7 +852,7 @@ static Models.AttributeInteger Convert(Dictionary<string, object> it) =>
847
852
///
848
853
/// </para>
849
854
/// </summary>
850
- public Task < Models . AttributeInteger > UpdateIntegerAttribute ( string databaseId , string collectionId , string key , bool required , long min , long max , long xdefault )
855
+ public Task < Models . AttributeInteger > UpdateIntegerAttribute ( string databaseId , string collectionId , string key , bool required , long min , long max , long xdefault , string ? newKey = null )
851
856
{
852
857
var apiPath = "/databases/{databaseId}/collections/{collectionId}/attributes/integer/{key}"
853
858
. Replace ( "{databaseId}" , databaseId )
@@ -859,7 +864,8 @@ static Models.AttributeInteger Convert(Dictionary<string, object> it) =>
859
864
{ "required" , required } ,
860
865
{ "min" , min } ,
861
866
{ "max" , max } ,
862
- { "default" , xdefault }
867
+ { "default" , xdefault } ,
868
+ { "newKey" , newKey }
863
869
} ;
864
870
865
871
var apiHeaders = new Dictionary < string , string > ( )
@@ -927,7 +933,7 @@ static Models.AttributeIp Convert(Dictionary<string, object> it) =>
927
933
///
928
934
/// </para>
929
935
/// </summary>
930
- public Task < Models . AttributeIp > UpdateIpAttribute ( string databaseId , string collectionId , string key , bool required , string xdefault )
936
+ public Task < Models . AttributeIp > UpdateIpAttribute ( string databaseId , string collectionId , string key , bool required , string xdefault , string ? newKey = null )
931
937
{
932
938
var apiPath = "/databases/{databaseId}/collections/{collectionId}/attributes/ip/{key}"
933
939
. Replace ( "{databaseId}" , databaseId )
@@ -937,7 +943,8 @@ static Models.AttributeIp Convert(Dictionary<string, object> it) =>
937
943
var apiParameters = new Dictionary < string , object ? > ( )
938
944
{
939
945
{ "required" , required } ,
940
- { "default" , xdefault }
946
+ { "default" , xdefault } ,
947
+ { "newKey" , newKey }
941
948
} ;
942
949
943
950
var apiHeaders = new Dictionary < string , string > ( )
@@ -1049,7 +1056,7 @@ static Models.AttributeString Convert(Dictionary<string, object> it) =>
1049
1056
///
1050
1057
/// </para>
1051
1058
/// </summary>
1052
- public Task < Models . AttributeString > UpdateStringAttribute ( string databaseId , string collectionId , string key , bool required , string xdefault )
1059
+ public Task < Models . AttributeString > UpdateStringAttribute ( string databaseId , string collectionId , string key , bool required , string xdefault , long ? size = null , string ? newKey = null )
1053
1060
{
1054
1061
var apiPath = "/databases/{databaseId}/collections/{collectionId}/attributes/string/{key}"
1055
1062
. Replace ( "{databaseId}" , databaseId )
@@ -1059,7 +1066,9 @@ static Models.AttributeString Convert(Dictionary<string, object> it) =>
1059
1066
var apiParameters = new Dictionary < string , object ? > ( )
1060
1067
{
1061
1068
{ "required" , required } ,
1062
- { "default" , xdefault }
1069
+ { "default" , xdefault } ,
1070
+ { "size" , size } ,
1071
+ { "newKey" , newKey }
1063
1072
} ;
1064
1073
1065
1074
var apiHeaders = new Dictionary < string , string > ( )
@@ -1127,7 +1136,7 @@ static Models.AttributeUrl Convert(Dictionary<string, object> it) =>
1127
1136
///
1128
1137
/// </para>
1129
1138
/// </summary>
1130
- public Task < Models . AttributeUrl > UpdateUrlAttribute ( string databaseId , string collectionId , string key , bool required , string xdefault )
1139
+ public Task < Models . AttributeUrl > UpdateUrlAttribute ( string databaseId , string collectionId , string key , bool required , string xdefault , string ? newKey = null )
1131
1140
{
1132
1141
var apiPath = "/databases/{databaseId}/collections/{collectionId}/attributes/url/{key}"
1133
1142
. Replace ( "{databaseId}" , databaseId )
@@ -1137,7 +1146,8 @@ static Models.AttributeUrl Convert(Dictionary<string, object> it) =>
1137
1146
var apiParameters = new Dictionary < string , object ? > ( )
1138
1147
{
1139
1148
{ "required" , required } ,
1140
- { "default" , xdefault }
1149
+ { "default" , xdefault } ,
1150
+ { "newKey" , newKey }
1141
1151
} ;
1142
1152
1143
1153
var apiHeaders = new Dictionary < string , string > ( )
@@ -1230,7 +1240,7 @@ public Task<object> DeleteAttribute(string databaseId, string collectionId, stri
1230
1240
///
1231
1241
/// </para>
1232
1242
/// </summary>
1233
- public Task < Models . AttributeRelationship > UpdateRelationshipAttribute ( string databaseId , string collectionId , string key , Appwrite . Enums . RelationMutate ? onDelete = null )
1243
+ public Task < Models . AttributeRelationship > UpdateRelationshipAttribute ( string databaseId , string collectionId , string key , Appwrite . Enums . RelationMutate ? onDelete = null , string ? newKey = null )
1234
1244
{
1235
1245
var apiPath = "/databases/{databaseId}/collections/{collectionId}/attributes/{key}/relationship"
1236
1246
. Replace ( "{databaseId}" , databaseId )
@@ -1239,7 +1249,8 @@ public Task<object> DeleteAttribute(string databaseId, string collectionId, stri
1239
1249
1240
1250
var apiParameters = new Dictionary < string , object ? > ( )
1241
1251
{
1242
- { "onDelete" , onDelete }
1252
+ { "onDelete" , onDelete } ,
1253
+ { "newKey" , newKey }
1243
1254
} ;
1244
1255
1245
1256
var apiHeaders = new Dictionary < string , string > ( )
0 commit comments