docusign_esign.models.brand_resources

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
 19from docusign_esign.client.configuration import Configuration
 20
 21
 22class BrandResources(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        'created_by_user_info': 'UserInfo',
 37        'created_date': 'str',
 38        'data_not_saved_not_in_master': 'list[str]',
 39        'modified_by_user_info': 'UserInfo',
 40        'modified_date': 'str',
 41        'modified_templates': 'list[str]',
 42        'resources_content_type': 'str',
 43        'resources_content_uri': 'str'
 44    }
 45
 46    attribute_map = {
 47        'created_by_user_info': 'createdByUserInfo',
 48        'created_date': 'createdDate',
 49        'data_not_saved_not_in_master': 'dataNotSavedNotInMaster',
 50        'modified_by_user_info': 'modifiedByUserInfo',
 51        'modified_date': 'modifiedDate',
 52        'modified_templates': 'modifiedTemplates',
 53        'resources_content_type': 'resourcesContentType',
 54        'resources_content_uri': 'resourcesContentUri'
 55    }
 56
 57    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 58        """BrandResources - a model defined in Swagger"""  # noqa: E501
 59        if _configuration is None:
 60            _configuration = Configuration()
 61        self._configuration = _configuration
 62
 63        self._created_by_user_info = None
 64        self._created_date = None
 65        self._data_not_saved_not_in_master = None
 66        self._modified_by_user_info = None
 67        self._modified_date = None
 68        self._modified_templates = None
 69        self._resources_content_type = None
 70        self._resources_content_uri = None
 71        self.discriminator = None
 72
 73        setattr(self, "_{}".format('created_by_user_info'), kwargs.get('created_by_user_info', None))
 74        setattr(self, "_{}".format('created_date'), kwargs.get('created_date', None))
 75        setattr(self, "_{}".format('data_not_saved_not_in_master'), kwargs.get('data_not_saved_not_in_master', None))
 76        setattr(self, "_{}".format('modified_by_user_info'), kwargs.get('modified_by_user_info', None))
 77        setattr(self, "_{}".format('modified_date'), kwargs.get('modified_date', None))
 78        setattr(self, "_{}".format('modified_templates'), kwargs.get('modified_templates', None))
 79        setattr(self, "_{}".format('resources_content_type'), kwargs.get('resources_content_type', None))
 80        setattr(self, "_{}".format('resources_content_uri'), kwargs.get('resources_content_uri', None))
 81
 82    @property
 83    def created_by_user_info(self):
 84        """Gets the created_by_user_info of this BrandResources.  # noqa: E501
 85
 86        The user ID of the user who created the brand resource.  # noqa: E501
 87
 88        :return: The created_by_user_info of this BrandResources.  # noqa: E501
 89        :rtype: UserInfo
 90        """
 91        return self._created_by_user_info
 92
 93    @created_by_user_info.setter
 94    def created_by_user_info(self, created_by_user_info):
 95        """Sets the created_by_user_info of this BrandResources.
 96
 97        The user ID of the user who created the brand resource.  # noqa: E501
 98
 99        :param created_by_user_info: The created_by_user_info of this BrandResources.  # noqa: E501
100        :type: UserInfo
101        """
102
103        self._created_by_user_info = created_by_user_info
104
105    @property
106    def created_date(self):
107        """Gets the created_date of this BrandResources.  # noqa: E501
108
109          # noqa: E501
110
111        :return: The created_date of this BrandResources.  # noqa: E501
112        :rtype: str
113        """
114        return self._created_date
115
116    @created_date.setter
117    def created_date(self, created_date):
118        """Sets the created_date of this BrandResources.
119
120          # noqa: E501
121
122        :param created_date: The created_date of this BrandResources.  # noqa: E501
123        :type: str
124        """
125
126        self._created_date = created_date
127
128    @property
129    def data_not_saved_not_in_master(self):
130        """Gets the data_not_saved_not_in_master of this BrandResources.  # noqa: E501
131
132          # noqa: E501
133
134        :return: The data_not_saved_not_in_master of this BrandResources.  # noqa: E501
135        :rtype: list[str]
136        """
137        return self._data_not_saved_not_in_master
138
139    @data_not_saved_not_in_master.setter
140    def data_not_saved_not_in_master(self, data_not_saved_not_in_master):
141        """Sets the data_not_saved_not_in_master of this BrandResources.
142
143          # noqa: E501
144
145        :param data_not_saved_not_in_master: The data_not_saved_not_in_master of this BrandResources.  # noqa: E501
146        :type: list[str]
147        """
148
149        self._data_not_saved_not_in_master = data_not_saved_not_in_master
150
151    @property
152    def modified_by_user_info(self):
153        """Gets the modified_by_user_info of this BrandResources.  # noqa: E501
154
155        Information about the user who last modified the brand resource.  # noqa: E501
156
157        :return: The modified_by_user_info of this BrandResources.  # noqa: E501
158        :rtype: UserInfo
159        """
160        return self._modified_by_user_info
161
162    @modified_by_user_info.setter
163    def modified_by_user_info(self, modified_by_user_info):
164        """Sets the modified_by_user_info of this BrandResources.
165
166        Information about the user who last modified the brand resource.  # noqa: E501
167
168        :param modified_by_user_info: The modified_by_user_info of this BrandResources.  # noqa: E501
169        :type: UserInfo
170        """
171
172        self._modified_by_user_info = modified_by_user_info
173
174    @property
175    def modified_date(self):
176        """Gets the modified_date of this BrandResources.  # noqa: E501
177
178          # noqa: E501
179
180        :return: The modified_date of this BrandResources.  # noqa: E501
181        :rtype: str
182        """
183        return self._modified_date
184
185    @modified_date.setter
186    def modified_date(self, modified_date):
187        """Sets the modified_date of this BrandResources.
188
189          # noqa: E501
190
191        :param modified_date: The modified_date of this BrandResources.  # noqa: E501
192        :type: str
193        """
194
195        self._modified_date = modified_date
196
197    @property
198    def modified_templates(self):
199        """Gets the modified_templates of this BrandResources.  # noqa: E501
200
201          # noqa: E501
202
203        :return: The modified_templates of this BrandResources.  # noqa: E501
204        :rtype: list[str]
205        """
206        return self._modified_templates
207
208    @modified_templates.setter
209    def modified_templates(self, modified_templates):
210        """Sets the modified_templates of this BrandResources.
211
212          # noqa: E501
213
214        :param modified_templates: The modified_templates of this BrandResources.  # noqa: E501
215        :type: list[str]
216        """
217
218        self._modified_templates = modified_templates
219
220    @property
221    def resources_content_type(self):
222        """Gets the resources_content_type of this BrandResources.  # noqa: E501
223
224          # noqa: E501
225
226        :return: The resources_content_type of this BrandResources.  # noqa: E501
227        :rtype: str
228        """
229        return self._resources_content_type
230
231    @resources_content_type.setter
232    def resources_content_type(self, resources_content_type):
233        """Sets the resources_content_type of this BrandResources.
234
235          # noqa: E501
236
237        :param resources_content_type: The resources_content_type of this BrandResources.  # noqa: E501
238        :type: str
239        """
240
241        self._resources_content_type = resources_content_type
242
243    @property
244    def resources_content_uri(self):
245        """Gets the resources_content_uri of this BrandResources.  # noqa: E501
246
247          # noqa: E501
248
249        :return: The resources_content_uri of this BrandResources.  # noqa: E501
250        :rtype: str
251        """
252        return self._resources_content_uri
253
254    @resources_content_uri.setter
255    def resources_content_uri(self, resources_content_uri):
256        """Sets the resources_content_uri of this BrandResources.
257
258          # noqa: E501
259
260        :param resources_content_uri: The resources_content_uri of this BrandResources.  # noqa: E501
261        :type: str
262        """
263
264        self._resources_content_uri = resources_content_uri
265
266    def to_dict(self):
267        """Returns the model properties as a dict"""
268        result = {}
269
270        for attr, _ in six.iteritems(self.swagger_types):
271            value = getattr(self, attr)
272            if isinstance(value, list):
273                result[attr] = list(map(
274                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
275                    value
276                ))
277            elif hasattr(value, "to_dict"):
278                result[attr] = value.to_dict()
279            elif isinstance(value, dict):
280                result[attr] = dict(map(
281                    lambda item: (item[0], item[1].to_dict())
282                    if hasattr(item[1], "to_dict") else item,
283                    value.items()
284                ))
285            else:
286                result[attr] = value
287        if issubclass(BrandResources, dict):
288            for key, value in self.items():
289                result[key] = value
290
291        return result
292
293    def to_str(self):
294        """Returns the string representation of the model"""
295        return pprint.pformat(self.to_dict())
296
297    def __repr__(self):
298        """For `print` and `pprint`"""
299        return self.to_str()
300
301    def __eq__(self, other):
302        """Returns true if both objects are equal"""
303        if not isinstance(other, BrandResources):
304            return False
305
306        return self.to_dict() == other.to_dict()
307
308    def __ne__(self, other):
309        """Returns true if both objects are not equal"""
310        if not isinstance(other, BrandResources):
311            return True
312
313        return self.to_dict() != other.to_dict()
class BrandResources:
 23class BrandResources(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        'created_by_user_info': 'UserInfo',
 38        'created_date': 'str',
 39        'data_not_saved_not_in_master': 'list[str]',
 40        'modified_by_user_info': 'UserInfo',
 41        'modified_date': 'str',
 42        'modified_templates': 'list[str]',
 43        'resources_content_type': 'str',
 44        'resources_content_uri': 'str'
 45    }
 46
 47    attribute_map = {
 48        'created_by_user_info': 'createdByUserInfo',
 49        'created_date': 'createdDate',
 50        'data_not_saved_not_in_master': 'dataNotSavedNotInMaster',
 51        'modified_by_user_info': 'modifiedByUserInfo',
 52        'modified_date': 'modifiedDate',
 53        'modified_templates': 'modifiedTemplates',
 54        'resources_content_type': 'resourcesContentType',
 55        'resources_content_uri': 'resourcesContentUri'
 56    }
 57
 58    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 59        """BrandResources - a model defined in Swagger"""  # noqa: E501
 60        if _configuration is None:
 61            _configuration = Configuration()
 62        self._configuration = _configuration
 63
 64        self._created_by_user_info = None
 65        self._created_date = None
 66        self._data_not_saved_not_in_master = None
 67        self._modified_by_user_info = None
 68        self._modified_date = None
 69        self._modified_templates = None
 70        self._resources_content_type = None
 71        self._resources_content_uri = None
 72        self.discriminator = None
 73
 74        setattr(self, "_{}".format('created_by_user_info'), kwargs.get('created_by_user_info', None))
 75        setattr(self, "_{}".format('created_date'), kwargs.get('created_date', None))
 76        setattr(self, "_{}".format('data_not_saved_not_in_master'), kwargs.get('data_not_saved_not_in_master', None))
 77        setattr(self, "_{}".format('modified_by_user_info'), kwargs.get('modified_by_user_info', None))
 78        setattr(self, "_{}".format('modified_date'), kwargs.get('modified_date', None))
 79        setattr(self, "_{}".format('modified_templates'), kwargs.get('modified_templates', None))
 80        setattr(self, "_{}".format('resources_content_type'), kwargs.get('resources_content_type', None))
 81        setattr(self, "_{}".format('resources_content_uri'), kwargs.get('resources_content_uri', None))
 82
 83    @property
 84    def created_by_user_info(self):
 85        """Gets the created_by_user_info of this BrandResources.  # noqa: E501
 86
 87        The user ID of the user who created the brand resource.  # noqa: E501
 88
 89        :return: The created_by_user_info of this BrandResources.  # noqa: E501
 90        :rtype: UserInfo
 91        """
 92        return self._created_by_user_info
 93
 94    @created_by_user_info.setter
 95    def created_by_user_info(self, created_by_user_info):
 96        """Sets the created_by_user_info of this BrandResources.
 97
 98        The user ID of the user who created the brand resource.  # noqa: E501
 99
100        :param created_by_user_info: The created_by_user_info of this BrandResources.  # noqa: E501
101        :type: UserInfo
102        """
103
104        self._created_by_user_info = created_by_user_info
105
106    @property
107    def created_date(self):
108        """Gets the created_date of this BrandResources.  # noqa: E501
109
110          # noqa: E501
111
112        :return: The created_date of this BrandResources.  # noqa: E501
113        :rtype: str
114        """
115        return self._created_date
116
117    @created_date.setter
118    def created_date(self, created_date):
119        """Sets the created_date of this BrandResources.
120
121          # noqa: E501
122
123        :param created_date: The created_date of this BrandResources.  # noqa: E501
124        :type: str
125        """
126
127        self._created_date = created_date
128
129    @property
130    def data_not_saved_not_in_master(self):
131        """Gets the data_not_saved_not_in_master of this BrandResources.  # noqa: E501
132
133          # noqa: E501
134
135        :return: The data_not_saved_not_in_master of this BrandResources.  # noqa: E501
136        :rtype: list[str]
137        """
138        return self._data_not_saved_not_in_master
139
140    @data_not_saved_not_in_master.setter
141    def data_not_saved_not_in_master(self, data_not_saved_not_in_master):
142        """Sets the data_not_saved_not_in_master of this BrandResources.
143
144          # noqa: E501
145
146        :param data_not_saved_not_in_master: The data_not_saved_not_in_master of this BrandResources.  # noqa: E501
147        :type: list[str]
148        """
149
150        self._data_not_saved_not_in_master = data_not_saved_not_in_master
151
152    @property
153    def modified_by_user_info(self):
154        """Gets the modified_by_user_info of this BrandResources.  # noqa: E501
155
156        Information about the user who last modified the brand resource.  # noqa: E501
157
158        :return: The modified_by_user_info of this BrandResources.  # noqa: E501
159        :rtype: UserInfo
160        """
161        return self._modified_by_user_info
162
163    @modified_by_user_info.setter
164    def modified_by_user_info(self, modified_by_user_info):
165        """Sets the modified_by_user_info of this BrandResources.
166
167        Information about the user who last modified the brand resource.  # noqa: E501
168
169        :param modified_by_user_info: The modified_by_user_info of this BrandResources.  # noqa: E501
170        :type: UserInfo
171        """
172
173        self._modified_by_user_info = modified_by_user_info
174
175    @property
176    def modified_date(self):
177        """Gets the modified_date of this BrandResources.  # noqa: E501
178
179          # noqa: E501
180
181        :return: The modified_date of this BrandResources.  # noqa: E501
182        :rtype: str
183        """
184        return self._modified_date
185
186    @modified_date.setter
187    def modified_date(self, modified_date):
188        """Sets the modified_date of this BrandResources.
189
190          # noqa: E501
191
192        :param modified_date: The modified_date of this BrandResources.  # noqa: E501
193        :type: str
194        """
195
196        self._modified_date = modified_date
197
198    @property
199    def modified_templates(self):
200        """Gets the modified_templates of this BrandResources.  # noqa: E501
201
202          # noqa: E501
203
204        :return: The modified_templates of this BrandResources.  # noqa: E501
205        :rtype: list[str]
206        """
207        return self._modified_templates
208
209    @modified_templates.setter
210    def modified_templates(self, modified_templates):
211        """Sets the modified_templates of this BrandResources.
212
213          # noqa: E501
214
215        :param modified_templates: The modified_templates of this BrandResources.  # noqa: E501
216        :type: list[str]
217        """
218
219        self._modified_templates = modified_templates
220
221    @property
222    def resources_content_type(self):
223        """Gets the resources_content_type of this BrandResources.  # noqa: E501
224
225          # noqa: E501
226
227        :return: The resources_content_type of this BrandResources.  # noqa: E501
228        :rtype: str
229        """
230        return self._resources_content_type
231
232    @resources_content_type.setter
233    def resources_content_type(self, resources_content_type):
234        """Sets the resources_content_type of this BrandResources.
235
236          # noqa: E501
237
238        :param resources_content_type: The resources_content_type of this BrandResources.  # noqa: E501
239        :type: str
240        """
241
242        self._resources_content_type = resources_content_type
243
244    @property
245    def resources_content_uri(self):
246        """Gets the resources_content_uri of this BrandResources.  # noqa: E501
247
248          # noqa: E501
249
250        :return: The resources_content_uri of this BrandResources.  # noqa: E501
251        :rtype: str
252        """
253        return self._resources_content_uri
254
255    @resources_content_uri.setter
256    def resources_content_uri(self, resources_content_uri):
257        """Sets the resources_content_uri of this BrandResources.
258
259          # noqa: E501
260
261        :param resources_content_uri: The resources_content_uri of this BrandResources.  # noqa: E501
262        :type: str
263        """
264
265        self._resources_content_uri = resources_content_uri
266
267    def to_dict(self):
268        """Returns the model properties as a dict"""
269        result = {}
270
271        for attr, _ in six.iteritems(self.swagger_types):
272            value = getattr(self, attr)
273            if isinstance(value, list):
274                result[attr] = list(map(
275                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
276                    value
277                ))
278            elif hasattr(value, "to_dict"):
279                result[attr] = value.to_dict()
280            elif isinstance(value, dict):
281                result[attr] = dict(map(
282                    lambda item: (item[0], item[1].to_dict())
283                    if hasattr(item[1], "to_dict") else item,
284                    value.items()
285                ))
286            else:
287                result[attr] = value
288        if issubclass(BrandResources, dict):
289            for key, value in self.items():
290                result[key] = value
291
292        return result
293
294    def to_str(self):
295        """Returns the string representation of the model"""
296        return pprint.pformat(self.to_dict())
297
298    def __repr__(self):
299        """For `print` and `pprint`"""
300        return self.to_str()
301
302    def __eq__(self, other):
303        """Returns true if both objects are equal"""
304        if not isinstance(other, BrandResources):
305            return False
306
307        return self.to_dict() == other.to_dict()
308
309    def __ne__(self, other):
310        """Returns true if both objects are not equal"""
311        if not isinstance(other, BrandResources):
312            return True
313
314        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.

