docusign_esign.models.display_appliance_custom_field

DocuSign REST API

The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.

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.
  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
 14from pprint import pformat
 15from six import iteritems
 16import re
 17
 18
 19class DisplayApplianceCustomField(object):
 20    """
 21    NOTE: This class is auto generated by the swagger code generator program.
 22    Do not edit the class manually.
 23    """
 24    def __init__(self, name=None, row_state=None, value=None):
 25        """
 26        DisplayApplianceCustomField - a model defined in Swagger
 27
 28        :param dict swaggerTypes: The key is attribute name
 29                                  and the value is attribute type.
 30        :param dict attributeMap: The key is attribute name
 31                                  and the value is json key in definition.
 32        """
 33        self.swagger_types = {
 34            'name': 'str',
 35            'row_state': 'str',
 36            'value': 'str'
 37        }
 38
 39        self.attribute_map = {
 40            'name': 'name',
 41            'row_state': 'rowState',
 42            'value': 'value'
 43        }
 44
 45        self._name = name
 46        self._row_state = row_state
 47        self._value = value
 48
 49    @property
 50    def name(self):
 51        """
 52        Gets the name of this DisplayApplianceCustomField.
 53        
 54
 55        :return: The name of this DisplayApplianceCustomField.
 56        :rtype: str
 57        """
 58        return self._name
 59
 60    @name.setter
 61    def name(self, name):
 62        """
 63        Sets the name of this DisplayApplianceCustomField.
 64        
 65
 66        :param name: The name of this DisplayApplianceCustomField.
 67        :type: str
 68        """
 69
 70        self._name = name
 71
 72    @property
 73    def row_state(self):
 74        """
 75        Gets the row_state of this DisplayApplianceCustomField.
 76        
 77
 78        :return: The row_state of this DisplayApplianceCustomField.
 79        :rtype: str
 80        """
 81        return self._row_state
 82
 83    @row_state.setter
 84    def row_state(self, row_state):
 85        """
 86        Sets the row_state of this DisplayApplianceCustomField.
 87        
 88
 89        :param row_state: The row_state of this DisplayApplianceCustomField.
 90        :type: str
 91        """
 92
 93        self._row_state = row_state
 94
 95    @property
 96    def value(self):
 97        """
 98        Gets the value of this DisplayApplianceCustomField.
 99        Specifies the value of the tab. 
100
101        :return: The value of this DisplayApplianceCustomField.
102        :rtype: str
103        """
104        return self._value
105
106    @value.setter
107    def value(self, value):
108        """
109        Sets the value of this DisplayApplianceCustomField.
110        Specifies the value of the tab. 
111
112        :param value: The value of this DisplayApplianceCustomField.
113        :type: str
114        """
115
116        self._value = value
117
118    def to_dict(self):
119        """
120        Returns the model properties as a dict
121        """
122        result = {}
123
124        for attr, _ in iteritems(self.swagger_types):
125            value = getattr(self, attr)
126            if isinstance(value, list):
127                result[attr] = list(map(
128                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
129                    value
130                ))
131            elif hasattr(value, "to_dict"):
132                result[attr] = value.to_dict()
133            elif isinstance(value, dict):
134                result[attr] = dict(map(
135                    lambda item: (item[0], item[1].to_dict())
136                    if hasattr(item[1], "to_dict") else item,
137                    value.items()
138                ))
139            else:
140                result[attr] = value
141
142        return result
143
144    def to_str(self):
145        """
146        Returns the string representation of the model
147        """
148        return pformat(self.to_dict())
149
150    def __repr__(self):
151        """
152        For `print` and `pprint`
153        """
154        return self.to_str()
155
156    def __eq__(self, other):
157        """
158        Returns true if both objects are equal
159        """
160        return self.__dict__ == other.__dict__
161
162    def __ne__(self, other):
163        """
164        Returns true if both objects are not equal
165        """
166        return not self == other
class DisplayApplianceCustomField:
 20class DisplayApplianceCustomField(object):
 21    """
 22    NOTE: This class is auto generated by the swagger code generator program.
 23    Do not edit the class manually.
 24    """
 25    def __init__(self, name=None, row_state=None, value=None):
 26        """
 27        DisplayApplianceCustomField - a model defined in Swagger
 28
 29        :param dict swaggerTypes: The key is attribute name
 30                                  and the value is attribute type.
 31        :param dict attributeMap: The key is attribute name
 32                                  and the value is json key in definition.
 33        """
 34        self.swagger_types = {
 35            'name': 'str',
 36            'row_state': 'str',
 37            'value': 'str'
 38        }
 39
 40        self.attribute_map = {
 41            'name': 'name',
 42            'row_state': 'rowState',
 43            'value': 'value'
 44        }
 45
 46        self._name = name
 47        self._row_state = row_state
 48        self._value = value
 49
 50    @property
 51    def name(self):
 52        """
 53        Gets the name of this DisplayApplianceCustomField.
 54        
 55
 56        :return: The name of this DisplayApplianceCustomField.
 57        :rtype: str
 58        """
 59        return self._name
 60
 61    @name.setter
 62    def name(self, name):
 63        """
 64        Sets the name of this DisplayApplianceCustomField.
 65        
 66
 67        :param name: The name of this DisplayApplianceCustomField.
 68        :type: str
 69        """
 70
 71        self._name = name
 72
 73    @property
 74    def row_state(self):
 75        """
 76        Gets the row_state of this DisplayApplianceCustomField.
 77        
 78
 79        :return: The row_state of this DisplayApplianceCustomField.
 80        :rtype: str
 81        """
 82        return self._row_state
 83
 84    @row_state.setter
 85    def row_state(self, row_state):
 86        """
 87        Sets the row_state of this DisplayApplianceCustomField.
 88        
 89
 90        :param row_state: The row_state of this DisplayApplianceCustomField.
 91        :type: str
 92        """
 93
 94        self._row_state = row_state
 95
 96    @property
 97    def value(self):
 98        """
 99        Gets the value of this DisplayApplianceCustomField.
100        Specifies the value of the tab. 
101
102        :return: The value of this DisplayApplianceCustomField.
103        :rtype: str
104        """
105        return self._value
106
107    @value.setter
108    def value(self, value):
109        """
110        Sets the value of this DisplayApplianceCustomField.
111        Specifies the value of the tab. 
112
113        :param value: The value of this DisplayApplianceCustomField.
114        :type: str
115        """
116
117        self._value = value
118
119    def to_dict(self):
120        """
121        Returns the model properties as a dict
122        """
123        result = {}
124
125        for attr, _ in iteritems(self.swagger_types):
126            value = getattr(self, attr)
127            if isinstance(value, list):
128                result[attr] = list(map(
129                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
130                    value
131                ))
132            elif hasattr(value, "to_dict"):
133                result[attr] = value.to_dict()
134            elif isinstance(value, dict):
135                result[attr] = dict(map(
136                    lambda item: (item[0], item[1].to_dict())
137                    if hasattr(item[1], "to_dict") else item,
138                    value.items()
139                ))
140            else:
141                result[attr] = value
142
143        return result
144
145    def to_str(self):
146        """
147        Returns the string representation of the model
148        """
149        return pformat(self.to_dict())
150
151    def __repr__(self):
152        """
153        For `print` and `pprint`
154        """
155        return self.to_str()
156
157    def __eq__(self, other):
158        """
159        Returns true if both objects are equal
160        """
161        return self.__dict__ == other.__dict__
162
163    def __ne__(self, other):
164        """
165        Returns true if both objects are not equal
166        """
167        return not self == other

NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.

DisplayApplianceCustomField(name=None, row_state=None, value=None)
25    def __init__(self, name=None, row_state=None, value=None):
26        """
27        DisplayApplianceCustomField - a model defined in Swagger
28
29        :param dict swaggerTypes: The key is attribute name
30                                  and the value is attribute type.
31        :param dict attributeMap: The key is attribute name
32                                  and the value is json key in definition.
33        """
34        self.swagger_types = {
35            'name': 'str',
36            'row_state': 'str',
37            'value': 'str'
38        }
39
40        self.attribute_map = {
41            'name': 'name',
42            'row_state': 'rowState',
43            'value': 'value'
44        }
45
46        self._name = name
47        self._row_state = row_state
48        self._value = value

DisplayApplianceCustomField - a model defined in Swagger

Parameters
  • dict swaggerTypes: The key is attribute name and the value is attribute type.
  • dict attributeMap: The key is attribute name and the value is json key in definition.
name

Gets the name of this DisplayApplianceCustomField.

Returns

The name of this DisplayApplianceCustomField.

row_state

Gets the row_state of this DisplayApplianceCustomField.

Returns

The row_state of this DisplayApplianceCustomField.

value

Gets the value of this DisplayApplianceCustomField. Specifies the value of the tab.

Returns

The value of this DisplayApplianceCustomField.

def to_dict(self)
119    def to_dict(self):
120        """
121        Returns the model properties as a dict
122        """
123        result = {}
124
125        for attr, _ in iteritems(self.swagger_types):
126            value = getattr(self, attr)
127            if isinstance(value, list):
128                result[attr] = list(map(
129                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
130                    value
131                ))
132            elif hasattr(value, "to_dict"):
133                result[attr] = value.to_dict()
134            elif isinstance(value, dict):
135                result[attr] = dict(map(
136                    lambda item: (item[0], item[1].to_dict())
137                    if hasattr(item[1], "to_dict") else item,
138                    value.items()
139                ))
140            else:
141                result[attr] = value
142
143        return result

Returns the model properties as a dict

def to_str(self)
145    def to_str(self):
146        """
147        Returns the string representation of the model
148        """
149        return pformat(self.to_dict())

Returns the string representation of the model