signature
stringlengths 8
3.44k
| body
stringlengths 0
1.41M
| docstring
stringlengths 1
122k
| id
stringlengths 5
17
|
---|---|---|---|
@slug.setter<EOL><INDENT>def slug(self, slug):<DEDENT> | self._slug = slug<EOL> | Sets the slug of this LastChildModel.
:param slug: The slug of this LastChildModel.
:type: str | f3039:c0:m14 |
@property<EOL><INDENT>def title(self):<DEDENT> | return self._title<EOL> | Gets the title of this LastChildModel.
xyz
:return: The title of this LastChildModel.
:rtype: str | f3039:c0:m15 |
@title.setter<EOL><INDENT>def title(self, title):<DEDENT> | self._title = title<EOL> | Sets the title of this LastChildModel.
xyz
:param title: The title of this LastChildModel.
:type: str | f3039:c0:m16 |
@property<EOL><INDENT>def short_title(self):<DEDENT> | return self._short_title<EOL> | Gets the short_title of this LastChildModel.
xyz
:return: The short_title of this LastChildModel.
:rtype: str | f3039:c0:m17 |
@short_title.setter<EOL><INDENT>def short_title(self, short_title):<DEDENT> | self._short_title = short_title<EOL> | Sets the short_title of this LastChildModel.
xyz
:param short_title: The short_title of this LastChildModel.
:type: str | f3039:c0:m18 |
@property<EOL><INDENT>def description(self):<DEDENT> | return self._description<EOL> | Gets the description of this LastChildModel.
xyz
:return: The description of this LastChildModel.
:rtype: str | f3039:c0:m19 |
@description.setter<EOL><INDENT>def description(self, description):<DEDENT> | self._description = description<EOL> | Sets the description of this LastChildModel.
xyz
:param description: The description of this LastChildModel.
:type: str | f3039:c0:m20 |
@property<EOL><INDENT>def featured_gif(self):<DEDENT> | return self._featured_gif<EOL> | Gets the featured_gif of this LastChildModel.
:return: The featured_gif of this LastChildModel.
:rtype: Gif | f3039:c0:m21 |
@featured_gif.setter<EOL><INDENT>def featured_gif(self, featured_gif):<DEDENT> | self._featured_gif = featured_gif<EOL> | Sets the featured_gif of this LastChildModel.
:param featured_gif: The featured_gif of this LastChildModel.
:type: Gif | f3039:c0:m22 |
@property<EOL><INDENT>def banner_image(self):<DEDENT> | return self._banner_image<EOL> | Gets the banner_image of this LastChildModel.
xyz
:return: The banner_image of this LastChildModel.
:rtype: str | f3039:c0:m23 |
@banner_image.setter<EOL><INDENT>def banner_image(self, banner_image):<DEDENT> | self._banner_image = banner_image<EOL> | Sets the banner_image of this LastChildModel.
xyz
:param banner_image: The banner_image of this LastChildModel.
:type: str | f3039:c0:m24 |
@property<EOL><INDENT>def avatar_image(self):<DEDENT> | return self._avatar_image<EOL> | Gets the avatar_image of this LastChildModel.
xyz
:return: The avatar_image of this LastChildModel.
:rtype: str | f3039:c0:m25 |
@avatar_image.setter<EOL><INDENT>def avatar_image(self, avatar_image):<DEDENT> | self._avatar_image = avatar_image<EOL> | Sets the avatar_image of this LastChildModel.
xyz
:param avatar_image: The avatar_image of this LastChildModel.
:type: str | f3039:c0:m26 |
@property<EOL><INDENT>def screensaver_gif(self):<DEDENT> | return self._screensaver_gif<EOL> | Gets the screensaver_gif of this LastChildModel.
:return: The screensaver_gif of this LastChildModel.
:rtype: Gif | f3039:c0:m27 |
@screensaver_gif.setter<EOL><INDENT>def screensaver_gif(self, screensaver_gif):<DEDENT> | self._screensaver_gif = screensaver_gif<EOL> | Sets the screensaver_gif of this LastChildModel.
:param screensaver_gif: The screensaver_gif of this LastChildModel.
:type: Gif | f3039:c0:m28 |
@property<EOL><INDENT>def is_private(self):<DEDENT> | return self._is_private<EOL> | Gets the is_private of this LastChildModel.
:return: The is_private of this LastChildModel.
:rtype: bool | f3039:c0:m29 |
@is_private.setter<EOL><INDENT>def is_private(self, is_private):<DEDENT> | self._is_private = is_private<EOL> | Sets the is_private of this LastChildModel.
:param is_private: The is_private of this LastChildModel.
:type: bool | f3039:c0:m30 |
@property<EOL><INDENT>def is_live(self):<DEDENT> | return self._is_live<EOL> | Gets the is_live of this LastChildModel.
:return: The is_live of this LastChildModel.
:rtype: bool | f3039:c0:m31 |
@is_live.setter<EOL><INDENT>def is_live(self, is_live):<DEDENT> | self._is_live = is_live<EOL> | Sets the is_live of this LastChildModel.
:param is_live: The is_live of this LastChildModel.
:type: bool | f3039:c0:m32 |
@property<EOL><INDENT>def event_start_datetime(self):<DEDENT> | return self._event_start_datetime<EOL> | Gets the event_start_datetime of this LastChildModel.
xyz
:return: The event_start_datetime of this LastChildModel.
:rtype: str | f3039:c0:m33 |
@event_start_datetime.setter<EOL><INDENT>def event_start_datetime(self, event_start_datetime):<DEDENT> | self._event_start_datetime = event_start_datetime<EOL> | Sets the event_start_datetime of this LastChildModel.
xyz
:param event_start_datetime: The event_start_datetime of this LastChildModel.
:type: str | f3039:c0:m34 |
@property<EOL><INDENT>def event_end_datetime(self):<DEDENT> | return self._event_end_datetime<EOL> | Gets the event_end_datetime of this LastChildModel.
xyz
:return: The event_end_datetime of this LastChildModel.
:rtype: str | f3039:c0:m35 |
@event_end_datetime.setter<EOL><INDENT>def event_end_datetime(self, event_end_datetime):<DEDENT> | self._event_end_datetime = event_end_datetime<EOL> | Sets the event_end_datetime of this LastChildModel.
xyz
:param event_end_datetime: The event_end_datetime of this LastChildModel.
:type: str | f3039:c0:m36 |
@property<EOL><INDENT>def has_children(self):<DEDENT> | return self._has_children<EOL> | Gets the has_children of this LastChildModel.
:return: The has_children of this LastChildModel.
:rtype: bool | f3039:c0:m37 |
@has_children.setter<EOL><INDENT>def has_children(self, has_children):<DEDENT> | self._has_children = has_children<EOL> | Sets the has_children of this LastChildModel.
:param has_children: The has_children of this LastChildModel.
:type: bool | f3039:c0:m38 |
@property<EOL><INDENT>def url(self):<DEDENT> | return self._url<EOL> | Gets the url of this LastChildModel.
xyz
:return: The url of this LastChildModel.
:rtype: str | f3039:c0:m39 |
@url.setter<EOL><INDENT>def url(self, url):<DEDENT> | self._url = url<EOL> | Sets the url of this LastChildModel.
xyz
:param url: The url of this LastChildModel.
:type: str | f3039:c0:m40 |
@property<EOL><INDENT>def website_url(self):<DEDENT> | return self._website_url<EOL> | Gets the website_url of this LastChildModel.
xyz
:return: The website_url of this LastChildModel.
:rtype: str | f3039:c0:m41 |
@website_url.setter<EOL><INDENT>def website_url(self, website_url):<DEDENT> | self._website_url = website_url<EOL> | Sets the website_url of this LastChildModel.
xyz
:param website_url: The website_url of this LastChildModel.
:type: str | f3039:c0:m42 |
@property<EOL><INDENT>def instagram_url(self):<DEDENT> | return self._instagram_url<EOL> | Gets the instagram_url of this LastChildModel.
xyz
:return: The instagram_url of this LastChildModel.
:rtype: str | f3039:c0:m43 |
@instagram_url.setter<EOL><INDENT>def instagram_url(self, instagram_url):<DEDENT> | self._instagram_url = instagram_url<EOL> | Sets the instagram_url of this LastChildModel.
xyz
:param instagram_url: The instagram_url of this LastChildModel.
:type: str | f3039:c0:m44 |
@property<EOL><INDENT>def twitter_url(self):<DEDENT> | return self._twitter_url<EOL> | Gets the twitter_url of this LastChildModel.
xyz
:return: The twitter_url of this LastChildModel.
:rtype: str | f3039:c0:m45 |
@twitter_url.setter<EOL><INDENT>def twitter_url(self, twitter_url):<DEDENT> | self._twitter_url = twitter_url<EOL> | Sets the twitter_url of this LastChildModel.
xyz
:param twitter_url: The twitter_url of this LastChildModel.
:type: str | f3039:c0:m46 |
@property<EOL><INDENT>def facebook_url(self):<DEDENT> | return self._facebook_url<EOL> | Gets the facebook_url of this LastChildModel.
xyz
:return: The facebook_url of this LastChildModel.
:rtype: str | f3039:c0:m47 |
@facebook_url.setter<EOL><INDENT>def facebook_url(self, facebook_url):<DEDENT> | self._facebook_url = facebook_url<EOL> | Sets the facebook_url of this LastChildModel.
xyz
:param facebook_url: The facebook_url of this LastChildModel.
:type: str | f3039:c0:m48 |
@property<EOL><INDENT>def pinterest_url(self):<DEDENT> | return self._pinterest_url<EOL> | Gets the pinterest_url of this LastChildModel.
xyz
:return: The pinterest_url of this LastChildModel.
:rtype: str | f3039:c0:m49 |
@pinterest_url.setter<EOL><INDENT>def pinterest_url(self, pinterest_url):<DEDENT> | self._pinterest_url = pinterest_url<EOL> | Sets the pinterest_url of this LastChildModel.
xyz
:param pinterest_url: The pinterest_url of this LastChildModel.
:type: str | f3039:c0:m50 |
@property<EOL><INDENT>def tumblr_url(self):<DEDENT> | return self._tumblr_url<EOL> | Gets the tumblr_url of this LastChildModel.
xyz
:return: The tumblr_url of this LastChildModel.
:rtype: str | f3039:c0:m51 |
@tumblr_url.setter<EOL><INDENT>def tumblr_url(self, tumblr_url):<DEDENT> | self._tumblr_url = tumblr_url<EOL> | Sets the tumblr_url of this LastChildModel.
xyz
:param tumblr_url: The tumblr_url of this LastChildModel.
:type: str | f3039:c0:m52 |
@property<EOL><INDENT>def user(self):<DEDENT> | return self._user<EOL> | Gets the user of this LastChildModel.
:return: The user of this LastChildModel.
:rtype: User | f3039:c0:m53 |
@user.setter<EOL><INDENT>def user(self, user):<DEDENT> | self._user = user<EOL> | Sets the user of this LastChildModel.
:param user: The user of this LastChildModel.
:type: User | f3039:c0:m54 |
@property<EOL><INDENT>def trending_tags(self):<DEDENT> | return self._trending_tags<EOL> | Gets the trending_tags of this LastChildModel.
:return: The trending_tags of this LastChildModel.
:rtype: list[TrendingTag] | f3039:c0:m55 |
@trending_tags.setter<EOL><INDENT>def trending_tags(self, trending_tags):<DEDENT> | self._trending_tags = trending_tags<EOL> | Sets the trending_tags of this LastChildModel.
:param trending_tags: The trending_tags of this LastChildModel.
:type: list[TrendingTag] | f3039:c0:m56 |
@property<EOL><INDENT>def gifs(self):<DEDENT> | return self._gifs<EOL> | Gets the gifs of this LastChildModel.
:return: The gifs of this LastChildModel.
:rtype: BaseChannelModelGifs | f3039:c0:m57 |
@gifs.setter<EOL><INDENT>def gifs(self, gifs):<DEDENT> | self._gifs = gifs<EOL> | Sets the gifs of this LastChildModel.
:param gifs: The gifs of this LastChildModel.
:type: BaseChannelModelGifs | f3039:c0:m58 |
@property<EOL><INDENT>def children(self):<DEDENT> | return self._children<EOL> | Gets the children of this LastChildModel.
:return: The children of this LastChildModel.
:rtype: LastChildModelChildren | f3039:c0:m59 |
@children.setter<EOL><INDENT>def children(self, children):<DEDENT> | self._children = children<EOL> | Sets the children of this LastChildModel.
:param children: The children of this LastChildModel.
:type: LastChildModelChildren | f3039:c0:m60 |
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 | f3039:c0:m61 |
def to_str(self): | return pformat(self.to_dict())<EOL> | Returns the string representation of the model | f3039:c0:m62 |
def __repr__(self): | return self.to_str()<EOL> | For `print` and `pprint` | f3039:c0:m63 |
def __eq__(self, other): | if not isinstance(other, LastChildModel):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL> | Returns true if both objects are equal | f3039:c0:m64 |
def __ne__(self, other): | return not self == other<EOL> | Returns true if both objects are not equal | f3039:c0:m65 |
def __init__(self, data=None, meta=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._meta = meta<EOL> | InlineResponse2002 - 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. | f3040:c0:m0 |
@property<EOL><INDENT>def data(self):<DEDENT> | return self._data<EOL> | Gets the data of this InlineResponse2002.
:return: The data of this InlineResponse2002.
:rtype: RandomGif | f3040:c0:m1 |
@data.setter<EOL><INDENT>def data(self, data):<DEDENT> | self._data = data<EOL> | Sets the data of this InlineResponse2002.
:param data: The data of this InlineResponse2002.
:type: RandomGif | f3040:c0:m2 |
@property<EOL><INDENT>def meta(self):<DEDENT> | return self._meta<EOL> | Gets the meta of this InlineResponse2002.
:return: The meta of this InlineResponse2002.
:rtype: MetaContent | f3040:c0:m3 |
@meta.setter<EOL><INDENT>def meta(self, meta):<DEDENT> | self._meta = meta<EOL> | Sets the meta of this InlineResponse2002.
:param meta: The meta of this InlineResponse2002.
:type: MetaContent | f3040: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 | f3040:c0:m5 |
def to_str(self): | return pformat(self.to_dict())<EOL> | Returns the string representation of the model | f3040:c0:m6 |
def __repr__(self): | return self.to_str()<EOL> | For `print` and `pprint` | f3040:c0:m7 |
def __eq__(self, other): | if not isinstance(other, InlineResponse2002):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL> | Returns true if both objects are equal | f3040:c0:m8 |
def __ne__(self, other): | return not self == other<EOL> | Returns true if both objects are not equal | f3040:c0:m9 |
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> | InlineResponse200 - 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. | f3041:c0:m0 |
@property<EOL><INDENT>def data(self):<DEDENT> | return self._data<EOL> | Gets the data of this InlineResponse200.
:return: The data of this InlineResponse200.
:rtype: list[Gif] | f3041:c0:m1 |
@data.setter<EOL><INDENT>def data(self, data):<DEDENT> | self._data = data<EOL> | Sets the data of this InlineResponse200.
:param data: The data of this InlineResponse200.
:type: list[Gif] | f3041:c0:m2 |
@property<EOL><INDENT>def pagination(self):<DEDENT> | return self._pagination<EOL> | Gets the pagination of this InlineResponse200.
:return: The pagination of this InlineResponse200.
:rtype: Pagination | f3041:c0:m3 |
@pagination.setter<EOL><INDENT>def pagination(self, pagination):<DEDENT> | self._pagination = pagination<EOL> | Sets the pagination of this InlineResponse200.
:param pagination: The pagination of this InlineResponse200.
:type: Pagination | f3041:c0:m4 |
@property<EOL><INDENT>def meta(self):<DEDENT> | return self._meta<EOL> | Gets the meta of this InlineResponse200.
:return: The meta of this InlineResponse200.
:rtype: MetaContent | f3041:c0:m5 |
@meta.setter<EOL><INDENT>def meta(self, meta):<DEDENT> | self._meta = meta<EOL> | Sets the meta of this InlineResponse200.
:param meta: The meta of this InlineResponse200.
:type: MetaContent | f3041: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 | f3041:c0:m7 |
def to_str(self): | return pformat(self.to_dict())<EOL> | Returns the string representation of the model | f3041:c0:m8 |
def __repr__(self): | return self.to_str()<EOL> | For `print` and `pprint` | f3041:c0:m9 |
def __eq__(self, other): | if not isinstance(other, InlineResponse200):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL> | Returns true if both objects are equal | f3041:c0:m10 |
def __ne__(self, other): | return not self == other<EOL> | Returns true if both objects are not equal | f3041:c0:m11 |
def __init__(self, mp4=None): | self.swagger_types = {<EOL>'<STR_LIT>': '<STR_LIT:str>'<EOL>}<EOL>self.attribute_map = {<EOL>'<STR_LIT>': '<STR_LIT>'<EOL>}<EOL>self._mp4 = mp4<EOL> | GifImagesLooping - 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. | f3042:c0:m0 |
@property<EOL><INDENT>def mp4(self):<DEDENT> | return self._mp4<EOL> | Gets the mp4 of this GifImagesLooping.
The URL for this GIF in .MP4 format.
:return: The mp4 of this GifImagesLooping.
:rtype: str | f3042:c0:m1 |
@mp4.setter<EOL><INDENT>def mp4(self, mp4):<DEDENT> | self._mp4 = mp4<EOL> | Sets the mp4 of this GifImagesLooping.
The URL for this GIF in .MP4 format.
:param mp4: The mp4 of this GifImagesLooping.
:type: str | f3042: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 | f3042:c0:m3 |
def to_str(self): | return pformat(self.to_dict())<EOL> | Returns the string representation of the model | f3042:c0:m4 |
def __repr__(self): | return self.to_str()<EOL> | For `print` and `pprint` | f3042:c0:m5 |
def __eq__(self, other): | if not isinstance(other, GifImagesLooping):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL> | Returns true if both objects are equal | f3042:c0:m6 |
def __ne__(self, other): | return not self == other<EOL> | Returns true if both objects are not equal | f3042:c0:m7 |
def __init__(self, data=None, meta=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._meta = meta<EOL> | InlineResponse2001 - 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. | f3043:c0:m0 |
@property<EOL><INDENT>def data(self):<DEDENT> | return self._data<EOL> | Gets the data of this InlineResponse2001.
:return: The data of this InlineResponse2001.
:rtype: Gif | f3043:c0:m1 |
@data.setter<EOL><INDENT>def data(self, data):<DEDENT> | self._data = data<EOL> | Sets the data of this InlineResponse2001.
:param data: The data of this InlineResponse2001.
:type: Gif | f3043:c0:m2 |
@property<EOL><INDENT>def meta(self):<DEDENT> | return self._meta<EOL> | Gets the meta of this InlineResponse2001.
:return: The meta of this InlineResponse2001.
:rtype: MetaContent | f3043:c0:m3 |
@meta.setter<EOL><INDENT>def meta(self, meta):<DEDENT> | self._meta = meta<EOL> | Sets the meta of this InlineResponse2001.
:param meta: The meta of this InlineResponse2001.
:type: MetaContent | f3043: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 | f3043:c0:m5 |
def to_str(self): | return pformat(self.to_dict())<EOL> | Returns the string representation of the model | f3043:c0:m6 |
def __repr__(self): | return self.to_str()<EOL> | For `print` and `pprint` | f3043:c0:m7 |
def __eq__(self, other): | if not isinstance(other, InlineResponse2001):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL> | Returns true if both objects are equal | f3043:c0:m8 |
def __ne__(self, other): | return not self == other<EOL> | Returns true if both objects are not equal | f3043:c0:m9 |
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> | GifImagesFixedWidthSmallStill - 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. | f3044:c0:m0 |
@property<EOL><INDENT>def url(self):<DEDENT> | return self._url<EOL> | Gets the url of this GifImagesFixedWidthSmallStill.
The publicly-accessible direct URL for this GIF.
:return: The url of this GifImagesFixedWidthSmallStill.
:rtype: str | f3044:c0:m1 |
@url.setter<EOL><INDENT>def url(self, url):<DEDENT> | self._url = url<EOL> | Sets the url of this GifImagesFixedWidthSmallStill.
The publicly-accessible direct URL for this GIF.
:param url: The url of this GifImagesFixedWidthSmallStill.
:type: str | f3044:c0:m2 |
@property<EOL><INDENT>def width(self):<DEDENT> | return self._width<EOL> | Gets the width of this GifImagesFixedWidthSmallStill.
The width of this GIF in pixels.
:return: The width of this GifImagesFixedWidthSmallStill.
:rtype: str | f3044:c0:m3 |
@width.setter<EOL><INDENT>def width(self, width):<DEDENT> | self._width = width<EOL> | Sets the width of this GifImagesFixedWidthSmallStill.
The width of this GIF in pixels.
:param width: The width of this GifImagesFixedWidthSmallStill.
:type: str | f3044:c0:m4 |
@property<EOL><INDENT>def height(self):<DEDENT> | return self._height<EOL> | Gets the height of this GifImagesFixedWidthSmallStill.
The height of this GIF in pixels.
:return: The height of this GifImagesFixedWidthSmallStill.
:rtype: str | f3044:c0:m5 |
@height.setter<EOL><INDENT>def height(self, height):<DEDENT> | self._height = height<EOL> | Sets the height of this GifImagesFixedWidthSmallStill.
The height of this GIF in pixels.
:param height: The height of this GifImagesFixedWidthSmallStill.
:type: str | f3044: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 | f3044:c0:m7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.