BrandResources(_configuration=None, **kwargs)
58    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
59        """BrandResources - a model defined in Swagger"""  # noqa: E501
60        if _configuration is None:
61            _configuration = Configuration()
62        self._configuration = _configuration
63
64        self._created_by_user_info = None
65        self._created_date = None
66        self._data_not_saved_not_in_master = None
67        self._modified_by_user_info = None
68        self._modified_date = None
69        self._modified_templates = None
70        self._resources_content_type = None
71        self._resources_content_uri = None
72        self.discriminator = None
73
74        setattr(self, "_{}".format('created_by_user_info'), kwargs.get('created_by_user_info', None))
75        setattr(self, "_{}".format('created_date'), kwargs.get('created_date', None))
76        setattr(self, "_{}".format('data_not_saved_not_in_master'), kwargs.get('data_not_saved_not_in_master', None))
77        setattr(self, "_{}".format('modified_by_user_info'), kwargs.get('modified_by_user_info', None))
78        setattr(self, "_{}".format('modified_date'), kwargs.get('modified_date', None))
79        setattr(self, "_{}".format('modified_templates'), kwargs.get('modified_templates', None))
80        setattr(self, "_{}".format('resources_content_type'), kwargs.get('resources_content_type', None))
81        setattr(self, "_{}".format('resources_content_uri'), kwargs.get('resources_content_uri', None))

