Module presalytics.client.presalytics_ooxml_automation.models.theme_themes_details
OOXML Automation
This API helps users convert Excel and Powerpoint documents into rich, live dashboards and stories. # noqa: E501
The version of the OpenAPI document: 0.1.0-no-tags Generated by: https://openapi-generator.tech
Expand source code Browse git
# coding: utf-8
"""
OOXML Automation
This API helps users convert Excel and Powerpoint documents into rich, live dashboards and stories. # noqa: E501
The version of the OpenAPI document: 0.1.0-no-tags
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
class ThemeThemesDetails(object):
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
"""
Attributes:
openapi_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.
"""
openapi_types = {
'slide_id': 'str',
'slide': 'SlideSlidesDetails',
'background_fills': 'list[ThemeBackgroundFillsDetails]',
'colors': 'ThemeColorsDetails',
'custom_colors': 'list[ThemeCustomColorsDetails]',
'effect_maps': 'list[ThemeEffectMapDetails]',
'fills': 'list[ThemeFillsDetails]',
'fonts': 'ThemeFontsDetails',
'line_maps': 'list[ThemeLineMapDetails]',
'base_element_blob_url': 'str',
'changed_base_element_blob_url': 'str',
'package_uri': 'str',
'name': 'str',
'id': 'str',
'date_created': 'datetime',
'user_created': 'str',
'date_modified': 'datetime',
'user_modified': 'str'
}
attribute_map = {
'slide_id': 'slideId',
'slide': 'slide',
'background_fills': 'backgroundFills',
'colors': 'colors',
'custom_colors': 'customColors',
'effect_maps': 'effectMaps',
'fills': 'fills',
'fonts': 'fonts',
'line_maps': 'lineMaps',
'base_element_blob_url': 'baseElementBlobUrl',
'changed_base_element_blob_url': 'changedBaseElementBlobUrl',
'package_uri': 'packageUri',
'name': 'name',
'id': 'id',
'date_created': 'dateCreated',
'user_created': 'userCreated',
'date_modified': 'dateModified',
'user_modified': 'userModified'
}
def __init__(self, slide_id=None, slide=None, background_fills=None, colors=None, custom_colors=None, effect_maps=None, fills=None, fonts=None, line_maps=None, base_element_blob_url=None, changed_base_element_blob_url=None, package_uri=None, name=None, id=None, date_created=None, user_created=None, date_modified=None, user_modified=None): # noqa: E501
"""ThemeThemesDetails - a model defined in OpenAPI""" # noqa: E501
self._slide_id = None
self._slide = None
self._background_fills = None
self._colors = None
self._custom_colors = None
self._effect_maps = None
self._fills = None
self._fonts = None
self._line_maps = None
self._base_element_blob_url = None
self._changed_base_element_blob_url = None
self._package_uri = None
self._name = None
self._id = None
self._date_created = None
self._user_created = None
self._date_modified = None
self._user_modified = None
self.discriminator = None
self.slide_id = slide_id
if slide is not None:
self.slide = slide
self.background_fills = background_fills
if colors is not None:
self.colors = colors
self.custom_colors = custom_colors
self.effect_maps = effect_maps
self.fills = fills
if fonts is not None:
self.fonts = fonts
self.line_maps = line_maps
self.base_element_blob_url = base_element_blob_url
self.changed_base_element_blob_url = changed_base_element_blob_url
self.package_uri = package_uri
self.name = name
if id is not None:
self.id = id
if date_created is not None:
self.date_created = date_created
if user_created is not None:
self.user_created = user_created
if date_modified is not None:
self.date_modified = date_modified
if user_modified is not None:
self.user_modified = user_modified
@property
def slide_id(self):
"""Gets the slide_id of this ThemeThemesDetails. # noqa: E501
:return: The slide_id of this ThemeThemesDetails. # noqa: E501
:rtype: str
"""
return self._slide_id
@slide_id.setter
def slide_id(self, slide_id):
"""Sets the slide_id of this ThemeThemesDetails.
:param slide_id: The slide_id of this ThemeThemesDetails. # noqa: E501
:type: str
"""
self._slide_id = slide_id
@property
def slide(self):
"""Gets the slide of this ThemeThemesDetails. # noqa: E501
:return: The slide of this ThemeThemesDetails. # noqa: E501
:rtype: SlideSlidesDetails
"""
return self._slide
@slide.setter
def slide(self, slide):
"""Sets the slide of this ThemeThemesDetails.
:param slide: The slide of this ThemeThemesDetails. # noqa: E501
:type: SlideSlidesDetails
"""
self._slide = slide
@property
def background_fills(self):
"""Gets the background_fills of this ThemeThemesDetails. # noqa: E501
:return: The background_fills of this ThemeThemesDetails. # noqa: E501
:rtype: list[ThemeBackgroundFillsDetails]
"""
return self._background_fills
@background_fills.setter
def background_fills(self, background_fills):
"""Sets the background_fills of this ThemeThemesDetails.
:param background_fills: The background_fills of this ThemeThemesDetails. # noqa: E501
:type: list[ThemeBackgroundFillsDetails]
"""
self._background_fills = background_fills
@property
def colors(self):
"""Gets the colors of this ThemeThemesDetails. # noqa: E501
:return: The colors of this ThemeThemesDetails. # noqa: E501
:rtype: ThemeColorsDetails
"""
return self._colors
@colors.setter
def colors(self, colors):
"""Sets the colors of this ThemeThemesDetails.
:param colors: The colors of this ThemeThemesDetails. # noqa: E501
:type: ThemeColorsDetails
"""
self._colors = colors
@property
def custom_colors(self):
"""Gets the custom_colors of this ThemeThemesDetails. # noqa: E501
:return: The custom_colors of this ThemeThemesDetails. # noqa: E501
:rtype: list[ThemeCustomColorsDetails]
"""
return self._custom_colors
@custom_colors.setter
def custom_colors(self, custom_colors):
"""Sets the custom_colors of this ThemeThemesDetails.
:param custom_colors: The custom_colors of this ThemeThemesDetails. # noqa: E501
:type: list[ThemeCustomColorsDetails]
"""
self._custom_colors = custom_colors
@property
def effect_maps(self):
"""Gets the effect_maps of this ThemeThemesDetails. # noqa: E501
:return: The effect_maps of this ThemeThemesDetails. # noqa: E501
:rtype: list[ThemeEffectMapDetails]
"""
return self._effect_maps
@effect_maps.setter
def effect_maps(self, effect_maps):
"""Sets the effect_maps of this ThemeThemesDetails.
:param effect_maps: The effect_maps of this ThemeThemesDetails. # noqa: E501
:type: list[ThemeEffectMapDetails]
"""
self._effect_maps = effect_maps
@property
def fills(self):
"""Gets the fills of this ThemeThemesDetails. # noqa: E501
:return: The fills of this ThemeThemesDetails. # noqa: E501
:rtype: list[ThemeFillsDetails]
"""
return self._fills
@fills.setter
def fills(self, fills):
"""Sets the fills of this ThemeThemesDetails.
:param fills: The fills of this ThemeThemesDetails. # noqa: E501
:type: list[ThemeFillsDetails]
"""
self._fills = fills
@property
def fonts(self):
"""Gets the fonts of this ThemeThemesDetails. # noqa: E501
:return: The fonts of this ThemeThemesDetails. # noqa: E501
:rtype: ThemeFontsDetails
"""
return self._fonts
@fonts.setter
def fonts(self, fonts):
"""Sets the fonts of this ThemeThemesDetails.
:param fonts: The fonts of this ThemeThemesDetails. # noqa: E501
:type: ThemeFontsDetails
"""
self._fonts = fonts
@property
def line_maps(self):
"""Gets the line_maps of this ThemeThemesDetails. # noqa: E501
:return: The line_maps of this ThemeThemesDetails. # noqa: E501
:rtype: list[ThemeLineMapDetails]
"""
return self._line_maps
@line_maps.setter
def line_maps(self, line_maps):
"""Sets the line_maps of this ThemeThemesDetails.
:param line_maps: The line_maps of this ThemeThemesDetails. # noqa: E501
:type: list[ThemeLineMapDetails]
"""
self._line_maps = line_maps
@property
def base_element_blob_url(self):
"""Gets the base_element_blob_url of this ThemeThemesDetails. # noqa: E501
:return: The base_element_blob_url of this ThemeThemesDetails. # noqa: E501
:rtype: str
"""
return self._base_element_blob_url
@base_element_blob_url.setter
def base_element_blob_url(self, base_element_blob_url):
"""Sets the base_element_blob_url of this ThemeThemesDetails.
:param base_element_blob_url: The base_element_blob_url of this ThemeThemesDetails. # noqa: E501
:type: str
"""
self._base_element_blob_url = base_element_blob_url
@property
def changed_base_element_blob_url(self):
"""Gets the changed_base_element_blob_url of this ThemeThemesDetails. # noqa: E501
:return: The changed_base_element_blob_url of this ThemeThemesDetails. # noqa: E501
:rtype: str
"""
return self._changed_base_element_blob_url
@changed_base_element_blob_url.setter
def changed_base_element_blob_url(self, changed_base_element_blob_url):
"""Sets the changed_base_element_blob_url of this ThemeThemesDetails.
:param changed_base_element_blob_url: The changed_base_element_blob_url of this ThemeThemesDetails. # noqa: E501
:type: str
"""
self._changed_base_element_blob_url = changed_base_element_blob_url
@property
def package_uri(self):
"""Gets the package_uri of this ThemeThemesDetails. # noqa: E501
:return: The package_uri of this ThemeThemesDetails. # noqa: E501
:rtype: str
"""
return self._package_uri
@package_uri.setter
def package_uri(self, package_uri):
"""Sets the package_uri of this ThemeThemesDetails.
:param package_uri: The package_uri of this ThemeThemesDetails. # noqa: E501
:type: str
"""
self._package_uri = package_uri
@property
def name(self):
"""Gets the name of this ThemeThemesDetails. # noqa: E501
:return: The name of this ThemeThemesDetails. # noqa: E501
:rtype: str
"""
return self._name
@name.setter
def name(self, name):
"""Sets the name of this ThemeThemesDetails.
:param name: The name of this ThemeThemesDetails. # noqa: E501
:type: str
"""
self._name = name
@property
def id(self):
"""Gets the id of this ThemeThemesDetails. # noqa: E501
:return: The id of this ThemeThemesDetails. # noqa: E501
:rtype: str
"""
return self._id
@id.setter
def id(self, id):
"""Sets the id of this ThemeThemesDetails.
:param id: The id of this ThemeThemesDetails. # noqa: E501
:type: str
"""
self._id = id
@property
def date_created(self):
"""Gets the date_created of this ThemeThemesDetails. # noqa: E501
:return: The date_created of this ThemeThemesDetails. # noqa: E501
:rtype: datetime
"""
return self._date_created
@date_created.setter
def date_created(self, date_created):
"""Sets the date_created of this ThemeThemesDetails.
:param date_created: The date_created of this ThemeThemesDetails. # noqa: E501
:type: datetime
"""
self._date_created = date_created
@property
def user_created(self):
"""Gets the user_created of this ThemeThemesDetails. # noqa: E501
:return: The user_created of this ThemeThemesDetails. # noqa: E501
:rtype: str
"""
return self._user_created
@user_created.setter
def user_created(self, user_created):
"""Sets the user_created of this ThemeThemesDetails.
:param user_created: The user_created of this ThemeThemesDetails. # noqa: E501
:type: str
"""
self._user_created = user_created
@property
def date_modified(self):
"""Gets the date_modified of this ThemeThemesDetails. # noqa: E501
:return: The date_modified of this ThemeThemesDetails. # noqa: E501
:rtype: datetime
"""
return self._date_modified
@date_modified.setter
def date_modified(self, date_modified):
"""Sets the date_modified of this ThemeThemesDetails.
:param date_modified: The date_modified of this ThemeThemesDetails. # noqa: E501
:type: datetime
"""
self._date_modified = date_modified
@property
def user_modified(self):
"""Gets the user_modified of this ThemeThemesDetails. # noqa: E501
:return: The user_modified of this ThemeThemesDetails. # noqa: E501
:rtype: str
"""
return self._user_modified
@user_modified.setter
def user_modified(self, user_modified):
"""Sets the user_modified of this ThemeThemesDetails.
:param user_modified: The user_modified of this ThemeThemesDetails. # noqa: E501
:type: str
"""
self._user_modified = user_modified
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.openapi_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
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, ThemeThemesDetails):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
Classes
class ThemeThemesDetails (slide_id=None, slide=None, background_fills=None, colors=None, custom_colors=None, effect_maps=None, fills=None, fonts=None, line_maps=None, base_element_blob_url=None, changed_base_element_blob_url=None, package_uri=None, name=None, id=None, date_created=None, user_created=None, date_modified=None, user_modified=None)
-
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
ThemeThemesDetails - a model defined in OpenAPI
Expand source code Browse git
class ThemeThemesDetails(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. """ """ Attributes: openapi_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. """ openapi_types = { 'slide_id': 'str', 'slide': 'SlideSlidesDetails', 'background_fills': 'list[ThemeBackgroundFillsDetails]', 'colors': 'ThemeColorsDetails', 'custom_colors': 'list[ThemeCustomColorsDetails]', 'effect_maps': 'list[ThemeEffectMapDetails]', 'fills': 'list[ThemeFillsDetails]', 'fonts': 'ThemeFontsDetails', 'line_maps': 'list[ThemeLineMapDetails]', 'base_element_blob_url': 'str', 'changed_base_element_blob_url': 'str', 'package_uri': 'str', 'name': 'str', 'id': 'str', 'date_created': 'datetime', 'user_created': 'str', 'date_modified': 'datetime', 'user_modified': 'str' } attribute_map = { 'slide_id': 'slideId', 'slide': 'slide', 'background_fills': 'backgroundFills', 'colors': 'colors', 'custom_colors': 'customColors', 'effect_maps': 'effectMaps', 'fills': 'fills', 'fonts': 'fonts', 'line_maps': 'lineMaps', 'base_element_blob_url': 'baseElementBlobUrl', 'changed_base_element_blob_url': 'changedBaseElementBlobUrl', 'package_uri': 'packageUri', 'name': 'name', 'id': 'id', 'date_created': 'dateCreated', 'user_created': 'userCreated', 'date_modified': 'dateModified', 'user_modified': 'userModified' } def __init__(self, slide_id=None, slide=None, background_fills=None, colors=None, custom_colors=None, effect_maps=None, fills=None, fonts=None, line_maps=None, base_element_blob_url=None, changed_base_element_blob_url=None, package_uri=None, name=None, id=None, date_created=None, user_created=None, date_modified=None, user_modified=None): # noqa: E501 """ThemeThemesDetails - a model defined in OpenAPI""" # noqa: E501 self._slide_id = None self._slide = None self._background_fills = None self._colors = None self._custom_colors = None self._effect_maps = None self._fills = None self._fonts = None self._line_maps = None self._base_element_blob_url = None self._changed_base_element_blob_url = None self._package_uri = None self._name = None self._id = None self._date_created = None self._user_created = None self._date_modified = None self._user_modified = None self.discriminator = None self.slide_id = slide_id if slide is not None: self.slide = slide self.background_fills = background_fills if colors is not None: self.colors = colors self.custom_colors = custom_colors self.effect_maps = effect_maps self.fills = fills if fonts is not None: self.fonts = fonts self.line_maps = line_maps self.base_element_blob_url = base_element_blob_url self.changed_base_element_blob_url = changed_base_element_blob_url self.package_uri = package_uri self.name = name if id is not None: self.id = id if date_created is not None: self.date_created = date_created if user_created is not None: self.user_created = user_created if date_modified is not None: self.date_modified = date_modified if user_modified is not None: self.user_modified = user_modified @property def slide_id(self): """Gets the slide_id of this ThemeThemesDetails. # noqa: E501 :return: The slide_id of this ThemeThemesDetails. # noqa: E501 :rtype: str """ return self._slide_id @slide_id.setter def slide_id(self, slide_id): """Sets the slide_id of this ThemeThemesDetails. :param slide_id: The slide_id of this ThemeThemesDetails. # noqa: E501 :type: str """ self._slide_id = slide_id @property def slide(self): """Gets the slide of this ThemeThemesDetails. # noqa: E501 :return: The slide of this ThemeThemesDetails. # noqa: E501 :rtype: SlideSlidesDetails """ return self._slide @slide.setter def slide(self, slide): """Sets the slide of this ThemeThemesDetails. :param slide: The slide of this ThemeThemesDetails. # noqa: E501 :type: SlideSlidesDetails """ self._slide = slide @property def background_fills(self): """Gets the background_fills of this ThemeThemesDetails. # noqa: E501 :return: The background_fills of this ThemeThemesDetails. # noqa: E501 :rtype: list[ThemeBackgroundFillsDetails] """ return self._background_fills @background_fills.setter def background_fills(self, background_fills): """Sets the background_fills of this ThemeThemesDetails. :param background_fills: The background_fills of this ThemeThemesDetails. # noqa: E501 :type: list[ThemeBackgroundFillsDetails] """ self._background_fills = background_fills @property def colors(self): """Gets the colors of this ThemeThemesDetails. # noqa: E501 :return: The colors of this ThemeThemesDetails. # noqa: E501 :rtype: ThemeColorsDetails """ return self._colors @colors.setter def colors(self, colors): """Sets the colors of this ThemeThemesDetails. :param colors: The colors of this ThemeThemesDetails. # noqa: E501 :type: ThemeColorsDetails """ self._colors = colors @property def custom_colors(self): """Gets the custom_colors of this ThemeThemesDetails. # noqa: E501 :return: The custom_colors of this ThemeThemesDetails. # noqa: E501 :rtype: list[ThemeCustomColorsDetails] """ return self._custom_colors @custom_colors.setter def custom_colors(self, custom_colors): """Sets the custom_colors of this ThemeThemesDetails. :param custom_colors: The custom_colors of this ThemeThemesDetails. # noqa: E501 :type: list[ThemeCustomColorsDetails] """ self._custom_colors = custom_colors @property def effect_maps(self): """Gets the effect_maps of this ThemeThemesDetails. # noqa: E501 :return: The effect_maps of this ThemeThemesDetails. # noqa: E501 :rtype: list[ThemeEffectMapDetails] """ return self._effect_maps @effect_maps.setter def effect_maps(self, effect_maps): """Sets the effect_maps of this ThemeThemesDetails. :param effect_maps: The effect_maps of this ThemeThemesDetails. # noqa: E501 :type: list[ThemeEffectMapDetails] """ self._effect_maps = effect_maps @property def fills(self): """Gets the fills of this ThemeThemesDetails. # noqa: E501 :return: The fills of this ThemeThemesDetails. # noqa: E501 :rtype: list[ThemeFillsDetails] """ return self._fills @fills.setter def fills(self, fills): """Sets the fills of this ThemeThemesDetails. :param fills: The fills of this ThemeThemesDetails. # noqa: E501 :type: list[ThemeFillsDetails] """ self._fills = fills @property def fonts(self): """Gets the fonts of this ThemeThemesDetails. # noqa: E501 :return: The fonts of this ThemeThemesDetails. # noqa: E501 :rtype: ThemeFontsDetails """ return self._fonts @fonts.setter def fonts(self, fonts): """Sets the fonts of this ThemeThemesDetails. :param fonts: The fonts of this ThemeThemesDetails. # noqa: E501 :type: ThemeFontsDetails """ self._fonts = fonts @property def line_maps(self): """Gets the line_maps of this ThemeThemesDetails. # noqa: E501 :return: The line_maps of this ThemeThemesDetails. # noqa: E501 :rtype: list[ThemeLineMapDetails] """ return self._line_maps @line_maps.setter def line_maps(self, line_maps): """Sets the line_maps of this ThemeThemesDetails. :param line_maps: The line_maps of this ThemeThemesDetails. # noqa: E501 :type: list[ThemeLineMapDetails] """ self._line_maps = line_maps @property def base_element_blob_url(self): """Gets the base_element_blob_url of this ThemeThemesDetails. # noqa: E501 :return: The base_element_blob_url of this ThemeThemesDetails. # noqa: E501 :rtype: str """ return self._base_element_blob_url @base_element_blob_url.setter def base_element_blob_url(self, base_element_blob_url): """Sets the base_element_blob_url of this ThemeThemesDetails. :param base_element_blob_url: The base_element_blob_url of this ThemeThemesDetails. # noqa: E501 :type: str """ self._base_element_blob_url = base_element_blob_url @property def changed_base_element_blob_url(self): """Gets the changed_base_element_blob_url of this ThemeThemesDetails. # noqa: E501 :return: The changed_base_element_blob_url of this ThemeThemesDetails. # noqa: E501 :rtype: str """ return self._changed_base_element_blob_url @changed_base_element_blob_url.setter def changed_base_element_blob_url(self, changed_base_element_blob_url): """Sets the changed_base_element_blob_url of this ThemeThemesDetails. :param changed_base_element_blob_url: The changed_base_element_blob_url of this ThemeThemesDetails. # noqa: E501 :type: str """ self._changed_base_element_blob_url = changed_base_element_blob_url @property def package_uri(self): """Gets the package_uri of this ThemeThemesDetails. # noqa: E501 :return: The package_uri of this ThemeThemesDetails. # noqa: E501 :rtype: str """ return self._package_uri @package_uri.setter def package_uri(self, package_uri): """Sets the package_uri of this ThemeThemesDetails. :param package_uri: The package_uri of this ThemeThemesDetails. # noqa: E501 :type: str """ self._package_uri = package_uri @property def name(self): """Gets the name of this ThemeThemesDetails. # noqa: E501 :return: The name of this ThemeThemesDetails. # noqa: E501 :rtype: str """ return self._name @name.setter def name(self, name): """Sets the name of this ThemeThemesDetails. :param name: The name of this ThemeThemesDetails. # noqa: E501 :type: str """ self._name = name @property def id(self): """Gets the id of this ThemeThemesDetails. # noqa: E501 :return: The id of this ThemeThemesDetails. # noqa: E501 :rtype: str """ return self._id @id.setter def id(self, id): """Sets the id of this ThemeThemesDetails. :param id: The id of this ThemeThemesDetails. # noqa: E501 :type: str """ self._id = id @property def date_created(self): """Gets the date_created of this ThemeThemesDetails. # noqa: E501 :return: The date_created of this ThemeThemesDetails. # noqa: E501 :rtype: datetime """ return self._date_created @date_created.setter def date_created(self, date_created): """Sets the date_created of this ThemeThemesDetails. :param date_created: The date_created of this ThemeThemesDetails. # noqa: E501 :type: datetime """ self._date_created = date_created @property def user_created(self): """Gets the user_created of this ThemeThemesDetails. # noqa: E501 :return: The user_created of this ThemeThemesDetails. # noqa: E501 :rtype: str """ return self._user_created @user_created.setter def user_created(self, user_created): """Sets the user_created of this ThemeThemesDetails. :param user_created: The user_created of this ThemeThemesDetails. # noqa: E501 :type: str """ self._user_created = user_created @property def date_modified(self): """Gets the date_modified of this ThemeThemesDetails. # noqa: E501 :return: The date_modified of this ThemeThemesDetails. # noqa: E501 :rtype: datetime """ return self._date_modified @date_modified.setter def date_modified(self, date_modified): """Sets the date_modified of this ThemeThemesDetails. :param date_modified: The date_modified of this ThemeThemesDetails. # noqa: E501 :type: datetime """ self._date_modified = date_modified @property def user_modified(self): """Gets the user_modified of this ThemeThemesDetails. # noqa: E501 :return: The user_modified of this ThemeThemesDetails. # noqa: E501 :rtype: str """ return self._user_modified @user_modified.setter def user_modified(self, user_modified): """Sets the user_modified of this ThemeThemesDetails. :param user_modified: The user_modified of this ThemeThemesDetails. # noqa: E501 :type: str """ self._user_modified = user_modified def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_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 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, ThemeThemesDetails): return False return self.__dict__ == other.__dict__ def __ne__(self, other): """Returns true if both objects are not equal""" return not self == other
Class variables
var openapi_types
-
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2)
var attribute_map
-
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2)
Instance variables
var slide_id
-
Gets the slide_id of this ThemeThemesDetails. # noqa: E501
:return: The slide_id of this ThemeThemesDetails. # noqa: E501 :rtype: str
Expand source code Browse git
@property def slide_id(self): """Gets the slide_id of this ThemeThemesDetails. # noqa: E501 :return: The slide_id of this ThemeThemesDetails. # noqa: E501 :rtype: str """ return self._slide_id
var slide
-
Gets the slide of this ThemeThemesDetails. # noqa: E501
:return: The slide of this ThemeThemesDetails. # noqa: E501 :rtype: SlideSlidesDetails
Expand source code Browse git
@property def slide(self): """Gets the slide of this ThemeThemesDetails. # noqa: E501 :return: The slide of this ThemeThemesDetails. # noqa: E501 :rtype: SlideSlidesDetails """ return self._slide
var background_fills
-
Gets the background_fills of this ThemeThemesDetails. # noqa: E501
:return: The background_fills of this ThemeThemesDetails. # noqa: E501 :rtype: list[ThemeBackgroundFillsDetails]
Expand source code Browse git
@property def background_fills(self): """Gets the background_fills of this ThemeThemesDetails. # noqa: E501 :return: The background_fills of this ThemeThemesDetails. # noqa: E501 :rtype: list[ThemeBackgroundFillsDetails] """ return self._background_fills
var colors
-
Gets the colors of this ThemeThemesDetails. # noqa: E501
:return: The colors of this ThemeThemesDetails. # noqa: E501 :rtype: ThemeColorsDetails
Expand source code Browse git
@property def colors(self): """Gets the colors of this ThemeThemesDetails. # noqa: E501 :return: The colors of this ThemeThemesDetails. # noqa: E501 :rtype: ThemeColorsDetails """ return self._colors
var custom_colors
-
Gets the custom_colors of this ThemeThemesDetails. # noqa: E501
:return: The custom_colors of this ThemeThemesDetails. # noqa: E501 :rtype: list[ThemeCustomColorsDetails]
Expand source code Browse git
@property def custom_colors(self): """Gets the custom_colors of this ThemeThemesDetails. # noqa: E501 :return: The custom_colors of this ThemeThemesDetails. # noqa: E501 :rtype: list[ThemeCustomColorsDetails] """ return self._custom_colors
var effect_maps
-
Gets the effect_maps of this ThemeThemesDetails. # noqa: E501
:return: The effect_maps of this ThemeThemesDetails. # noqa: E501 :rtype: list[ThemeEffectMapDetails]
Expand source code Browse git
@property def effect_maps(self): """Gets the effect_maps of this ThemeThemesDetails. # noqa: E501 :return: The effect_maps of this ThemeThemesDetails. # noqa: E501 :rtype: list[ThemeEffectMapDetails] """ return self._effect_maps
var fills
-
Gets the fills of this ThemeThemesDetails. # noqa: E501
:return: The fills of this ThemeThemesDetails. # noqa: E501 :rtype: list[ThemeFillsDetails]
Expand source code Browse git
@property def fills(self): """Gets the fills of this ThemeThemesDetails. # noqa: E501 :return: The fills of this ThemeThemesDetails. # noqa: E501 :rtype: list[ThemeFillsDetails] """ return self._fills
var fonts
-
Gets the fonts of this ThemeThemesDetails. # noqa: E501
:return: The fonts of this ThemeThemesDetails. # noqa: E501 :rtype: ThemeFontsDetails
Expand source code Browse git
@property def fonts(self): """Gets the fonts of this ThemeThemesDetails. # noqa: E501 :return: The fonts of this ThemeThemesDetails. # noqa: E501 :rtype: ThemeFontsDetails """ return self._fonts
var line_maps
-
Gets the line_maps of this ThemeThemesDetails. # noqa: E501
:return: The line_maps of this ThemeThemesDetails. # noqa: E501 :rtype: list[ThemeLineMapDetails]
Expand source code Browse git
@property def line_maps(self): """Gets the line_maps of this ThemeThemesDetails. # noqa: E501 :return: The line_maps of this ThemeThemesDetails. # noqa: E501 :rtype: list[ThemeLineMapDetails] """ return self._line_maps
var base_element_blob_url
-
Gets the base_element_blob_url of this ThemeThemesDetails. # noqa: E501
:return: The base_element_blob_url of this ThemeThemesDetails. # noqa: E501 :rtype: str
Expand source code Browse git
@property def base_element_blob_url(self): """Gets the base_element_blob_url of this ThemeThemesDetails. # noqa: E501 :return: The base_element_blob_url of this ThemeThemesDetails. # noqa: E501 :rtype: str """ return self._base_element_blob_url
var changed_base_element_blob_url
-
Gets the changed_base_element_blob_url of this ThemeThemesDetails. # noqa: E501
:return: The changed_base_element_blob_url of this ThemeThemesDetails. # noqa: E501 :rtype: str
Expand source code Browse git
@property def changed_base_element_blob_url(self): """Gets the changed_base_element_blob_url of this ThemeThemesDetails. # noqa: E501 :return: The changed_base_element_blob_url of this ThemeThemesDetails. # noqa: E501 :rtype: str """ return self._changed_base_element_blob_url
var package_uri
-
Gets the package_uri of this ThemeThemesDetails. # noqa: E501
:return: The package_uri of this ThemeThemesDetails. # noqa: E501 :rtype: str
Expand source code Browse git
@property def package_uri(self): """Gets the package_uri of this ThemeThemesDetails. # noqa: E501 :return: The package_uri of this ThemeThemesDetails. # noqa: E501 :rtype: str """ return self._package_uri
var name
-
Gets the name of this ThemeThemesDetails. # noqa: E501
:return: The name of this ThemeThemesDetails. # noqa: E501 :rtype: str
Expand source code Browse git
@property def name(self): """Gets the name of this ThemeThemesDetails. # noqa: E501 :return: The name of this ThemeThemesDetails. # noqa: E501 :rtype: str """ return self._name
var id
-
Gets the id of this ThemeThemesDetails. # noqa: E501
:return: The id of this ThemeThemesDetails. # noqa: E501 :rtype: str
Expand source code Browse git
@property def id(self): """Gets the id of this ThemeThemesDetails. # noqa: E501 :return: The id of this ThemeThemesDetails. # noqa: E501 :rtype: str """ return self._id
var date_created
-
Gets the date_created of this ThemeThemesDetails. # noqa: E501
:return: The date_created of this ThemeThemesDetails. # noqa: E501 :rtype: datetime
Expand source code Browse git
@property def date_created(self): """Gets the date_created of this ThemeThemesDetails. # noqa: E501 :return: The date_created of this ThemeThemesDetails. # noqa: E501 :rtype: datetime """ return self._date_created
var user_created
-
Gets the user_created of this ThemeThemesDetails. # noqa: E501
:return: The user_created of this ThemeThemesDetails. # noqa: E501 :rtype: str
Expand source code Browse git
@property def user_created(self): """Gets the user_created of this ThemeThemesDetails. # noqa: E501 :return: The user_created of this ThemeThemesDetails. # noqa: E501 :rtype: str """ return self._user_created
var date_modified
-
Gets the date_modified of this ThemeThemesDetails. # noqa: E501
:return: The date_modified of this ThemeThemesDetails. # noqa: E501 :rtype: datetime
Expand source code Browse git
@property def date_modified(self): """Gets the date_modified of this ThemeThemesDetails. # noqa: E501 :return: The date_modified of this ThemeThemesDetails. # noqa: E501 :rtype: datetime """ return self._date_modified
var user_modified
-
Gets the user_modified of this ThemeThemesDetails. # noqa: E501
:return: The user_modified of this ThemeThemesDetails. # noqa: E501 :rtype: str
Expand source code Browse git
@property def user_modified(self): """Gets the user_modified of this ThemeThemesDetails. # noqa: E501 :return: The user_modified of this ThemeThemesDetails. # noqa: E501 :rtype: str """ return self._user_modified
Methods
def to_dict(self)
-
Returns the model properties as a dict
Expand source code Browse git
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_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 return result
def to_str(self)
-
Returns the string representation of the model
Expand source code Browse git
def to_str(self): """Returns the string representation of the model""" return pprint.pformat(self.to_dict())