/* tslint:disable */ /* eslint-disable */ /** * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: * * * 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'; /** * * @export * @interface PushNotifDeliveryResult */ export interface PushNotifDeliveryResult { /** * * @type {string} * @memberof PushNotifDeliveryResult */ expo_token: string; /** * * @type {string} * @memberof PushNotifDeliveryResult */ status: string; /** * * @type {string} * @memberof PushNotifDeliveryResult */ error: string; } /** * Check if a given object implements the PushNotifDeliveryResult interface. */ export function instanceOfPushNotifDeliveryResult(value: object): value is PushNotifDeliveryResult { if (!('expo_token' in value) || value['expo_token'] === undefined) return false; if (!('status' in value) || value['status'] === undefined) return false; if (!('error' in value) || value['error'] === undefined) return false; return true; } export function PushNotifDeliveryResultFromJSON(json: any): PushNotifDeliveryResult { return PushNotifDeliveryResultFromJSONTyped(json, false); } export function PushNotifDeliveryResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): PushNotifDeliveryResult { if (json == null) { return json; } return { 'expo_token': json['expo_token'], 'status': json['status'], 'error': json['error'], }; } export function PushNotifDeliveryResultToJSON(value?: PushNotifDeliveryResult | null): any { if (value == null) { return value; } return { 'expo_token': value['expo_token'], 'status': value['status'], 'error': value['error'], }; }