BrandResources - a model defined in Swagger

swagger_types = {'created_by_user_info': 'UserInfo', 'created_date': 'str', 'data_not_saved_not_in_master': 'list[str]', 'modified_by_user_info': 'UserInfo', 'modified_date': 'str', 'modified_templates': 'list[str]', 'resources_content_type': 'str', 'resources_content_uri': 'str'}
attribute_map = {'created_by_user_info': 'createdByUserInfo', 'created_date': 'createdDate', 'data_not_saved_not_in_master': 'dataNotSavedNotInMaster', 'modified_by_user_info': 'modifiedByUserInfo', 'modified_date': 'modifiedDate', 'modified_templates': 'modifiedTemplates', 'resources_content_type': 'resourcesContentType', 'resources_content_uri': 'resourcesContentUri'}
created_by_user_info

Gets the created_by_user_info of this BrandResources. # noqa: E501

The user ID of the user who created the brand resource. # noqa: E501

Returns

The created_by_user_info of this BrandResources. # noqa: E501

created_date

Gets the created_date of this BrandResources. # noqa: E501

# noqa: E501

Returns

The created_date of this BrandResources. # noqa: E501

data_not_saved_not_in_master

Gets the data_not_saved_not_in_master of this BrandResources. # noqa: E501

# noqa: E501

