docusign_esign.models.brand

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 Brand(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        'brand_company': 'str',
 37        'brand_id': 'str',
 38        'brand_languages': 'list[str]',
 39        'brand_name': 'str',
 40        'colors': 'list[NameValue]',
 41        'default_brand_language': 'str',
 42        'email_content': 'list[BrandEmailContent]',
 43        'error_details': 'ErrorDetails',
 44        'is_overriding_company_name': 'bool',
 45        'is_sending_default': 'bool',
 46        'is_signing_default': 'bool',
 47        'landing_pages': 'list[NameValue]',
 48        'links': 'list[BrandLink]',
 49        'logos': 'BrandLogos',
 50        'resources': 'BrandResourceUrls'
 51    }
 52
 53    attribute_map = {
 54        'brand_company': 'brandCompany',
 55        'brand_id': 'brandId',
 56        'brand_languages': 'brandLanguages',
 57        'brand_name': 'brandName',
 58        'colors': 'colors',
 59        'default_brand_language': 'defaultBrandLanguage',
 60        'email_content': 'emailContent',
 61        'error_details': 'errorDetails',
 62        'is_overriding_company_name': 'isOverridingCompanyName',
 63        'is_sending_default': 'isSendingDefault',
 64        'is_signing_default': 'isSigningDefault',
 65        'landing_pages': 'landingPages',
 66        'links': 'links',
 67        'logos': 'logos',
 68        'resources': 'resources'
 69    }
 70
 71    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 72        """Brand - a model defined in Swagger"""  # noqa: E501
 73        if _configuration is None:
 74            _configuration = Configuration()
 75        self._configuration = _configuration
 76
 77        self._brand_company = None
 78        self._brand_id = None
 79        self._brand_languages = None
 80        self._brand_name = None
 81        self._colors = None
 82        self._default_brand_language = None
 83        self._email_content = None
 84        self._error_details = None
 85        self._is_overriding_company_name = None
 86        self._is_sending_default = None
 87        self._is_signing_default = None
 88        self._landing_pages = None
 89        self._links = None
 90        self._logos = None
 91        self._resources = None
 92        self.discriminator = None
 93
 94        setattr(self, "_{}".format('brand_company'), kwargs.get('brand_company', None))
 95        setattr(self, "_{}".format('brand_id'), kwargs.get('brand_id', None))
 96        setattr(self, "_{}".format('brand_languages'), kwargs.get('brand_languages', None))
 97        setattr(self, "_{}".format('brand_name'), kwargs.get('brand_name', None))
 98        setattr(self, "_{}".format('colors'), kwargs.get('colors', None))
 99        setattr(self, "_{}".format('default_brand_language'), kwargs.get('default_brand_language', None))
