61 lines
1.3 KiB
GDScript3
61 lines
1.3 KiB
GDScript3
|
|
@tool
|
||
|
|
extends TwitchData
|
||
|
|
|
||
|
|
# CLASS GOT AUTOGENERATED DON'T CHANGE MANUALLY. CHANGES CAN BE OVERWRITTEN EASILY.
|
||
|
|
|
||
|
|
##
|
||
|
|
## #/components/schemas/CheermoteImageFormat
|
||
|
|
class_name TwitchCheermoteImageFormat
|
||
|
|
|
||
|
|
##
|
||
|
|
@export var _1: String:
|
||
|
|
set(val):
|
||
|
|
_1 = val
|
||
|
|
track_data(&"_1", val)
|
||
|
|
|
||
|
|
##
|
||
|
|
@export var _2: String:
|
||
|
|
set(val):
|
||
|
|
_2 = val
|
||
|
|
track_data(&"_2", val)
|
||
|
|
|
||
|
|
##
|
||
|
|
@export var _3: String:
|
||
|
|
set(val):
|
||
|
|
_3 = val
|
||
|
|
track_data(&"_3", val)
|
||
|
|
|
||
|
|
##
|
||
|
|
@export var _4: String:
|
||
|
|
set(val):
|
||
|
|
_4 = val
|
||
|
|
track_data(&"_4", val)
|
||
|
|
|
||
|
|
##
|
||
|
|
@export var _1_5: String:
|
||
|
|
set(val):
|
||
|
|
_1_5 = val
|
||
|
|
track_data(&"_1_5", val)
|
||
|
|
var response: BufferedHTTPClient.ResponseData
|
||
|
|
|
||
|
|
|
||
|
|
## Constructor with all required fields.
|
||
|
|
static func create() -> TwitchCheermoteImageFormat:
|
||
|
|
var twitch_cheermote_image_format: TwitchCheermoteImageFormat = TwitchCheermoteImageFormat.new()
|
||
|
|
return twitch_cheermote_image_format
|
||
|
|
|
||
|
|
|
||
|
|
static func from_json(d: Dictionary) -> TwitchCheermoteImageFormat:
|
||
|
|
var result: TwitchCheermoteImageFormat = TwitchCheermoteImageFormat.new()
|
||
|
|
if d.get("_1", null) != null:
|
||
|
|
result._1 = d["_1"]
|
||
|
|
if d.get("_2", null) != null:
|
||
|
|
result._2 = d["_2"]
|
||
|
|
if d.get("_3", null) != null:
|
||
|
|
result._3 = d["_3"]
|
||
|
|
if d.get("_4", null) != null:
|
||
|
|
result._4 = d["_4"]
|
||
|
|
if d.get("_1_5", null) != null:
|
||
|
|
result._1_5 = d["_1_5"]
|
||
|
|
return result
|