# Generated by tools/generate_api_types.gd from server/openapi.json. # Do not edit; change the server and generate again. class_name StatusMessage extends RefCounted ## The [code]StatusMessage[/code] schema of the MusicServer API. var status: String ## Reads the fields from parsed JSON. Missing fields keep their defaults. static func from_dict(data: Dictionary) -> StatusMessage: var result: StatusMessage = StatusMessage.new() result.status = ApiJson.get_string(data, "status", "") return result ## Returns the fields under their JSON names, ready for [method JSON.stringify]. func to_dict() -> Dictionary: return { "status": status, }