/* tslint:disable */ /* eslint-disable */ /** * HashiCorp Vault API * HTTP API that gives you full access to Vault. All API routes are prefixed with `/v1/`. * * The version of the OpenAPI document: 1.20.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Check if a given object implements the LeasesListResponse interface. */ export function instanceOfLeasesListResponse(value) { return true; } export function LeasesListResponseFromJSON(json) { return LeasesListResponseFromJSONTyped(json, false); } export function LeasesListResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'counts': json['counts'] == null ? undefined : json['counts'], 'leaseCount': json['lease_count'] == null ? undefined : json['lease_count'], }; } export function LeasesListResponseToJSON(json) { return LeasesListResponseToJSONTyped(json, false); } export function LeasesListResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'counts': value['counts'], 'lease_count': value['leaseCount'], }; }