/* tslint:disable */ /* eslint-disable */ /** * Sonatype Lifecycle Public REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.207.0-01 * * * 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 ApiUserTokenExistsDTO */ export interface ApiUserTokenExistsDTO { /** * * @type {boolean} * @memberof ApiUserTokenExistsDTO */ userTokenExists?: boolean; } /** * Check if a given object implements the ApiUserTokenExistsDTO interface. */ export function instanceOfApiUserTokenExistsDTO(value: object): value is ApiUserTokenExistsDTO { return true; } export function ApiUserTokenExistsDTOFromJSON(json: any): ApiUserTokenExistsDTO { return ApiUserTokenExistsDTOFromJSONTyped(json, false); } export function ApiUserTokenExistsDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserTokenExistsDTO { if (json == null) { return json; } return { 'userTokenExists': json['userTokenExists'] == null ? undefined : json['userTokenExists'], }; } export function ApiUserTokenExistsDTOToJSON(json: any): ApiUserTokenExistsDTO { return ApiUserTokenExistsDTOToJSONTyped(json, false); } export function ApiUserTokenExistsDTOToJSONTyped(value?: ApiUserTokenExistsDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'userTokenExists': value['userTokenExists'], }; }