docusign_esign.models.display_appliance_account

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 DisplayApplianceAccount(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        'account_id': 'str',
 35        'opt_out_auto_nav_text_and_tab_color_updates': 'bool',
 36        'show_initial_conditional_fields': 'bool',
 37        'signing_version': 'str',
 38        'tag_has_sig_block': 'bool'
 39    }
 40
 41    attribute_map = {
 42        'account_id': 'accountId',
 43        'opt_out_auto_nav_text_and_tab_color_updates': 'optOutAutoNavTextAndTabColorUpdates',
 44        'show_initial_conditional_fields': 'showInitialConditionalFields',
 45        'signing_version': 'signingVersion',
 46        'tag_has_sig_block': 'tagHasSigBlock'
 47    }
 48
 49    def __init__(self, account_id=None, opt_out_auto_nav_text_and_tab_color_updates=None, show_initial_conditional_fields=None, signing_version=None, tag_has_sig_block=None):  # noqa: E501
 50        """DisplayApplianceAccount - a model defined in Swagger"""  # noqa: E501
 51
 52        self._account_id = None
 53        self._opt_out_auto_nav_text_and_tab_color_updates = None
 54        self._show_initial_conditional_fields = None
 55        self._signing_version = None
 56        self._tag_has_sig_block = None
 57        self.discriminator = None
 58
 59        if account_id is not None:
 60            self.account_id = account_id
 61        if opt_out_auto_nav_text_and_tab_color_updates is not None:
 62            self.opt_out_auto_nav_text_and_tab_color_updates = opt_out_auto_nav_text_and_tab_color_updates
 63        if show_initial_conditional_fields is not None:
 64            self.show_initial_conditional_fields = show_initial_conditional_fields
 65        if signing_version is not None:
 66            self.signing_version = signing_version
 67        if tag_has_sig_block is not None:
 68            self.tag_has_sig_block = tag_has_sig_block
 69
 70    @property
 71    def account_id(self):
 72        """Gets the account_id of this DisplayApplianceAccount.  # noqa: E501
 73
 74        The account ID associated with the envelope.  # noqa: E501
 75
 76        :return: The account_id of this DisplayApplianceAccount.  # noqa: E501
 77        :rtype: str
 78        """
 79        return self._account_id
 80
 81    @account_id.setter
 82    def account_id(self, account_id):
 83        """Sets the account_id of this DisplayApplianceAccount.
 84
 85        The account ID associated with the envelope.  # noqa: E501
 86
 87        :param account_id: The account_id of this DisplayApplianceAccount.  # noqa: E501
 88        :type: str
 89        """
 90
 91        self._account_id = account_id
 92
 93    @property
 94    def opt_out_auto_nav_text_and_tab_color_updates(self):
 95        """Gets the opt_out_auto_nav_text_and_tab_color_updates of this DisplayApplianceAccount.  # noqa: E501
 96
 97          # noqa: E501
 98
 99        :return: The opt_out_auto_nav_text_and_tab_color_updates of this DisplayApplianceAccount.  # noqa: E501
100        :rtype: bool
101        """
102        return self._opt_out_auto_nav_text_and_tab_color_updates
103
104    @opt_out_auto_nav_text_and_tab_color_updates.setter
105    def opt_out_auto_nav_text_and_tab_color_updates(self, opt_out_auto_nav_text_and_tab_color_updates):
106        """Sets the opt_out_auto_nav_text_and_tab_color_updates of this DisplayApplianceAccount.
107
108          # noqa: E501
109
110        :param opt_out_auto_nav_text_and_tab_color_updates: The opt_out_auto_nav_text_and_tab_color_updates of this DisplayApplianceAccount.  # noqa: E501
111        :type: bool
112        """
113
114        self._opt_out_auto_nav_text_and_tab_color_updates = opt_out_auto_nav_text_and_tab_color_updates
115
116    @property
117    def show_initial_conditional_fields(self):
118        """Gets the show_initial_conditional_fields of this DisplayApplianceAccount.  # noqa: E501
119
120          # noqa: E501
121
122        :return: The show_initial_conditional_fields of this DisplayApplianceAccount.  # noqa: E501
123        :rtype: bool
124        """
125        return self._show_initial_conditional_fields
126
127    @show_initial_conditional_fields.setter
128    def show_initial_conditional_fields(self, show_initial_conditional_fields):
129        """Sets the show_initial_conditional_fields of this DisplayApplianceAccount.
130
131          # noqa: E501
132
133        :param show_initial_conditional_fields: The show_initial_conditional_fields of this DisplayApplianceAccount.  # noqa: E501
134        :type: bool
135        """
136
137        self._show_initial_conditional_fields = show_initial_conditional_fields
138
139    @property
140    def signing_version(self):
141        """Gets the signing_version of this DisplayApplianceAccount.  # noqa: E501
142
143          # noqa: E501
144
145        :return: The signing_version of this DisplayApplianceAccount.  # noqa: E501
146        :rtype: str
147        """
148        return self._signing_version
149
150    @signing_version.setter
151    def signing_version(self, signing_version):
152        """Sets the signing_version of this DisplayApplianceAccount.
153
154          # noqa: E501
155
156        :param signing_version: The signing_version of this DisplayApplianceAccount.  # noqa: E501
157        :type: str
158        """
159
160        self._signing_version = signing_version
161
162    @property
163    def tag_has_sig_block(self):
164        """Gets the tag_has_sig_block of this DisplayApplianceAccount.  # noqa: E501
165
166          # noqa: E501
167
168        :return: The tag_has_sig_block of this DisplayApplianceAccount.  # noqa: E501
169        :rtype: bool
170        """
171        return self._tag_has_sig_block
172
173    @tag_has_sig_block.setter
174    def tag_has_sig_block(self, tag_has_sig_block):
175        """Sets the tag_has_sig_block of this DisplayApplianceAccount.
176
177          # noqa: E501
178
179        :param tag_has_sig_block: The tag_has_sig_block of this DisplayApplianceAccount.  # noqa: E501
180        :type: bool
181        """
182
183        self._tag_has_sig_block = tag_has_sig_block
184
185    def to_dict(self):
186        """Returns the model properties as a dict"""
187        result = {}
188
189        for attr, _ in six.iteritems(self.swagger_types):
190            value = getattr(self, attr)
191            if isinstance(value, list):
192                result[attr] = list(map(
193                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
194                    value
195                ))
196            elif hasattr(value, "to_dict"):
197                result[attr] = value.to_dict()
198            elif isinstance(value, dict):
199                result[attr] = dict(map(
200                    lambda item: (item[0], item[1].to_dict())
201                    if hasattr(item[1], "to_dict") else item,
202                    value.items()
203                ))
204            else:
205                result[attr] = value
206        if issubclass(DisplayApplianceAccount, dict):
207            for key, value in self.items():
208                result[key] = value
209
210        return result
211
212    def to_str(self):
213        """Returns the string representation of the model"""
214        return pprint.pformat(self.to_dict())
215
216    def __repr__(self):
217        """For `print` and `pprint`"""
218        return self.to_str()
219
220    def __eq__(self, other):
221        """Returns true if both objects are equal"""
222        if not isinstance(other, DisplayApplianceAccount):
223            return False
224
225        return self.__dict__ == other.__dict__
226
227    def __ne__(self, other):
228        """Returns true if both objects are not equal"""
229        return not self == other
class DisplayApplianceAccount:
 21class DisplayApplianceAccount(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        'account_id': 'str',
 36        'opt_out_auto_nav_text_and_tab_color_updates': 'bool',
 37        'show_initial_conditional_fields': 'bool',
 38        'signing_version': 'str',
 39        'tag_has_sig_block': 'bool'
 40    }
 41
 42    attribute_map = {
 43        'account_id': 'accountId',
 44        'opt_out_auto_nav_text_and_tab_color_updates': 'optOutAutoNavTextAndTabColorUpdates',
 45        'show_initial_conditional_fields': 'showInitialConditionalFields',
 46        'signing_version': 'signingVersion',
 47        'tag_has_sig_block': 'tagHasSigBlock'
 48    }
 49
 50    def __init__(self, account_id=None, opt_out_auto_nav_text_and_tab_color_updates=None, show_initial_conditional_fields=None, signing_version=None, tag_has_sig_block=None):  # noqa: E501
 51        """DisplayApplianceAccount - a model defined in Swagger"""  # noqa: E501
 52
 53        self._account_id = None
 54        self._opt_out_auto_nav_text_and_tab_color_updates = None
 55        self._show_initial_conditional_fields = None
 56        self._signing_version = None
 57        self._tag_has_sig_block = None
 58        self.discriminator = None
 59
 60        if account_id is not None:
 61            self.account_id = account_id
 62        if opt_out_auto_nav_text_and_tab_color_updates is not None:
 63            self.opt_out_auto_nav_text_and_tab_color_updates = opt_out_auto_nav_text_and_tab_color_updates
 64        if show_initial_conditional_fields is not None:
 65            self.show_initial_conditional_fields = show_initial_conditional_fields
 66        if signing_version is not None:
 67            self.signing_version = signing_version
 68        if tag_has_sig_block is not None:
 69            self.tag_has_sig_block = tag_has_sig_block
 70
 71    @property
 72    def account_id(self):
 73        """Gets the account_id of this DisplayApplianceAccount.  # noqa: E501
 74
 75        The account ID associated with the envelope.  # noqa: E501
 76
 77        :return: The account_id of this DisplayApplianceAccount.  # noqa: E501
 78        :rtype: str
 79        """
 80        return self._account_id
 81
 82    @account_id.setter
 83    def account_id(self, account_id):
 84        """Sets the account_id of this DisplayApplianceAccount.
 85
 86        The account ID associated with the envelope.  # noqa: E501
 87
 88        :param account_id: The account_id of this DisplayApplianceAccount.  # noqa: E501
 89        :type: str
 90        """
 91
 92        self._account_id = account_id
 93
 94    @property
 95    def opt_out_auto_nav_text_and_tab_color_updates(self):
 96        """Gets the opt_out_auto_nav_text_and_tab_color_updates of this DisplayApplianceAccount.  # noqa: E501
 97
 98          # noqa: E501
 99
100        :return: The opt_out_auto_nav_text_and_tab_color_updates of this DisplayApplianceAccount.  # noqa: E501
101        :rtype: bool
102        """
103        return self._opt_out_auto_nav_text_and_tab_color_updates
104
105    @opt_out_auto_nav_text_and_tab_color_updates.setter
106    def opt_out_auto_nav_text_and_tab_color_updates(self, opt_out_auto_nav_text_and_tab_color_updates):
107        """Sets the opt_out_auto_nav_text_and_tab_color_updates of this DisplayApplianceAccount.
108
109          # noqa: E501
110
111        :param opt_out_auto_nav_text_and_tab_color_updates: The opt_out_auto_nav_text_and_tab_color_updates of this DisplayApplianceAccount.  # noqa: E501
112        :type: bool
113        """
114
115        self._opt_out_auto_nav_text_and_tab_color_updates = opt_out_auto_nav_text_and_tab_color_updates
116
117    @property
118    def show_initial_conditional_fields(self):
119        """Gets the show_initial_conditional_fields of this DisplayApplianceAccount.  # noqa: E501
120
121          # noqa: E501
122
123        :return: The show_initial_conditional_fields of this DisplayApplianceAccount.  # noqa: E501
124        :rtype: bool
125        """
126        return self._show_initial_conditional_fields
127
128    @show_initial_conditional_fields.setter
129    def show_initial_conditional_fields(self, show_initial_conditional_fields):
130        """Sets the show_initial_conditional_fields of this DisplayApplianceAccount.
131
132          # noqa: E501
133
134        :param show_initial_conditional_fields: The show_initial_conditional_fields of this DisplayApplianceAccount.  # noqa: E501
135        :type: bool
136        """
137
138        self._show_initial_conditional_fields = show_initial_conditional_fields
139
140    @property
141    def signing_version(self):
142        """Gets the signing_version of this DisplayApplianceAccount.  # noqa: E501
143
144          # noqa: E501
145
146        :return: The signing_version of this DisplayApplianceAccount.  # noqa: E501
147        :rtype: str
148        """
149        return self._signing_version
150
151    @signing_version.setter
152    def signing_version(self, signing_version):
153        """Sets the signing_version of this DisplayApplianceAccount.
154
155          # noqa: E501
156
157        :param signing_version: The signing_version of this DisplayApplianceAccount.  # noqa: E501
158        :type: str
159        """
160
161        self._signing_version = signing_version
162
163    @property
164    def tag_has_sig_block(self):
165        """Gets the tag_has_sig_block of this DisplayApplianceAccount.  # noqa: E501
166
167          # noqa: E501
168
169        :return: The tag_has_sig_block of this DisplayApplianceAccount.  # noqa: E501
170        :rtype: bool
171        """
172        return self._tag_has_sig_block
173
174    @tag_has_sig_block.setter
175    def tag_has_sig_block(self, tag_has_sig_block):
176        """Sets the tag_has_sig_block of this DisplayApplianceAccount.
177
178          # noqa: E501
179
180        :param tag_has_sig_block: The tag_has_sig_block of this DisplayApplianceAccount.  # noqa: E501
181        :type: bool
182        """
183
184        self._tag_has_sig_block = tag_has_sig_block
185
186    def to_dict(self):
187        """Returns the model properties as a dict"""
188        result = {}
189
190        for attr, _ in six.iteritems(self.swagger_types):
191            value = getattr(self, attr)
192            if isinstance(value, list):
193                result[attr] = list(map(
194                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
195                    value
196                ))
197            elif hasattr(value, "to_dict"):
198                result[attr] = value.to_dict()
199            elif isinstance(value, dict):
200                result[attr] = dict(map(
201                    lambda item: (item[0], item[1].to_dict())
202                    if hasattr(item[1], "to_dict") else item,
203                    value.items()
204                ))
205            else:
206                result[attr] = value
207        if issubclass(DisplayApplianceAccount, dict):
208            for key, value in self.items():
209                result[key] = value
210
211        return result
212
213    def to_str(self):
214        """Returns the string representation of the model"""
215        return pprint.pformat(self.to_dict())
216
217    def __repr__(self):
218        """For `print` and `pprint`"""
219        return self.to_str()
220
221    def __eq__(self, other):
222        """Returns true if both objects are equal"""
223        if not isinstance(other, DisplayApplianceAccount):
224            return False
225
226        return self.__dict__ == other.__dict__
227
228    def __ne__(self, other):
229        """Returns true if both objects are not equal"""
230        return not self == other

NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.

DisplayApplianceAccount( account_id=None, opt_out_auto_nav_text_and_tab_color_updates=None, show_initial_conditional_fields=None, signing_version=None, tag_has_sig_block=None)
50    def __init__(self, account_id=None, opt_out_auto_nav_text_and_tab_color_updates=None, show_initial_conditional_fields=None, signing_version=None, tag_has_sig_block=None):  # noqa: E501
51        """DisplayApplianceAccount - a model defined in Swagger"""  # noqa: E501
52
53        self._account_id = None
54        self._opt_out_auto_nav_text_and_tab_color_updates = None
55        self._show_initial_conditional_fields = None
56        self._signing_version = None
57        self._tag_has_sig_block = None
58        self.discriminator = None
59
60        if account_id is not None:
61            self.account_id = account_id
62        if opt_out_auto_nav_text_and_tab_color_updates is not None:
63            self.opt_out_auto_nav_text_and_tab_color_updates = opt_out_auto_nav_text_and_tab_color_updates
64        if show_initial_conditional_fields is not None:
65            self.show_initial_conditional_fields = show_initial_conditional_fields
66        if signing_version is not None:
67            self.signing_version = signing_version
68        if tag_has_sig_block is not None:
69            self.tag_has_sig_block = tag_has_sig_block

