/* tslint:disable */ /* eslint-disable */ /** * Sonatype Guide API * REST API into [Sonatype Guide](https://guide.sonatype.com). * * The version of the OpenAPI document: 202607 * * * 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 DashboardRowResponse */ export interface DashboardRowResponse { /** * * @type {boolean} * @memberof DashboardRowResponse */ archived?: boolean; /** * * @type {number} * @memberof DashboardRowResponse */ installationRepoId?: number; /** * * @type {string} * @memberof DashboardRowResponse */ lastRunAt?: string; /** * * @type {string} * @memberof DashboardRowResponse */ lastRunStatus?: string; /** * * @type {string} * @memberof DashboardRowResponse */ repoFullName?: string; /** * * @type {number} * @memberof DashboardRowResponse */ repoId?: number; /** * * @type {number} * @memberof DashboardRowResponse */ runCount?: number; /** * * @type {string} * @memberof DashboardRowResponse */ setupPrUrl?: string; /** * * @type {string} * @memberof DashboardRowResponse */ status?: string; /** * * @type {string} * @memberof DashboardRowResponse */ statusLabel?: string; /** * * @type {boolean} * @memberof DashboardRowResponse */ workflowPresent?: boolean; } /** * Check if a given object implements the DashboardRowResponse interface. */ export function instanceOfDashboardRowResponse(value: object): value is DashboardRowResponse { return true; } export function DashboardRowResponseFromJSON(json: any): DashboardRowResponse { return DashboardRowResponseFromJSONTyped(json, false); } export function DashboardRowResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DashboardRowResponse { if (json == null) { return json; } return { 'archived': json['archived'] == null ? undefined : json['archived'], 'installationRepoId': json['installationRepoId'] == null ? undefined : json['installationRepoId'], 'lastRunAt': json['lastRunAt'] == null ? undefined : json['lastRunAt'], 'lastRunStatus': json['lastRunStatus'] == null ? undefined : json['lastRunStatus'], 'repoFullName': json['repoFullName'] == null ? undefined : json['repoFullName'], 'repoId': json['repoId'] == null ? undefined : json['repoId'], 'runCount': json['runCount'] == null ? undefined : json['runCount'], 'setupPrUrl': json['setupPrUrl'] == null ? undefined : json['setupPrUrl'], 'status': json['status'] == null ? undefined : json['status'], 'statusLabel': json['statusLabel'] == null ? undefined : json['statusLabel'], 'workflowPresent': json['workflowPresent'] == null ? undefined : json['workflowPresent'], }; } export function DashboardRowResponseToJSON(json: any): DashboardRowResponse { return DashboardRowResponseToJSONTyped(json, false); } export function DashboardRowResponseToJSONTyped(value?: DashboardRowResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'archived': value['archived'], 'installationRepoId': value['installationRepoId'], 'lastRunAt': value['lastRunAt'], 'lastRunStatus': value['lastRunStatus'], 'repoFullName': value['repoFullName'], 'repoId': value['repoId'], 'runCount': value['runCount'], 'setupPrUrl': value['setupPrUrl'], 'status': value['status'], 'statusLabel': value['statusLabel'], 'workflowPresent': value['workflowPresent'], }; }