@@ -914,18 +914,18 @@ class GraphVersionNodePayload(BaseModel):
914
914
915
915
class NodeQuery (Query ):
916
916
_name : str = PrivateAttr ('node' )
917
- id : ID
917
+ id : ID = Field ( json_schema_extra = { 'type' : 'ID!' })
918
918
payload : Node
919
919
920
920
921
921
class DevicesQuery (Query ):
922
922
_name : str = PrivateAttr ('devices' )
923
- first : typing .Optional [Int ] = Field (default = None )
924
- after : typing .Optional [String ] = Field (default = None )
925
- last : typing .Optional [Int ] = Field (default = None )
926
- before : typing .Optional [String ] = Field (default = None )
927
- filter : typing .Optional [FilterDevicesInput ] = Field (default = None )
928
- order_by : typing .Optional [DeviceOrderByInput ] = Field (default = None , alias = 'orderBy' )
923
+ first : typing .Optional [Int ] = Field (default = None , json_schema_extra = { 'type' : 'Int' } )
924
+ after : typing .Optional [String ] = Field (default = None , json_schema_extra = { 'type' : 'String' } )
925
+ last : typing .Optional [Int ] = Field (default = None , json_schema_extra = { 'type' : 'Int' } )
926
+ before : typing .Optional [String ] = Field (default = None , json_schema_extra = { 'type' : 'String' } )
927
+ filter : typing .Optional [FilterDevicesInput ] = Field (default = None , json_schema_extra = { 'type' : 'FilterDevicesInput' } )
928
+ order_by : typing .Optional [DeviceOrderByInput ] = Field (default = None , alias = 'orderBy' , json_schema_extra = { 'type' : 'DeviceOrderByInput' } )
929
929
payload : DeviceConnection
930
930
931
931
@@ -935,60 +935,60 @@ class UniconfigShellSessionQuery(Query):
935
935
936
936
class ZonesQuery (Query ):
937
937
_name : str = PrivateAttr ('zones' )
938
- first : typing .Optional [Int ] = Field (default = None )
939
- after : typing .Optional [String ] = Field (default = None )
940
- last : typing .Optional [Int ] = Field (default = None )
941
- before : typing .Optional [String ] = Field (default = None )
938
+ first : typing .Optional [Int ] = Field (default = None , json_schema_extra = { 'type' : 'Int' } )
939
+ after : typing .Optional [String ] = Field (default = None , json_schema_extra = { 'type' : 'String' } )
940
+ last : typing .Optional [Int ] = Field (default = None , json_schema_extra = { 'type' : 'Int' } )
941
+ before : typing .Optional [String ] = Field (default = None , json_schema_extra = { 'type' : 'String' } )
942
942
payload : ZonesConnection
943
943
944
944
945
945
class DataStoreQuery (Query ):
946
946
_name : str = PrivateAttr ('dataStore' )
947
- device_id : String = Field (alias = 'deviceId' )
948
- transaction_id : String = Field (alias = 'transactionId' )
947
+ device_id : String = Field (alias = 'deviceId' , json_schema_extra = { 'type' : 'String!' } )
948
+ transaction_id : String = Field (alias = 'transactionId' , json_schema_extra = { 'type' : 'String!' } )
949
949
payload : DataStore
950
950
951
951
952
952
class CalculatedDiffQuery (Query ):
953
953
_name : str = PrivateAttr ('calculatedDiff' )
954
- device_id : String = Field (alias = 'deviceId' )
955
- transaction_id : String = Field (alias = 'transactionId' )
954
+ device_id : String = Field (alias = 'deviceId' , json_schema_extra = { 'type' : 'String!' } )
955
+ transaction_id : String = Field (alias = 'transactionId' , json_schema_extra = { 'type' : 'String!' } )
956
956
payload : CalculatedDiffPayload
957
957
958
958
959
959
class LabelsQuery (Query ):
960
960
_name : str = PrivateAttr ('labels' )
961
- first : typing .Optional [Int ] = Field (default = None )
962
- after : typing .Optional [String ] = Field (default = None )
963
- last : typing .Optional [Int ] = Field (default = None )
964
- before : typing .Optional [String ] = Field (default = None )
961
+ first : typing .Optional [Int ] = Field (default = None , json_schema_extra = { 'type' : 'Int' } )
962
+ after : typing .Optional [String ] = Field (default = None , json_schema_extra = { 'type' : 'String' } )
963
+ last : typing .Optional [Int ] = Field (default = None , json_schema_extra = { 'type' : 'Int' } )
964
+ before : typing .Optional [String ] = Field (default = None , json_schema_extra = { 'type' : 'String' } )
965
965
payload : LabelConnection
966
966
967
967
968
968
class CountriesQuery (Query ):
969
969
_name : str = PrivateAttr ('countries' )
970
- first : typing .Optional [Int ] = Field (default = None )
971
- after : typing .Optional [String ] = Field (default = None )
972
- last : typing .Optional [Int ] = Field (default = None )
973
- before : typing .Optional [String ] = Field (default = None )
970
+ first : typing .Optional [Int ] = Field (default = None , json_schema_extra = { 'type' : 'Int' } )
971
+ after : typing .Optional [String ] = Field (default = None , json_schema_extra = { 'type' : 'String' } )
972
+ last : typing .Optional [Int ] = Field (default = None , json_schema_extra = { 'type' : 'Int' } )
973
+ before : typing .Optional [String ] = Field (default = None , json_schema_extra = { 'type' : 'String' } )
974
974
payload : CountryConnection
975
975
976
976
977
977
class LocationsQuery (Query ):
978
978
_name : str = PrivateAttr ('locations' )
979
- first : typing .Optional [Int ] = Field (default = None )
980
- after : typing .Optional [String ] = Field (default = None )
981
- last : typing .Optional [Int ] = Field (default = None )
982
- before : typing .Optional [String ] = Field (default = None )
979
+ first : typing .Optional [Int ] = Field (default = None , json_schema_extra = { 'type' : 'Int' } )
980
+ after : typing .Optional [String ] = Field (default = None , json_schema_extra = { 'type' : 'String' } )
981
+ last : typing .Optional [Int ] = Field (default = None , json_schema_extra = { 'type' : 'Int' } )
982
+ before : typing .Optional [String ] = Field (default = None , json_schema_extra = { 'type' : 'String' } )
983
983
payload : LocationConnection
984
984
985
985
986
986
class BlueprintsQuery (Query ):
987
987
_name : str = PrivateAttr ('blueprints' )
988
- first : typing .Optional [Int ] = Field (default = None )
989
- after : typing .Optional [String ] = Field (default = None )
990
- last : typing .Optional [Int ] = Field (default = None )
991
- before : typing .Optional [String ] = Field (default = None )
988
+ first : typing .Optional [Int ] = Field (default = None , json_schema_extra = { 'type' : 'Int' } )
989
+ after : typing .Optional [String ] = Field (default = None , json_schema_extra = { 'type' : 'String' } )
990
+ last : typing .Optional [Int ] = Field (default = None , json_schema_extra = { 'type' : 'Int' } )
991
+ before : typing .Optional [String ] = Field (default = None , json_schema_extra = { 'type' : 'String' } )
992
992
payload : BlueprintConnection
993
993
994
994
@@ -998,7 +998,7 @@ class TransactionsQuery(Query):
998
998
999
999
class TopologyQuery (Query ):
1000
1000
_name : str = PrivateAttr ('topology' )
1001
- filter : typing .Optional [FilterTopologyInput ] = Field (default = None )
1001
+ filter : typing .Optional [FilterTopologyInput ] = Field (default = None , json_schema_extra = { 'type' : 'FilterTopologyInput' } )
1002
1002
payload : Topology
1003
1003
1004
1004
@@ -1008,13 +1008,13 @@ class TopologyVersionsQuery(Query):
1008
1008
1009
1009
class TopologyCommonNodesQuery (Query ):
1010
1010
_name : str = PrivateAttr ('topologyCommonNodes' )
1011
- nodes : typing .Optional [list [String ]] = Field (default = None )
1011
+ nodes : typing .Optional [list [String ]] = Field (default = None , json_schema_extra = { 'type' : '[String!]!' } )
1012
1012
payload : TopologyCommonNodes
1013
1013
1014
1014
1015
1015
class TopologyVersionDataQuery (Query ):
1016
1016
_name : str = PrivateAttr ('topologyVersionData' )
1017
- version : String
1017
+ version : String = Field ( json_schema_extra = { 'type' : 'String!' })
1018
1018
payload : TopologyVersionData
1019
1019
1020
1020
@@ -1128,155 +1128,155 @@ class TopologyVersionDataData(BaseModel):
1128
1128
1129
1129
class AddDeviceMutation (Mutation ):
1130
1130
_name : str = PrivateAttr ('addDevice' )
1131
- input : AddDeviceInput
1131
+ input : AddDeviceInput = Field ( json_schema_extra = { 'type' : 'AddDeviceInput!' })
1132
1132
payload : AddDevicePayload
1133
1133
1134
1134
1135
1135
class UpdateDeviceMutation (Mutation ):
1136
1136
_name : str = PrivateAttr ('updateDevice' )
1137
- id : String
1138
- input : UpdateDeviceInput
1137
+ id : String = Field ( json_schema_extra = { 'type' : 'String!' })
1138
+ input : UpdateDeviceInput = Field ( json_schema_extra = { 'type' : 'UpdateDeviceInput!' })
1139
1139
payload : UpdateDevicePayload
1140
1140
1141
1141
1142
1142
class DeleteDeviceMutation (Mutation ):
1143
1143
_name : str = PrivateAttr ('deleteDevice' )
1144
- id : String
1144
+ id : String = Field ( json_schema_extra = { 'type' : 'String!' })
1145
1145
payload : DeleteDevicePayload
1146
1146
1147
1147
1148
1148
class InstallDeviceMutation (Mutation ):
1149
1149
_name : str = PrivateAttr ('installDevice' )
1150
- id : String
1150
+ id : String = Field ( json_schema_extra = { 'type' : 'String!' })
1151
1151
payload : InstallDevicePayload
1152
1152
1153
1153
1154
1154
class UninstallDeviceMutation (Mutation ):
1155
1155
_name : str = PrivateAttr ('uninstallDevice' )
1156
- id : String
1156
+ id : String = Field ( json_schema_extra = { 'type' : 'String!' })
1157
1157
payload : UninstallDevicePayload
1158
1158
1159
1159
1160
1160
class ImportCSVMutation (Mutation ):
1161
1161
_name : str = PrivateAttr ('importCSV' )
1162
- input : CSVImportInput
1162
+ input : CSVImportInput = Field ( json_schema_extra = { 'type' : 'CSVImportInput!' })
1163
1163
payload : CSVImport
1164
1164
1165
1165
1166
1166
class AddZoneMutation (Mutation ):
1167
1167
_name : str = PrivateAttr ('addZone' )
1168
- input : AddZoneInput
1168
+ input : AddZoneInput = Field ( json_schema_extra = { 'type' : 'AddZoneInput!' })
1169
1169
payload : AddZonePayload
1170
1170
1171
1171
1172
1172
class UpdateDataStoreMutation (Mutation ):
1173
1173
_name : str = PrivateAttr ('updateDataStore' )
1174
- device_id : String = Field (alias = 'deviceId' )
1175
- transaction_id : String = Field (alias = 'transactionId' )
1176
- input : UpdateDataStoreInput
1174
+ device_id : String = Field (alias = 'deviceId' , json_schema_extra = { 'type' : 'String!' } )
1175
+ transaction_id : String = Field (alias = 'transactionId' , json_schema_extra = { 'type' : 'String!' } )
1176
+ input : UpdateDataStoreInput = Field ( json_schema_extra = { 'type' : 'UpdateDataStoreInput!' })
1177
1177
payload : UpdateDataStorePayload
1178
1178
1179
1179
1180
1180
class CommitConfigMutation (Mutation ):
1181
1181
_name : str = PrivateAttr ('commitConfig' )
1182
- transaction_id : String = Field (alias = 'transactionId' )
1183
- input : CommitConfigInput
1182
+ transaction_id : String = Field (alias = 'transactionId' , json_schema_extra = { 'type' : 'String!' } )
1183
+ input : CommitConfigInput = Field ( json_schema_extra = { 'type' : 'CommitConfigInput!' })
1184
1184
payload : CommitConfigPayload
1185
1185
1186
1186
1187
1187
class ResetConfigMutation (Mutation ):
1188
1188
_name : str = PrivateAttr ('resetConfig' )
1189
- device_id : String = Field (alias = 'deviceId' )
1190
- transaction_id : String = Field (alias = 'transactionId' )
1189
+ device_id : String = Field (alias = 'deviceId' , json_schema_extra = { 'type' : 'String!' } )
1190
+ transaction_id : String = Field (alias = 'transactionId' , json_schema_extra = { 'type' : 'String!' } )
1191
1191
payload : ResetConfigPayload
1192
1192
1193
1193
1194
1194
class AddSnapshotMutation (Mutation ):
1195
1195
_name : str = PrivateAttr ('addSnapshot' )
1196
- input : AddSnapshotInput
1197
- transaction_id : String = Field (alias = 'transactionId' )
1196
+ input : AddSnapshotInput = Field ( json_schema_extra = { 'type' : 'AddSnapshotInput!' })
1197
+ transaction_id : String = Field (alias = 'transactionId' , json_schema_extra = { 'type' : 'String!' } )
1198
1198
payload : AddSnapshotPayload
1199
1199
1200
1200
1201
1201
class DeleteSnapshotMutation (Mutation ):
1202
1202
_name : str = PrivateAttr ('deleteSnapshot' )
1203
- input : DeleteSnapshotInput
1203
+ input : DeleteSnapshotInput = Field ( json_schema_extra = { 'type' : 'DeleteSnapshotInput!' })
1204
1204
payload : DeleteSnapshotPayload
1205
1205
1206
1206
1207
1207
class ApplySnapshotMutation (Mutation ):
1208
1208
_name : str = PrivateAttr ('applySnapshot' )
1209
- input : ApplySnapshotInput
1210
- transaction_id : String = Field (alias = 'transactionId' )
1209
+ input : ApplySnapshotInput = Field ( json_schema_extra = { 'type' : 'ApplySnapshotInput!' })
1210
+ transaction_id : String = Field (alias = 'transactionId' , json_schema_extra = { 'type' : 'String!' } )
1211
1211
payload : ApplySnapshotPayload
1212
1212
1213
1213
1214
1214
class SyncFromNetworkMutation (Mutation ):
1215
1215
_name : str = PrivateAttr ('syncFromNetwork' )
1216
- device_id : String = Field (alias = 'deviceId' )
1217
- transaction_id : String = Field (alias = 'transactionId' )
1216
+ device_id : String = Field (alias = 'deviceId' , json_schema_extra = { 'type' : 'String!' } )
1217
+ transaction_id : String = Field (alias = 'transactionId' , json_schema_extra = { 'type' : 'String!' } )
1218
1218
payload : SyncFromNetworkPayload
1219
1219
1220
1220
1221
1221
class CreateLabelMutation (Mutation ):
1222
1222
_name : str = PrivateAttr ('createLabel' )
1223
- input : CreateLabelInput
1223
+ input : CreateLabelInput = Field ( json_schema_extra = { 'type' : 'CreateLabelInput!' })
1224
1224
payload : CreateLabelPayload
1225
1225
1226
1226
1227
1227
class DeleteLabelMutation (Mutation ):
1228
1228
_name : str = PrivateAttr ('deleteLabel' )
1229
- id : String
1229
+ id : String = Field ( json_schema_extra = { 'type' : 'String!' })
1230
1230
payload : DeleteLabelPayload
1231
1231
1232
1232
1233
1233
class AddLocationMutation (Mutation ):
1234
1234
_name : str = PrivateAttr ('addLocation' )
1235
- input : AddLocationInput
1235
+ input : AddLocationInput = Field ( json_schema_extra = { 'type' : 'AddLocationInput!' })
1236
1236
payload : AddLocationPayload
1237
1237
1238
1238
1239
1239
class AddBlueprintMutation (Mutation ):
1240
1240
_name : str = PrivateAttr ('addBlueprint' )
1241
- input : AddBlueprintInput
1241
+ input : AddBlueprintInput = Field ( json_schema_extra = { 'type' : 'AddBlueprintInput!' })
1242
1242
payload : AddBlueprintPayload
1243
1243
1244
1244
1245
1245
class UpdateBlueprintMutation (Mutation ):
1246
1246
_name : str = PrivateAttr ('updateBlueprint' )
1247
- id : String
1248
- input : UpdateBlueprintInput
1247
+ id : String = Field ( json_schema_extra = { 'type' : 'String!' })
1248
+ input : UpdateBlueprintInput = Field ( json_schema_extra = { 'type' : 'UpdateBlueprintInput!' })
1249
1249
payload : UpdateBlueprintPayload
1250
1250
1251
1251
1252
1252
class DeleteBlueprintMutation (Mutation ):
1253
1253
_name : str = PrivateAttr ('deleteBlueprint' )
1254
- id : String
1254
+ id : String = Field ( json_schema_extra = { 'type' : 'String!' })
1255
1255
payload : DeleteBlueprintPayload
1256
1256
1257
1257
1258
1258
class CreateTransactionMutation (Mutation ):
1259
1259
_name : str = PrivateAttr ('createTransaction' )
1260
- device_id : String = Field (alias = 'deviceId' )
1260
+ device_id : String = Field (alias = 'deviceId' , json_schema_extra = { 'type' : 'String!' } )
1261
1261
payload : CreateTransactionPayload
1262
1262
1263
1263
1264
1264
class CloseTransactionMutation (Mutation ):
1265
1265
_name : str = PrivateAttr ('closeTransaction' )
1266
- device_id : String = Field (alias = 'deviceId' )
1267
- transaction_id : String = Field (alias = 'transactionId' )
1266
+ device_id : String = Field (alias = 'deviceId' , json_schema_extra = { 'type' : 'String!' } )
1267
+ transaction_id : String = Field (alias = 'transactionId' , json_schema_extra = { 'type' : 'String!' } )
1268
1268
payload : CloseTransactionPayload
1269
1269
1270
1270
1271
1271
class RevertChangesMutation (Mutation ):
1272
1272
_name : str = PrivateAttr ('revertChanges' )
1273
- transaction_id : String = Field (alias = 'transactionId' )
1273
+ transaction_id : String = Field (alias = 'transactionId' , json_schema_extra = { 'type' : 'String!' } )
1274
1274
payload : RevertChangesPayload
1275
1275
1276
1276
1277
1277
class UpdateGraphNodeCoordinatesMutation (Mutation ):
1278
1278
_name : str = PrivateAttr ('updateGraphNodeCoordinates' )
1279
- input : typing .Optional [list [GraphNodeCoordinatesInput ]] = Field (default = None )
1279
+ input : typing .Optional [list [GraphNodeCoordinatesInput ]] = Field (default = None , json_schema_extra = { 'type' : '[GraphNodeCoordinatesInput!]!' } )
1280
1280
payload : UpdateGraphNodeCoordinatesPayload
1281
1281
1282
1282
@@ -1498,9 +1498,9 @@ class UpdateGraphNodeCoordinatesData(BaseModel):
1498
1498
1499
1499
class UniconfigShellSubscription (Subscription ):
1500
1500
_name : str = PrivateAttr ('uniconfigShell' )
1501
- input : typing .Optional [String ] = Field (default = None )
1502
- trigger : typing .Optional [Int ] = Field (default = None )
1503
- session_id : String = Field (alias = 'sessionId' )
1501
+ input : typing .Optional [String ] = Field (default = None , json_schema_extra = { 'type' : 'String' } )
1502
+ trigger : typing .Optional [Int ] = Field (default = None , json_schema_extra = { 'type' : 'Int' } )
1503
+ session_id : String = Field (alias = 'sessionId' , json_schema_extra = { 'type' : 'String!' } )
1504
1504
payload : Boolean
1505
1505
1506
1506
0 commit comments