/* 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 { TiktokResultAllOfComment } from './TiktokResultAllOfComment'; import { TiktokResultAllOfCommentFromJSON, TiktokResultAllOfCommentFromJSONTyped, TiktokResultAllOfCommentToJSON, } from './TiktokResultAllOfComment'; import type { Prize } from './Prize'; import { PrizeFromJSON, PrizeFromJSONTyped, PrizeToJSON, } from './Prize'; /** * * @export * @interface TiktokResultAllOfValue */ export interface TiktokResultAllOfValue { /** * * @type {TiktokResultAllOfComment} * @memberof TiktokResultAllOfValue */ comment?: TiktokResultAllOfComment; /** * * @type {Prize} * @memberof TiktokResultAllOfValue */ prize?: Prize; } /** * Check if a given object implements the TiktokResultAllOfValue interface. */ export function instanceOfTiktokResultAllOfValue(value: object): value is TiktokResultAllOfValue { return true; } export function TiktokResultAllOfValueFromJSON(json: any): TiktokResultAllOfValue { return TiktokResultAllOfValueFromJSONTyped(json, false); } export function TiktokResultAllOfValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): TiktokResultAllOfValue { if (json == null) { return json; } return { 'comment': json['comment'] == null ? undefined : TiktokResultAllOfCommentFromJSON(json['comment']), 'prize': json['prize'] == null ? undefined : PrizeFromJSON(json['prize']), }; } export function TiktokResultAllOfValueToJSON(value?: TiktokResultAllOfValue | null): any { if (value == null) { return value; } return { 'comment': TiktokResultAllOfCommentToJSON(value['comment']), 'prize': PrizeToJSON(value['prize']), }; }