/* 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 ReqGetPushNotifSettings */ export interface ReqGetPushNotifSettings { /** * made optional to support header auth clients * @type {string} * @memberof ReqGetPushNotifSettings */ auth?: string; /** * * @type {number} * @memberof ReqGetPushNotifSettings */ account_index: number; /** * * @type {string} * @memberof ReqGetPushNotifSettings */ expo_token: string; } /** * Check if a given object implements the ReqGetPushNotifSettings interface. */ export function instanceOfReqGetPushNotifSettings(value: object): value is ReqGetPushNotifSettings { if (!('account_index' in value) || value['account_index'] === undefined) return false; if (!('expo_token' in value) || value['expo_token'] === undefined) return false; return true; } export function ReqGetPushNotifSettingsFromJSON(json: any): ReqGetPushNotifSettings { return ReqGetPushNotifSettingsFromJSONTyped(json, false); } export function ReqGetPushNotifSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGetPushNotifSettings { if (json == null) { return json; } return { 'auth': json['auth'] == null ? undefined : json['auth'], 'account_index': json['account_index'], 'expo_token': json['expo_token'], }; } export function ReqGetPushNotifSettingsToJSON(value?: ReqGetPushNotifSettings | null): any { if (value == null) { return value; } return { 'auth': value['auth'], 'account_index': value['account_index'], 'expo_token': value['expo_token'], }; }