Returns

The data_not_saved_not_in_master of this BrandResources. # noqa: E501

modified_by_user_info

Gets the modified_by_user_info of this BrandResources. # noqa: E501

Information about the user who last modified the brand resource. # noqa: E501

Returns

The modified_by_user_info of this BrandResources. # noqa: E501

modified_date

Gets the modified_date of this BrandResources. # noqa: E501

# noqa: E501

Returns

The modified_date of this BrandResources. # noqa: E501

modified_templates

Gets the modified_templates of this BrandResources. # noqa: E501

# noqa: E501

Returns

The modified_templates of this BrandResources. # noqa: E501

resources_content_type

Gets the resources_content_type of this BrandResources. # noqa: E501

# noqa: E501

Returns

The resources_content_type of this BrandResources. # noqa: E501

resources_content_uri

Gets the resources_content_uri of this BrandResources. # noqa: E501

# noqa: E501

Returns

The resources_content_uri of this BrandResources. # noqa: E501

def to_dict(self)
267    def to_dict(self):
268        """Returns the model properties as a dict"""
269        result = {}
270
271        for attr, _ in six.iteritems(self.swagger_types):
272            value = getattr(self, attr)
273            if isinstance(value, list):
274                result[attr] = list(map(
275                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
276                    value
277                ))
278            elif hasattr(value, "to_dict"):
279                result[attr] = value.to_dict()
280            elif isinstance(value, dict):
281                result[attr] = dict(map(
282                    lambda item: (item[0], item[1].to_dict())
283                    if hasattr(item[1], "to_dict") else item,
284                    value.items()
285                ))
286            else:
287                result[attr] = value
288        if issubclass(BrandResources, dict):
289            for key, value in self.items():
290                result[key] = value
291
292        return result

Returns the model properties as a dict

def to_str(self)
294    def to_str(self):
295        """Returns the string representation of the model"""
296        return pprint.pformat(self.to_dict())

Returns the string representation of the model