|
| 1 | +# coding: utf-8 |
| 2 | + |
| 3 | +""" |
| 4 | + Docusign eSignature REST API |
| 5 | +
|
| 6 | + The Docusign eSignature 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 | + |
| 14 | +import pprint |
| 15 | +import re # noqa: F401 |
| 16 | + |
| 17 | +import six |
| 18 | + |
| 19 | +from docusign_esign.client.configuration import Configuration |
| 20 | + |
| 21 | + |
| 22 | +class BrandLogoIds(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 | + 'email_logo_id': 'str', |
| 37 | + 'primary_logo_id': 'str', |
| 38 | + 'secondary_logo_id': 'str' |
| 39 | + } |
| 40 | + |
| 41 | + attribute_map = { |
| 42 | + 'email_logo_id': 'emailLogoId', |
| 43 | + 'primary_logo_id': 'primaryLogoId', |
| 44 | + 'secondary_logo_id': 'secondaryLogoId' |
| 45 | + } |
| 46 | + |
| 47 | + def __init__(self, _configuration=None, **kwargs): # noqa: E501 |
| 48 | + """BrandLogoIds - a model defined in Swagger""" # noqa: E501 |
| 49 | + if _configuration is None: |
| 50 | + _configuration = Configuration() |
| 51 | + self._configuration = _configuration |
| 52 | + |
| 53 | + self._email_logo_id = None |
| 54 | + self._primary_logo_id = None |
| 55 | + self._secondary_logo_id = None |
| 56 | + self.discriminator = None |
| 57 | + |
| 58 | + setattr(self, "_{}".format('email_logo_id'), kwargs.get('email_logo_id', None)) |
| 59 | + setattr(self, "_{}".format('primary_logo_id'), kwargs.get('primary_logo_id', None)) |
| 60 | + setattr(self, "_{}".format('secondary_logo_id'), kwargs.get('secondary_logo_id', None)) |
| 61 | + |
| 62 | + @property |
| 63 | + def email_logo_id(self): |
| 64 | + """Gets the email_logo_id of this BrandLogoIds. # noqa: E501 |
| 65 | +
|
| 66 | + # noqa: E501 |
| 67 | +
|
| 68 | + :return: The email_logo_id of this BrandLogoIds. # noqa: E501 |
| 69 | + :rtype: str |
| 70 | + """ |
| 71 | + return self._email_logo_id |
| 72 | + |
| 73 | + @email_logo_id.setter |
| 74 | + def email_logo_id(self, email_logo_id): |
| 75 | + """Sets the email_logo_id of this BrandLogoIds. |
| 76 | +
|
| 77 | + # noqa: E501 |
| 78 | +
|
| 79 | + :param email_logo_id: The email_logo_id of this BrandLogoIds. # noqa: E501 |
| 80 | + :type: str |
| 81 | + """ |
| 82 | + |
| 83 | + self._email_logo_id = email_logo_id |
| 84 | + |
| 85 | + @property |
| 86 | + def primary_logo_id(self): |
| 87 | + """Gets the primary_logo_id of this BrandLogoIds. # noqa: E501 |
| 88 | +
|
| 89 | + # noqa: E501 |
| 90 | +
|
| 91 | + :return: The primary_logo_id of this BrandLogoIds. # noqa: E501 |
| 92 | + :rtype: str |
| 93 | + """ |
| 94 | + return self._primary_logo_id |
| 95 | + |
| 96 | + @primary_logo_id.setter |
| 97 | + def primary_logo_id(self, primary_logo_id): |
| 98 | + """Sets the primary_logo_id of this BrandLogoIds. |
| 99 | +
|
| 100 | + # noqa: E501 |
| 101 | +
|
| 102 | + :param primary_logo_id: The primary_logo_id of this BrandLogoIds. # noqa: E501 |
| 103 | + :type: str |
| 104 | + """ |
| 105 | + |
| 106 | + self._primary_logo_id = primary_logo_id |
| 107 | + |
| 108 | + @property |
| 109 | + def secondary_logo_id(self): |
| 110 | + """Gets the secondary_logo_id of this BrandLogoIds. # noqa: E501 |
| 111 | +
|
| 112 | + # noqa: E501 |
| 113 | +
|
| 114 | + :return: The secondary_logo_id of this BrandLogoIds. # noqa: E501 |
| 115 | + :rtype: str |
| 116 | + """ |
| 117 | + return self._secondary_logo_id |
| 118 | + |
| 119 | + @secondary_logo_id.setter |
| 120 | + def secondary_logo_id(self, secondary_logo_id): |
| 121 | + """Sets the secondary_logo_id of this BrandLogoIds. |
| 122 | +
|
| 123 | + # noqa: E501 |
| 124 | +
|
| 125 | + :param secondary_logo_id: The secondary_logo_id of this BrandLogoIds. # noqa: E501 |
| 126 | + :type: str |
| 127 | + """ |
| 128 | + |
| 129 | + self._secondary_logo_id = secondary_logo_id |
| 130 | + |
| 131 | + def to_dict(self): |
| 132 | + """Returns the model properties as a dict""" |
| 133 | + result = {} |
| 134 | + |
| 135 | + for attr, _ in six.iteritems(self.swagger_types): |
| 136 | + value = getattr(self, attr) |
| 137 | + if isinstance(value, list): |
| 138 | + result[attr] = list(map( |
| 139 | + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, |
| 140 | + value |
| 141 | + )) |
| 142 | + elif hasattr(value, "to_dict"): |
| 143 | + result[attr] = value.to_dict() |
| 144 | + elif isinstance(value, dict): |
| 145 | + result[attr] = dict(map( |
| 146 | + lambda item: (item[0], item[1].to_dict()) |
| 147 | + if hasattr(item[1], "to_dict") else item, |
| 148 | + value.items() |
| 149 | + )) |
| 150 | + else: |
| 151 | + result[attr] = value |
| 152 | + if issubclass(BrandLogoIds, dict): |
| 153 | + for key, value in self.items(): |
| 154 | + result[key] = value |
| 155 | + |
| 156 | + return result |
| 157 | + |
| 158 | + def to_str(self): |
| 159 | + """Returns the string representation of the model""" |
| 160 | + return pprint.pformat(self.to_dict()) |
| 161 | + |
| 162 | + def __repr__(self): |
| 163 | + """For `print` and `pprint`""" |
| 164 | + return self.to_str() |
| 165 | + |
| 166 | + def __eq__(self, other): |
| 167 | + """Returns true if both objects are equal""" |
| 168 | + if not isinstance(other, BrandLogoIds): |
| 169 | + return False |
| 170 | + |
| 171 | + return self.to_dict() == other.to_dict() |
| 172 | + |
| 173 | + def __ne__(self, other): |
| 174 | + """Returns true if both objects are not equal""" |
| 175 | + if not isinstance(other, BrandLogoIds): |
| 176 | + return True |
| 177 | + |
| 178 | + return self.to_dict() != other.to_dict() |
0 commit comments