Skip to content

Commit 11766d3

Browse files
author
Travis CI User
committed
Updating to API version 3.8.0
1 parent ff82f02 commit 11766d3

2 files changed

Lines changed: 30 additions & 1 deletion

File tree

‎docs/Webcast.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**type** | **str** | Type of webcast, typically descriptive of the streaming provider. |
77
**channel** | **str** | Type specific channel information. May be the YouTube stream, or Twitch channel name. In the case of iframe types, contains HTML to embed the stream in an HTML iframe. |
8+
**date** | **str** | The date for the webcast in `yyyy-mm-dd` format. May be null. | [optional]
89
**file** | **str** | File identification as may be required for some types. May be null. | [optional]
910

1011
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

‎tbaapiv3client/models/webcast.py‎

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,28 +35,33 @@ class Webcast(object):
3535
openapi_types = {
3636
'type': 'str',
3737
'channel': 'str',
38+
'date': 'str',
3839
'file': 'str'
3940
}
4041

4142
attribute_map = {
4243
'type': 'type',
4344
'channel': 'channel',
45+
'date': 'date',
4446
'file': 'file'
4547
}
4648

47-
def __init__(self, type=None, channel=None, file=None, local_vars_configuration=None): # noqa: E501
49+
def __init__(self, type=None, channel=None, date=None, file=None, local_vars_configuration=None): # noqa: E501
4850
"""Webcast - a model defined in OpenAPI""" # noqa: E501
4951
if local_vars_configuration is None:
5052
local_vars_configuration = Configuration()
5153
self.local_vars_configuration = local_vars_configuration
5254

5355
self._type = None
5456
self._channel = None
57+
self._date = None
5558
self._file = None
5659
self.discriminator = None
5760

5861
self.type = type
5962
self.channel = channel
63+
if date is not None:
64+
self.date = date
6065
if file is not None:
6166
self.file = file
6267

@@ -116,6 +121,29 @@ def channel(self, channel):
116121

117122
self._channel = channel
118123

124+
@property
125+
def date(self):
126+
"""Gets the date of this Webcast. # noqa: E501
127+
128+
The date for the webcast in `yyyy-mm-dd` format. May be null. # noqa: E501
129+
130+
:return: The date of this Webcast. # noqa: E501
131+
:rtype: str
132+
"""
133+
return self._date
134+
135+
@date.setter
136+
def date(self, date):
137+
"""Sets the date of this Webcast.
138+
139+
The date for the webcast in `yyyy-mm-dd` format. May be null. # noqa: E501
140+
141+
:param date: The date of this Webcast. # noqa: E501
142+
:type: str
143+
"""
144+
145+
self._date = date
146+
119147
@property
120148
def file(self):
121149
"""Gets the file of this Webcast. # noqa: E501

0 commit comments

Comments
 (0)