100        setattr(self, "_{}".format('email_content'), kwargs.get('email_content', None))
101        setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None))
102        setattr(self, "_{}".format('is_overriding_company_name'), kwargs.get('is_overriding_company_name', None))
103        setattr(self, "_{}".format('is_sending_default'), kwargs.get('is_sending_default', None))
104        setattr(self, "_{}".format('is_signing_default'), kwargs.get('is_signing_default', None))
105        setattr(self, "_{}".format('landing_pages'), kwargs.get('landing_pages', None))
106        setattr(self, "_{}".format('links'), kwargs.get('links', None))
107        setattr(self, "_{}".format('logos'), kwargs.get('logos', None))
108        setattr(self, "_{}".format('resources'), kwargs.get('resources', None))
109
110    @property
111    def brand_company(self):
112        """Gets the brand_company of this Brand.  # noqa: E501
113
114        The name of the company associated with this brand.  # noqa: E501
115
116        :return: The brand_company of this Brand.  # noqa: E501
117        :rtype: str
118        """
119        return self._brand_company
120
121    @brand_company.setter
122    def brand_company(self, brand_company):
123        """Sets the brand_company of this Brand.
124
125        The name of the company associated with this brand.  # noqa: E501
126
127        :param brand_company: The brand_company of this Brand.  # noqa: E501
128        :type: str
129        """
130
131        self._brand_company = brand_company
132
133    @property
134    def brand_id(self):
135        """Gets the brand_id of this Brand.  # noqa: E501
136
137        The ID used to identify a specific brand in API calls.  # noqa: E501
138
139        :return: The brand_id of this Brand.  # noqa: E501
140        :rtype: str
141        """
142        return self._brand_id
143
144    @brand_id.setter
145    def brand_id(self, brand_id):
146        """Sets the brand_id of this Brand.
147
148        The ID used to identify a specific brand in API calls.  # noqa: E501
149
150        :param brand_id: The brand_id of this Brand.  # noqa: E501
151        :type: str
152        """
153
154        self._brand_id = brand_id
155
156    @property
157    def brand_languages(self):
158        """Gets the brand_languages of this Brand.  # noqa: E501
159
160          # noqa: E501
161
162        :return: The brand_languages of this Brand.  # noqa: E501
163        :rtype: list[str]
164        """
165        return self._brand_languages
166
167    @brand_languages.setter
168    def brand_languages(self, brand_languages):
169        """Sets the brand_languages of this Brand.
170
171          # noqa: E501
172
173        :param brand_languages: The brand_languages of this Brand.  # noqa: E501
174        :type: list[str]
175        """
176
177        self._brand_languages = brand_languages
178
179    @property
180    def brand_name(self):
181        """Gets the brand_name of this Brand.  # noqa: E501
182
183        The name of the brand.  # noqa: E501
184
185        :return: The brand_name of this Brand.  # noqa: E501
186        :rtype: str
187        """
188        return self._brand_name
189
190    @brand_name.setter
191    def brand_name(self, brand_name):
192        """Sets the brand_name of this Brand.
193
194        The name of the brand.  # noqa: E501
195
196        :param brand_name: The brand_name of this Brand.  # noqa: E501
197        :type: str
198        """
199
200        self._brand_name = brand_name
201
202    @property
203    def colors(self):
204        """Gets the colors of this Brand.  # noqa: E501
205
206          # noqa: E501
207
208        :return: The colors of this Brand.  # noqa: E501
209        :rtype: list[NameValue]
210        """
211        return self._colors
212
213    @colors.setter
214    def colors(self, colors):
215        """Sets the colors of this Brand.
216
217          # noqa: E501
218
219        :param colors: The colors of this Brand.  # noqa: E501
220        :type: list[NameValue]
221        """
222
223        self._colors = colors
224
225    @property
226    def default_brand_language(self):
227        """Gets the default_brand_language of this Brand.  # noqa: E501
228
229          # noqa: E501
230
231        :return: The default_brand_language of this Brand.  # noqa: E501
232        :rtype: str
233        """
234        return self._default_brand_language
235
236    @default_brand_language.setter
237    def default_brand_language(self, default_brand_language):
238        """Sets the default_brand_language of this Brand.
239
240          # noqa: E501
241
242        :param default_brand_language: The default_brand_language of this Brand.  # noqa: E501
243        :type: str
244        """
245
246        self._default_brand_language = default_brand_language
247
248    @property
249    def email_content(self):
250        """Gets the email_content of this Brand.  # noqa: E501
251
252          # noqa: E501
253
254        :return: The email_content of this Brand.  # noqa: E501
255        :rtype: list[BrandEmailContent]
256        """
257        return self._email_content
258
259    @email_content.setter
260    def email_content(self, email_content):
261        """Sets the email_content of this Brand.
262
263          # noqa: E501
264
265        :param email_content: The email_content of this Brand.  # noqa: E501
266        :type: list[BrandEmailContent]
267        """
268
269        self._email_content = email_content
270
271    @property
272    def error_details(self):
273        """Gets the error_details of this Brand.  # noqa: E501
274
275        Array or errors.  # noqa: E501
276
277        :return: The error_details of this Brand.  # noqa: E501
278        :rtype: ErrorDetails
279        """
280        return self._error_details
281
282    @error_details.setter
283    def error_details(self, error_details):
284        """Sets the error_details of this Brand.
285
286        Array or errors.  # noqa: E501
287
288        :param error_details: The error_details of this Brand.  # noqa: E501
289        :type: ErrorDetails
290        """
291
292        self._error_details = error_details
293
294    @property
295    def is_overriding_company_name(self):
296        """Gets the is_overriding_company_name of this Brand.  # noqa: E501
297
298          # noqa: E501
299
300        :return: The is_overriding_company_name of this Brand.  # noqa: E501
301        :rtype: bool
302        """
303        return self._is_overriding_company_name
304
305    @is_overriding_company_name.setter
306    def is_overriding_company_name(self, is_overriding_company_name):
307        """Sets the is_overriding_company_name of this Brand.
308
309          # noqa: E501
310
311        :param is_overriding_company_name: The is_overriding_company_name of this Brand.  # noqa: E501
312        :type: bool
313        """
314
315        self._is_overriding_company_name = is_overriding_company_name
316
317    @property
318    def is_sending_default(self):
319        """Gets the is_sending_default of this Brand.  # noqa: E501
320
321          # noqa: E501
322
323        :return: The is_sending_default of this Brand.  # noqa: E501
324        :rtype: bool
325        """
326        return self._is_sending_default
327
328    @is_sending_default.setter
329    def is_sending_default(self, is_sending_default):
330        """Sets the is_sending_default of this Brand.
331
332          # noqa: E501
333
334        :param is_sending_default: The is_sending_default of this Brand.  # noqa: E501
335        :type: bool
336        """
337
338        self._is_sending_default = is_sending_default
339
340    @property
341    def is_signing_default(self):
342        """Gets the is_signing_default of this Brand.  # noqa: E501
343
344          # noqa: E501
345
346        :return: The is_signing_default of this Brand.  # noqa: E501
347        :rtype: bool
348        """
349        return self._is_signing_default
350
351    @is_signing_default.setter
352    def is_signing_default(self, is_signing_default):
353        """Sets the is_signing_default of this Brand.
354
355          # noqa: E501
356
357        :param is_signing_default: The is_signing_default of this Brand.  # noqa: E501
358        :type: bool
359        """
360
361        self._is_signing_default = is_signing_default
362
363    @property
364    def landing_pages(self):
365        """Gets the landing_pages of this Brand.  # noqa: E501
366
367          # noqa: E501
368
369        :return: The landing_pages of this Brand.  # noqa: E501
370        :rtype: list[NameValue]
371        """
372        return self._landing_pages
373
374    @landing_pages.setter
375    def landing_pages(self, landing_pages):
376        """Sets the landing_pages of this Brand.
377
378          # noqa: E501
379
380        :param landing_pages: The landing_pages of this Brand.  # noqa: E501
381        :type: list[NameValue]
382        """
383
384        self._landing_pages = landing_pages
385
386    @property
387    def links(self):
388        """Gets the links of this Brand.  # noqa: E501
389
390          # noqa: E501
391
392        :return: The links of this Brand.  # noqa: E501
393        :rtype: list[BrandLink]
394        """
395        return self._links
396
397    @links.setter
398    def links(self, links):
399        """Sets the links of this Brand.
400
401          # noqa: E501
402
403        :param links: The links of this Brand.  # noqa: E501
404        :type: list[BrandLink]
405        """
406
407        self._links = links
408
409    @property
410    def logos(self):
411        """Gets the logos of this Brand.  # noqa: E501
412
413        The URIs for retrieving the logos that are associated with the brand.  # noqa: E501
414
415        :return: The logos of this Brand.  # noqa: E501
416        :rtype: BrandLogos
417        """
418        return self._logos
419
420    @logos.setter
421    def logos(self, logos):
422        """Sets the logos of this Brand.
423
424        The URIs for retrieving the logos that are associated with the brand.  # noqa: E501
425
426        :param logos: The logos of this Brand.  # noqa: E501
427        :type: BrandLogos
428        """
429
430        self._logos = logos
431
432    @property
433    def resources(self):
434        """Gets the resources of this Brand.  # noqa: E501
435
436        An object containing the URLs for the four DocuSign master resource files that the brand uses for sending, signing, email messages, and captive (embedded) signing. You can modify the default email messages and formats in these file to customize the user experience.  **Note:** This object is returned only when the `resourceContentType` is `sending`, `signing`, `email`, or `signing_captive`.  # noqa: E501
437
438        :return: The resources of this Brand.  # noqa: E501
439        :rtype: BrandResourceUrls
440        """
441        return self._resources
442
443    @resources.setter
444    def resources(self, resources):
445        """Sets the resources of this Brand.
446
447        An object containing the URLs for the four DocuSign master resource files that the brand uses for sending, signing, email messages, and captive (embedded) signing. You can modify the default email messages and formats in these file to customize the user experience.  **Note:** This object is returned only when the `resourceContentType` is `sending`, `signing`, `email`, or `signing_captive`.  # noqa: E501
448
449        :param resources: The resources of this Brand.  # noqa: E501
450        :type: BrandResourceUrls
451        """
452
453        self._resources = resources
454
455    def to_dict(self):
456        """Returns the model properties as a dict"""
457        result = {}
458
459        for attr, _ in six.iteritems(self.swagger_types):
460            value = getattr(self, attr)
461            if isinstance(value, list):
462                result[attr] = list(map(
463                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
464                    value
465                ))
466            elif hasattr(value, "to_dict"):
467                result[attr] = value.to_dict()
468            elif isinstance(value, dict):
469                result[attr] = dict(map(
470                    lambda item: (item[0], item[1].to_dict())
471                    if hasattr(item[1], "to_dict") else item,
472                    value.items()
473                ))
474            else:
475                result[attr] = value
476        if issubclass(Brand, dict):
477            for key, value in self.items():
478                result[key] = value
479
480        return result
481
482    def to_str(self):
483        """Returns the string representation of the model"""
484        return pprint.pformat(self.to_dict())
485
486    def __repr__(self):
487        """For `print` and `pprint`"""
488        return self.to_str()
489
490    def __eq__(self, other):
491        """Returns true if both objects are equal"""
492        if not isinstance(other, Brand):
493            return False
494
495        return self.to_dict() == other.to_dict()
496
497    def __ne__(self, other):
498        """Returns true if both objects are not equal"""
499        if not isinstance(other, Brand):
500            return True
501
502        return self.to_dict() != other.to_dict()
class Brand:
 23class Brand(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        'brand_company': 'str',
 38        'brand_id': 'str',
 39        'brand_languages': 'list[str]',
 40        'brand_name': 'str',
 41        'colors': 'list[NameValue]',
 42        'default_brand_language': 'str',
 43        'email_content': 'list[BrandEmailContent]',
 44        'error_details': 'ErrorDetails',
 45        'is_overriding_company_name': 'bool',
 46        'is_sending_default': 'bool',
 47        'is_signing_default': 'bool',
 48        'landing_pages': 'list[NameValue]',
 49        'links': 'list[BrandLink]',
 50        'logos': 'BrandLogos',
 51        'resources': 'BrandResourceUrls'
 52    }
 53
 54    attribute_map = {
 55        'brand_company': 'brandCompany',
 56        'brand_id': 'brandId',
 57        'brand_languages': 'brandLanguages',
 58        'brand_name': 'brandName',
 59        'colors': 'colors',
 60        'default_brand_language': 'defaultBrandLanguage',
 61        'email_content': 'emailContent',
 62        'error_details': 'errorDetails',
 63        'is_overriding_company_name': 'isOverridingCompanyName',
 64        'is_sending_default': 'isSendingDefault',
 65        'is_signing_default': 'isSigningDefault',
 66        'landing_pages': 'landingPages',
 67        'links': 'links',
 68        'logos': 'logos',
 69        'resources': 'resources'
 70    }
 71
 72    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 73        """Brand - a model defined in Swagger"""  # noqa: E501
 74        if _configuration is None:
 75            _configuration = Configuration()
 76        self._configuration = _configuration
 77
 78        self._brand_company = None
 79        self._brand_id = None
 80        self._brand_languages = None
 81        self._brand_name = None
 82        self._colors = None
 83        self._default_brand_language = None
 84        self._email_content = None
 85        self._error_details = None
 86        self._is_overriding_company_name = None
 87        self._is_sending_default = None
 88        self._is_signing_default = None
 89        self._landing_pages = None
 90        self._links = None
 91        self._logos = None
 92        self._resources = None
 93        self.discriminator = None
 94
 95        setattr(self, "_{}".format('brand_company'), kwargs.get('brand_company', None))
 96        setattr(self, "_{}".format('brand_id'), kwargs.get('brand_id', None))
 97        setattr(self, "_{}".format('brand_languages'), kwargs.get('brand_languages', None))
 98        setattr(self, "_{}".format('brand_name'), kwargs.get('brand_name', None))
 99        setattr(self, "_{}".format('colors'), kwargs.get('colors', None))
