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