signature
stringlengths 8
3.44k
| body
stringlengths 0
1.41M
| docstring
stringlengths 1
122k
| id
stringlengths 5
17
|
---|---|---|---|
def __eq__(self, other): | if not isinstance(other, GifImagesOriginal):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL> | Returns true if both objects are equal | f3059:c0:m22 |
def __ne__(self, other): | return not self == other<EOL> | Returns true if both objects are not equal | f3059:c0:m23 |
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> | InlineResponse2005 - 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. | f3060:c0:m0 |
@property<EOL><INDENT>def data(self):<DEDENT> | return self._data<EOL> | Gets the data of this InlineResponse2005.
:return: The data of this InlineResponse2005.
:rtype: list[Gif] | f3060:c0:m1 |
@data.setter<EOL><INDENT>def data(self, data):<DEDENT> | self._data = data<EOL> | Sets the data of this InlineResponse2005.
:param data: The data of this InlineResponse2005.
:type: list[Gif] | f3060:c0:m2 |
@property<EOL><INDENT>def pagination(self):<DEDENT> | return self._pagination<EOL> | Gets the pagination of this InlineResponse2005.
:return: The pagination of this InlineResponse2005.
:rtype: Pagination | f3060:c0:m3 |
@pagination.setter<EOL><INDENT>def pagination(self, pagination):<DEDENT> | self._pagination = pagination<EOL> | Sets the pagination of this InlineResponse2005.
:param pagination: The pagination of this InlineResponse2005.
:type: Pagination | f3060:c0:m4 |
@property<EOL><INDENT>def meta(self):<DEDENT> | return self._meta<EOL> | Gets the meta of this InlineResponse2005.
:return: The meta of this InlineResponse2005.
:rtype: MetaContent | f3060:c0:m5 |
@meta.setter<EOL><INDENT>def meta(self, meta):<DEDENT> | self._meta = meta<EOL> | Sets the meta of this InlineResponse2005.
:param meta: The meta of this InlineResponse2005.
:type: MetaContent | f3060: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 | f3060:c0:m7 |
def to_str(self): | return pformat(self.to_dict())<EOL> | Returns the string representation of the model | f3060:c0:m8 |
def __repr__(self): | return self.to_str()<EOL> | For `print` and `pprint` | f3060:c0:m9 |
def __eq__(self, other): | if not isinstance(other, InlineResponse2005):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL> | Returns true if both objects are equal | f3060:c0:m10 |
def __ne__(self, other): | return not self == other<EOL> | Returns true if both objects are not equal | f3060:c0:m11 |
def __init__(self, mp4=None, width=None, height=None, mp4_size=None): | self.swagger_types = {<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT:width>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT:str>'<EOL>}<EOL>self.attribute_map = {<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT:width>': '<STR_LIT:width>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>'<EOL>}<EOL>self._mp4 = mp4<EOL>self._width = width<EOL>self._height = height<EOL>self._mp4_size = mp4_size<EOL> | GifImagesDownsizedSmall - 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. | f3061:c0:m0 |
@property<EOL><INDENT>def mp4(self):<DEDENT> | return self._mp4<EOL> | Gets the mp4 of this GifImagesDownsizedSmall.
The publicly-accessible direct URL for this GIF.
:return: The mp4 of this GifImagesDownsizedSmall.
:rtype: str | f3061:c0:m1 |
@mp4.setter<EOL><INDENT>def mp4(self, mp4):<DEDENT> | self._mp4 = mp4<EOL> | Sets the mp4 of this GifImagesDownsizedSmall.
The publicly-accessible direct URL for this GIF.
:param mp4: The mp4 of this GifImagesDownsizedSmall.
:type: str | f3061:c0:m2 |
@property<EOL><INDENT>def width(self):<DEDENT> | return self._width<EOL> | Gets the width of this GifImagesDownsizedSmall.
The width of this GIF in pixels.
:return: The width of this GifImagesDownsizedSmall.
:rtype: str | f3061:c0:m3 |
@width.setter<EOL><INDENT>def width(self, width):<DEDENT> | self._width = width<EOL> | Sets the width of this GifImagesDownsizedSmall.
The width of this GIF in pixels.
:param width: The width of this GifImagesDownsizedSmall.
:type: str | f3061:c0:m4 |
@property<EOL><INDENT>def height(self):<DEDENT> | return self._height<EOL> | Gets the height of this GifImagesDownsizedSmall.
The height of this GIF in pixels.
:return: The height of this GifImagesDownsizedSmall.
:rtype: str | f3061:c0:m5 |
@height.setter<EOL><INDENT>def height(self, height):<DEDENT> | self._height = height<EOL> | Sets the height of this GifImagesDownsizedSmall.
The height of this GIF in pixels.
:param height: The height of this GifImagesDownsizedSmall.
:type: str | f3061:c0:m6 |
@property<EOL><INDENT>def mp4_size(self):<DEDENT> | return self._mp4_size<EOL> | Gets the mp4_size of this GifImagesDownsizedSmall.
The size of this GIF in bytes.
:return: The mp4_size of this GifImagesDownsizedSmall.
:rtype: str | f3061:c0:m7 |
@mp4_size.setter<EOL><INDENT>def mp4_size(self, mp4_size):<DEDENT> | self._mp4_size = mp4_size<EOL> | Sets the mp4_size of this GifImagesDownsizedSmall.
The size of this GIF in bytes.
:param mp4_size: The mp4_size of this GifImagesDownsizedSmall.
:type: str | f3061:c0:m8 |
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 | f3061:c0:m9 |
def to_str(self): | return pformat(self.to_dict())<EOL> | Returns the string representation of the model | f3061:c0:m10 |
def __repr__(self): | return self.to_str()<EOL> | For `print` and `pprint` | f3061:c0:m11 |
def __eq__(self, other): | if not isinstance(other, GifImagesDownsizedSmall):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL> | Returns true if both objects are equal | f3061:c0:m12 |
def __ne__(self, other): | return not self == other<EOL> | Returns true if both objects are not equal | f3061:c0:m13 |
def __init__(self, data=None, pagination=None): | self.swagger_types = {<EOL>'<STR_LIT:data>': '<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>}<EOL>self._data = data<EOL>self._pagination = pagination<EOL> | ChannelWithChildrenModelChildren - 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. | f3062:c0:m0 |
@property<EOL><INDENT>def data(self):<DEDENT> | return self._data<EOL> | Gets the data of this ChannelWithChildrenModelChildren.
:return: The data of this ChannelWithChildrenModelChildren.
:rtype: list[LastChildModel] | f3062:c0:m1 |
@data.setter<EOL><INDENT>def data(self, data):<DEDENT> | self._data = data<EOL> | Sets the data of this ChannelWithChildrenModelChildren.
:param data: The data of this ChannelWithChildrenModelChildren.
:type: list[LastChildModel] | f3062:c0:m2 |
@property<EOL><INDENT>def pagination(self):<DEDENT> | return self._pagination<EOL> | Gets the pagination of this ChannelWithChildrenModelChildren.
:return: The pagination of this ChannelWithChildrenModelChildren.
:rtype: Pagination | f3062:c0:m3 |
@pagination.setter<EOL><INDENT>def pagination(self, pagination):<DEDENT> | self._pagination = pagination<EOL> | Sets the pagination of this ChannelWithChildrenModelChildren.
:param pagination: The pagination of this ChannelWithChildrenModelChildren.
:type: Pagination | f3062:c0:m4 |
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 | f3062:c0:m5 |
def to_str(self): | return pformat(self.to_dict())<EOL> | Returns the string representation of the model | f3062:c0:m6 |
def __repr__(self): | return self.to_str()<EOL> | For `print` and `pprint` | f3062:c0:m7 |
def __eq__(self, other): | if not isinstance(other, ChannelWithChildrenModelChildren):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL> | Returns true if both objects are equal | f3062:c0:m8 |
def __ne__(self, other): | return not self == other<EOL> | Returns true if both objects are not equal | f3062:c0:m9 |
def __init__(self, url=None, id=None, name=None): | self.swagger_types = {<EOL>'<STR_LIT:url>': '<STR_LIT:str>',<EOL>'<STR_LIT:id>': '<STR_LIT:int>',<EOL>'<STR_LIT:name>': '<STR_LIT:str>'<EOL>}<EOL>self.attribute_map = {<EOL>'<STR_LIT:url>': '<STR_LIT:url>',<EOL>'<STR_LIT:id>': '<STR_LIT:id>',<EOL>'<STR_LIT:name>': '<STR_LIT:name>'<EOL>}<EOL>self._url = url<EOL>self._id = id<EOL>self._name = name<EOL> | Breadcrumb - 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. | f3063:c0:m0 |
@property<EOL><INDENT>def url(self):<DEDENT> | return self._url<EOL> | Gets the url of this Breadcrumb.
:return: The url of this Breadcrumb.
:rtype: str | f3063:c0:m1 |
@url.setter<EOL><INDENT>def url(self, url):<DEDENT> | self._url = url<EOL> | Sets the url of this Breadcrumb.
:param url: The url of this Breadcrumb.
:type: str | f3063:c0:m2 |
@property<EOL><INDENT>def id(self):<DEDENT> | return self._id<EOL> | Gets the id of this Breadcrumb.
:return: The id of this Breadcrumb.
:rtype: int | f3063:c0:m3 |
@id.setter<EOL><INDENT>def id(self, id):<DEDENT> | self._id = id<EOL> | Sets the id of this Breadcrumb.
:param id: The id of this Breadcrumb.
:type: int | f3063:c0:m4 |
@property<EOL><INDENT>def name(self):<DEDENT> | return self._name<EOL> | Gets the name of this Breadcrumb.
:return: The name of this Breadcrumb.
:rtype: str | f3063:c0:m5 |
@name.setter<EOL><INDENT>def name(self, name):<DEDENT> | self._name = name<EOL> | Sets the name of this Breadcrumb.
:param name: The name of this Breadcrumb.
:type: str | f3063: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 | f3063:c0:m7 |
def to_str(self): | return pformat(self.to_dict())<EOL> | Returns the string representation of the model | f3063:c0:m8 |
def __repr__(self): | return self.to_str()<EOL> | For `print` and `pprint` | f3063:c0:m9 |
def __eq__(self, other): | if not isinstance(other, Breadcrumb):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL> | Returns true if both objects are equal | f3063:c0:m10 |
def __ne__(self, other): | return not self == other<EOL> | Returns true if both objects are not equal | f3063:c0:m11 |
def __init__(self, meta=None): | self.swagger_types = {<EOL>'<STR_LIT>': '<STR_LIT>'<EOL>}<EOL>self.attribute_map = {<EOL>'<STR_LIT>': '<STR_LIT>'<EOL>}<EOL>self._meta = meta<EOL> | MetaObject - 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. | f3064:c0:m0 |
@property<EOL><INDENT>def meta(self):<DEDENT> | return self._meta<EOL> | Gets the meta of this MetaObject.
:return: The meta of this MetaObject.
:rtype: MetaContent | f3064:c0:m1 |
@meta.setter<EOL><INDENT>def meta(self, meta):<DEDENT> | self._meta = meta<EOL> | Sets the meta of this MetaObject.
:param meta: The meta of this MetaObject.
:type: MetaContent | f3064:c0:m2 |
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 | f3064:c0:m3 |
def to_str(self): | return pformat(self.to_dict())<EOL> | Returns the string representation of the model | f3064:c0:m4 |
def __repr__(self): | return self.to_str()<EOL> | For `print` and `pprint` | f3064:c0:m5 |
def __eq__(self, other): | if not isinstance(other, MetaObject):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL> | Returns true if both objects are equal | f3064:c0:m6 |
def __ne__(self, other): | return not self == other<EOL> | Returns true if both objects are not equal | f3064:c0:m7 |
def __init__(self, offset=None, total_count=None, count=None): | self.swagger_types = {<EOL>'<STR_LIT>': '<STR_LIT:int>',<EOL>'<STR_LIT>': '<STR_LIT:int>',<EOL>'<STR_LIT:count>': '<STR_LIT:int>'<EOL>}<EOL>self.attribute_map = {<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT:count>': '<STR_LIT:count>'<EOL>}<EOL>self._offset = offset<EOL>self._total_count = total_count<EOL>self._count = count<EOL> | Pagination - 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. | f3065:c0:m0 |
@property<EOL><INDENT>def offset(self):<DEDENT> | return self._offset<EOL> | Gets the offset of this Pagination.
Position in pagination.
:return: The offset of this Pagination.
:rtype: int | f3065:c0:m1 |
@offset.setter<EOL><INDENT>def offset(self, offset):<DEDENT> | self._offset = offset<EOL> | Sets the offset of this Pagination.
Position in pagination.
:param offset: The offset of this Pagination.
:type: int | f3065:c0:m2 |
@property<EOL><INDENT>def total_count(self):<DEDENT> | return self._total_count<EOL> | Gets the total_count of this Pagination.
Total number of items available.
:return: The total_count of this Pagination.
:rtype: int | f3065:c0:m3 |
@total_count.setter<EOL><INDENT>def total_count(self, total_count):<DEDENT> | self._total_count = total_count<EOL> | Sets the total_count of this Pagination.
Total number of items available.
:param total_count: The total_count of this Pagination.
:type: int | f3065:c0:m4 |
@property<EOL><INDENT>def count(self):<DEDENT> | return self._count<EOL> | Gets the count of this Pagination.
Total number of items returned.
:return: The count of this Pagination.
:rtype: int | f3065:c0:m5 |
@count.setter<EOL><INDENT>def count(self, count):<DEDENT> | self._count = count<EOL> | Sets the count of this Pagination.
Total number of items returned.
:param count: The count of this Pagination.
:type: int | f3065: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 | f3065:c0:m7 |
def to_str(self): | return pformat(self.to_dict())<EOL> | Returns the string representation of the model | f3065:c0:m8 |
def __repr__(self): | return self.to_str()<EOL> | For `print` and `pprint` | f3065:c0:m9 |
def __eq__(self, other): | if not isinstance(other, Pagination):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL> | Returns true if both objects are equal | f3065:c0:m10 |
def __ne__(self, other): | return not self == other<EOL> | Returns true if both objects are not equal | f3065: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> | GifImagesFixedWidthSmall - 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. | f3067:c0:m0 |
@property<EOL><INDENT>def url(self):<DEDENT> | return self._url<EOL> | Gets the url of this GifImagesFixedWidthSmall.
The publicly-accessible direct URL for this GIF.
:return: The url of this GifImagesFixedWidthSmall.
:rtype: str | f3067:c0:m1 |
@url.setter<EOL><INDENT>def url(self, url):<DEDENT> | self._url = url<EOL> | Sets the url of this GifImagesFixedWidthSmall.
The publicly-accessible direct URL for this GIF.
:param url: The url of this GifImagesFixedWidthSmall.
:type: str | f3067:c0:m2 |
@property<EOL><INDENT>def width(self):<DEDENT> | return self._width<EOL> | Gets the width of this GifImagesFixedWidthSmall.
The width of this GIF in pixels.
:return: The width of this GifImagesFixedWidthSmall.
:rtype: str | f3067:c0:m3 |
@width.setter<EOL><INDENT>def width(self, width):<DEDENT> | self._width = width<EOL> | Sets the width of this GifImagesFixedWidthSmall.
The width of this GIF in pixels.
:param width: The width of this GifImagesFixedWidthSmall.
:type: str | f3067:c0:m4 |
@property<EOL><INDENT>def height(self):<DEDENT> | return self._height<EOL> | Gets the height of this GifImagesFixedWidthSmall.
The height of this GIF in pixels.
:return: The height of this GifImagesFixedWidthSmall.
:rtype: str | f3067:c0:m5 |
@height.setter<EOL><INDENT>def height(self, height):<DEDENT> | self._height = height<EOL> | Sets the height of this GifImagesFixedWidthSmall.
The height of this GIF in pixels.
:param height: The height of this GifImagesFixedWidthSmall.
:type: str | f3067:c0:m6 |
@property<EOL><INDENT>def size(self):<DEDENT> | return self._size<EOL> | Gets the size of this GifImagesFixedWidthSmall.
The size of this GIF in bytes.
:return: The size of this GifImagesFixedWidthSmall.
:rtype: str | f3067:c0:m7 |
@size.setter<EOL><INDENT>def size(self, size):<DEDENT> | self._size = size<EOL> | Sets the size of this GifImagesFixedWidthSmall.
The size of this GIF in bytes.
:param size: The size of this GifImagesFixedWidthSmall.
:type: str | f3067:c0:m8 |
@property<EOL><INDENT>def mp4(self):<DEDENT> | return self._mp4<EOL> | Gets the mp4 of this GifImagesFixedWidthSmall.
The URL for this GIF in .MP4 format.
:return: The mp4 of this GifImagesFixedWidthSmall.
:rtype: str | f3067:c0:m9 |
@mp4.setter<EOL><INDENT>def mp4(self, mp4):<DEDENT> | self._mp4 = mp4<EOL> | Sets the mp4 of this GifImagesFixedWidthSmall.
The URL for this GIF in .MP4 format.
:param mp4: The mp4 of this GifImagesFixedWidthSmall.
:type: str | f3067:c0:m10 |
@property<EOL><INDENT>def mp4_size(self):<DEDENT> | return self._mp4_size<EOL> | Gets the mp4_size of this GifImagesFixedWidthSmall.
The size in bytes of the .MP4 file corresponding to this GIF.
:return: The mp4_size of this GifImagesFixedWidthSmall.
:rtype: str | f3067: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 GifImagesFixedWidthSmall.
The size in bytes of the .MP4 file corresponding to this GIF.
:param mp4_size: The mp4_size of this GifImagesFixedWidthSmall.
:type: str | f3067:c0:m12 |
@property<EOL><INDENT>def webp(self):<DEDENT> | return self._webp<EOL> | Gets the webp of this GifImagesFixedWidthSmall.
The URL for this GIF in .webp format.
:return: The webp of this GifImagesFixedWidthSmall.
:rtype: str | f3067:c0:m13 |
@webp.setter<EOL><INDENT>def webp(self, webp):<DEDENT> | self._webp = webp<EOL> | Sets the webp of this GifImagesFixedWidthSmall.
The URL for this GIF in .webp format.
:param webp: The webp of this GifImagesFixedWidthSmall.
:type: str | f3067:c0:m14 |
@property<EOL><INDENT>def webp_size(self):<DEDENT> | return self._webp_size<EOL> | Gets the webp_size of this GifImagesFixedWidthSmall.
The size in bytes of the .webp file corresponding to this GIF.
:return: The webp_size of this GifImagesFixedWidthSmall.
:rtype: str | f3067: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 GifImagesFixedWidthSmall.
The size in bytes of the .webp file corresponding to this GIF.
:param webp_size: The webp_size of this GifImagesFixedWidthSmall.
:type: str | f3067: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 | f3067:c0:m17 |
def to_str(self): | return pformat(self.to_dict())<EOL> | Returns the string representation of the model | f3067:c0:m18 |
def __repr__(self): | return self.to_str()<EOL> | For `print` and `pprint` | f3067:c0:m19 |
def __eq__(self, other): | if not isinstance(other, GifImagesFixedWidthSmall):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL> | Returns true if both objects are equal | f3067:c0:m20 |
def __ne__(self, other): | return not self == other<EOL> | Returns true if both objects are not equal | f3067:c0:m21 |
def __init__(self, data=None, pagination=None): | self.swagger_types = {<EOL>'<STR_LIT:data>': '<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>}<EOL>self._data = data<EOL>self._pagination = pagination<EOL> | BaseChannelModelGifs - 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. | f3068:c0:m0 |
@property<EOL><INDENT>def data(self):<DEDENT> | return self._data<EOL> | Gets the data of this BaseChannelModelGifs.
:return: The data of this BaseChannelModelGifs.
:rtype: list[Gif] | f3068:c0:m1 |
@data.setter<EOL><INDENT>def data(self, data):<DEDENT> | self._data = data<EOL> | Sets the data of this BaseChannelModelGifs.
:param data: The data of this BaseChannelModelGifs.
:type: list[Gif] | f3068:c0:m2 |
@property<EOL><INDENT>def pagination(self):<DEDENT> | return self._pagination<EOL> | Gets the pagination of this BaseChannelModelGifs.
:return: The pagination of this BaseChannelModelGifs.
:rtype: Pagination | f3068:c0:m3 |
@pagination.setter<EOL><INDENT>def pagination(self, pagination):<DEDENT> | self._pagination = pagination<EOL> | Sets the pagination of this BaseChannelModelGifs.
:param pagination: The pagination of this BaseChannelModelGifs.
:type: Pagination | f3068:c0:m4 |
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 | f3068:c0:m5 |
def to_str(self): | return pformat(self.to_dict())<EOL> | Returns the string representation of the model | f3068:c0:m6 |
def __repr__(self): | return self.to_str()<EOL> | For `print` and `pprint` | f3068:c0:m7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.