/* tslint:disable */ /* eslint-disable */ /** * EAS API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; import type { Participant } from './Participant'; import { ParticipantFromJSON, ParticipantFromJSONTyped, ParticipantToJSON, } from './Participant'; import type { Prize } from './Prize'; import { PrizeFromJSON, PrizeFromJSONTyped, PrizeToJSON, } from './Prize'; /** * * @export * @interface RaffleResultAllOfValue */ export interface RaffleResultAllOfValue { /** * * @type {Participant} * @memberof RaffleResultAllOfValue */ participant?: Participant; /** * * @type {Prize} * @memberof RaffleResultAllOfValue */ prize?: Prize; } /** * Check if a given object implements the RaffleResultAllOfValue interface. */ export function instanceOfRaffleResultAllOfValue(value: object): value is RaffleResultAllOfValue { return true; } export function RaffleResultAllOfValueFromJSON(json: any): RaffleResultAllOfValue { return RaffleResultAllOfValueFromJSONTyped(json, false); } export function RaffleResultAllOfValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): RaffleResultAllOfValue { if (json == null) { return json; } return { 'participant': json['participant'] == null ? undefined : ParticipantFromJSON(json['participant']), 'prize': json['prize'] == null ? undefined : PrizeFromJSON(json['prize']), }; } export function RaffleResultAllOfValueToJSON(value?: RaffleResultAllOfValue | null): any { if (value == null) { return value; } return { 'participant': ParticipantToJSON(value['participant']), 'prize': PrizeToJSON(value['prize']), }; }