/* 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 ReqGetAirdropAllocations */ export interface ReqGetAirdropAllocations { /** * * @type {string} * @memberof ReqGetAirdropAllocations */ l1_address: string; /** * * @type {string} * @memberof ReqGetAirdropAllocations */ auth?: string; } /** * Check if a given object implements the ReqGetAirdropAllocations interface. */ export function instanceOfReqGetAirdropAllocations(value: object): value is ReqGetAirdropAllocations { if (!('l1_address' in value) || value['l1_address'] === undefined) return false; return true; } export function ReqGetAirdropAllocationsFromJSON(json: any): ReqGetAirdropAllocations { return ReqGetAirdropAllocationsFromJSONTyped(json, false); } export function ReqGetAirdropAllocationsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGetAirdropAllocations { if (json == null) { return json; } return { 'l1_address': json['l1_address'], 'auth': json['auth'] == null ? undefined : json['auth'], }; } export function ReqGetAirdropAllocationsToJSON(value?: ReqGetAirdropAllocations | null): any { if (value == null) { return value; } return { 'l1_address': value['l1_address'], 'auth': value['auth'], }; }