DisplayApplianceAccount - a model defined in Swagger

swagger_types = {'account_id': 'str', 'opt_out_auto_nav_text_and_tab_color_updates': 'bool', 'show_initial_conditional_fields': 'bool', 'signing_version': 'str', 'tag_has_sig_block': 'bool'}
attribute_map = {'account_id': 'accountId', 'opt_out_auto_nav_text_and_tab_color_updates': 'optOutAutoNavTextAndTabColorUpdates', 'show_initial_conditional_fields': 'showInitialConditionalFields', 'signing_version': 'signingVersion', 'tag_has_sig_block': 'tagHasSigBlock'}
account_id

Gets the account_id of this DisplayApplianceAccount. # noqa: E501

The account ID associated with the envelope. # noqa: E501

Returns

The account_id of this DisplayApplianceAccount. # noqa: E501

opt_out_auto_nav_text_and_tab_color_updates

Gets the opt_out_auto_nav_text_and_tab_color_updates of this DisplayApplianceAccount. # noqa: E501

# noqa: E501

Returns

The opt_out_auto_nav_text_and_tab_color_updates of this DisplayApplianceAccount. # noqa: E501

show_initial_conditional_fields

Gets the show_initial_conditional_fields of this DisplayApplianceAccount. # noqa: E501

# noqa: E501

