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