pokepurple/addons/twitcher/generated/twitch_update_guest_star_slot.gd

33 lines
882 B
GDScript3
Raw Permalink Normal View History

@tool
extends TwitchData
# CLASS GOT AUTOGENERATED DON'T CHANGE MANUALLY. CHANGES CAN BE OVERWRITTEN EASILY.
class_name TwitchUpdateGuestStarSlot
## All optional parameters for TwitchAPI.update_guest_star_slot
## #/components/schemas/UpdateGuestStarSlotOpt
class Opt extends TwitchData:
## The slot to move this user assignment to. If the destination slot is occupied, the user assigned will be swapped into `source_slot_id`.
@export var destination_slot_id: String:
set(val):
destination_slot_id = val
track_data(&"destination_slot_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("destination_slot_id", null) != null:
result.destination_slot_id = d["destination_slot_id"]
return result