100        setattr(self, "_{}".format('default_brand_language'), kwargs.get('default_brand_language', None))
101        setattr(self, "_{}".format('email_content'), kwargs.get('email_content', None))
102        setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None))
103        setattr(self, "_{}".format('is_overriding_company_name'), kwargs.get('is_overriding_company_name', None))
104        setattr(self, "_{}".format('is_sending_default'), kwargs.get('is_sending_default', None))
105        setattr(self, "_{}".format('is_signing_default'), kwargs.get('is_signing_default', None))
106        setattr(self, "_{}".format('landing_pages'), kwargs.get('landing_pages', None))
107        setattr(self, "_{}".format('links'), kwargs.get('links', None))
108        setattr(self, "_{}".format('logos'), kwargs.get('logos', None))
109        setattr(self, "_{}".format('resources'), kwargs.get('resources', None))
110
111    @property
112    def brand_company(self):
113        """Gets the brand_company of this Brand.  # noqa: E501
114
115        The name of the company associated with this brand.  # noqa: E501
116
117        :return: The brand_company of this Brand.  # noqa: E501
118        :rtype: str
119        """
120        return self._brand_company
121
122    @brand_company.setter
123    def brand_company(self, brand_company):
124        """Sets the brand_company of this Brand.
125
126        The name of the company associated with this brand.  # noqa: E501
127
128        :param brand_company: The brand_company of this Brand.  # noqa: E501
129        :type: str
130        """
131
132        self._brand_company = brand_company
133
134    @property
135    def brand_id(self):
136        """Gets the brand_id of this Brand.  # noqa: E501
137
138        The ID used to identify a specific brand in API calls.  # noqa: E501
139
140        :return: The brand_id of this Brand.  # noqa: E501
141        :rtype: str
142        """
143        return self._brand_id
144
145    @brand_id.setter
146    def brand_id(self, brand_id):
147        """Sets the brand_id of this Brand.
148
149        The ID used to identify a specific brand in API calls.  # noqa: E501
150
151        :param brand_id: The brand_id of this Brand.  # noqa: E501
152        :type: str
153        """
154
155        self._brand_id = brand_id
156
157    @property
158    def brand_languages(self):
159        """Gets the brand_languages of this Brand.  # noqa: E501
160
161          # noqa: E501
162
163        :return: The brand_languages of this Brand.  # noqa: E501
164        :rtype: list[str]
165        """
166        return self._brand_languages
167
168    @brand_languages.setter
169    def brand_languages(self, brand_languages):
170        """Sets the brand_languages of this Brand.
171
172          # noqa: E501
173
174        :param brand_languages: The brand_languages of this Brand.  # noqa: E501
175        :type: list[str]
176        """
177
178        self._brand_languages = brand_languages
179
180    @property
181    def brand_name(self):
182        """Gets the brand_name of this Brand.  # noqa: E501
183
184        The name of the brand.  # noqa: E501
185
186        :return: The brand_name of this Brand.  # noqa: E501
187        :rtype: str
188        """
189        return self._brand_name
190
191    @brand_name.setter
192    def brand_name(self, brand_name):
193        """Sets the brand_name of this Brand.
194
195        The name of the brand.  # noqa: E501
196
197        :param brand_name: The brand_name of this Brand.  # noqa: E501
198        :type: str
199        """
200
201        self._brand_name = brand_name
202
203    @property
204    def colors(self):
205        """Gets the colors of this Brand.  # noqa: E501
206
207          # noqa: E501
208
209        :return: The colors of this Brand.  # noqa: E501
210        :rtype: list[NameValue]
211        """
212        return self._colors
213
214    @colors.setter
215    def colors(self, colors):
216        """Sets the colors of this Brand.
217
218          # noqa: E501
219
220        :param colors: The colors of this Brand.  # noqa: E501
221        :type: list[NameValue]
222        """
223
224        self._colors = colors
225
226    @property
227    def default_brand_language(self):
228        """Gets the default_brand_language of this Brand.  # noqa: E501
229
230          # noqa: E501
231
232        :return: The default_brand_language of this Brand.  # noqa: E501
233        :rtype: str
234        """
235        return self._default_brand_language
236
237    @default_brand_language.setter
238    def default_brand_language(self, default_brand_language):
239        """Sets the default_brand_language of this Brand.
240
241          # noqa: E501
242
243        :param default_brand_language: The default_brand_language of this Brand.  # noqa: E501
244        :type: str
245        """
246
247        self._default_brand_language = default_brand_language
248
249    @property
250    def email_content(self):
251        """Gets the email_content of this Brand.  # noqa: E501
252
253          # noqa: E501
254
255        :return: The email_content of this Brand.  # noqa: E501
256        :rtype: list[BrandEmailContent]
257        """
258        return self._email_content
259
260    @email_content.setter
261    def email_content(self, email_content):
262        """Sets the email_content of this Brand.
263
264          # noqa: E501
265
266        :param email_content: The email_content of this Brand.  # noqa: E501
267        :type: list[BrandEmailContent]
268        """
269
270        self._email_content = email_content
271
272    @property
273    def error_details(self):
274        """Gets the error_details of this Brand.  # noqa: E501
275
276        Array or errors.  # noqa: E501
277
278        :return: The error_details of this Brand.  # noqa: E501
279        :rtype: ErrorDetails
280        """
281        return self._error_details
282
283    @error_details.setter
284    def error_details(self, error_details):
285        """Sets the error_details of this Brand.
286
287        Array or errors.  # noqa: E501
288
289        :param error_details: The error_details of this Brand.  # noqa: E501
290        :type: ErrorDetails
291        """
292
293        self._error_details = error_details
294
295    @property
296    def is_overriding_company_name(self):
297        """Gets the is_overriding_company_name of this Brand.  # noqa: E501
298
299          # noqa: E501
300
301        :return: The is_overriding_company_name of this Brand.  # noqa: E501
302        :rtype: bool
303        """
304        return self._is_overriding_company_name
305
306    @is_overriding_company_name.setter
307    def is_overriding_company_name(self, is_overriding_company_name):
308        """Sets the is_overriding_company_name of this Brand.
309
310          # noqa: E501
311
312        :param is_overriding_company_name: The is_overriding_company_name of this Brand.  # noqa: E501
313        :type: bool
314        """
315
316        self._is_overriding_company_name = is_overriding_company_name
317
318    @property
319    def is_sending_default(self):
320        """Gets the is_sending_default of this Brand.  # noqa: E501
321
322          # noqa: E501
323
324        :return: The is_sending_default of this Brand.  # noqa: E501
325        :rtype: bool
326        """
327        return self._is_sending_default
328
329    @is_sending_default.setter
330    def is_sending_default(self, is_sending_default):
331        """Sets the is_sending_default of this Brand.
332
333          # noqa: E501
334
335        :param is_sending_default: The is_sending_default of this Brand.  # noqa: E501
336        :type: bool
337        """
338
339        self._is_sending_default = is_sending_default
340
341    @property
342    def is_signing_default(self):
343        """Gets the is_signing_default of this Brand.  # noqa: E501
344
345          # noqa: E501
346
347        :return: The is_signing_default of this Brand.  # noqa: E501
348        :rtype: bool
349        """
350        return self._is_signing_default
351
352    @is_signing_default.setter
353    def is_signing_default(self, is_signing_default):
354        """Sets the is_signing_default of this Brand.
355
356          # noqa: E501
357
358        :param is_signing_default: The is_signing_default of this Brand.  # noqa: E501
359        :type: bool
360        """
361
362        self._is_signing_default = is_signing_default
363
364    @property
365    def landing_pages(self):
366        """Gets the landing_pages of this Brand.  # noqa: E501
367
368          # noqa: E501
369
370        :return: The landing_pages of this Brand.  # noqa: E501
371        :rtype: list[NameValue]
372        """
373        return self._landing_pages
374
375    @landing_pages.setter
376    def landing_pages(self, landing_pages):
377        """Sets the landing_pages of this Brand.
378
379          # noqa: E501
380
381        :param landing_pages: The landing_pages of this Brand.  # noqa: E501
382        :type: list[NameValue]
383        """
384
385        self._landing_pages = landing_pages
386
387    @property
388    def links(self):
389        """Gets the links of this Brand.  # noqa: E501
390
391          # noqa: E501
392
393        :return: The links of this Brand.  # noqa: E501
394        :rtype: list[BrandLink]
395        """
396        return self._links
397
398    @links.setter
399    def links(self, links):
400        """Sets the links of this Brand.
401
402          # noqa: E501
403
404        :param links: The links of this Brand.  # noqa: E501
405        :type: list[BrandLink]
406        """
407
408        self._links = links
409
410    @property
411    def logos(self):
412        """Gets the logos of this Brand.  # noqa: E501
413
414        The URIs for retrieving the logos that are associated with the brand.  # noqa: E501
415
416        :return: The logos of this Brand.  # noqa: E501
417        :rtype: BrandLogos
418        """
419        return self._logos
420
421    @logos.setter
422    def logos(self, logos):
423        """Sets the logos of this Brand.
424
425        The URIs for retrieving the logos that are associated with the brand.  # noqa: E501
426
427        :param logos: The logos of this Brand.  # noqa: E501
428        :type: BrandLogos
429        """
430
431        self._logos = logos
432
433    @property
434    def resources(self):
435        """Gets the resources of this Brand.  # noqa: E501
436
437        An object containing the URLs for the four DocuSign master resource files that the brand uses for sending, signing, email messages, and captive (embedded) signing. You can modify the default email messages and formats in these file to customize the user experience.  **Note:** This object is returned only when the `resourceContentType` is `sending`, `signing`, `email`, or `signing_captive`.  # noqa: E501
438
439        :return: The resources of this Brand.  # noqa: E501
440        :rtype: BrandResourceUrls
441        """
442        return self._resources
443
444    @resources.setter
445    def resources(self, resources):
446        """Sets the resources of this Brand.
447
448        An object containing the URLs for the four DocuSign master resource files that the brand uses for sending, signing, email messages, and captive (embedded) signing. You can modify the default email messages and formats in these file to customize the user experience.  **Note:** This object is returned only when the `resourceContentType` is `sending`, `signing`, `email`, or `signing_captive`.  # noqa: E501
449
450        :param resources: The resources of this Brand.  # noqa: E501
451        :type: BrandResourceUrls
452        """
453
454        self._resources = resources
455
456    def to_dict(self):
457        """Returns the model properties as a dict"""
458        result = {}
459
460        for attr, _ in six.iteritems(self.swagger_types):
461            value = getattr(self, attr)
462            if isinstance(value, list):
463                result[attr] = list(map(
464                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
465                    value
466                ))
467            elif hasattr(value, "to_dict"):
468                result[attr] = value.to_dict()
469            elif isinstance(value, dict):
470                result[attr] = dict(map(
471                    lambda item: (item[0], item[1].to_dict())
472                    if hasattr(item[1], "to_dict") else item,
473                    value.items()
474                ))
475            else:
476                result[attr] = value
477        if issubclass(Brand, dict):
478            for key, value in self.items():
479                result[key] = value
480
481        return result
482
483    def to_str(self):
484        """Returns the string representation of the model"""
485        return pprint.pformat(self.to_dict())
486
487    def __repr__(self):
488        """For `print` and `pprint`"""
489        return self.to_str()
490
491    def __eq__(self, other):
492        """Returns true if both objects are equal"""
493        if not isinstance(other, Brand):
494            return False
495
496        return self.to_dict() == other.to_dict()
497
498    def __ne__(self, other):
499        """Returns true if both objects are not equal"""
500        if not isinstance(other, Brand):
501            return True
502
503        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.

