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, BaseChannelModelGifs):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL>
Returns true if both objects are equal
f3068:c0:m8
def __ne__(self, other):
return not self == other<EOL>
Returns true if both objects are not equal
f3068:c0:m9
def __init__(self, avatar_url=None, banner_url=None, profile_url=None, username=None, display_name=None, twitter=None):
self.swagger_types = {<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT:username>': '<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>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT:username>': '<STR_LIT:username>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>'<EOL>}<EOL>self._avatar_url = avatar_url<EOL>self._banner_url = banner_url<EOL>self._profile_url = profile_url<EOL>self._username = username<EOL>self._display_name = display_name<EOL>self._twitter = twitter<EOL>
User - 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.
f3069:c0:m0
@property<EOL><INDENT>def avatar_url(self):<DEDENT>
return self._avatar_url<EOL>
Gets the avatar_url of this User. The URL for this user's avatar image. :return: The avatar_url of this User. :rtype: str
f3069:c0:m1
@avatar_url.setter<EOL><INDENT>def avatar_url(self, avatar_url):<DEDENT>
self._avatar_url = avatar_url<EOL>
Sets the avatar_url of this User. The URL for this user's avatar image. :param avatar_url: The avatar_url of this User. :type: str
f3069:c0:m2
@property<EOL><INDENT>def banner_url(self):<DEDENT>
return self._banner_url<EOL>
Gets the banner_url of this User. The URL for the banner image that appears atop this user's profile page. :return: The banner_url of this User. :rtype: str
f3069:c0:m3
@banner_url.setter<EOL><INDENT>def banner_url(self, banner_url):<DEDENT>
self._banner_url = banner_url<EOL>
Sets the banner_url of this User. The URL for the banner image that appears atop this user's profile page. :param banner_url: The banner_url of this User. :type: str
f3069:c0:m4
@property<EOL><INDENT>def profile_url(self):<DEDENT>
return self._profile_url<EOL>
Gets the profile_url of this User. The URL for this user's profile. :return: The profile_url of this User. :rtype: str
f3069:c0:m5
@profile_url.setter<EOL><INDENT>def profile_url(self, profile_url):<DEDENT>
self._profile_url = profile_url<EOL>
Sets the profile_url of this User. The URL for this user's profile. :param profile_url: The profile_url of this User. :type: str
f3069:c0:m6
@property<EOL><INDENT>def username(self):<DEDENT>
return self._username<EOL>
Gets the username of this User. The username associated with this user. :return: The username of this User. :rtype: str
f3069:c0:m7
@username.setter<EOL><INDENT>def username(self, username):<DEDENT>
self._username = username<EOL>
Sets the username of this User. The username associated with this user. :param username: The username of this User. :type: str
f3069:c0:m8
@property<EOL><INDENT>def display_name(self):<DEDENT>
return self._display_name<EOL>
Gets the display_name of this User. The display name associated with this user (contains formatting the base username might not). :return: The display_name of this User. :rtype: str
f3069:c0:m9
@display_name.setter<EOL><INDENT>def display_name(self, display_name):<DEDENT>
self._display_name = display_name<EOL>
Sets the display_name of this User. The display name associated with this user (contains formatting the base username might not). :param display_name: The display_name of this User. :type: str
f3069:c0:m10
@property<EOL><INDENT>def twitter(self):<DEDENT>
return self._twitter<EOL>
Gets the twitter of this User. The Twitter username associated with this user, if applicable. :return: The twitter of this User. :rtype: str
f3069:c0:m11
@twitter.setter<EOL><INDENT>def twitter(self, twitter):<DEDENT>
self._twitter = twitter<EOL>
Sets the twitter of this User. The Twitter username associated with this user, if applicable. :param twitter: The twitter of this User. :type: str
f3069:c0:m12
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
f3069:c0:m13
def to_str(self):
return pformat(self.to_dict())<EOL>
Returns the string representation of the model
f3069:c0:m14
def __repr__(self):
return self.to_str()<EOL>
For `print` and `pprint`
f3069:c0:m15
def __eq__(self, other):
if not isinstance(other, User):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL>
Returns true if both objects are equal
f3069:c0:m16
def __ne__(self, other):
return not self == other<EOL>
Returns true if both objects are not equal
f3069:c0:m17
def __init__(self, url=None, width=None, height=None, 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>}<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>}<EOL>self._url = url<EOL>self._width = width<EOL>self._height = height<EOL>self._size = size<EOL>self._webp = webp<EOL>self._webp_size = webp_size<EOL>
GifImagesFixedWidthDownsampled - 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.
f3070:c0:m0
@property<EOL><INDENT>def url(self):<DEDENT>
return self._url<EOL>
Gets the url of this GifImagesFixedWidthDownsampled. The publicly-accessible direct URL for this GIF. :return: The url of this GifImagesFixedWidthDownsampled. :rtype: str
f3070:c0:m1
@url.setter<EOL><INDENT>def url(self, url):<DEDENT>
self._url = url<EOL>
Sets the url of this GifImagesFixedWidthDownsampled. The publicly-accessible direct URL for this GIF. :param url: The url of this GifImagesFixedWidthDownsampled. :type: str
f3070:c0:m2
@property<EOL><INDENT>def width(self):<DEDENT>
return self._width<EOL>
Gets the width of this GifImagesFixedWidthDownsampled. The width of this GIF in pixels. :return: The width of this GifImagesFixedWidthDownsampled. :rtype: str
f3070:c0:m3
@width.setter<EOL><INDENT>def width(self, width):<DEDENT>
self._width = width<EOL>
Sets the width of this GifImagesFixedWidthDownsampled. The width of this GIF in pixels. :param width: The width of this GifImagesFixedWidthDownsampled. :type: str
f3070:c0:m4
@property<EOL><INDENT>def height(self):<DEDENT>
return self._height<EOL>
Gets the height of this GifImagesFixedWidthDownsampled. The height of this GIF in pixels. :return: The height of this GifImagesFixedWidthDownsampled. :rtype: str
f3070:c0:m5
@height.setter<EOL><INDENT>def height(self, height):<DEDENT>
self._height = height<EOL>
Sets the height of this GifImagesFixedWidthDownsampled. The height of this GIF in pixels. :param height: The height of this GifImagesFixedWidthDownsampled. :type: str
f3070:c0:m6
@property<EOL><INDENT>def size(self):<DEDENT>
return self._size<EOL>
Gets the size of this GifImagesFixedWidthDownsampled. The size of this GIF in bytes. :return: The size of this GifImagesFixedWidthDownsampled. :rtype: str
f3070:c0:m7
@size.setter<EOL><INDENT>def size(self, size):<DEDENT>
self._size = size<EOL>
Sets the size of this GifImagesFixedWidthDownsampled. The size of this GIF in bytes. :param size: The size of this GifImagesFixedWidthDownsampled. :type: str
f3070:c0:m8
@property<EOL><INDENT>def webp(self):<DEDENT>
return self._webp<EOL>
Gets the webp of this GifImagesFixedWidthDownsampled. The URL for this GIF in .webp format. :return: The webp of this GifImagesFixedWidthDownsampled. :rtype: str
f3070:c0:m9
@webp.setter<EOL><INDENT>def webp(self, webp):<DEDENT>
self._webp = webp<EOL>
Sets the webp of this GifImagesFixedWidthDownsampled. The URL for this GIF in .webp format. :param webp: The webp of this GifImagesFixedWidthDownsampled. :type: str
f3070:c0:m10
@property<EOL><INDENT>def webp_size(self):<DEDENT>
return self._webp_size<EOL>
Gets the webp_size of this GifImagesFixedWidthDownsampled. The size in bytes of the .webp file corresponding to this GIF. :return: The webp_size of this GifImagesFixedWidthDownsampled. :rtype: str
f3070:c0:m11
@webp_size.setter<EOL><INDENT>def webp_size(self, webp_size):<DEDENT>
self._webp_size = webp_size<EOL>
Sets the webp_size of this GifImagesFixedWidthDownsampled. The size in bytes of the .webp file corresponding to this GIF. :param webp_size: The webp_size of this GifImagesFixedWidthDownsampled. :type: str
f3070:c0:m12
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
f3070:c0:m13
def to_str(self):
return pformat(self.to_dict())<EOL>
Returns the string representation of the model
f3070:c0:m14
def __repr__(self):
return self.to_str()<EOL>
For `print` and `pprint`
f3070:c0:m15
def __eq__(self, other):
if not isinstance(other, GifImagesFixedWidthDownsampled):<EOL><INDENT>return False<EOL><DEDENT>return self.__dict__ == other.__dict__<EOL>
Returns true if both objects are equal
f3070:c0:m16
def __ne__(self, other):
return not self == other<EOL>
Returns true if both objects are not equal
f3070:c0:m17
def __init__(self, type='<STR_LIT>', id=None, parent=None, create_datetime=None, breadcrumbs=None, username=None, slug=None, title=None, short_title=None, description=None, featured_gif=None, banner_image=None, avatar_image=None, screensaver_gif=None, is_private=None, is_live=None, event_start_datetime=None, event_end_datetime=None, has_children=None, url=None, website_url=None, instagram_url=None, twitter_url=None, facebook_url=None, pinterest_url=None, tumblr_url=None, user=None, trending_tags=None, gifs=None, children=None):
self.swagger_types = {<EOL>'<STR_LIT:type>': '<STR_LIT:str>',<EOL>'<STR_LIT:id>': '<STR_LIT:int>',<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT:username>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT:title>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT:description>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT:bool>',<EOL>'<STR_LIT>': '<STR_LIT:bool>',<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT:bool>',<EOL>'<STR_LIT:url>': '<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>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT:user>': '<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:type>': '<STR_LIT:type>',<EOL>'<STR_LIT:id>': '<STR_LIT:id>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT:username>': '<STR_LIT:username>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT:title>': '<STR_LIT:title>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT:description>': '<STR_LIT:description>',<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:url>': '<STR_LIT:url>',<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:user>': '<STR_LIT:user>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>'<EOL>}<EOL>self._type = type<EOL>self._id = id<EOL>self._parent = parent<EOL>self._create_datetime = create_datetime<EOL>self._breadcrumbs = breadcrumbs<EOL>self._username = username<EOL>self._slug = slug<EOL>self._title = title<EOL>self._short_title = short_title<EOL>self._description = description<EOL>self._featured_gif = featured_gif<EOL>self._banner_image = banner_image<EOL>self._avatar_image = avatar_image<EOL>self._screensaver_gif = screensaver_gif<EOL>self._is_private = is_private<EOL>self._is_live = is_live<EOL>self._event_start_datetime = event_start_datetime<EOL>self._event_end_datetime = event_end_datetime<EOL>self._has_children = has_children<EOL>self._url = url<EOL>self._website_url = website_url<EOL>self._instagram_url = instagram_url<EOL>self._twitter_url = twitter_url<EOL>self._facebook_url = facebook_url<EOL>self._pinterest_url = pinterest_url<EOL>self._tumblr_url = tumblr_url<EOL>self._user = user<EOL>self._trending_tags = trending_tags<EOL>self._gifs = gifs<EOL>self._children = children<EOL>
ChannelWithChildrenModel - 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.
f3071:c0:m0
@property<EOL><INDENT>def type(self):<DEDENT>
return self._type<EOL>
Gets the type of this ChannelWithChildrenModel. Always \"channel\" :return: The type of this ChannelWithChildrenModel. :rtype: str
f3071:c0:m1
@type.setter<EOL><INDENT>def type(self, type):<DEDENT>
self._type = type<EOL>
Sets the type of this ChannelWithChildrenModel. Always \"channel\" :param type: The type of this ChannelWithChildrenModel. :type: str
f3071:c0:m2
@property<EOL><INDENT>def id(self):<DEDENT>
return self._id<EOL>
Gets the id of this ChannelWithChildrenModel. 123 :return: The id of this ChannelWithChildrenModel. :rtype: int
f3071:c0:m3
@id.setter<EOL><INDENT>def id(self, id):<DEDENT>
self._id = id<EOL>
Sets the id of this ChannelWithChildrenModel. 123 :param id: The id of this ChannelWithChildrenModel. :type: int
f3071:c0:m4
@property<EOL><INDENT>def parent(self):<DEDENT>
return self._parent<EOL>
Gets the parent of this ChannelWithChildrenModel. parent's slug :return: The parent of this ChannelWithChildrenModel. :rtype: str
f3071:c0:m5
@parent.setter<EOL><INDENT>def parent(self, parent):<DEDENT>
self._parent = parent<EOL>
Sets the parent of this ChannelWithChildrenModel. parent's slug :param parent: The parent of this ChannelWithChildrenModel. :type: str
f3071:c0:m6
@property<EOL><INDENT>def create_datetime(self):<DEDENT>
return self._create_datetime<EOL>
Gets the create_datetime of this ChannelWithChildrenModel. xyz :return: The create_datetime of this ChannelWithChildrenModel. :rtype: str
f3071:c0:m7
@create_datetime.setter<EOL><INDENT>def create_datetime(self, create_datetime):<DEDENT>
self._create_datetime = create_datetime<EOL>
Sets the create_datetime of this ChannelWithChildrenModel. xyz :param create_datetime: The create_datetime of this ChannelWithChildrenModel. :type: str
f3071:c0:m8
@property<EOL><INDENT>def breadcrumbs(self):<DEDENT>
return self._breadcrumbs<EOL>
Gets the breadcrumbs of this ChannelWithChildrenModel. :return: The breadcrumbs of this ChannelWithChildrenModel. :rtype: list[Breadcrumb]
f3071:c0:m9
@breadcrumbs.setter<EOL><INDENT>def breadcrumbs(self, breadcrumbs):<DEDENT>
self._breadcrumbs = breadcrumbs<EOL>
Sets the breadcrumbs of this ChannelWithChildrenModel. :param breadcrumbs: The breadcrumbs of this ChannelWithChildrenModel. :type: list[Breadcrumb]
f3071:c0:m10
@property<EOL><INDENT>def username(self):<DEDENT>
return self._username<EOL>
Gets the username of this ChannelWithChildrenModel. xyz :return: The username of this ChannelWithChildrenModel. :rtype: str
f3071:c0:m11
@username.setter<EOL><INDENT>def username(self, username):<DEDENT>
self._username = username<EOL>
Sets the username of this ChannelWithChildrenModel. xyz :param username: The username of this ChannelWithChildrenModel. :type: str
f3071:c0:m12
@property<EOL><INDENT>def slug(self):<DEDENT>
return self._slug<EOL>
Gets the slug of this ChannelWithChildrenModel. :return: The slug of this ChannelWithChildrenModel. :rtype: str
f3071:c0:m13
@slug.setter<EOL><INDENT>def slug(self, slug):<DEDENT>
self._slug = slug<EOL>
Sets the slug of this ChannelWithChildrenModel. :param slug: The slug of this ChannelWithChildrenModel. :type: str
f3071:c0:m14
@property<EOL><INDENT>def title(self):<DEDENT>
return self._title<EOL>
Gets the title of this ChannelWithChildrenModel. xyz :return: The title of this ChannelWithChildrenModel. :rtype: str
f3071:c0:m15
@title.setter<EOL><INDENT>def title(self, title):<DEDENT>
self._title = title<EOL>
Sets the title of this ChannelWithChildrenModel. xyz :param title: The title of this ChannelWithChildrenModel. :type: str
f3071:c0:m16
@property<EOL><INDENT>def short_title(self):<DEDENT>
return self._short_title<EOL>
Gets the short_title of this ChannelWithChildrenModel. xyz :return: The short_title of this ChannelWithChildrenModel. :rtype: str
f3071: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 ChannelWithChildrenModel. xyz :param short_title: The short_title of this ChannelWithChildrenModel. :type: str
f3071:c0:m18
@property<EOL><INDENT>def description(self):<DEDENT>
return self._description<EOL>
Gets the description of this ChannelWithChildrenModel. xyz :return: The description of this ChannelWithChildrenModel. :rtype: str
f3071:c0:m19
@description.setter<EOL><INDENT>def description(self, description):<DEDENT>
self._description = description<EOL>
Sets the description of this ChannelWithChildrenModel. xyz :param description: The description of this ChannelWithChildrenModel. :type: str
f3071:c0:m20
@property<EOL><INDENT>def featured_gif(self):<DEDENT>
return self._featured_gif<EOL>
Gets the featured_gif of this ChannelWithChildrenModel. :return: The featured_gif of this ChannelWithChildrenModel. :rtype: Gif
f3071: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 ChannelWithChildrenModel. :param featured_gif: The featured_gif of this ChannelWithChildrenModel. :type: Gif
f3071:c0:m22
@property<EOL><INDENT>def banner_image(self):<DEDENT>
return self._banner_image<EOL>
Gets the banner_image of this ChannelWithChildrenModel. xyz :return: The banner_image of this ChannelWithChildrenModel. :rtype: str
f3071: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 ChannelWithChildrenModel. xyz :param banner_image: The banner_image of this ChannelWithChildrenModel. :type: str
f3071:c0:m24
@property<EOL><INDENT>def avatar_image(self):<DEDENT>
return self._avatar_image<EOL>
Gets the avatar_image of this ChannelWithChildrenModel. xyz :return: The avatar_image of this ChannelWithChildrenModel. :rtype: str
f3071: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 ChannelWithChildrenModel. xyz :param avatar_image: The avatar_image of this ChannelWithChildrenModel. :type: str
f3071:c0:m26
@property<EOL><INDENT>def screensaver_gif(self):<DEDENT>
return self._screensaver_gif<EOL>
Gets the screensaver_gif of this ChannelWithChildrenModel. :return: The screensaver_gif of this ChannelWithChildrenModel. :rtype: Gif
f3071: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 ChannelWithChildrenModel. :param screensaver_gif: The screensaver_gif of this ChannelWithChildrenModel. :type: Gif
f3071:c0:m28
@property<EOL><INDENT>def is_private(self):<DEDENT>
return self._is_private<EOL>
Gets the is_private of this ChannelWithChildrenModel. :return: The is_private of this ChannelWithChildrenModel. :rtype: bool
f3071: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 ChannelWithChildrenModel. :param is_private: The is_private of this ChannelWithChildrenModel. :type: bool
f3071:c0:m30
@property<EOL><INDENT>def is_live(self):<DEDENT>
return self._is_live<EOL>
Gets the is_live of this ChannelWithChildrenModel. :return: The is_live of this ChannelWithChildrenModel. :rtype: bool
f3071: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 ChannelWithChildrenModel. :param is_live: The is_live of this ChannelWithChildrenModel. :type: bool
f3071:c0:m32
@property<EOL><INDENT>def event_start_datetime(self):<DEDENT>
return self._event_start_datetime<EOL>
Gets the event_start_datetime of this ChannelWithChildrenModel. xyz :return: The event_start_datetime of this ChannelWithChildrenModel. :rtype: str
f3071: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 ChannelWithChildrenModel. xyz :param event_start_datetime: The event_start_datetime of this ChannelWithChildrenModel. :type: str
f3071:c0:m34
@property<EOL><INDENT>def event_end_datetime(self):<DEDENT>
return self._event_end_datetime<EOL>
Gets the event_end_datetime of this ChannelWithChildrenModel. xyz :return: The event_end_datetime of this ChannelWithChildrenModel. :rtype: str
f3071: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 ChannelWithChildrenModel. xyz :param event_end_datetime: The event_end_datetime of this ChannelWithChildrenModel. :type: str
f3071:c0:m36
@property<EOL><INDENT>def has_children(self):<DEDENT>
return self._has_children<EOL>
Gets the has_children of this ChannelWithChildrenModel. :return: The has_children of this ChannelWithChildrenModel. :rtype: bool
f3071: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 ChannelWithChildrenModel. :param has_children: The has_children of this ChannelWithChildrenModel. :type: bool
f3071:c0:m38
@property<EOL><INDENT>def url(self):<DEDENT>
return self._url<EOL>
Gets the url of this ChannelWithChildrenModel. xyz :return: The url of this ChannelWithChildrenModel. :rtype: str
f3071:c0:m39
@url.setter<EOL><INDENT>def url(self, url):<DEDENT>
self._url = url<EOL>
Sets the url of this ChannelWithChildrenModel. xyz :param url: The url of this ChannelWithChildrenModel. :type: str
f3071:c0:m40
@property<EOL><INDENT>def website_url(self):<DEDENT>
return self._website_url<EOL>
Gets the website_url of this ChannelWithChildrenModel. xyz :return: The website_url of this ChannelWithChildrenModel. :rtype: str
f3071: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 ChannelWithChildrenModel. xyz :param website_url: The website_url of this ChannelWithChildrenModel. :type: str
f3071:c0:m42
@property<EOL><INDENT>def instagram_url(self):<DEDENT>
return self._instagram_url<EOL>
Gets the instagram_url of this ChannelWithChildrenModel. xyz :return: The instagram_url of this ChannelWithChildrenModel. :rtype: str
f3071: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 ChannelWithChildrenModel. xyz :param instagram_url: The instagram_url of this ChannelWithChildrenModel. :type: str
f3071:c0:m44
@property<EOL><INDENT>def twitter_url(self):<DEDENT>
return self._twitter_url<EOL>
Gets the twitter_url of this ChannelWithChildrenModel. xyz :return: The twitter_url of this ChannelWithChildrenModel. :rtype: str
f3071: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 ChannelWithChildrenModel. xyz :param twitter_url: The twitter_url of this ChannelWithChildrenModel. :type: str
f3071:c0:m46
@property<EOL><INDENT>def facebook_url(self):<DEDENT>
return self._facebook_url<EOL>
Gets the facebook_url of this ChannelWithChildrenModel. xyz :return: The facebook_url of this ChannelWithChildrenModel. :rtype: str
f3071: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 ChannelWithChildrenModel. xyz :param facebook_url: The facebook_url of this ChannelWithChildrenModel. :type: str
f3071:c0:m48
@property<EOL><INDENT>def pinterest_url(self):<DEDENT>
return self._pinterest_url<EOL>
Gets the pinterest_url of this ChannelWithChildrenModel. xyz :return: The pinterest_url of this ChannelWithChildrenModel. :rtype: str
f3071: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 ChannelWithChildrenModel. xyz :param pinterest_url: The pinterest_url of this ChannelWithChildrenModel. :type: str
f3071:c0:m50
@property<EOL><INDENT>def tumblr_url(self):<DEDENT>
return self._tumblr_url<EOL>
Gets the tumblr_url of this ChannelWithChildrenModel. xyz :return: The tumblr_url of this ChannelWithChildrenModel. :rtype: str
f3071: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 ChannelWithChildrenModel. xyz :param tumblr_url: The tumblr_url of this ChannelWithChildrenModel. :type: str
f3071:c0:m52
@property<EOL><INDENT>def user(self):<DEDENT>
return self._user<EOL>
Gets the user of this ChannelWithChildrenModel. :return: The user of this ChannelWithChildrenModel. :rtype: User
f3071:c0:m53
@user.setter<EOL><INDENT>def user(self, user):<DEDENT>
self._user = user<EOL>
Sets the user of this ChannelWithChildrenModel. :param user: The user of this ChannelWithChildrenModel. :type: User
f3071:c0:m54
@property<EOL><INDENT>def trending_tags(self):<DEDENT>
return self._trending_tags<EOL>
Gets the trending_tags of this ChannelWithChildrenModel. :return: The trending_tags of this ChannelWithChildrenModel. :rtype: list[TrendingTag]
f3071: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 ChannelWithChildrenModel. :param trending_tags: The trending_tags of this ChannelWithChildrenModel. :type: list[TrendingTag]
f3071:c0:m56
@property<EOL><INDENT>def gifs(self):<DEDENT>
return self._gifs<EOL>
Gets the gifs of this ChannelWithChildrenModel. :return: The gifs of this ChannelWithChildrenModel. :rtype: BaseChannelModelGifs
f3071:c0:m57
@gifs.setter<EOL><INDENT>def gifs(self, gifs):<DEDENT>
self._gifs = gifs<EOL>
Sets the gifs of this ChannelWithChildrenModel. :param gifs: The gifs of this ChannelWithChildrenModel. :type: BaseChannelModelGifs
f3071:c0:m58
@property<EOL><INDENT>def children(self):<DEDENT>
return self._children<EOL>
Gets the children of this ChannelWithChildrenModel. :return: The children of this ChannelWithChildrenModel. :rtype: ChannelWithChildrenModelChildren
f3071:c0:m59
@children.setter<EOL><INDENT>def children(self, children):<DEDENT>
self._children = children<EOL>
Sets the children of this ChannelWithChildrenModel. :param children: The children of this ChannelWithChildrenModel. :type: ChannelWithChildrenModelChildren
f3071: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
f3071:c0:m61