docusign_esign.models.doc_gen_form_field
Docusign eSignature REST API
The Docusign eSignature REST API provides you with a powerful, convenient, and simple Web services API for interacting with Docusign. # noqa: E501
OpenAPI spec version: v2.1 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.git
1# coding: utf-8 2 3""" 4 Docusign eSignature REST API 5 6 The Docusign eSignature REST API provides you with a powerful, convenient, and simple Web services API for interacting with Docusign. # noqa: E501 7 8 OpenAPI spec version: v2.1 9 Contact: devcenter@docusign.com 10 Generated by: https://github.com/swagger-api/swagger-codegen.git 11""" 12 13 14import pprint 15import re # noqa: F401 16 17import six 18 19from docusign_esign.client.configuration import Configuration 20 21 22class DocGenFormField(object): 23 """NOTE: This class is auto generated by the swagger code generator program. 24 25 Do not edit the class manually. 26 """ 27 28 """ 29 Attributes: 30 swagger_types (dict): The key is attribute name 31 and the value is attribute type. 32 attribute_map (dict): The key is attribute name 33 and the value is json key in definition. 34 """ 35 swagger_types = { 36 'connected_object_details': 'ConnectedObjectDetails', 37 'description': 'str', 38 'fully_qualified_path': 'str', 39 'label': 'str', 40 'name': 'str', 41 'options': 'list[DocGenFormFieldOption]', 42 'order': 'str', 43 'predefined_validation': 'str', 44 'required': 'str', 45 'row_values': 'list[DocGenFormFieldRowValue]', 46 'type': 'str', 47 'validation': 'DocGenFormFieldValidation', 48 'value': 'str' 49 } 50 51 attribute_map = { 52 'connected_object_details': 'connectedObjectDetails', 53 'description': 'description', 54 'fully_qualified_path': 'fullyQualifiedPath', 55 'label': 'label', 56 'name': 'name', 57 'options': 'options', 58 'order': 'order', 59 'predefined_validation': 'predefinedValidation', 60 'required': 'required', 61 'row_values': 'rowValues', 62 'type': 'type', 63 'validation': 'validation', 64 'value': 'value' 65 } 66 67 def __init__(self, _configuration=None, **kwargs): # noqa: E501 68 """DocGenFormField - a model defined in Swagger""" # noqa: E501 69 if _configuration is None: 70 _configuration = Configuration() 71 self._configuration = _configuration 72 73 self._connected_object_details = None 74 self._description = None 75 self._fully_qualified_path = None 76 self._label = None 77 self._name = None 78 self._options = None 79 self._order = None 80 self._predefined_validation = None 81 self._required = None 82 self._row_values = None 83 self._type = None 84 self._validation = None 85 self._value = None 86 self.discriminator = None 87 88 setattr(self, "_{}".format('connected_object_details'), kwargs.get('connected_object_details', None)) 89 setattr(self, "_{}".format('description'), kwargs.get('description', None)) 90 setattr(self, "_{}".format('fully_qualified_path'), kwargs.get('fully_qualified_path', None)) 91 setattr(self, "_{}".format('label'), kwargs.get('label', None)) 92 setattr(self, "_{}".format('name'), kwargs.get('name', None)) 93 setattr(self, "_{}".format('options'), kwargs.get('options', None)) 94 setattr(self, "_{}".format('order'), kwargs.get('order', None)) 95 setattr(self, "_{}".format('predefined_validation'), kwargs.get('predefined_validation', None)) 96 setattr(self, "_{}".format('required'), kwargs.get('required', None)) 97 setattr(self, "_{}".format('row_values'), kwargs.get('row_values', None)) 98 setattr(self, "_{}".format('type'), kwargs.get('type', None)) 99 setattr(self, "_{}".format('validation'), kwargs.get('validation', None)) 100 setattr(self, "_{}".format('value'), kwargs.get('value', None)) 101 102 @property 103 def connected_object_details(self): 104 """Gets the connected_object_details of this DocGenFormField. # noqa: E501 105 106 # noqa: E501 107 108 :return: The connected_object_details of this DocGenFormField. # noqa: E501 109 :rtype: ConnectedObjectDetails 110 """ 111 return self._connected_object_details 112 113 @connected_object_details.setter 114 def connected_object_details(self, connected_object_details): 115 """Sets the connected_object_details of this DocGenFormField. 116 117 # noqa: E501 118 119 :param connected_object_details: The connected_object_details of this DocGenFormField. # noqa: E501 120 :type: ConnectedObjectDetails 121 """ 122 123 self._connected_object_details = connected_object_details 124 125 @property 126 def description(self): 127 """Gets the description of this DocGenFormField. # noqa: E501 128 129 # noqa: E501 130 131 :return: The description of this DocGenFormField. # noqa: E501 132 :rtype: str 133 """ 134 return self._description 135 136 @description.setter 137 def description(self, description): 138 """Sets the description of this DocGenFormField. 139 140 # noqa: E501 141 142 :param description: The description of this DocGenFormField. # noqa: E501 143 :type: str 144 """ 145 146 self._description = description 147 148 @property 149 def fully_qualified_path(self): 150 """Gets the fully_qualified_path of this DocGenFormField. # noqa: E501 151 152 # noqa: E501 153 154 :return: The fully_qualified_path of this DocGenFormField. # noqa: E501 155 :rtype: str 156 """ 157 return self._fully_qualified_path 158 159 @fully_qualified_path.setter 160 def fully_qualified_path(self, fully_qualified_path): 161 """Sets the fully_qualified_path of this DocGenFormField. 162 163 # noqa: E501 164 165 :param fully_qualified_path: The fully_qualified_path of this DocGenFormField. # noqa: E501 166 :type: str 167 """ 168 169 self._fully_qualified_path = fully_qualified_path 170 171 @property 172 def label(self): 173 """Gets the label of this DocGenFormField. # noqa: E501 174 175 # noqa: E501 176 177 :return: The label of this DocGenFormField. # noqa: E501 178 :rtype: str 179 """ 180 return self._label 181 182 @label.setter 183 def label(self, label): 184 """Sets the label of this DocGenFormField. 185 186 # noqa: E501 187 188 :param label: The label of this DocGenFormField. # noqa: E501 189 :type: str 190 """ 191 192 self._label = label 193 194 @property 195 def name(self): 196 """Gets the name of this DocGenFormField. # noqa: E501 197 198 # noqa: E501 199 200 :return: The name of this DocGenFormField. # noqa: E501 201 :rtype: str 202 """ 203 return self._name 204 205 @name.setter 206 def name(self, name): 207 """Sets the name of this DocGenFormField. 208 209 # noqa: E501 210 211 :param name: The name of this DocGenFormField. # noqa: E501 212 :type: str 213 """ 214 215 self._name = name 216 217 @property 218 def options(self): 219 """Gets the options of this DocGenFormField. # noqa: E501 220 221 # noqa: E501 222 223 :return: The options of this DocGenFormField. # noqa: E501 224 :rtype: list[DocGenFormFieldOption] 225 """ 226 return self._options 227 228 @options.setter 229 def options(self, options): 230 """Sets the options of this DocGenFormField. 231 232 # noqa: E501 233 234 :param options: The options of this DocGenFormField. # noqa: E501 235 :type: list[DocGenFormFieldOption] 236 """ 237 238 self._options = options 239 240 @property 241 def order(self): 242 """Gets the order of this DocGenFormField. # noqa: E501 243 244 # noqa: E501 245 246 :return: The order of this DocGenFormField. # noqa: E501 247 :rtype: str 248 """ 249 return self._order 250 251 @order.setter 252 def order(self, order): 253 """Sets the order of this DocGenFormField. 254 255 # noqa: E501 256 257 :param order: The order of this DocGenFormField. # noqa: E501 258 :type: str 259 """ 260 261 self._order = order 262 263 @property 264 def predefined_validation(self): 265 """Gets the predefined_validation of this DocGenFormField. # noqa: E501 266 267 # noqa: E501 268 269 :return: The predefined_validation of this DocGenFormField. # noqa: E501 270 :rtype: str 271 """ 272 return self._predefined_validation 273 274 @predefined_validation.setter 275 def predefined_validation(self, predefined_validation): 276 """Sets the predefined_validation of this DocGenFormField. 277 278 # noqa: E501 279 280 :param predefined_validation: The predefined_validation of this DocGenFormField. # noqa: E501 281 :type: str 282 """ 283 284 self._predefined_validation = predefined_validation 285 286 @property 287 def required(self): 288 """Gets the required of this DocGenFormField. # noqa: E501 289 290 When set to **true**, the signer is required to fill out this tab # noqa: E501 291 292 :return: The required of this DocGenFormField. # noqa: E501 293 :rtype: str 294 """ 295 return self._required 296 297 @required.setter 298 def required(self, required): 299 """Sets the required of this DocGenFormField. 300 301 When set to **true**, the signer is required to fill out this tab # noqa: E501 302 303 :param required: The required of this DocGenFormField. # noqa: E501 304 :type: str 305 """ 306 307 self._required = required 308 309 @property 310 def row_values(self): 311 """Gets the row_values of this DocGenFormField. # noqa: E501 312 313 # noqa: E501 314 315 :return: The row_values of this DocGenFormField. # noqa: E501 316 :rtype: list[DocGenFormFieldRowValue] 317 """ 318 return self._row_values 319 320 @row_values.setter 321 def row_values(self, row_values): 322 """Sets the row_values of this DocGenFormField. 323 324 # noqa: E501 325 326 :param row_values: The row_values of this DocGenFormField. # noqa: E501 327 :type: list[DocGenFormFieldRowValue] 328 """ 329 330 self._row_values = row_values 331 332 @property 333 def type(self): 334 """Gets the type of this DocGenFormField. # noqa: E501 335 336 # noqa: E501 337 338 :return: The type of this DocGenFormField. # noqa: E501 339 :rtype: str 340 """ 341 return self._type 342 343 @type.setter 344 def type(self, type): 345 """Sets the type of this DocGenFormField. 346 347 # noqa: E501 348 349 :param type: The type of this DocGenFormField. # noqa: E501 350 :type: str 351 """ 352 353 self._type = type 354 355 @property 356 def validation(self): 357 """Gets the validation of this DocGenFormField. # noqa: E501 358 359 # noqa: E501 360 361 :return: The validation of this DocGenFormField. # noqa: E501 362 :rtype: DocGenFormFieldValidation 363 """ 364 return self._validation 365 366 @validation.setter 367 def validation(self, validation): 368 """Sets the validation of this DocGenFormField. 369 370 # noqa: E501 371 372 :param validation: The validation of this DocGenFormField. # noqa: E501 373 :type: DocGenFormFieldValidation 374 """ 375 376 self._validation = validation 377 378 @property 379 def value(self): 380 """Gets the value of this DocGenFormField. # noqa: E501 381 382 Specifies the value of the tab. # noqa: E501 383 384 :return: The value of this DocGenFormField. # noqa: E501 385 :rtype: str 386 """ 387 return self._value 388 389 @value.setter 390 def value(self, value): 391 """Sets the value of this DocGenFormField. 392 393 Specifies the value of the tab. # noqa: E501 394 395 :param value: The value of this DocGenFormField. # noqa: E501 396 :type: str 397 """ 398 399 self._value = value 400 401 def to_dict(self): 402 """Returns the model properties as a dict""" 403 result = {} 404 405 for attr, _ in six.iteritems(self.swagger_types): 406 value = getattr(self, attr) 407 if isinstance(value, list): 408 result[attr] = list(map( 409 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 410 value 411 )) 412 elif hasattr(value, "to_dict"): 413 result[attr] = value.to_dict() 414 elif isinstance(value, dict): 415 result[attr] = dict(map( 416 lambda item: (item[0], item[1].to_dict()) 417 if hasattr(item[1], "to_dict") else item, 418 value.items() 419 )) 420 else: 421 result[attr] = value 422 if issubclass(DocGenFormField, dict): 423 for key, value in self.items(): 424 result[key] = value 425 426 return result 427 428 def to_str(self): 429 """Returns the string representation of the model""" 430 return pprint.pformat(self.to_dict()) 431 432 def __repr__(self): 433 """For `print` and `pprint`""" 434 return self.to_str() 435 436 def __eq__(self, other): 437 """Returns true if both objects are equal""" 438 if not isinstance(other, DocGenFormField): 439 return False 440 441 return self.to_dict() == other.to_dict() 442 443 def __ne__(self, other): 444 """Returns true if both objects are not equal""" 445 if not isinstance(other, DocGenFormField): 446 return True 447 448 return self.to_dict() != other.to_dict()
23class DocGenFormField(object): 24 """NOTE: This class is auto generated by the swagger code generator program. 25 26 Do not edit the class manually. 27 """ 28 29 """ 30 Attributes: 31 swagger_types (dict): The key is attribute name 32 and the value is attribute type. 33 attribute_map (dict): The key is attribute name 34 and the value is json key in definition. 35 """ 36 swagger_types = { 37 'connected_object_details': 'ConnectedObjectDetails', 38 'description': 'str', 39 'fully_qualified_path': 'str', 40 'label': 'str', 41 'name': 'str', 42 'options': 'list[DocGenFormFieldOption]', 43 'order': 'str', 44 'predefined_validation': 'str', 45 'required': 'str', 46 'row_values': 'list[DocGenFormFieldRowValue]', 47 'type': 'str', 48 'validation': 'DocGenFormFieldValidation', 49 'value': 'str' 50 } 51 52 attribute_map = { 53 'connected_object_details': 'connectedObjectDetails', 54 'description': 'description', 55 'fully_qualified_path': 'fullyQualifiedPath', 56 'label': 'label', 57 'name': 'name', 58 'options': 'options', 59 'order': 'order', 60 'predefined_validation': 'predefinedValidation', 61 'required': 'required', 62 'row_values': 'rowValues', 63 'type': 'type', 64 'validation': 'validation', 65 'value': 'value' 66 } 67 68 def __init__(self, _configuration=None, **kwargs): # noqa: E501 69 """DocGenFormField - a model defined in Swagger""" # noqa: E501 70 if _configuration is None: 71 _configuration = Configuration() 72 self._configuration = _configuration 73 74 self._connected_object_details = None 75 self._description = None 76 self._fully_qualified_path = None 77 self._label = None 78 self._name = None 79 self._options = None 80 self._order = None 81 self._predefined_validation = None 82 self._required = None 83 self._row_values = None 84 self._type = None 85 self._validation = None 86 self._value = None 87 self.discriminator = None 88 89 setattr(self, "_{}".format('connected_object_details'), kwargs.get('connected_object_details', None)) 90 setattr(self, "_{}".format('description'), kwargs.get('description', None)) 91 setattr(self, "_{}".format('fully_qualified_path'), kwargs.get('fully_qualified_path', None)) 92 setattr(self, "_{}".format('label'), kwargs.get('label', None)) 93 setattr(self, "_{}".format('name'), kwargs.get('name', None)) 94 setattr(self, "_{}".format('options'), kwargs.get('options', None)) 95 setattr(self, "_{}".format('order'), kwargs.get('order', None)) 96 setattr(self, "_{}".format('predefined_validation'), kwargs.get('predefined_validation', None)) 97 setattr(self, "_{}".format('required'), kwargs.get('required', None)) 98 setattr(self, "_{}".format('row_values'), kwargs.get('row_values', None)) 99 setattr(self, "_{}".format('type'), kwargs.get('type', None)) 100 setattr(self, "_{}".format('validation'), kwargs.get('validation', None)) 101 setattr(self, "_{}".format('value'), kwargs.get('value', None)) 102 103 @property 104 def connected_object_details(self): 105 """Gets the connected_object_details of this DocGenFormField. # noqa: E501 106 107 # noqa: E501 108 109 :return: The connected_object_details of this DocGenFormField. # noqa: E501 110 :rtype: ConnectedObjectDetails 111 """ 112 return self._connected_object_details 113 114 @connected_object_details.setter 115 def connected_object_details(self, connected_object_details): 116 """Sets the connected_object_details of this DocGenFormField. 117 118 # noqa: E501 119 120 :param connected_object_details: The connected_object_details of this DocGenFormField. # noqa: E501 121 :type: ConnectedObjectDetails 122 """ 123 124 self._connected_object_details = connected_object_details 125 126 @property 127 def description(self): 128 """Gets the description of this DocGenFormField. # noqa: E501 129 130 # noqa: E501 131 132 :return: The description of this DocGenFormField. # noqa: E501 133 :rtype: str 134 """ 135 return self._description 136 137 @description.setter 138 def description(self, description): 139 """Sets the description of this DocGenFormField. 140 141 # noqa: E501 142 143 :param description: The description of this DocGenFormField. # noqa: E501 144 :type: str 145 """ 146 147 self._description = description 148 149 @property 150 def fully_qualified_path(self): 151 """Gets the fully_qualified_path of this DocGenFormField. # noqa: E501 152 153 # noqa: E501 154 155 :return: The fully_qualified_path of this DocGenFormField. # noqa: E501 156 :rtype: str 157 """ 158 return self._fully_qualified_path 159 160 @fully_qualified_path.setter 161 def fully_qualified_path(self, fully_qualified_path): 162 """Sets the fully_qualified_path of this DocGenFormField. 163 164 # noqa: E501 165 166 :param fully_qualified_path: The fully_qualified_path of this DocGenFormField. # noqa: E501 167 :type: str 168 """ 169 170 self._fully_qualified_path = fully_qualified_path 171 172 @property 173 def label(self): 174 """Gets the label of this DocGenFormField. # noqa: E501 175 176 # noqa: E501 177 178 :return: The label of this DocGenFormField. # noqa: E501 179 :rtype: str 180 """ 181 return self._label 182 183 @label.setter 184 def label(self, label): 185 """Sets the label of this DocGenFormField. 186 187 # noqa: E501 188 189 :param label: The label of this DocGenFormField. # noqa: E501 190 :type: str 191 """ 192 193 self._label = label 194 195 @property 196 def name(self): 197 """Gets the name of this DocGenFormField. # noqa: E501 198 199 # noqa: E501 200 201 :return: The name of this DocGenFormField. # noqa: E501 202 :rtype: str 203 """ 204 return self._name 205 206 @name.setter 207 def name(self, name): 208 """Sets the name of this DocGenFormField. 209 210 # noqa: E501 211 212 :param name: The name of this DocGenFormField. # noqa: E501 213 :type: str 214 """ 215 216 self._name = name 217 218 @property 219 def options(self): 220 """Gets the options of this DocGenFormField. # noqa: E501 221 222 # noqa: E501 223 224 :return: The options of this DocGenFormField. # noqa: E501 225 :rtype: list[DocGenFormFieldOption] 226 """ 227 return self._options 228 229 @options.setter 230 def options(self, options): 231 """Sets the options of this DocGenFormField. 232 233 # noqa: E501 234 235 :param options: The options of this DocGenFormField. # noqa: E501 236 :type: list[DocGenFormFieldOption] 237 """ 238 239 self._options = options 240 241 @property 242 def order(self): 243 """Gets the order of this DocGenFormField. # noqa: E501 244 245 # noqa: E501 246 247 :return: The order of this DocGenFormField. # noqa: E501 248 :rtype: str 249 """ 250 return self._order 251 252 @order.setter 253 def order(self, order): 254 """Sets the order of this DocGenFormField. 255 256 # noqa: E501 257 258 :param order: The order of this DocGenFormField. # noqa: E501 259 :type: str 260 """ 261 262 self._order = order 263 264 @property 265 def predefined_validation(self): 266 """Gets the predefined_validation of this DocGenFormField. # noqa: E501 267 268 # noqa: E501 269 270 :return: The predefined_validation of this DocGenFormField. # noqa: E501 271 :rtype: str 272 """ 273 return self._predefined_validation 274 275 @predefined_validation.setter 276 def predefined_validation(self, predefined_validation): 277 """Sets the predefined_validation of this DocGenFormField. 278 279 # noqa: E501 280 281 :param predefined_validation: The predefined_validation of this DocGenFormField. # noqa: E501 282 :type: str 283 """ 284 285 self._predefined_validation = predefined_validation 286 287 @property 288 def required(self): 289 """Gets the required of this DocGenFormField. # noqa: E501 290 291 When set to **true**, the signer is required to fill out this tab # noqa: E501 292 293 :return: The required of this DocGenFormField. # noqa: E501 294 :rtype: str 295 """ 296 return self._required 297 298 @required.setter 299 def required(self, required): 300 """Sets the required of this DocGenFormField. 301 302 When set to **true**, the signer is required to fill out this tab # noqa: E501 303 304 :param required: The required of this DocGenFormField. # noqa: E501 305 :type: str 306 """ 307 308 self._required = required 309 310 @property 311 def row_values(self): 312 """Gets the row_values of this DocGenFormField. # noqa: E501 313 314 # noqa: E501 315 316 :return: The row_values of this DocGenFormField. # noqa: E501 317 :rtype: list[DocGenFormFieldRowValue] 318 """ 319 return self._row_values 320 321 @row_values.setter 322 def row_values(self, row_values): 323 """Sets the row_values of this DocGenFormField. 324 325 # noqa: E501 326 327 :param row_values: The row_values of this DocGenFormField. # noqa: E501 328 :type: list[DocGenFormFieldRowValue] 329 """ 330 331 self._row_values = row_values 332 333 @property 334 def type(self): 335 """Gets the type of this DocGenFormField. # noqa: E501 336 337 # noqa: E501 338 339 :return: The type of this DocGenFormField. # noqa: E501 340 :rtype: str 341 """ 342 return self._type 343 344 @type.setter 345 def type(self, type): 346 """Sets the type of this DocGenFormField. 347 348 # noqa: E501 349 350 :param type: The type of this DocGenFormField. # noqa: E501 351 :type: str 352 """ 353 354 self._type = type 355 356 @property 357 def validation(self): 358 """Gets the validation of this DocGenFormField. # noqa: E501 359 360 # noqa: E501 361 362 :return: The validation of this DocGenFormField. # noqa: E501 363 :rtype: DocGenFormFieldValidation 364 """ 365 return self._validation 366 367 @validation.setter 368 def validation(self, validation): 369 """Sets the validation of this DocGenFormField. 370 371 # noqa: E501 372 373 :param validation: The validation of this DocGenFormField. # noqa: E501 374 :type: DocGenFormFieldValidation 375 """ 376 377 self._validation = validation 378 379 @property 380 def value(self): 381 """Gets the value of this DocGenFormField. # noqa: E501 382 383 Specifies the value of the tab. # noqa: E501 384 385 :return: The value of this DocGenFormField. # noqa: E501 386 :rtype: str 387 """ 388 return self._value 389 390 @value.setter 391 def value(self, value): 392 """Sets the value of this DocGenFormField. 393 394 Specifies the value of the tab. # noqa: E501 395 396 :param value: The value of this DocGenFormField. # noqa: E501 397 :type: str 398 """ 399 400 self._value = value 401 402 def to_dict(self): 403 """Returns the model properties as a dict""" 404 result = {} 405 406 for attr, _ in six.iteritems(self.swagger_types): 407 value = getattr(self, attr) 408 if isinstance(value, list): 409 result[attr] = list(map( 410 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 411 value 412 )) 413 elif hasattr(value, "to_dict"): 414 result[attr] = value.to_dict() 415 elif isinstance(value, dict): 416 result[attr] = dict(map( 417 lambda item: (item[0], item[1].to_dict()) 418 if hasattr(item[1], "to_dict") else item, 419 value.items() 420 )) 421 else: 422 result[attr] = value 423 if issubclass(DocGenFormField, dict): 424 for key, value in self.items(): 425 result[key] = value 426 427 return result 428 429 def to_str(self): 430 """Returns the string representation of the model""" 431 return pprint.pformat(self.to_dict()) 432 433 def __repr__(self): 434 """For `print` and `pprint`""" 435 return self.to_str() 436 437 def __eq__(self, other): 438 """Returns true if both objects are equal""" 439 if not isinstance(other, DocGenFormField): 440 return False 441 442 return self.to_dict() == other.to_dict() 443 444 def __ne__(self, other): 445 """Returns true if both objects are not equal""" 446 if not isinstance(other, DocGenFormField): 447 return True 448 449 return self.to_dict() != other.to_dict()
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
68 def __init__(self, _configuration=None, **kwargs): # noqa: E501 69 """DocGenFormField - a model defined in Swagger""" # noqa: E501 70 if _configuration is None: 71 _configuration = Configuration() 72 self._configuration = _configuration 73 74 self._connected_object_details = None 75 self._description = None 76 self._fully_qualified_path = None 77 self._label = None 78 self._name = None 79 self._options = None 80 self._order = None 81 self._predefined_validation = None 82 self._required = None 83 self._row_values = None 84 self._type = None 85 self._validation = None 86 self._value = None 87 self.discriminator = None 88 89 setattr(self, "_{}".format('connected_object_details'), kwargs.get('connected_object_details', None)) 90 setattr(self, "_{}".format('description'), kwargs.get('description', None)) 91 setattr(self, "_{}".format('fully_qualified_path'), kwargs.get('fully_qualified_path', None)) 92 setattr(self, "_{}".format('label'), kwargs.get('label', None)) 93 setattr(self, "_{}".format('name'), kwargs.get('name', None)) 94 setattr(self, "_{}".format('options'), kwargs.get('options', None)) 95 setattr(self, "_{}".format('order'), kwargs.get('order', None)) 96 setattr(self, "_{}".format('predefined_validation'), kwargs.get('predefined_validation', None)) 97 setattr(self, "_{}".format('required'), kwargs.get('required', None)) 98 setattr(self, "_{}".format('row_values'), kwargs.get('row_values', None)) 99 setattr(self, "_{}".format('type'), kwargs.get('type', None)) 100 setattr(self, "_{}".format('validation'), kwargs.get('validation', None)) 101 setattr(self, "_{}".format('value'), kwargs.get('value', None))
DocGenFormField - a model defined in Swagger
Gets the connected_object_details of this DocGenFormField. # noqa: E501
# noqa: E501
Returns
The connected_object_details of this DocGenFormField. # noqa: E501
Gets the description of this DocGenFormField. # noqa: E501
# noqa: E501
Returns
The description of this DocGenFormField. # noqa: E501
Gets the fully_qualified_path of this DocGenFormField. # noqa: E501
# noqa: E501
Returns
The fully_qualified_path of this DocGenFormField. # noqa: E501
Gets the label of this DocGenFormField. # noqa: E501
# noqa: E501
Returns
The label of this DocGenFormField. # noqa: E501
Gets the name of this DocGenFormField. # noqa: E501
# noqa: E501
Returns
The name of this DocGenFormField. # noqa: E501
Gets the options of this DocGenFormField. # noqa: E501
# noqa: E501
Returns
The options of this DocGenFormField. # noqa: E501
Gets the order of this DocGenFormField. # noqa: E501
# noqa: E501
Returns
The order of this DocGenFormField. # noqa: E501
Gets the predefined_validation of this DocGenFormField. # noqa: E501
# noqa: E501
Returns
The predefined_validation of this DocGenFormField. # noqa: E501
Gets the required of this DocGenFormField. # noqa: E501
When set to true, the signer is required to fill out this tab # noqa: E501
Returns
The required of this DocGenFormField. # noqa: E501
Gets the row_values of this DocGenFormField. # noqa: E501
# noqa: E501
Returns
The row_values of this DocGenFormField. # noqa: E501
Gets the type of this DocGenFormField. # noqa: E501
# noqa: E501
Returns
The type of this DocGenFormField. # noqa: E501
Gets the validation of this DocGenFormField. # noqa: E501
# noqa: E501
Returns
The validation of this DocGenFormField. # noqa: E501
Gets the value of this DocGenFormField. # noqa: E501
Specifies the value of the tab. # noqa: E501
Returns
The value of this DocGenFormField. # noqa: E501
402 def to_dict(self): 403 """Returns the model properties as a dict""" 404 result = {} 405 406 for attr, _ in six.iteritems(self.swagger_types): 407 value = getattr(self, attr) 408 if isinstance(value, list): 409 result[attr] = list(map( 410 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 411 value 412 )) 413 elif hasattr(value, "to_dict"): 414 result[attr] = value.to_dict() 415 elif isinstance(value, dict): 416 result[attr] = dict(map( 417 lambda item: (item[0], item[1].to_dict()) 418 if hasattr(item[1], "to_dict") else item, 419 value.items() 420 )) 421 else: 422 result[attr] = value 423 if issubclass(DocGenFormField, dict): 424 for key, value in self.items(): 425 result[key] = value 426 427 return result
Returns the model properties as a dict