Brand(_configuration=None, **kwargs)
 72    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 73        """Brand - a model defined in Swagger"""  # noqa: E501
 74        if _configuration is None:
 75            _configuration = Configuration()
 76        self._configuration = _configuration
 77
 78        self._brand_company = None
 79        self._brand_id = None
 80        self._brand_languages = None
 81        self._brand_name = None
 82        self._colors = None
 83        self._default_brand_language = None
 84        self._email_content = None
 85        self._error_details = None
 86        self._is_overriding_company_name = None
 87        self._is_sending_default = None
 88        self._is_signing_default = None
 89        self._landing_pages = None
 90        self._links = None
 91        self._logos = None
 92        self._resources = None
 93        self.discriminator = None
 94
 95        setattr(self, "_{}".format('brand_company'), kwargs.get('brand_company', None))
 96        setattr(self, "_{}".format('brand_id'), kwargs.get('brand_id', None))
 97        setattr(self, "_{}".format('brand_languages'), kwargs.get('brand_languages', None))
 98        setattr(self, "_{}".format('brand_name'), kwargs.get('brand_name', None))
 99        setattr(self, "_{}".format('colors'), kwargs.get('colors', None))
100        setattr(self, "_{}".format('default_brand_language'), kwargs.get('default_brand_language', None))
101        setattr(self, "_{}".format('email_content'), kwargs.get('email_content', None))
102        setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None))
103        setattr(self, "_{}".format('is_overriding_company_name'), kwargs.get('is_overriding_company_name', None))
104        setattr(self, "_{}".format('is_sending_default'), kwargs.get('is_sending_default', None))
105        setattr(self, "_{}".format('is_signing_default'), kwargs.get('is_signing_default', None))
106        setattr(self, "_{}".format('landing_pages'), kwargs.get('landing_pages', None))
107        setattr(self, "_{}".format('links'), kwargs.get('links', None))
108        setattr(self, "_{}".format('logos'), kwargs.get('logos', None))
109        setattr(self, "_{}".format('resources'), kwargs.get('resources', None))

