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