# -*- coding: utf-8 -*- ''' # Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. # # This file was generated and any changes will be overwritten. ''' from __future__ import unicode_literals from ..model.thumbnail import Thumbnail from ..one_drive_object_base import OneDriveObjectBase class ThumbnailSet(OneDriveObjectBase): def __init__(self, prop_dict=None): self._prop_dict = prop_dict if prop_dict is not None else {} @property def id(self): """ Gets and sets the id Returns: str: The id """ if "id" in self._prop_dict: return self._prop_dict["id"] else: return None @id.setter def id(self, val): self._prop_dict["id"] = val @property def large(self): """ Gets and sets the large Returns: :class:`Thumbnail`: The large """ if "large" in self._prop_dict: if isinstance(self._prop_dict["large"], OneDriveObjectBase): return self._prop_dict["large"] else : self._prop_dict["large"] = Thumbnail(self._prop_dict["large"]) return self._prop_dict["large"] return None @large.setter def large(self, val): self._prop_dict["large"] = val @property def medium(self): """ Gets and sets the medium Returns: :class:`Thumbnail`: The medium """ if "medium" in self._prop_dict: if isinstance(self._prop_dict["medium"], OneDriveObjectBase): return self._prop_dict["medium"] else : self._prop_dict["medium"] = Thumbnail(self._prop_dict["medium"]) return self._prop_dict["medium"] return None @medium.setter def medium(self, val): self._prop_dict["medium"] = val @property def small(self): """ Gets and sets the small Returns: :class:`Thumbnail`: The small """ if "small" in self._prop_dict: if isinstance(self._prop_dict["small"], OneDriveObjectBase): return self._prop_dict["small"] else : self._prop_dict["small"] = Thumbnail(self._prop_dict["small"]) return self._prop_dict["small"] return None @small.setter def small(self, val): self._prop_dict["small"] = val @property def source(self): """ Gets and sets the source Returns: :class:`Thumbnail`: The source """ if "source" in self._prop_dict: if isinstance(self._prop_dict["source"], OneDriveObjectBase): return self._prop_dict["source"] else : self._prop_dict["source"] = Thumbnail(self._prop_dict["source"]) return self._prop_dict["source"] return None @source.setter def source(self, val): self._prop_dict["source"] = val