docusign_esign.models.envelope_transfer_rule_request
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 EnvelopeTransferRuleRequest(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 'carbon_copy_original_owner': 'str', 37 'enabled': 'str', 38 'envelope_transfer_rule_id': 'str', 39 'event_type': 'str', 40 'from_groups': 'list[Group]', 41 'from_users': 'list[UserInformation]', 42 'modified_date': 'str', 43 'modified_user': 'UserInformation', 44 'to_folder': 'Folder', 45 'to_user': 'UserInformation' 46 } 47 48 attribute_map = { 49 'carbon_copy_original_owner': 'carbonCopyOriginalOwner', 50 'enabled': 'enabled', 51 'envelope_transfer_rule_id': 'envelopeTransferRuleId', 52 'event_type': 'eventType', 53 'from_groups': 'fromGroups', 54 'from_users': 'fromUsers', 55 'modified_date': 'modifiedDate', 56 'modified_user': 'modifiedUser', 57 'to_folder': 'toFolder', 58 'to_user': 'toUser' 59 } 60 61 def __init__(self, _configuration=None, **kwargs): # noqa: E501 62 """EnvelopeTransferRuleRequest - a model defined in Swagger""" # noqa: E501 63 if _configuration is None: 64 _configuration = Configuration() 65 self._configuration = _configuration 66 67 self._carbon_copy_original_owner = None 68 self._enabled = None 69 self._envelope_transfer_rule_id = None 70 self._event_type = None 71 self._from_groups = None 72 self._from_users = None 73 self._modified_date = None 74 self._modified_user = None 75 self._to_folder = None 76 self._to_user = None 77 self.discriminator = None 78 79 setattr(self, "_{}".format('carbon_copy_original_owner'), kwargs.get('carbon_copy_original_owner', None)) 80 setattr(self, "_{}".format('enabled'), kwargs.get('enabled', None)) 81 setattr(self, "_{}".format('envelope_transfer_rule_id'), kwargs.get('envelope_transfer_rule_id', None)) 82 setattr(self, "_{}".format('event_type'), kwargs.get('event_type', None)) 83 setattr(self, "_{}".format('from_groups'), kwargs.get('from_groups', None)) 84 setattr(self, "_{}".format('from_users'), kwargs.get('from_users', None)) 85 setattr(self, "_{}".format('modified_date'), kwargs.get('modified_date', None)) 86 setattr(self, "_{}".format('modified_user'), kwargs.get('modified_user', None)) 87 setattr(self, "_{}".format('to_folder'), kwargs.get('to_folder', None)) 88 setattr(self, "_{}".format('to_user'), kwargs.get('to_user', None)) 89 90 @property 91 def carbon_copy_original_owner(self): 92 """Gets the carbon_copy_original_owner of this EnvelopeTransferRuleRequest. # noqa: E501 93 94 # noqa: E501 95 96 :return: The carbon_copy_original_owner of this EnvelopeTransferRuleRequest. # noqa: E501 97 :rtype: str 98 """ 99 return self._carbon_copy_original_owner 100 101 @carbon_copy_original_owner.setter 102 def carbon_copy_original_owner(self, carbon_copy_original_owner): 103 """Sets the carbon_copy_original_owner of this EnvelopeTransferRuleRequest. 104 105 # noqa: E501 106 107 :param carbon_copy_original_owner: The carbon_copy_original_owner of this EnvelopeTransferRuleRequest. # noqa: E501 108 :type: str 109 """ 110 111 self._carbon_copy_original_owner = carbon_copy_original_owner 112 113 @property 114 def enabled(self): 115 """Gets the enabled of this EnvelopeTransferRuleRequest. # noqa: E501 116 117 # noqa: E501 118 119 :return: The enabled of this EnvelopeTransferRuleRequest. # noqa: E501 120 :rtype: str 121 """ 122 return self._enabled 123 124 @enabled.setter 125 def enabled(self, enabled): 126 """Sets the enabled of this EnvelopeTransferRuleRequest. 127 128 # noqa: E501 129 130 :param enabled: The enabled of this EnvelopeTransferRuleRequest. # noqa: E501 131 :type: str 132 """ 133 134 self._enabled = enabled 135 136 @property 137 def envelope_transfer_rule_id(self): 138 """Gets the envelope_transfer_rule_id of this EnvelopeTransferRuleRequest. # noqa: E501 139 140 # noqa: E501 141 142 :return: The envelope_transfer_rule_id of this EnvelopeTransferRuleRequest. # noqa: E501 143 :rtype: str 144 """ 145 return self._envelope_transfer_rule_id 146 147 @envelope_transfer_rule_id.setter 148 def envelope_transfer_rule_id(self, envelope_transfer_rule_id): 149 """Sets the envelope_transfer_rule_id of this EnvelopeTransferRuleRequest. 150 151 # noqa: E501 152 153 :param envelope_transfer_rule_id: The envelope_transfer_rule_id of this EnvelopeTransferRuleRequest. # noqa: E501 154 :type: str 155 """ 156 157 self._envelope_transfer_rule_id = envelope_transfer_rule_id 158 159 @property 160 def event_type(self): 161 """Gets the event_type of this EnvelopeTransferRuleRequest. # noqa: E501 162 163 # noqa: E501 164 165 :return: The event_type of this EnvelopeTransferRuleRequest. # noqa: E501 166 :rtype: str 167 """ 168 return self._event_type 169 170 @event_type.setter 171 def event_type(self, event_type): 172 """Sets the event_type of this EnvelopeTransferRuleRequest. 173 174 # noqa: E501 175 176 :param event_type: The event_type of this EnvelopeTransferRuleRequest. # noqa: E501 177 :type: str 178 """ 179 180 self._event_type = event_type 181 182 @property 183 def from_groups(self): 184 """Gets the from_groups of this EnvelopeTransferRuleRequest. # noqa: E501 185 186 # noqa: E501 187 188 :return: The from_groups of this EnvelopeTransferRuleRequest. # noqa: E501 189 :rtype: list[Group] 190 """ 191 return self._from_groups 192 193 @from_groups.setter 194 def from_groups(self, from_groups): 195 """Sets the from_groups of this EnvelopeTransferRuleRequest. 196 197 # noqa: E501 198 199 :param from_groups: The from_groups of this EnvelopeTransferRuleRequest. # noqa: E501 200 :type: list[Group] 201 """ 202 203 self._from_groups = from_groups 204 205 @property 206 def from_users(self): 207 """Gets the from_users of this EnvelopeTransferRuleRequest. # noqa: E501 208 209 # noqa: E501 210 211 :return: The from_users of this EnvelopeTransferRuleRequest. # noqa: E501 212 :rtype: list[UserInformation] 213 """ 214 return self._from_users 215 216 @from_users.setter 217 def from_users(self, from_users): 218 """Sets the from_users of this EnvelopeTransferRuleRequest. 219 220 # noqa: E501 221 222 :param from_users: The from_users of this EnvelopeTransferRuleRequest. # noqa: E501 223 :type: list[UserInformation] 224 """ 225 226 self._from_users = from_users 227 228 @property 229 def modified_date(self): 230 """Gets the modified_date of this EnvelopeTransferRuleRequest. # noqa: E501 231 232 # noqa: E501 233 234 :return: The modified_date of this EnvelopeTransferRuleRequest. # noqa: E501 235 :rtype: str 236 """ 237 return self._modified_date 238 239 @modified_date.setter 240 def modified_date(self, modified_date): 241 """Sets the modified_date of this EnvelopeTransferRuleRequest. 242 243 # noqa: E501 244 245 :param modified_date: The modified_date of this EnvelopeTransferRuleRequest. # noqa: E501 246 :type: str 247 """ 248 249 self._modified_date = modified_date 250 251 @property 252 def modified_user(self): 253 """Gets the modified_user of this EnvelopeTransferRuleRequest. # noqa: E501 254 255 Information about the user who last modified the envelope transfer rule. # noqa: E501 256 257 :return: The modified_user of this EnvelopeTransferRuleRequest. # noqa: E501 258 :rtype: UserInformation 259 """ 260 return self._modified_user 261 262 @modified_user.setter 263 def modified_user(self, modified_user): 264 """Sets the modified_user of this EnvelopeTransferRuleRequest. 265 266 Information about the user who last modified the envelope transfer rule. # noqa: E501 267 268 :param modified_user: The modified_user of this EnvelopeTransferRuleRequest. # noqa: E501 269 :type: UserInformation 270 """ 271 272 self._modified_user = modified_user 273 274 @property 275 def to_folder(self): 276 """Gets the to_folder of this EnvelopeTransferRuleRequest. # noqa: E501 277 278 Information about the destination folder to which the envelope is transferred. # noqa: E501 279 280 :return: The to_folder of this EnvelopeTransferRuleRequest. # noqa: E501 281 :rtype: Folder 282 """ 283 return self._to_folder 284 285 @to_folder.setter 286 def to_folder(self, to_folder): 287 """Sets the to_folder of this EnvelopeTransferRuleRequest. 288 289 Information about the destination folder to which the envelope is transferred. # noqa: E501 290 291 :param to_folder: The to_folder of this EnvelopeTransferRuleRequest. # noqa: E501 292 :type: Folder 293 """ 294 295 self._to_folder = to_folder 296 297 @property 298 def to_user(self): 299 """Gets the to_user of this EnvelopeTransferRuleRequest. # noqa: E501 300 301 Information about the user to which the envelope is transferred. # noqa: E501 302 303 :return: The to_user of this EnvelopeTransferRuleRequest. # noqa: E501 304 :rtype: UserInformation 305 """ 306 return self._to_user 307 308 @to_user.setter 309 def to_user(self, to_user): 310 """Sets the to_user of this EnvelopeTransferRuleRequest. 311 312 Information about the user to which the envelope is transferred. # noqa: E501 313 314 :param to_user: The to_user of this EnvelopeTransferRuleRequest. # noqa: E501 315 :type: UserInformation 316 """ 317 318 self._to_user = to_user 319 320 def to_dict(self): 321 """Returns the model properties as a dict""" 322 result = {} 323 324 for attr, _ in six.iteritems(self.swagger_types): 325 value = getattr(self, attr) 326 if isinstance(value, list): 327 result[attr] = list(map( 328 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 329 value 330 )) 331 elif hasattr(value, "to_dict"): 332 result[attr] = value.to_dict() 333 elif isinstance(value, dict): 334 result[attr] = dict(map( 335 lambda item: (item[0], item[1].to_dict()) 336 if hasattr(item[1], "to_dict") else item, 337 value.items() 338 )) 339 else: 340 result[attr] = value 341 if issubclass(EnvelopeTransferRuleRequest, dict): 342 for key, value in self.items(): 343 result[key] = value 344 345 return result 346 347 def to_str(self): 348 """Returns the string representation of the model""" 349 return pprint.pformat(self.to_dict()) 350 351 def __repr__(self): 352 """For `print` and `pprint`""" 353 return self.to_str() 354 355 def __eq__(self, other): 356 """Returns true if both objects are equal""" 357 if not isinstance(other, EnvelopeTransferRuleRequest): 358 return False 359 360 return self.to_dict() == other.to_dict() 361 362 def __ne__(self, other): 363 """Returns true if both objects are not equal""" 364 if not isinstance(other, EnvelopeTransferRuleRequest): 365 return True 366 367 return self.to_dict() != other.to_dict()
23class EnvelopeTransferRuleRequest(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 'carbon_copy_original_owner': 'str', 38 'enabled': 'str', 39 'envelope_transfer_rule_id': 'str', 40 'event_type': 'str', 41 'from_groups': 'list[Group]', 42 'from_users': 'list[UserInformation]', 43 'modified_date': 'str', 44 'modified_user': 'UserInformation', 45 'to_folder': 'Folder', 46 'to_user': 'UserInformation' 47 } 48 49 attribute_map = { 50 'carbon_copy_original_owner': 'carbonCopyOriginalOwner', 51 'enabled': 'enabled', 52 'envelope_transfer_rule_id': 'envelopeTransferRuleId', 53 'event_type': 'eventType', 54 'from_groups': 'fromGroups', 55 'from_users': 'fromUsers', 56 'modified_date': 'modifiedDate', 57 'modified_user': 'modifiedUser', 58 'to_folder': 'toFolder', 59 'to_user': 'toUser' 60 } 61 62 def __init__(self, _configuration=None, **kwargs): # noqa: E501 63 """EnvelopeTransferRuleRequest - a model defined in Swagger""" # noqa: E501 64 if _configuration is None: 65 _configuration = Configuration() 66 self._configuration = _configuration 67 68 self._carbon_copy_original_owner = None 69 self._enabled = None 70 self._envelope_transfer_rule_id = None 71 self._event_type = None 72 self._from_groups = None 73 self._from_users = None 74 self._modified_date = None 75 self._modified_user = None 76 self._to_folder = None 77 self._to_user = None 78 self.discriminator = None 79 80 setattr(self, "_{}".format('carbon_copy_original_owner'), kwargs.get('carbon_copy_original_owner', None)) 81 setattr(self, "_{}".format('enabled'), kwargs.get('enabled', None)) 82 setattr(self, "_{}".format('envelope_transfer_rule_id'), kwargs.get('envelope_transfer_rule_id', None)) 83 setattr(self, "_{}".format('event_type'), kwargs.get('event_type', None)) 84 setattr(self, "_{}".format('from_groups'), kwargs.get('from_groups', None)) 85 setattr(self, "_{}".format('from_users'), kwargs.get('from_users', None)) 86 setattr(self, "_{}".format('modified_date'), kwargs.get('modified_date', None)) 87 setattr(self, "_{}".format('modified_user'), kwargs.get('modified_user', None)) 88 setattr(self, "_{}".format('to_folder'), kwargs.get('to_folder', None)) 89 setattr(self, "_{}".format('to_user'), kwargs.get('to_user', None)) 90 91 @property 92 def carbon_copy_original_owner(self): 93 """Gets the carbon_copy_original_owner of this EnvelopeTransferRuleRequest. # noqa: E501 94 95 # noqa: E501 96 97 :return: The carbon_copy_original_owner of this EnvelopeTransferRuleRequest. # noqa: E501 98 :rtype: str 99 """ 100 return self._carbon_copy_original_owner 101 102 @carbon_copy_original_owner.setter 103 def carbon_copy_original_owner(self, carbon_copy_original_owner): 104 """Sets the carbon_copy_original_owner of this EnvelopeTransferRuleRequest. 105 106 # noqa: E501 107 108 :param carbon_copy_original_owner: The carbon_copy_original_owner of this EnvelopeTransferRuleRequest. # noqa: E501 109 :type: str 110 """ 111 112 self._carbon_copy_original_owner = carbon_copy_original_owner 113 114 @property 115 def enabled(self): 116 """Gets the enabled of this EnvelopeTransferRuleRequest. # noqa: E501 117 118 # noqa: E501 119 120 :return: The enabled of this EnvelopeTransferRuleRequest. # noqa: E501 121 :rtype: str 122 """ 123 return self._enabled 124 125 @enabled.setter 126 def enabled(self, enabled): 127 """Sets the enabled of this EnvelopeTransferRuleRequest. 128 129 # noqa: E501 130 131 :param enabled: The enabled of this EnvelopeTransferRuleRequest. # noqa: E501 132 :type: str 133 """ 134 135 self._enabled = enabled 136 137 @property 138 def envelope_transfer_rule_id(self): 139 """Gets the envelope_transfer_rule_id of this EnvelopeTransferRuleRequest. # noqa: E501 140 141 # noqa: E501 142 143 :return: The envelope_transfer_rule_id of this EnvelopeTransferRuleRequest. # noqa: E501 144 :rtype: str 145 """ 146 return self._envelope_transfer_rule_id 147 148 @envelope_transfer_rule_id.setter 149 def envelope_transfer_rule_id(self, envelope_transfer_rule_id): 150 """Sets the envelope_transfer_rule_id of this EnvelopeTransferRuleRequest. 151 152 # noqa: E501 153 154 :param envelope_transfer_rule_id: The envelope_transfer_rule_id of this EnvelopeTransferRuleRequest. # noqa: E501 155 :type: str 156 """ 157 158 self._envelope_transfer_rule_id = envelope_transfer_rule_id 159 160 @property 161 def event_type(self): 162 """Gets the event_type of this EnvelopeTransferRuleRequest. # noqa: E501 163 164 # noqa: E501 165 166 :return: The event_type of this EnvelopeTransferRuleRequest. # noqa: E501 167 :rtype: str 168 """ 169 return self._event_type 170 171 @event_type.setter 172 def event_type(self, event_type): 173 """Sets the event_type of this EnvelopeTransferRuleRequest. 174 175 # noqa: E501 176 177 :param event_type: The event_type of this EnvelopeTransferRuleRequest. # noqa: E501 178 :type: str 179 """ 180 181 self._event_type = event_type 182 183 @property 184 def from_groups(self): 185 """Gets the from_groups of this EnvelopeTransferRuleRequest. # noqa: E501 186 187 # noqa: E501 188 189 :return: The from_groups of this EnvelopeTransferRuleRequest. # noqa: E501 190 :rtype: list[Group] 191 """ 192 return self._from_groups 193 194 @from_groups.setter 195 def from_groups(self, from_groups): 196 """Sets the from_groups of this EnvelopeTransferRuleRequest. 197 198 # noqa: E501 199 200 :param from_groups: The from_groups of this EnvelopeTransferRuleRequest. # noqa: E501 201 :type: list[Group] 202 """ 203 204 self._from_groups = from_groups 205 206 @property 207 def from_users(self): 208 """Gets the from_users of this EnvelopeTransferRuleRequest. # noqa: E501 209 210 # noqa: E501 211 212 :return: The from_users of this EnvelopeTransferRuleRequest. # noqa: E501 213 :rtype: list[UserInformation] 214 """ 215 return self._from_users 216 217 @from_users.setter 218 def from_users(self, from_users): 219 """Sets the from_users of this EnvelopeTransferRuleRequest. 220 221 # noqa: E501 222 223 :param from_users: The from_users of this EnvelopeTransferRuleRequest. # noqa: E501 224 :type: list[UserInformation] 225 """ 226 227 self._from_users = from_users 228 229 @property 230 def modified_date(self): 231 """Gets the modified_date of this EnvelopeTransferRuleRequest. # noqa: E501 232 233 # noqa: E501 234 235 :return: The modified_date of this EnvelopeTransferRuleRequest. # noqa: E501 236 :rtype: str 237 """ 238 return self._modified_date 239 240 @modified_date.setter 241 def modified_date(self, modified_date): 242 """Sets the modified_date of this EnvelopeTransferRuleRequest. 243 244 # noqa: E501 245 246 :param modified_date: The modified_date of this EnvelopeTransferRuleRequest. # noqa: E501 247 :type: str 248 """ 249 250 self._modified_date = modified_date 251 252 @property 253 def modified_user(self): 254 """Gets the modified_user of this EnvelopeTransferRuleRequest. # noqa: E501 255 256 Information about the user who last modified the envelope transfer rule. # noqa: E501 257 258 :return: The modified_user of this EnvelopeTransferRuleRequest. # noqa: E501 259 :rtype: UserInformation 260 """ 261 return self._modified_user 262 263 @modified_user.setter 264 def modified_user(self, modified_user): 265 """Sets the modified_user of this EnvelopeTransferRuleRequest. 266 267 Information about the user who last modified the envelope transfer rule. # noqa: E501 268 269 :param modified_user: The modified_user of this EnvelopeTransferRuleRequest. # noqa: E501 270 :type: UserInformation 271 """ 272 273 self._modified_user = modified_user 274 275 @property 276 def to_folder(self): 277 """Gets the to_folder of this EnvelopeTransferRuleRequest. # noqa: E501 278 279 Information about the destination folder to which the envelope is transferred. # noqa: E501 280 281 :return: The to_folder of this EnvelopeTransferRuleRequest. # noqa: E501 282 :rtype: Folder 283 """ 284 return self._to_folder 285 286 @to_folder.setter 287 def to_folder(self, to_folder): 288 """Sets the to_folder of this EnvelopeTransferRuleRequest. 289 290 Information about the destination folder to which the envelope is transferred. # noqa: E501 291 292 :param to_folder: The to_folder of this EnvelopeTransferRuleRequest. # noqa: E501 293 :type: Folder 294 """ 295 296 self._to_folder = to_folder 297 298 @property 299 def to_user(self): 300 """Gets the to_user of this EnvelopeTransferRuleRequest. # noqa: E501 301 302 Information about the user to which the envelope is transferred. # noqa: E501 303 304 :return: The to_user of this EnvelopeTransferRuleRequest. # noqa: E501 305 :rtype: UserInformation 306 """ 307 return self._to_user 308 309 @to_user.setter 310 def to_user(self, to_user): 311 """Sets the to_user of this EnvelopeTransferRuleRequest. 312 313 Information about the user to which the envelope is transferred. # noqa: E501 314 315 :param to_user: The to_user of this EnvelopeTransferRuleRequest. # noqa: E501 316 :type: UserInformation 317 """ 318 319 self._to_user = to_user 320 321 def to_dict(self): 322 """Returns the model properties as a dict""" 323 result = {} 324 325 for attr, _ in six.iteritems(self.swagger_types): 326 value = getattr(self, attr) 327 if isinstance(value, list): 328 result[attr] = list(map( 329 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 330 value 331 )) 332 elif hasattr(value, "to_dict"): 333 result[attr] = value.to_dict() 334 elif isinstance(value, dict): 335 result[attr] = dict(map( 336 lambda item: (item[0], item[1].to_dict()) 337 if hasattr(item[1], "to_dict") else item, 338 value.items() 339 )) 340 else: 341 result[attr] = value 342 if issubclass(EnvelopeTransferRuleRequest, dict): 343 for key, value in self.items(): 344 result[key] = value 345 346 return result 347 348 def to_str(self): 349 """Returns the string representation of the model""" 350 return pprint.pformat(self.to_dict()) 351 352 def __repr__(self): 353 """For `print` and `pprint`""" 354 return self.to_str() 355 356 def __eq__(self, other): 357 """Returns true if both objects are equal""" 358 if not isinstance(other, EnvelopeTransferRuleRequest): 359 return False 360 361 return self.to_dict() == other.to_dict() 362 363 def __ne__(self, other): 364 """Returns true if both objects are not equal""" 365 if not isinstance(other, EnvelopeTransferRuleRequest): 366 return True 367 368 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.
62 def __init__(self, _configuration=None, **kwargs): # noqa: E501 63 """EnvelopeTransferRuleRequest - a model defined in Swagger""" # noqa: E501 64 if _configuration is None: 65 _configuration = Configuration() 66 self._configuration = _configuration 67 68 self._carbon_copy_original_owner = None 69 self._enabled = None 70 self._envelope_transfer_rule_id = None 71 self._event_type = None 72 self._from_groups = None 73 self._from_users = None 74 self._modified_date = None 75 self._modified_user = None 76 self._to_folder = None 77 self._to_user = None 78 self.discriminator = None 79 80 setattr(self, "_{}".format('carbon_copy_original_owner'), kwargs.get('carbon_copy_original_owner', None)) 81 setattr(self, "_{}".format('enabled'), kwargs.get('enabled', None)) 82 setattr(self, "_{}".format('envelope_transfer_rule_id'), kwargs.get('envelope_transfer_rule_id', None)) 83 setattr(self, "_{}".format('event_type'), kwargs.get('event_type', None)) 84 setattr(self, "_{}".format('from_groups'), kwargs.get('from_groups', None)) 85 setattr(self, "_{}".format('from_users'), kwargs.get('from_users', None)) 86 setattr(self, "_{}".format('modified_date'), kwargs.get('modified_date', None)) 87 setattr(self, "_{}".format('modified_user'), kwargs.get('modified_user', None)) 88 setattr(self, "_{}".format('to_folder'), kwargs.get('to_folder', None)) 89 setattr(self, "_{}".format('to_user'), kwargs.get('to_user', None))
EnvelopeTransferRuleRequest - a model defined in Swagger
Gets the carbon_copy_original_owner of this EnvelopeTransferRuleRequest. # noqa: E501
# noqa: E501
Returns
The carbon_copy_original_owner of this EnvelopeTransferRuleRequest. # noqa: E501
Gets the enabled of this EnvelopeTransferRuleRequest. # noqa: E501
# noqa: E501
Returns
The enabled of this EnvelopeTransferRuleRequest. # noqa: E501
Gets the envelope_transfer_rule_id of this EnvelopeTransferRuleRequest. # noqa: E501
# noqa: E501
Returns
The envelope_transfer_rule_id of this EnvelopeTransferRuleRequest. # noqa: E501
Gets the event_type of this EnvelopeTransferRuleRequest. # noqa: E501
# noqa: E501
Returns
The event_type of this EnvelopeTransferRuleRequest. # noqa: E501
Gets the from_groups of this EnvelopeTransferRuleRequest. # noqa: E501
# noqa: E501
Returns
The from_groups of this EnvelopeTransferRuleRequest. # noqa: E501
Gets the from_users of this EnvelopeTransferRuleRequest. # noqa: E501
# noqa: E501
Returns
The from_users of this EnvelopeTransferRuleRequest. # noqa: E501
Gets the modified_date of this EnvelopeTransferRuleRequest. # noqa: E501
# noqa: E501
Returns
The modified_date of this EnvelopeTransferRuleRequest. # noqa: E501
Gets the modified_user of this EnvelopeTransferRuleRequest. # noqa: E501
Information about the user who last modified the envelope transfer rule. # noqa: E501
Returns
The modified_user of this EnvelopeTransferRuleRequest. # noqa: E501
Gets the to_folder of this EnvelopeTransferRuleRequest. # noqa: E501
Information about the destination folder to which the envelope is transferred. # noqa: E501
Returns
The to_folder of this EnvelopeTransferRuleRequest. # noqa: E501
Gets the to_user of this EnvelopeTransferRuleRequest. # noqa: E501
Information about the user to which the envelope is transferred. # noqa: E501
Returns
The to_user of this EnvelopeTransferRuleRequest. # noqa: E501
321 def to_dict(self): 322 """Returns the model properties as a dict""" 323 result = {} 324 325 for attr, _ in six.iteritems(self.swagger_types): 326 value = getattr(self, attr) 327 if isinstance(value, list): 328 result[attr] = list(map( 329 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 330 value 331 )) 332 elif hasattr(value, "to_dict"): 333 result[attr] = value.to_dict() 334 elif isinstance(value, dict): 335 result[attr] = dict(map( 336 lambda item: (item[0], item[1].to_dict()) 337 if hasattr(item[1], "to_dict") else item, 338 value.items() 339 )) 340 else: 341 result[attr] = value 342 if issubclass(EnvelopeTransferRuleRequest, dict): 343 for key, value in self.items(): 344 result[key] = value 345 346 return result
Returns the model properties as a dict