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