@tool
extends TwitchData

# CLASS GOT AUTOGENERATED DON'T CHANGE MANUALLY. CHANGES CAN BE OVERWRITTEN EASILY.

## 
## #/components/schemas/CheermoteImageTheme
class_name TwitchCheermoteImageTheme
	
## 
@export var animated_format: TwitchCheermoteImageFormat:
	set(val): 
		animated_format = val
		track_data(&"animated_format", val)

## 
@export var static_format: TwitchCheermoteImageFormat:
	set(val): 
		static_format = val
		track_data(&"static_format", val)
var response: BufferedHTTPClient.ResponseData


## Constructor with all required fields.
static func create() -> TwitchCheermoteImageTheme:
	var twitch_cheermote_image_theme: TwitchCheermoteImageTheme = TwitchCheermoteImageTheme.new()
	return twitch_cheermote_image_theme


static func from_json(d: Dictionary) -> TwitchCheermoteImageTheme:
	var result: TwitchCheermoteImageTheme = TwitchCheermoteImageTheme.new()
	if d.get("animated_format", null) != null:
		result.animated_format = TwitchCheermoteImageFormat.from_json(d["animated_format"])
	if d.get("static_format", null) != null:
		result.static_format = TwitchCheermoteImageFormat.from_json(d["static_format"])
	return result