Returns

The show_initial_conditional_fields of this DisplayApplianceAccount. # noqa: E501

signing_version

Gets the signing_version of this DisplayApplianceAccount. # noqa: E501

# noqa: E501

Returns

The signing_version of this DisplayApplianceAccount. # noqa: E501

tag_has_sig_block

Gets the tag_has_sig_block of this DisplayApplianceAccount. # noqa: E501

# noqa: E501

Returns

The tag_has_sig_block of this DisplayApplianceAccount. # noqa: E501

def to_dict(self)
186    def to_dict(self):
187        """Returns the model properties as a dict"""
188        result = {}
189
190        for attr, _ in six.iteritems(self.swagger_types):
191            value = getattr(self, attr)
192            if isinstance(value, list):
193                result[attr] = list(map(
194                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
195                    value
196                ))
197            elif hasattr(value, "to_dict"):
198                result[attr] = value.to_dict()
199            elif isinstance(value, dict):
200                result[attr] = dict(map(
201                    lambda item: (item[0], item[1].to_dict())
202                    if hasattr(item[1], "to_dict") else item,
203                    value.items()
204                ))
205            else:
206                result[attr] = value
207        if issubclass(DisplayApplianceAccount, dict):
208            for key, value in self.items():
209                result[key] = value
210
211        return result

Returns the model properties as a dict

def to_str(self)
213    def to_str(self):
214        """Returns the string representation of the model"""
215        return pprint.pformat(self.to_dict())

Returns the string representation of the model