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,45 @@
|
|||
@tool
|
||||
extends TwitchData
|
||||
|
||||
# CLASS GOT AUTOGENERATED DON'T CHANGE MANUALLY. CHANGES CAN BE OVERWRITTEN EASILY.
|
||||
|
||||
##
|
||||
## #/components/schemas/UserExtensionOverlayUpdate
|
||||
class_name TwitchUserExtensionOverlayUpdate
|
||||
|
||||
## A Boolean value that determines the extension’s activation state. If **false**, the user has not configured an overlay extension.
|
||||
@export var active: bool:
|
||||
set(val):
|
||||
active = val
|
||||
track_data(&"active", val)
|
||||
|
||||
## An ID that identifies the extension.
|
||||
@export var id: String:
|
||||
set(val):
|
||||
id = val
|
||||
track_data(&"id", val)
|
||||
|
||||
## The extension’s version.
|
||||
@export var version: String:
|
||||
set(val):
|
||||
version = val
|
||||
track_data(&"version", val)
|
||||
var response: BufferedHTTPClient.ResponseData
|
||||
|
||||
|
||||
## Constructor with all required fields.
|
||||
static func create(_active: bool) -> TwitchUserExtensionOverlayUpdate:
|
||||
var twitch_user_extension_overlay_update: TwitchUserExtensionOverlayUpdate = TwitchUserExtensionOverlayUpdate.new()
|
||||
twitch_user_extension_overlay_update.active = _active
|
||||
return twitch_user_extension_overlay_update
|
||||
|
||||
|
||||
static func from_json(d: Dictionary) -> TwitchUserExtensionOverlayUpdate:
|
||||
var result: TwitchUserExtensionOverlayUpdate = TwitchUserExtensionOverlayUpdate.new()
|
||||
if d.get("active", null) != null:
|
||||
result.active = d["active"]
|
||||
if d.get("id", null) != null:
|
||||
result.id = d["id"]
|
||||
if d.get("version", null) != null:
|
||||
result.version = d["version"]
|
||||
return result
|
||||
Loading…
Add table
Add a link
Reference in a new issue