pokepurple/addons/twitcher/generated/twitch_cheermote_image_format.gd
Mario Steele c11a4ebbc2 Initial Commit
Initial commit of Code Base.
2025-06-12 14:31:14 -05:00

60 lines
1.3 KiB
GDScript

@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