Initial Commit
Initial commit of Code Base.
This commit is contained in:
parent
293b1213e1
commit
c11a4ebbc2
653 changed files with 36893 additions and 1 deletions
|
|
@ -0,0 +1,61 @@
|
|||
@tool
|
||||
extends TwitchData
|
||||
|
||||
# CLASS GOT AUTOGENERATED DON'T CHANGE MANUALLY. CHANGES CAN BE OVERWRITTEN EASILY.
|
||||
|
||||
class_name TwitchGetExtensionConfigurationSegment
|
||||
|
||||
|
||||
|
||||
##
|
||||
## #/components/schemas/GetExtensionConfigurationSegmentResponse
|
||||
class Response extends TwitchData:
|
||||
|
||||
## The list of requested configuration segments. The list is returned in the same order that you specified the list of segments in the request.
|
||||
@export var data: Array[TwitchExtensionConfigurationSegment]:
|
||||
set(val):
|
||||
data = val
|
||||
track_data(&"data", val)
|
||||
var response: BufferedHTTPClient.ResponseData
|
||||
|
||||
|
||||
## Constructor with all required fields.
|
||||
static func create(_data: Array[TwitchExtensionConfigurationSegment]) -> Response:
|
||||
var response: Response = Response.new()
|
||||
response.data = _data
|
||||
return response
|
||||
|
||||
|
||||
static func from_json(d: Dictionary) -> Response:
|
||||
var result: Response = Response.new()
|
||||
if d.get("data", null) != null:
|
||||
for value in d["data"]:
|
||||
result.data.append(TwitchExtensionConfigurationSegment.from_json(value))
|
||||
return result
|
||||
|
||||
|
||||
|
||||
## All optional parameters for TwitchAPI.get_extension_configuration_segment
|
||||
## #/components/schemas/GetExtensionConfigurationSegmentOpt
|
||||
class Opt extends TwitchData:
|
||||
|
||||
## The ID of the broadcaster that installed the extension. This parameter is required if you set the _segment_ parameter to broadcaster or developer. Do not specify this parameter if you set _segment_ to global.
|
||||
@export var broadcaster_id: String:
|
||||
set(val):
|
||||
broadcaster_id = val
|
||||
track_data(&"broadcaster_id", val)
|
||||
|
||||
|
||||
|
||||
## Constructor with all required fields.
|
||||
static func create() -> Opt:
|
||||
var opt: Opt = Opt.new()
|
||||
return opt
|
||||
|
||||
|
||||
static func from_json(d: Dictionary) -> Opt:
|
||||
var result: Opt = Opt.new()
|
||||
if d.get("broadcaster_id", null) != null:
|
||||
result.broadcaster_id = d["broadcaster_id"]
|
||||
return result
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue