# coding: utf-8 """ api/v1/activity_service.proto No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: version not set Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class Apiv1WorkspaceCustomProfile(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ """ Attributes: swagger_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json key in definition. """ swagger_types = { 'title': 'str', 'description': 'str', 'logo_url': 'str', 'locale': 'str', 'appearance': 'str' } attribute_map = { 'title': 'title', 'description': 'description', 'logo_url': 'logoUrl', 'locale': 'locale', 'appearance': 'appearance' } def __init__(self, title=None, description=None, logo_url=None, locale=None, appearance=None): # noqa: E501 """Apiv1WorkspaceCustomProfile - a model defined in Swagger""" # noqa: E501 self._title = None self._description = None self._logo_url = None self._locale = None self._appearance = None self.discriminator = None if title is not None: self.title = title if description is not None: self.description = description if logo_url is not None: self.logo_url = logo_url if locale is not None: self.locale = locale if appearance is not None: self.appearance = appearance @property def title(self): """Gets the title of this Apiv1WorkspaceCustomProfile. # noqa: E501 :return: The title of this Apiv1WorkspaceCustomProfile. # noqa: E501 :rtype: str """ return self._title @title.setter def title(self, title): """Sets the title of this Apiv1WorkspaceCustomProfile. :param title: The title of this Apiv1WorkspaceCustomProfile. # noqa: E501 :type: str """ self._title = title @property def description(self): """Gets the description of this Apiv1WorkspaceCustomProfile. # noqa: E501 :return: The description of this Apiv1WorkspaceCustomProfile. # noqa: E501 :rtype: str """ return self._description @description.setter def description(self, description): """Sets the description of this Apiv1WorkspaceCustomProfile. :param description: The description of this Apiv1WorkspaceCustomProfile. # noqa: E501 :type: str """ self._description = description @property def logo_url(self): """Gets the logo_url of this Apiv1WorkspaceCustomProfile. # noqa: E501 :return: The logo_url of this Apiv1WorkspaceCustomProfile. # noqa: E501 :rtype: str """ return self._logo_url @logo_url.setter def logo_url(self, logo_url): """Sets the logo_url of this Apiv1WorkspaceCustomProfile. :param logo_url: The logo_url of this Apiv1WorkspaceCustomProfile. # noqa: E501 :type: str """ self._logo_url = logo_url @property def locale(self): """Gets the locale of this Apiv1WorkspaceCustomProfile. # noqa: E501 :return: The locale of this Apiv1WorkspaceCustomProfile. # noqa: E501 :rtype: str """ return self._locale @locale.setter def locale(self, locale): """Sets the locale of this Apiv1WorkspaceCustomProfile. :param locale: The locale of this Apiv1WorkspaceCustomProfile. # noqa: E501 :type: str """ self._locale = locale @property def appearance(self): """Gets the appearance of this Apiv1WorkspaceCustomProfile. # noqa: E501 :return: The appearance of this Apiv1WorkspaceCustomProfile. # noqa: E501 :rtype: str """ return self._appearance @appearance.setter def appearance(self, appearance): """Sets the appearance of this Apiv1WorkspaceCustomProfile. :param appearance: The appearance of this Apiv1WorkspaceCustomProfile. # noqa: E501 :type: str """ self._appearance = appearance def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.swagger_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if hasattr(x, "to_dict") else x, value )) elif hasattr(value, "to_dict"): result[attr] = value.to_dict() elif isinstance(value, dict): result[attr] = dict(map( lambda item: (item[0], item[1].to_dict()) if hasattr(item[1], "to_dict") else item, value.items() )) else: result[attr] = value if issubclass(Apiv1WorkspaceCustomProfile, dict): for key, value in self.items(): result[key] = value return result def to_str(self): """Returns the string representation of the model""" return pprint.pformat(self.to_dict()) def __repr__(self): """For `print` and `pprint`""" return self.to_str() def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, Apiv1WorkspaceCustomProfile): return False return self.__dict__ == other.__dict__ def __ne__(self, other): """Returns true if both objects are not equal""" return not self == other