/* 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'; import type { ApiUserDTO } from './ApiUserDTO'; import { ApiUserDTOFromJSON, ApiUserDTOFromJSONTyped, ApiUserDTOToJSON, ApiUserDTOToJSONTyped, } from './ApiUserDTO'; /** * * @export * @interface ApiUserListDTO */ export interface ApiUserListDTO { /** * * @type {Array} * @memberof ApiUserListDTO */ users?: Array; } /** * Check if a given object implements the ApiUserListDTO interface. */ export function instanceOfApiUserListDTO(value: object): value is ApiUserListDTO { return true; } export function ApiUserListDTOFromJSON(json: any): ApiUserListDTO { return ApiUserListDTOFromJSONTyped(json, false); } export function ApiUserListDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserListDTO { if (json == null) { return json; } return { 'users': json['users'] == null ? undefined : ((json['users'] as Array).map(ApiUserDTOFromJSON)), }; } export function ApiUserListDTOToJSON(json: any): ApiUserListDTO { return ApiUserListDTOToJSONTyped(json, false); } export function ApiUserListDTOToJSONTyped(value?: ApiUserListDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'users': value['users'] == null ? undefined : ((value['users'] as Array).map(ApiUserDTOToJSON)), }; }