signature
stringlengths 8
3.44k
| body
stringlengths 0
1.41M
| docstring
stringlengths 1
122k
| id
stringlengths 5
17
|
|---|---|---|---|
def to_str(self):
|
return pformat(self.to_dict())<EOL>
|
Returns the string representation of the model
|
f3044:c0:m8
|
def __repr__(self):
|
return self.to_str()<EOL>
|
For `print` and `pprint`
|
f3044:c0:m9
|
def __eq__(self, other):
|
if not isinstance(other, GifImagesFixedWidthSmallStill):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL>
|
Returns true if both objects are equal
|
f3044:c0:m10
|
def __ne__(self, other):
|
return not self == other<EOL>
|
Returns true if both objects are not equal
|
f3044:c0:m11
|
def __init__(self, fixed_height=None, fixed_height_still=None, fixed_height_downsampled=None, fixed_width=None, fixed_width_still=None, fixed_width_downsampled=None, fixed_height_small=None, fixed_height_small_still=None, fixed_width_small=None, fixed_width_small_still=None, downsized=None, downsized_still=None, downsized_large=None, downsized_medium=None, downsized_small=None, original=None, original_still=None, looping=None, preview=None, preview_gif=None):
|
self.swagger_types = {<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>'<EOL>}<EOL>self.attribute_map = {<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>'<EOL>}<EOL>self._fixed_height = fixed_height<EOL>self._fixed_height_still = fixed_height_still<EOL>self._fixed_height_downsampled = fixed_height_downsampled<EOL>self._fixed_width = fixed_width<EOL>self._fixed_width_still = fixed_width_still<EOL>self._fixed_width_downsampled = fixed_width_downsampled<EOL>self._fixed_height_small = fixed_height_small<EOL>self._fixed_height_small_still = fixed_height_small_still<EOL>self._fixed_width_small = fixed_width_small<EOL>self._fixed_width_small_still = fixed_width_small_still<EOL>self._downsized = downsized<EOL>self._downsized_still = downsized_still<EOL>self._downsized_large = downsized_large<EOL>self._downsized_medium = downsized_medium<EOL>self._downsized_small = downsized_small<EOL>self._original = original<EOL>self._original_still = original_still<EOL>self._looping = looping<EOL>self._preview = preview<EOL>self._preview_gif = preview_gif<EOL>
|
GifImages - a model defined in Swagger
:param dict swaggerTypes: The key is attribute name
and the value is attribute type.
:param dict attributeMap: The key is attribute name
and the value is json key in definition.
|
f3045:c0:m0
|
@property<EOL><INDENT>def fixed_height(self):<DEDENT>
|
return self._fixed_height<EOL>
|
Gets the fixed_height of this GifImages.
:return: The fixed_height of this GifImages.
:rtype: GifImagesFixedHeight
|
f3045:c0:m1
|
@fixed_height.setter<EOL><INDENT>def fixed_height(self, fixed_height):<DEDENT>
|
self._fixed_height = fixed_height<EOL>
|
Sets the fixed_height of this GifImages.
:param fixed_height: The fixed_height of this GifImages.
:type: GifImagesFixedHeight
|
f3045:c0:m2
|
@property<EOL><INDENT>def fixed_height_still(self):<DEDENT>
|
return self._fixed_height_still<EOL>
|
Gets the fixed_height_still of this GifImages.
:return: The fixed_height_still of this GifImages.
:rtype: GifImagesFixedHeightStill
|
f3045:c0:m3
|
@fixed_height_still.setter<EOL><INDENT>def fixed_height_still(self, fixed_height_still):<DEDENT>
|
self._fixed_height_still = fixed_height_still<EOL>
|
Sets the fixed_height_still of this GifImages.
:param fixed_height_still: The fixed_height_still of this GifImages.
:type: GifImagesFixedHeightStill
|
f3045:c0:m4
|
@property<EOL><INDENT>def fixed_height_downsampled(self):<DEDENT>
|
return self._fixed_height_downsampled<EOL>
|
Gets the fixed_height_downsampled of this GifImages.
:return: The fixed_height_downsampled of this GifImages.
:rtype: GifImagesFixedHeightDownsampled
|
f3045:c0:m5
|
@fixed_height_downsampled.setter<EOL><INDENT>def fixed_height_downsampled(self, fixed_height_downsampled):<DEDENT>
|
self._fixed_height_downsampled = fixed_height_downsampled<EOL>
|
Sets the fixed_height_downsampled of this GifImages.
:param fixed_height_downsampled: The fixed_height_downsampled of this GifImages.
:type: GifImagesFixedHeightDownsampled
|
f3045:c0:m6
|
@property<EOL><INDENT>def fixed_width(self):<DEDENT>
|
return self._fixed_width<EOL>
|
Gets the fixed_width of this GifImages.
:return: The fixed_width of this GifImages.
:rtype: GifImagesFixedWidth
|
f3045:c0:m7
|
@fixed_width.setter<EOL><INDENT>def fixed_width(self, fixed_width):<DEDENT>
|
self._fixed_width = fixed_width<EOL>
|
Sets the fixed_width of this GifImages.
:param fixed_width: The fixed_width of this GifImages.
:type: GifImagesFixedWidth
|
f3045:c0:m8
|
@property<EOL><INDENT>def fixed_width_still(self):<DEDENT>
|
return self._fixed_width_still<EOL>
|
Gets the fixed_width_still of this GifImages.
:return: The fixed_width_still of this GifImages.
:rtype: GifImagesFixedWidthStill
|
f3045:c0:m9
|
@fixed_width_still.setter<EOL><INDENT>def fixed_width_still(self, fixed_width_still):<DEDENT>
|
self._fixed_width_still = fixed_width_still<EOL>
|
Sets the fixed_width_still of this GifImages.
:param fixed_width_still: The fixed_width_still of this GifImages.
:type: GifImagesFixedWidthStill
|
f3045:c0:m10
|
@property<EOL><INDENT>def fixed_width_downsampled(self):<DEDENT>
|
return self._fixed_width_downsampled<EOL>
|
Gets the fixed_width_downsampled of this GifImages.
:return: The fixed_width_downsampled of this GifImages.
:rtype: GifImagesFixedWidthDownsampled
|
f3045:c0:m11
|
@fixed_width_downsampled.setter<EOL><INDENT>def fixed_width_downsampled(self, fixed_width_downsampled):<DEDENT>
|
self._fixed_width_downsampled = fixed_width_downsampled<EOL>
|
Sets the fixed_width_downsampled of this GifImages.
:param fixed_width_downsampled: The fixed_width_downsampled of this GifImages.
:type: GifImagesFixedWidthDownsampled
|
f3045:c0:m12
|
@property<EOL><INDENT>def fixed_height_small(self):<DEDENT>
|
return self._fixed_height_small<EOL>
|
Gets the fixed_height_small of this GifImages.
:return: The fixed_height_small of this GifImages.
:rtype: GifImagesFixedHeightSmall
|
f3045:c0:m13
|
@fixed_height_small.setter<EOL><INDENT>def fixed_height_small(self, fixed_height_small):<DEDENT>
|
self._fixed_height_small = fixed_height_small<EOL>
|
Sets the fixed_height_small of this GifImages.
:param fixed_height_small: The fixed_height_small of this GifImages.
:type: GifImagesFixedHeightSmall
|
f3045:c0:m14
|
@property<EOL><INDENT>def fixed_height_small_still(self):<DEDENT>
|
return self._fixed_height_small_still<EOL>
|
Gets the fixed_height_small_still of this GifImages.
:return: The fixed_height_small_still of this GifImages.
:rtype: GifImagesFixedHeightSmallStill
|
f3045:c0:m15
|
@fixed_height_small_still.setter<EOL><INDENT>def fixed_height_small_still(self, fixed_height_small_still):<DEDENT>
|
self._fixed_height_small_still = fixed_height_small_still<EOL>
|
Sets the fixed_height_small_still of this GifImages.
:param fixed_height_small_still: The fixed_height_small_still of this GifImages.
:type: GifImagesFixedHeightSmallStill
|
f3045:c0:m16
|
@property<EOL><INDENT>def fixed_width_small(self):<DEDENT>
|
return self._fixed_width_small<EOL>
|
Gets the fixed_width_small of this GifImages.
:return: The fixed_width_small of this GifImages.
:rtype: GifImagesFixedWidthSmall
|
f3045:c0:m17
|
@fixed_width_small.setter<EOL><INDENT>def fixed_width_small(self, fixed_width_small):<DEDENT>
|
self._fixed_width_small = fixed_width_small<EOL>
|
Sets the fixed_width_small of this GifImages.
:param fixed_width_small: The fixed_width_small of this GifImages.
:type: GifImagesFixedWidthSmall
|
f3045:c0:m18
|
@property<EOL><INDENT>def fixed_width_small_still(self):<DEDENT>
|
return self._fixed_width_small_still<EOL>
|
Gets the fixed_width_small_still of this GifImages.
:return: The fixed_width_small_still of this GifImages.
:rtype: GifImagesFixedWidthSmallStill
|
f3045:c0:m19
|
@fixed_width_small_still.setter<EOL><INDENT>def fixed_width_small_still(self, fixed_width_small_still):<DEDENT>
|
self._fixed_width_small_still = fixed_width_small_still<EOL>
|
Sets the fixed_width_small_still of this GifImages.
:param fixed_width_small_still: The fixed_width_small_still of this GifImages.
:type: GifImagesFixedWidthSmallStill
|
f3045:c0:m20
|
@property<EOL><INDENT>def downsized(self):<DEDENT>
|
return self._downsized<EOL>
|
Gets the downsized of this GifImages.
:return: The downsized of this GifImages.
:rtype: GifImagesDownsized
|
f3045:c0:m21
|
@downsized.setter<EOL><INDENT>def downsized(self, downsized):<DEDENT>
|
self._downsized = downsized<EOL>
|
Sets the downsized of this GifImages.
:param downsized: The downsized of this GifImages.
:type: GifImagesDownsized
|
f3045:c0:m22
|
@property<EOL><INDENT>def downsized_still(self):<DEDENT>
|
return self._downsized_still<EOL>
|
Gets the downsized_still of this GifImages.
:return: The downsized_still of this GifImages.
:rtype: GifImagesDownsizedStill
|
f3045:c0:m23
|
@downsized_still.setter<EOL><INDENT>def downsized_still(self, downsized_still):<DEDENT>
|
self._downsized_still = downsized_still<EOL>
|
Sets the downsized_still of this GifImages.
:param downsized_still: The downsized_still of this GifImages.
:type: GifImagesDownsizedStill
|
f3045:c0:m24
|
@property<EOL><INDENT>def downsized_large(self):<DEDENT>
|
return self._downsized_large<EOL>
|
Gets the downsized_large of this GifImages.
:return: The downsized_large of this GifImages.
:rtype: GifImagesDownsizedLarge
|
f3045:c0:m25
|
@downsized_large.setter<EOL><INDENT>def downsized_large(self, downsized_large):<DEDENT>
|
self._downsized_large = downsized_large<EOL>
|
Sets the downsized_large of this GifImages.
:param downsized_large: The downsized_large of this GifImages.
:type: GifImagesDownsizedLarge
|
f3045:c0:m26
|
@property<EOL><INDENT>def downsized_medium(self):<DEDENT>
|
return self._downsized_medium<EOL>
|
Gets the downsized_medium of this GifImages.
:return: The downsized_medium of this GifImages.
:rtype: GifImagesDownsizedMedium
|
f3045:c0:m27
|
@downsized_medium.setter<EOL><INDENT>def downsized_medium(self, downsized_medium):<DEDENT>
|
self._downsized_medium = downsized_medium<EOL>
|
Sets the downsized_medium of this GifImages.
:param downsized_medium: The downsized_medium of this GifImages.
:type: GifImagesDownsizedMedium
|
f3045:c0:m28
|
@property<EOL><INDENT>def downsized_small(self):<DEDENT>
|
return self._downsized_small<EOL>
|
Gets the downsized_small of this GifImages.
:return: The downsized_small of this GifImages.
:rtype: GifImagesDownsizedSmall
|
f3045:c0:m29
|
@downsized_small.setter<EOL><INDENT>def downsized_small(self, downsized_small):<DEDENT>
|
self._downsized_small = downsized_small<EOL>
|
Sets the downsized_small of this GifImages.
:param downsized_small: The downsized_small of this GifImages.
:type: GifImagesDownsizedSmall
|
f3045:c0:m30
|
@property<EOL><INDENT>def original(self):<DEDENT>
|
return self._original<EOL>
|
Gets the original of this GifImages.
:return: The original of this GifImages.
:rtype: GifImagesOriginal
|
f3045:c0:m31
|
@original.setter<EOL><INDENT>def original(self, original):<DEDENT>
|
self._original = original<EOL>
|
Sets the original of this GifImages.
:param original: The original of this GifImages.
:type: GifImagesOriginal
|
f3045:c0:m32
|
@property<EOL><INDENT>def original_still(self):<DEDENT>
|
return self._original_still<EOL>
|
Gets the original_still of this GifImages.
:return: The original_still of this GifImages.
:rtype: GifImagesOriginalStill
|
f3045:c0:m33
|
@original_still.setter<EOL><INDENT>def original_still(self, original_still):<DEDENT>
|
self._original_still = original_still<EOL>
|
Sets the original_still of this GifImages.
:param original_still: The original_still of this GifImages.
:type: GifImagesOriginalStill
|
f3045:c0:m34
|
@property<EOL><INDENT>def looping(self):<DEDENT>
|
return self._looping<EOL>
|
Gets the looping of this GifImages.
:return: The looping of this GifImages.
:rtype: GifImagesLooping
|
f3045:c0:m35
|
@looping.setter<EOL><INDENT>def looping(self, looping):<DEDENT>
|
self._looping = looping<EOL>
|
Sets the looping of this GifImages.
:param looping: The looping of this GifImages.
:type: GifImagesLooping
|
f3045:c0:m36
|
@property<EOL><INDENT>def preview(self):<DEDENT>
|
return self._preview<EOL>
|
Gets the preview of this GifImages.
:return: The preview of this GifImages.
:rtype: GifImagesPreview
|
f3045:c0:m37
|
@preview.setter<EOL><INDENT>def preview(self, preview):<DEDENT>
|
self._preview = preview<EOL>
|
Sets the preview of this GifImages.
:param preview: The preview of this GifImages.
:type: GifImagesPreview
|
f3045:c0:m38
|
@property<EOL><INDENT>def preview_gif(self):<DEDENT>
|
return self._preview_gif<EOL>
|
Gets the preview_gif of this GifImages.
:return: The preview_gif of this GifImages.
:rtype: GifImagesPreviewGif
|
f3045:c0:m39
|
@preview_gif.setter<EOL><INDENT>def preview_gif(self, preview_gif):<DEDENT>
|
self._preview_gif = preview_gif<EOL>
|
Sets the preview_gif of this GifImages.
:param preview_gif: The preview_gif of this GifImages.
:type: GifImagesPreviewGif
|
f3045:c0:m40
|
def to_dict(self):
|
result = {}<EOL>for attr, _ in iteritems(self.swagger_types):<EOL><INDENT>value = getattr(self, attr)<EOL>if isinstance(value, list):<EOL><INDENT>result[attr] = list(map(<EOL>lambda x: x.to_dict() if hasattr(x, "<STR_LIT>") else x,<EOL>value<EOL>))<EOL><DEDENT>elif hasattr(value, "<STR_LIT>"):<EOL><INDENT>result[attr] = value.to_dict()<EOL><DEDENT>elif isinstance(value, dict):<EOL><INDENT>result[attr] = dict(map(<EOL>lambda item: (item[<NUM_LIT:0>], item[<NUM_LIT:1>].to_dict())<EOL>if hasattr(item[<NUM_LIT:1>], "<STR_LIT>") else item,<EOL>value.items()<EOL>))<EOL><DEDENT>else:<EOL><INDENT>result[attr] = value<EOL><DEDENT><DEDENT>return result<EOL>
|
Returns the model properties as a dict
|
f3045:c0:m41
|
def to_str(self):
|
return pformat(self.to_dict())<EOL>
|
Returns the string representation of the model
|
f3045:c0:m42
|
def __repr__(self):
|
return self.to_str()<EOL>
|
For `print` and `pprint`
|
f3045:c0:m43
|
def __eq__(self, other):
|
if not isinstance(other, GifImages):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL>
|
Returns true if both objects are equal
|
f3045:c0:m44
|
def __ne__(self, other):
|
return not self == other<EOL>
|
Returns true if both objects are not equal
|
f3045:c0:m45
|
def __init__(self, data=None, pagination=None, meta=None):
|
self.swagger_types = {<EOL>'<STR_LIT:data>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>'<EOL>}<EOL>self.attribute_map = {<EOL>'<STR_LIT:data>': '<STR_LIT:data>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>'<EOL>}<EOL>self._data = data<EOL>self._pagination = pagination<EOL>self._meta = meta<EOL>
|
InlineResponse2003 - a model defined in Swagger
:param dict swaggerTypes: The key is attribute name
and the value is attribute type.
:param dict attributeMap: The key is attribute name
and the value is json key in definition.
|
f3046:c0:m0
|
@property<EOL><INDENT>def data(self):<DEDENT>
|
return self._data<EOL>
|
Gets the data of this InlineResponse2003.
:return: The data of this InlineResponse2003.
:rtype: list[Category]
|
f3046:c0:m1
|
@data.setter<EOL><INDENT>def data(self, data):<DEDENT>
|
self._data = data<EOL>
|
Sets the data of this InlineResponse2003.
:param data: The data of this InlineResponse2003.
:type: list[Category]
|
f3046:c0:m2
|
@property<EOL><INDENT>def pagination(self):<DEDENT>
|
return self._pagination<EOL>
|
Gets the pagination of this InlineResponse2003.
:return: The pagination of this InlineResponse2003.
:rtype: Pagination
|
f3046:c0:m3
|
@pagination.setter<EOL><INDENT>def pagination(self, pagination):<DEDENT>
|
self._pagination = pagination<EOL>
|
Sets the pagination of this InlineResponse2003.
:param pagination: The pagination of this InlineResponse2003.
:type: Pagination
|
f3046:c0:m4
|
@property<EOL><INDENT>def meta(self):<DEDENT>
|
return self._meta<EOL>
|
Gets the meta of this InlineResponse2003.
:return: The meta of this InlineResponse2003.
:rtype: MetaContent
|
f3046:c0:m5
|
@meta.setter<EOL><INDENT>def meta(self, meta):<DEDENT>
|
self._meta = meta<EOL>
|
Sets the meta of this InlineResponse2003.
:param meta: The meta of this InlineResponse2003.
:type: MetaContent
|
f3046:c0:m6
|
def to_dict(self):
|
result = {}<EOL>for attr, _ in iteritems(self.swagger_types):<EOL><INDENT>value = getattr(self, attr)<EOL>if isinstance(value, list):<EOL><INDENT>result[attr] = list(map(<EOL>lambda x: x.to_dict() if hasattr(x, "<STR_LIT>") else x,<EOL>value<EOL>))<EOL><DEDENT>elif hasattr(value, "<STR_LIT>"):<EOL><INDENT>result[attr] = value.to_dict()<EOL><DEDENT>elif isinstance(value, dict):<EOL><INDENT>result[attr] = dict(map(<EOL>lambda item: (item[<NUM_LIT:0>], item[<NUM_LIT:1>].to_dict())<EOL>if hasattr(item[<NUM_LIT:1>], "<STR_LIT>") else item,<EOL>value.items()<EOL>))<EOL><DEDENT>else:<EOL><INDENT>result[attr] = value<EOL><DEDENT><DEDENT>return result<EOL>
|
Returns the model properties as a dict
|
f3046:c0:m7
|
def to_str(self):
|
return pformat(self.to_dict())<EOL>
|
Returns the string representation of the model
|
f3046:c0:m8
|
def __repr__(self):
|
return self.to_str()<EOL>
|
For `print` and `pprint`
|
f3046:c0:m9
|
def __eq__(self, other):
|
if not isinstance(other, InlineResponse2003):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL>
|
Returns true if both objects are equal
|
f3046:c0:m10
|
def __ne__(self, other):
|
return not self == other<EOL>
|
Returns true if both objects are not equal
|
f3046:c0:m11
|
def __init__(self, url=None, width=None, height=None):
|
self.swagger_types = {<EOL>'<STR_LIT:url>': '<STR_LIT:str>',<EOL>'<STR_LIT:width>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT:str>'<EOL>}<EOL>self.attribute_map = {<EOL>'<STR_LIT:url>': '<STR_LIT:url>',<EOL>'<STR_LIT:width>': '<STR_LIT:width>',<EOL>'<STR_LIT>': '<STR_LIT>'<EOL>}<EOL>self._url = url<EOL>self._width = width<EOL>self._height = height<EOL>
|
GifImagesFixedWidthStill - a model defined in Swagger
:param dict swaggerTypes: The key is attribute name
and the value is attribute type.
:param dict attributeMap: The key is attribute name
and the value is json key in definition.
|
f3047:c0:m0
|
@property<EOL><INDENT>def url(self):<DEDENT>
|
return self._url<EOL>
|
Gets the url of this GifImagesFixedWidthStill.
The publicly-accessible direct URL for this GIF.
:return: The url of this GifImagesFixedWidthStill.
:rtype: str
|
f3047:c0:m1
|
@url.setter<EOL><INDENT>def url(self, url):<DEDENT>
|
self._url = url<EOL>
|
Sets the url of this GifImagesFixedWidthStill.
The publicly-accessible direct URL for this GIF.
:param url: The url of this GifImagesFixedWidthStill.
:type: str
|
f3047:c0:m2
|
@property<EOL><INDENT>def width(self):<DEDENT>
|
return self._width<EOL>
|
Gets the width of this GifImagesFixedWidthStill.
The width of this GIF in pixels.
:return: The width of this GifImagesFixedWidthStill.
:rtype: str
|
f3047:c0:m3
|
@width.setter<EOL><INDENT>def width(self, width):<DEDENT>
|
self._width = width<EOL>
|
Sets the width of this GifImagesFixedWidthStill.
The width of this GIF in pixels.
:param width: The width of this GifImagesFixedWidthStill.
:type: str
|
f3047:c0:m4
|
@property<EOL><INDENT>def height(self):<DEDENT>
|
return self._height<EOL>
|
Gets the height of this GifImagesFixedWidthStill.
The height of this GIF in pixels.
:return: The height of this GifImagesFixedWidthStill.
:rtype: str
|
f3047:c0:m5
|
@height.setter<EOL><INDENT>def height(self, height):<DEDENT>
|
self._height = height<EOL>
|
Sets the height of this GifImagesFixedWidthStill.
The height of this GIF in pixels.
:param height: The height of this GifImagesFixedWidthStill.
:type: str
|
f3047:c0:m6
|
def to_dict(self):
|
result = {}<EOL>for attr, _ in iteritems(self.swagger_types):<EOL><INDENT>value = getattr(self, attr)<EOL>if isinstance(value, list):<EOL><INDENT>result[attr] = list(map(<EOL>lambda x: x.to_dict() if hasattr(x, "<STR_LIT>") else x,<EOL>value<EOL>))<EOL><DEDENT>elif hasattr(value, "<STR_LIT>"):<EOL><INDENT>result[attr] = value.to_dict()<EOL><DEDENT>elif isinstance(value, dict):<EOL><INDENT>result[attr] = dict(map(<EOL>lambda item: (item[<NUM_LIT:0>], item[<NUM_LIT:1>].to_dict())<EOL>if hasattr(item[<NUM_LIT:1>], "<STR_LIT>") else item,<EOL>value.items()<EOL>))<EOL><DEDENT>else:<EOL><INDENT>result[attr] = value<EOL><DEDENT><DEDENT>return result<EOL>
|
Returns the model properties as a dict
|
f3047:c0:m7
|
def to_str(self):
|
return pformat(self.to_dict())<EOL>
|
Returns the string representation of the model
|
f3047:c0:m8
|
def __repr__(self):
|
return self.to_str()<EOL>
|
For `print` and `pprint`
|
f3047:c0:m9
|
def __eq__(self, other):
|
if not isinstance(other, GifImagesFixedWidthStill):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL>
|
Returns true if both objects are equal
|
f3047:c0:m10
|
def __ne__(self, other):
|
return not self == other<EOL>
|
Returns true if both objects are not equal
|
f3047:c0:m11
|
def __init__(self, url=None, width=None, height=None, size=None, mp4=None, mp4_size=None, webp=None, webp_size=None):
|
self.swagger_types = {<EOL>'<STR_LIT:url>': '<STR_LIT:str>',<EOL>'<STR_LIT:width>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT:size>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT:str>'<EOL>}<EOL>self.attribute_map = {<EOL>'<STR_LIT:url>': '<STR_LIT:url>',<EOL>'<STR_LIT:width>': '<STR_LIT:width>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT:size>': '<STR_LIT:size>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>'<EOL>}<EOL>self._url = url<EOL>self._width = width<EOL>self._height = height<EOL>self._size = size<EOL>self._mp4 = mp4<EOL>self._mp4_size = mp4_size<EOL>self._webp = webp<EOL>self._webp_size = webp_size<EOL>
|
GifImagesFixedWidth - a model defined in Swagger
:param dict swaggerTypes: The key is attribute name
and the value is attribute type.
:param dict attributeMap: The key is attribute name
and the value is json key in definition.
|
f3048:c0:m0
|
@property<EOL><INDENT>def url(self):<DEDENT>
|
return self._url<EOL>
|
Gets the url of this GifImagesFixedWidth.
The publicly-accessible direct URL for this GIF.
:return: The url of this GifImagesFixedWidth.
:rtype: str
|
f3048:c0:m1
|
@url.setter<EOL><INDENT>def url(self, url):<DEDENT>
|
self._url = url<EOL>
|
Sets the url of this GifImagesFixedWidth.
The publicly-accessible direct URL for this GIF.
:param url: The url of this GifImagesFixedWidth.
:type: str
|
f3048:c0:m2
|
@property<EOL><INDENT>def width(self):<DEDENT>
|
return self._width<EOL>
|
Gets the width of this GifImagesFixedWidth.
The width of this GIF in pixels.
:return: The width of this GifImagesFixedWidth.
:rtype: str
|
f3048:c0:m3
|
@width.setter<EOL><INDENT>def width(self, width):<DEDENT>
|
self._width = width<EOL>
|
Sets the width of this GifImagesFixedWidth.
The width of this GIF in pixels.
:param width: The width of this GifImagesFixedWidth.
:type: str
|
f3048:c0:m4
|
@property<EOL><INDENT>def height(self):<DEDENT>
|
return self._height<EOL>
|
Gets the height of this GifImagesFixedWidth.
The height of this GIF in pixels.
:return: The height of this GifImagesFixedWidth.
:rtype: str
|
f3048:c0:m5
|
@height.setter<EOL><INDENT>def height(self, height):<DEDENT>
|
self._height = height<EOL>
|
Sets the height of this GifImagesFixedWidth.
The height of this GIF in pixels.
:param height: The height of this GifImagesFixedWidth.
:type: str
|
f3048:c0:m6
|
@property<EOL><INDENT>def size(self):<DEDENT>
|
return self._size<EOL>
|
Gets the size of this GifImagesFixedWidth.
The size of this GIF in bytes.
:return: The size of this GifImagesFixedWidth.
:rtype: str
|
f3048:c0:m7
|
@size.setter<EOL><INDENT>def size(self, size):<DEDENT>
|
self._size = size<EOL>
|
Sets the size of this GifImagesFixedWidth.
The size of this GIF in bytes.
:param size: The size of this GifImagesFixedWidth.
:type: str
|
f3048:c0:m8
|
@property<EOL><INDENT>def mp4(self):<DEDENT>
|
return self._mp4<EOL>
|
Gets the mp4 of this GifImagesFixedWidth.
The URL for this GIF in .MP4 format.
:return: The mp4 of this GifImagesFixedWidth.
:rtype: str
|
f3048:c0:m9
|
@mp4.setter<EOL><INDENT>def mp4(self, mp4):<DEDENT>
|
self._mp4 = mp4<EOL>
|
Sets the mp4 of this GifImagesFixedWidth.
The URL for this GIF in .MP4 format.
:param mp4: The mp4 of this GifImagesFixedWidth.
:type: str
|
f3048:c0:m10
|
@property<EOL><INDENT>def mp4_size(self):<DEDENT>
|
return self._mp4_size<EOL>
|
Gets the mp4_size of this GifImagesFixedWidth.
The size in bytes of the .MP4 file corresponding to this GIF.
:return: The mp4_size of this GifImagesFixedWidth.
:rtype: str
|
f3048:c0:m11
|
@mp4_size.setter<EOL><INDENT>def mp4_size(self, mp4_size):<DEDENT>
|
self._mp4_size = mp4_size<EOL>
|
Sets the mp4_size of this GifImagesFixedWidth.
The size in bytes of the .MP4 file corresponding to this GIF.
:param mp4_size: The mp4_size of this GifImagesFixedWidth.
:type: str
|
f3048:c0:m12
|
@property<EOL><INDENT>def webp(self):<DEDENT>
|
return self._webp<EOL>
|
Gets the webp of this GifImagesFixedWidth.
The URL for this GIF in .webp format.
:return: The webp of this GifImagesFixedWidth.
:rtype: str
|
f3048:c0:m13
|
@webp.setter<EOL><INDENT>def webp(self, webp):<DEDENT>
|
self._webp = webp<EOL>
|
Sets the webp of this GifImagesFixedWidth.
The URL for this GIF in .webp format.
:param webp: The webp of this GifImagesFixedWidth.
:type: str
|
f3048:c0:m14
|
@property<EOL><INDENT>def webp_size(self):<DEDENT>
|
return self._webp_size<EOL>
|
Gets the webp_size of this GifImagesFixedWidth.
The size in bytes of the .webp file corresponding to this GIF.
:return: The webp_size of this GifImagesFixedWidth.
:rtype: str
|
f3048:c0:m15
|
@webp_size.setter<EOL><INDENT>def webp_size(self, webp_size):<DEDENT>
|
self._webp_size = webp_size<EOL>
|
Sets the webp_size of this GifImagesFixedWidth.
The size in bytes of the .webp file corresponding to this GIF.
:param webp_size: The webp_size of this GifImagesFixedWidth.
:type: str
|
f3048:c0:m16
|
def to_dict(self):
|
result = {}<EOL>for attr, _ in iteritems(self.swagger_types):<EOL><INDENT>value = getattr(self, attr)<EOL>if isinstance(value, list):<EOL><INDENT>result[attr] = list(map(<EOL>lambda x: x.to_dict() if hasattr(x, "<STR_LIT>") else x,<EOL>value<EOL>))<EOL><DEDENT>elif hasattr(value, "<STR_LIT>"):<EOL><INDENT>result[attr] = value.to_dict()<EOL><DEDENT>elif isinstance(value, dict):<EOL><INDENT>result[attr] = dict(map(<EOL>lambda item: (item[<NUM_LIT:0>], item[<NUM_LIT:1>].to_dict())<EOL>if hasattr(item[<NUM_LIT:1>], "<STR_LIT>") else item,<EOL>value.items()<EOL>))<EOL><DEDENT>else:<EOL><INDENT>result[attr] = value<EOL><DEDENT><DEDENT>return result<EOL>
|
Returns the model properties as a dict
|
f3048:c0:m17
|
def to_str(self):
|
return pformat(self.to_dict())<EOL>
|
Returns the string representation of the model
|
f3048:c0:m18
|
def __repr__(self):
|
return self.to_str()<EOL>
|
For `print` and `pprint`
|
f3048:c0:m19
|
def __eq__(self, other):
|
if not isinstance(other, GifImagesFixedWidth):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL>
|
Returns true if both objects are equal
|
f3048:c0:m20
|
def __ne__(self, other):
|
return not self == other<EOL>
|
Returns true if both objects are not equal
|
f3048:c0:m21
|
def __init__(self, id=None, name_encoded=None, name=None):
|
self.swagger_types = {<EOL>'<STR_LIT:id>': '<STR_LIT:int>',<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT:name>': '<STR_LIT:str>'<EOL>}<EOL>self.attribute_map = {<EOL>'<STR_LIT:id>': '<STR_LIT:id>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT:name>': '<STR_LIT:name>'<EOL>}<EOL>self._id = id<EOL>self._name_encoded = name_encoded<EOL>self._name = name<EOL>
|
TrendingTag - a model defined in Swagger
:param dict swaggerTypes: The key is attribute name
and the value is attribute type.
:param dict attributeMap: The key is attribute name
and the value is json key in definition.
|
f3049:c0:m0
|
@property<EOL><INDENT>def id(self):<DEDENT>
|
return self._id<EOL>
|
Gets the id of this TrendingTag.
:return: The id of this TrendingTag.
:rtype: int
|
f3049:c0:m1
|
@id.setter<EOL><INDENT>def id(self, id):<DEDENT>
|
self._id = id<EOL>
|
Sets the id of this TrendingTag.
:param id: The id of this TrendingTag.
:type: int
|
f3049:c0:m2
|
@property<EOL><INDENT>def name_encoded(self):<DEDENT>
|
return self._name_encoded<EOL>
|
Gets the name_encoded of this TrendingTag.
:return: The name_encoded of this TrendingTag.
:rtype: str
|
f3049:c0:m3
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.