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