Brand - a model defined in Swagger

swagger_types = {'brand_company': 'str', 'brand_id': 'str', 'brand_languages': 'list[str]', 'brand_name': 'str', 'colors': 'list[NameValue]', 'default_brand_language': 'str', 'email_content': 'list[BrandEmailContent]', 'error_details': 'ErrorDetails', 'is_overriding_company_name': 'bool', 'is_sending_default': 'bool', 'is_signing_default': 'bool', 'landing_pages': 'list[NameValue]', 'links': 'list[BrandLink]', 'logos': 'BrandLogos', 'resources': 'BrandResourceUrls'}
attribute_map = {'brand_company': 'brandCompany', 'brand_id': 'brandId', 'brand_languages': 'brandLanguages', 'brand_name': 'brandName', 'colors': 'colors', 'default_brand_language': 'defaultBrandLanguage', 'email_content': 'emailContent', 'error_details': 'errorDetails', 'is_overriding_company_name': 'isOverridingCompanyName', 'is_sending_default': 'isSendingDefault', 'is_signing_default': 'isSigningDefault', 'landing_pages': 'landingPages', 'links': 'links', 'logos': 'logos', 'resources': 'resources'}
brand_company

Gets the brand_company of this Brand. # noqa: E501

The name of the company associated with this brand. # noqa: E501

