docusign_esign.models.update_transaction_response
DocuSign REST API
The DocuSign 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 REST API 5 6 The DocuSign 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 19 20class UpdateTransactionResponse(object): 21 """NOTE: This class is auto generated by the swagger code generator program. 22 23 Do not edit the class manually. 24 """ 25 26 """ 27 Attributes: 28 swagger_types (dict): The key is attribute name 29 and the value is attribute type. 30 attribute_map (dict): The key is attribute name 31 and the value is json key in definition. 32 """ 33 swagger_types = { 34 'redirection_url': 'str' 35 } 36 37 attribute_map = { 38 'redirection_url': 'redirectionUrl' 39 } 40 41 def __init__(self, redirection_url=None): # noqa: E501 42 """UpdateTransactionResponse - a model defined in Swagger""" # noqa: E501 43 44 self._redirection_url = None 45 self.discriminator = None 46 47 if redirection_url is not None: 48 self.redirection_url = redirection_url 49 50 @property 51 def redirection_url(self): 52 """Gets the redirection_url of this UpdateTransactionResponse. # noqa: E501 53 54 # noqa: E501 55 56 :return: The redirection_url of this UpdateTransactionResponse. # noqa: E501 57 :rtype: str 58 """ 59 return self._redirection_url 60 61 @redirection_url.setter 62 def redirection_url(self, redirection_url): 63 """Sets the redirection_url of this UpdateTransactionResponse. 64 65 # noqa: E501 66 67 :param redirection_url: The redirection_url of this UpdateTransactionResponse. # noqa: E501 68 :type: str 69 """ 70 71 self._redirection_url = redirection_url 72 73 def to_dict(self): 74 """Returns the model properties as a dict""" 75 result = {} 76 77 for attr, _ in six.iteritems(self.swagger_types): 78 value = getattr(self, attr) 79 if isinstance(value, list): 80 result[attr] = list(map( 81 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 82 value 83 )) 84 elif hasattr(value, "to_dict"): 85 result[attr] = value.to_dict() 86 elif isinstance(value, dict): 87 result[attr] = dict(map( 88 lambda item: (item[0], item[1].to_dict()) 89 if hasattr(item[1], "to_dict") else item, 90 value.items() 91 )) 92 else: 93 result[attr] = value 94 if issubclass(UpdateTransactionResponse, dict): 95 for key, value in self.items(): 96 result[key] = value 97 98 return result 99 100 def to_str(self): 101 """Returns the string representation of the model""" 102 return pprint.pformat(self.to_dict()) 103 104 def __repr__(self): 105 """For `print` and `pprint`""" 106 return self.to_str() 107 108 def __eq__(self, other): 109 """Returns true if both objects are equal""" 110 if not isinstance(other, UpdateTransactionResponse): 111 return False 112 113 return self.__dict__ == other.__dict__ 114 115 def __ne__(self, other): 116 """Returns true if both objects are not equal""" 117 return not self == other
class
UpdateTransactionResponse:
21class UpdateTransactionResponse(object): 22 """NOTE: This class is auto generated by the swagger code generator program. 23 24 Do not edit the class manually. 25 """ 26 27 """ 28 Attributes: 29 swagger_types (dict): The key is attribute name 30 and the value is attribute type. 31 attribute_map (dict): The key is attribute name 32 and the value is json key in definition. 33 """ 34 swagger_types = { 35 'redirection_url': 'str' 36 } 37 38 attribute_map = { 39 'redirection_url': 'redirectionUrl' 40 } 41 42 def __init__(self, redirection_url=None): # noqa: E501 43 """UpdateTransactionResponse - a model defined in Swagger""" # noqa: E501 44 45 self._redirection_url = None 46 self.discriminator = None 47 48 if redirection_url is not None: 49 self.redirection_url = redirection_url 50 51 @property 52 def redirection_url(self): 53 """Gets the redirection_url of this UpdateTransactionResponse. # noqa: E501 54 55 # noqa: E501 56 57 :return: The redirection_url of this UpdateTransactionResponse. # noqa: E501 58 :rtype: str 59 """ 60 return self._redirection_url 61 62 @redirection_url.setter 63 def redirection_url(self, redirection_url): 64 """Sets the redirection_url of this UpdateTransactionResponse. 65 66 # noqa: E501 67 68 :param redirection_url: The redirection_url of this UpdateTransactionResponse. # noqa: E501 69 :type: str 70 """ 71 72 self._redirection_url = redirection_url 73 74 def to_dict(self): 75 """Returns the model properties as a dict""" 76 result = {} 77 78 for attr, _ in six.iteritems(self.swagger_types): 79 value = getattr(self, attr) 80 if isinstance(value, list): 81 result[attr] = list(map( 82 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 83 value 84 )) 85 elif hasattr(value, "to_dict"): 86 result[attr] = value.to_dict() 87 elif isinstance(value, dict): 88 result[attr] = dict(map( 89 lambda item: (item[0], item[1].to_dict()) 90 if hasattr(item[1], "to_dict") else item, 91 value.items() 92 )) 93 else: 94 result[attr] = value 95 if issubclass(UpdateTransactionResponse, dict): 96 for key, value in self.items(): 97 result[key] = value 98 99 return result 100 101 def to_str(self): 102 """Returns the string representation of the model""" 103 return pprint.pformat(self.to_dict()) 104 105 def __repr__(self): 106 """For `print` and `pprint`""" 107 return self.to_str() 108 109 def __eq__(self, other): 110 """Returns true if both objects are equal""" 111 if not isinstance(other, UpdateTransactionResponse): 112 return False 113 114 return self.__dict__ == other.__dict__ 115 116 def __ne__(self, other): 117 """Returns true if both objects are not equal""" 118 return not self == other
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
UpdateTransactionResponse(redirection_url=None)
42 def __init__(self, redirection_url=None): # noqa: E501 43 """UpdateTransactionResponse - a model defined in Swagger""" # noqa: E501 44 45 self._redirection_url = None 46 self.discriminator = None 47 48 if redirection_url is not None: 49 self.redirection_url = redirection_url
UpdateTransactionResponse - a model defined in Swagger
redirection_url
Gets the redirection_url of this UpdateTransactionResponse. # noqa: E501
# noqa: E501
Returns
The redirection_url of this UpdateTransactionResponse. # noqa: E501
def
to_dict(self)
74 def to_dict(self): 75 """Returns the model properties as a dict""" 76 result = {} 77 78 for attr, _ in six.iteritems(self.swagger_types): 79 value = getattr(self, attr) 80 if isinstance(value, list): 81 result[attr] = list(map( 82 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 83 value 84 )) 85 elif hasattr(value, "to_dict"): 86 result[attr] = value.to_dict() 87 elif isinstance(value, dict): 88 result[attr] = dict(map( 89 lambda item: (item[0], item[1].to_dict()) 90 if hasattr(item[1], "to_dict") else item, 91 value.items() 92 )) 93 else: 94 result[attr] = value 95 if issubclass(UpdateTransactionResponse, dict): 96 for key, value in self.items(): 97 result[key] = value 98 99 return result
Returns the model properties as a dict