pokepurple/addons/twitcher/generated/twitch_delete_guest_star_slot.gd

33 lines
863 B
GDScript3
Raw Normal View History

@tool
extends TwitchData
# CLASS GOT AUTOGENERATED DON'T CHANGE MANUALLY. CHANGES CAN BE OVERWRITTEN EASILY.
class_name TwitchDeleteGuestStarSlot
## All optional parameters for TwitchAPI.delete_guest_star_slot
## #/components/schemas/DeleteGuestStarSlotOpt
class Opt extends TwitchData:
## Flag signaling that the guest should be reinvited to the session, sending them back to the invite queue.
@export var should_reinvite_guest: String:
set(val):
should_reinvite_guest = val
track_data(&"should_reinvite_guest", 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("should_reinvite_guest", null) != null:
result.should_reinvite_guest = d["should_reinvite_guest"]
return result