Returns

The brand_company of this Brand. # noqa: E501

brand_id

Gets the brand_id of this Brand. # noqa: E501

The ID used to identify a specific brand in API calls. # noqa: E501

Returns

The brand_id of this Brand. # noqa: E501

brand_languages

Gets the brand_languages of this Brand. # noqa: E501

# noqa: E501

Returns

The brand_languages of this Brand. # noqa: E501

brand_name

Gets the brand_name of this Brand. # noqa: E501

The name of the brand. # noqa: E501

Returns

The brand_name of this Brand. # noqa: E501

colors

Gets the colors of this Brand. # noqa: E501

# noqa: E501

Returns

The colors of this Brand. # noqa: E501

default_brand_language

Gets the default_brand_language of this Brand. # noqa: E501

# noqa: E501

Returns

The default_brand_language of this Brand. # noqa: E501

email_content

Gets the email_content of this Brand. # noqa: E501

# noqa: E501

Returns

The email_content of this Brand. # noqa: E501

error_details

Gets the error_details of this Brand. # noqa: E501

Array or errors. # noqa: E501

Returns

The error_details of this Brand. # noqa: E501

is_overriding_company_name

Gets the is_overriding_company_name of this Brand. # noqa: E501

# noqa: E501

Returns

The is_overriding_company_name of this Brand. # noqa: E501

