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
41
addons/twitcher/generated/twitch_start_a_raid.gd
Normal file
41
addons/twitcher/generated/twitch_start_a_raid.gd
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
@tool
|
||||
extends TwitchData
|
||||
|
||||
# CLASS GOT AUTOGENERATED DON'T CHANGE MANUALLY. CHANGES CAN BE OVERWRITTEN EASILY.
|
||||
|
||||
class_name TwitchStartARaid
|
||||
|
||||
|
||||
|
||||
## All optional parameters for TwitchAPI.start_a_raid
|
||||
## #/components/schemas/StartARaidOpt
|
||||
class Opt extends TwitchData:
|
||||
|
||||
## The ID of the broadcaster that’s sending the raiding party. This ID must match the user ID in the user access token.
|
||||
@export var from_broadcaster_id: String:
|
||||
set(val):
|
||||
from_broadcaster_id = val
|
||||
track_data(&"from_broadcaster_id", val)
|
||||
|
||||
## The ID of the broadcaster to raid.
|
||||
@export var to_broadcaster_id: String:
|
||||
set(val):
|
||||
to_broadcaster_id = val
|
||||
track_data(&"to_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("from_broadcaster_id", null) != null:
|
||||
result.from_broadcaster_id = d["from_broadcaster_id"]
|
||||
if d.get("to_broadcaster_id", null) != null:
|
||||
result.to_broadcaster_id = d["to_broadcaster_id"]
|
||||
return result
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue