docusign_esign.models.signature_properties
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 SignatureProperties(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 'filter': 'str', 35 'sub_filter': 'str' 36 } 37 38 attribute_map = { 39 'filter': 'filter', 40 'sub_filter': 'subFilter' 41 } 42 43 def __init__(self, filter=None, sub_filter=None): # noqa: E501 44 """SignatureProperties - a model defined in Swagger""" # noqa: E501 45 46 self._filter = None 47 self._sub_filter = None 48 self.discriminator = None 49 50 if filter is not None: 51 self.filter = filter 52 if sub_filter is not None: 53 self.sub_filter = sub_filter 54 55 @property 56 def filter(self): 57 """Gets the filter of this SignatureProperties. # noqa: E501 58 59 # noqa: E501 60 61 :return: The filter of this SignatureProperties. # noqa: E501 62 :rtype: str 63 """ 64 return self._filter 65 66 @filter.setter 67 def filter(self, filter): 68 """Sets the filter of this SignatureProperties. 69 70 # noqa: E501 71 72 :param filter: The filter of this SignatureProperties. # noqa: E501 73 :type: str 74 """ 75 76 self._filter = filter 77 78 @property 79 def sub_filter(self): 80 """Gets the sub_filter of this SignatureProperties. # noqa: E501 81 82 # noqa: E501 83 84 :return: The sub_filter of this SignatureProperties. # noqa: E501 85 :rtype: str 86 """ 87 return self._sub_filter 88 89 @sub_filter.setter 90 def sub_filter(self, sub_filter): 91 """Sets the sub_filter of this SignatureProperties. 92 93 # noqa: E501 94 95 :param sub_filter: The sub_filter of this SignatureProperties. # noqa: E501 96 :type: str 97 """ 98 99 self._sub_filter = sub_filter 100 101 def to_dict(self): 102 """Returns the model properties as a dict""" 103 result = {} 104 105 for attr, _ in six.iteritems(self.swagger_types): 106 value = getattr(self, attr) 107 if isinstance(value, list): 108 result[attr] = list(map( 109 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 110 value 111 )) 112 elif hasattr(value, "to_dict"): 113 result[attr] = value.to_dict() 114 elif isinstance(value, dict): 115 result[attr] = dict(map( 116 lambda item: (item[0], item[1].to_dict()) 117 if hasattr(item[1], "to_dict") else item, 118 value.items() 119 )) 120 else: 121 result[attr] = value 122 if issubclass(SignatureProperties, dict): 123 for key, value in self.items(): 124 result[key] = value 125 126 return result 127 128 def to_str(self): 129 """Returns the string representation of the model""" 130 return pprint.pformat(self.to_dict()) 131 132 def __repr__(self): 133 """For `print` and `pprint`""" 134 return self.to_str() 135 136 def __eq__(self, other): 137 """Returns true if both objects are equal""" 138 if not isinstance(other, SignatureProperties): 139 return False 140 141 return self.__dict__ == other.__dict__ 142 143 def __ne__(self, other): 144 """Returns true if both objects are not equal""" 145 return not self == other
class
SignatureProperties:
21class SignatureProperties(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 'filter': 'str', 36 'sub_filter': 'str' 37 } 38 39 attribute_map = { 40 'filter': 'filter', 41 'sub_filter': 'subFilter' 42 } 43 44 def __init__(self, filter=None, sub_filter=None): # noqa: E501 45 """SignatureProperties - a model defined in Swagger""" # noqa: E501 46 47 self._filter = None 48 self._sub_filter = None 49 self.discriminator = None 50 51 if filter is not None: 52 self.filter = filter 53 if sub_filter is not None: 54 self.sub_filter = sub_filter 55 56 @property 57 def filter(self): 58 """Gets the filter of this SignatureProperties. # noqa: E501 59 60 # noqa: E501 61 62 :return: The filter of this SignatureProperties. # noqa: E501 63 :rtype: str 64 """ 65 return self._filter 66 67 @filter.setter 68 def filter(self, filter): 69 """Sets the filter of this SignatureProperties. 70 71 # noqa: E501 72 73 :param filter: The filter of this SignatureProperties. # noqa: E501 74 :type: str 75 """ 76 77 self._filter = filter 78 79 @property 80 def sub_filter(self): 81 """Gets the sub_filter of this SignatureProperties. # noqa: E501 82 83 # noqa: E501 84 85 :return: The sub_filter of this SignatureProperties. # noqa: E501 86 :rtype: str 87 """ 88 return self._sub_filter 89 90 @sub_filter.setter 91 def sub_filter(self, sub_filter): 92 """Sets the sub_filter of this SignatureProperties. 93 94 # noqa: E501 95 96 :param sub_filter: The sub_filter of this SignatureProperties. # noqa: E501 97 :type: str 98 """ 99 100 self._sub_filter = sub_filter 101 102 def to_dict(self): 103 """Returns the model properties as a dict""" 104 result = {} 105 106 for attr, _ in six.iteritems(self.swagger_types): 107 value = getattr(self, attr) 108 if isinstance(value, list): 109 result[attr] = list(map( 110 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 111 value 112 )) 113 elif hasattr(value, "to_dict"): 114 result[attr] = value.to_dict() 115 elif isinstance(value, dict): 116 result[attr] = dict(map( 117 lambda item: (item[0], item[1].to_dict()) 118 if hasattr(item[1], "to_dict") else item, 119 value.items() 120 )) 121 else: 122 result[attr] = value 123 if issubclass(SignatureProperties, dict): 124 for key, value in self.items(): 125 result[key] = value 126 127 return result 128 129 def to_str(self): 130 """Returns the string representation of the model""" 131 return pprint.pformat(self.to_dict()) 132 133 def __repr__(self): 134 """For `print` and `pprint`""" 135 return self.to_str() 136 137 def __eq__(self, other): 138 """Returns true if both objects are equal""" 139 if not isinstance(other, SignatureProperties): 140 return False 141 142 return self.__dict__ == other.__dict__ 143 144 def __ne__(self, other): 145 """Returns true if both objects are not equal""" 146 return not self == other
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
SignatureProperties(filter=None, sub_filter=None)
44 def __init__(self, filter=None, sub_filter=None): # noqa: E501 45 """SignatureProperties - a model defined in Swagger""" # noqa: E501 46 47 self._filter = None 48 self._sub_filter = None 49 self.discriminator = None 50 51 if filter is not None: 52 self.filter = filter 53 if sub_filter is not None: 54 self.sub_filter = sub_filter
SignatureProperties - a model defined in Swagger
filter
Gets the filter of this SignatureProperties. # noqa: E501
# noqa: E501
Returns
The filter of this SignatureProperties. # noqa: E501
sub_filter
Gets the sub_filter of this SignatureProperties. # noqa: E501
# noqa: E501
Returns
The sub_filter of this SignatureProperties. # noqa: E501
def
to_dict(self)
102 def to_dict(self): 103 """Returns the model properties as a dict""" 104 result = {} 105 106 for attr, _ in six.iteritems(self.swagger_types): 107 value = getattr(self, attr) 108 if isinstance(value, list): 109 result[attr] = list(map( 110 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 111 value 112 )) 113 elif hasattr(value, "to_dict"): 114 result[attr] = value.to_dict() 115 elif isinstance(value, dict): 116 result[attr] = dict(map( 117 lambda item: (item[0], item[1].to_dict()) 118 if hasattr(item[1], "to_dict") else item, 119 value.items() 120 )) 121 else: 122 result[attr] = value 123 if issubclass(SignatureProperties, dict): 124 for key, value in self.items(): 125 result[key] = value 126 127 return result
Returns the model properties as a dict