@@ -35,31 +35,43 @@ class DenseForCreateVikingdbCollectionInput(object):
3535 swagger_types = {
3636 'dim' : 'int' ,
3737 'image_field' : 'str' ,
38+ 'instruction' : 'InstructionForCreateVikingdbCollectionInput' ,
3839 'model_name' : 'str' ,
3940 'model_version' : 'str' ,
41+ 'n_dim' : 'int' ,
42+ 'shape' : 'list[int]' ,
43+ 'tensor_quant_type' : 'str' ,
4044 'text_field' : 'str' ,
4145 'video_field' : 'str'
4246 }
4347
4448 attribute_map = {
4549 'dim' : 'Dim' ,
4650 'image_field' : 'ImageField' ,
51+ 'instruction' : 'Instruction' ,
4752 'model_name' : 'ModelName' ,
4853 'model_version' : 'ModelVersion' ,
54+ 'n_dim' : 'NDim' ,
55+ 'shape' : 'Shape' ,
56+ 'tensor_quant_type' : 'TensorQuantType' ,
4957 'text_field' : 'TextField' ,
5058 'video_field' : 'VideoField'
5159 }
5260
53- def __init__ (self , dim = None , image_field = None , model_name = None , model_version = None , text_field = None , video_field = None , _configuration = None ): # noqa: E501
61+ def __init__ (self , dim = None , image_field = None , instruction = None , model_name = None , model_version = None , n_dim = None , shape = None , tensor_quant_type = None , text_field = None , video_field = None , _configuration = None ): # noqa: E501
5462 """DenseForCreateVikingdbCollectionInput - a model defined in Swagger""" # noqa: E501
5563 if _configuration is None :
5664 _configuration = Configuration ()
5765 self ._configuration = _configuration
5866
5967 self ._dim = None
6068 self ._image_field = None
69+ self ._instruction = None
6170 self ._model_name = None
6271 self ._model_version = None
72+ self ._n_dim = None
73+ self ._shape = None
74+ self ._tensor_quant_type = None
6375 self ._text_field = None
6476 self ._video_field = None
6577 self .discriminator = None
@@ -68,10 +80,18 @@ def __init__(self, dim=None, image_field=None, model_name=None, model_version=No
6880 self .dim = dim
6981 if image_field is not None :
7082 self .image_field = image_field
83+ if instruction is not None :
84+ self .instruction = instruction
7185 if model_name is not None :
7286 self .model_name = model_name
7387 if model_version is not None :
7488 self .model_version = model_version
89+ if n_dim is not None :
90+ self .n_dim = n_dim
91+ if shape is not None :
92+ self .shape = shape
93+ if tensor_quant_type is not None :
94+ self .tensor_quant_type = tensor_quant_type
7595 if text_field is not None :
7696 self .text_field = text_field
7797 if video_field is not None :
@@ -119,6 +139,27 @@ def image_field(self, image_field):
119139
120140 self ._image_field = image_field
121141
142+ @property
143+ def instruction (self ):
144+ """Gets the instruction of this DenseForCreateVikingdbCollectionInput. # noqa: E501
145+
146+
147+ :return: The instruction of this DenseForCreateVikingdbCollectionInput. # noqa: E501
148+ :rtype: InstructionForCreateVikingdbCollectionInput
149+ """
150+ return self ._instruction
151+
152+ @instruction .setter
153+ def instruction (self , instruction ):
154+ """Sets the instruction of this DenseForCreateVikingdbCollectionInput.
155+
156+
157+ :param instruction: The instruction of this DenseForCreateVikingdbCollectionInput. # noqa: E501
158+ :type: InstructionForCreateVikingdbCollectionInput
159+ """
160+
161+ self ._instruction = instruction
162+
122163 @property
123164 def model_name (self ):
124165 """Gets the model_name of this DenseForCreateVikingdbCollectionInput. # noqa: E501
@@ -168,6 +209,76 @@ def model_version(self, model_version):
168209
169210 self ._model_version = model_version
170211
212+ @property
213+ def n_dim (self ):
214+ """Gets the n_dim of this DenseForCreateVikingdbCollectionInput. # noqa: E501
215+
216+
217+ :return: The n_dim of this DenseForCreateVikingdbCollectionInput. # noqa: E501
218+ :rtype: int
219+ """
220+ return self ._n_dim
221+
222+ @n_dim .setter
223+ def n_dim (self , n_dim ):
224+ """Sets the n_dim of this DenseForCreateVikingdbCollectionInput.
225+
226+
227+ :param n_dim: The n_dim of this DenseForCreateVikingdbCollectionInput. # noqa: E501
228+ :type: int
229+ """
230+
231+ self ._n_dim = n_dim
232+
233+ @property
234+ def shape (self ):
235+ """Gets the shape of this DenseForCreateVikingdbCollectionInput. # noqa: E501
236+
237+
238+ :return: The shape of this DenseForCreateVikingdbCollectionInput. # noqa: E501
239+ :rtype: list[int]
240+ """
241+ return self ._shape
242+
243+ @shape .setter
244+ def shape (self , shape ):
245+ """Sets the shape of this DenseForCreateVikingdbCollectionInput.
246+
247+
248+ :param shape: The shape of this DenseForCreateVikingdbCollectionInput. # noqa: E501
249+ :type: list[int]
250+ """
251+
252+ self ._shape = shape
253+
254+ @property
255+ def tensor_quant_type (self ):
256+ """Gets the tensor_quant_type of this DenseForCreateVikingdbCollectionInput. # noqa: E501
257+
258+
259+ :return: The tensor_quant_type of this DenseForCreateVikingdbCollectionInput. # noqa: E501
260+ :rtype: str
261+ """
262+ return self ._tensor_quant_type
263+
264+ @tensor_quant_type .setter
265+ def tensor_quant_type (self , tensor_quant_type ):
266+ """Sets the tensor_quant_type of this DenseForCreateVikingdbCollectionInput.
267+
268+
269+ :param tensor_quant_type: The tensor_quant_type of this DenseForCreateVikingdbCollectionInput. # noqa: E501
270+ :type: str
271+ """
272+ allowed_values = ["int8" ] # noqa: E501
273+ if (self ._configuration .client_side_validation and
274+ tensor_quant_type not in allowed_values ):
275+ raise ValueError (
276+ "Invalid value for `tensor_quant_type` ({0}), must be one of {1}" # noqa: E501
277+ .format (tensor_quant_type , allowed_values )
278+ )
279+
280+ self ._tensor_quant_type = tensor_quant_type
281+
171282 @property
172283 def text_field (self ):
173284 """Gets the text_field of this DenseForCreateVikingdbCollectionInput. # noqa: E501
0 commit comments