is_sending_default

Gets the is_sending_default of this Brand. # noqa: E501

# noqa: E501

Returns

The is_sending_default of this Brand. # noqa: E501

is_signing_default

Gets the is_signing_default of this Brand. # noqa: E501

# noqa: E501

Returns

The is_signing_default of this Brand. # noqa: E501

landing_pages

Gets the landing_pages of this Brand. # noqa: E501

# noqa: E501

Returns

The landing_pages of this Brand. # noqa: E501

logos

Gets the logos of this Brand. # noqa: E501

The URIs for retrieving the logos that are associated with the brand. # noqa: E501

Returns

The logos of this Brand. # noqa: E501

resources

Gets the resources of this Brand. # noqa: E501

An object containing the URLs for the four DocuSign master resource files that the brand uses for sending, signing, email messages, and captive (embedded) signing. You can modify the default email messages and formats in these file to customize the user experience. Note: This object is returned only when the resourceContentType is sending, signing, email, or signing_captive. # noqa: E501

Returns

The resources of this Brand. # noqa: E501

def to_dict(self)
456    def to_dict(self):
457        """Returns the model properties as a dict"""
458        result = {}
459
460        for attr, _ in six.iteritems(self.swagger_types):
461            value = getattr(self, attr)
462            if isinstance(value, list):
463                result[attr] = list(map(
464                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
465                    value
466                ))
467            elif hasattr(value, "to_dict"):
468                result[attr] = value.to_dict()
469            elif isinstance(value, dict):
470                result[attr] = dict(map(
471                    lambda item: (item[0], item[1].to_dict())
472                    if hasattr(item[1], "to_dict") else item,
473                    value.items()
474                ))
475            else:
476                result[attr] = value
477        if issubclass(Brand, dict):
478            for key, value in self.items():
479                result[key] = value
480
481        return result

Returns the model properties as a dict

def to_str(self)
483    def to_str(self):
484        """Returns the string representation of the model"""
485        return pprint.pformat(self.to_dict())

Returns the string representation of the model