/* 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 GitHubAppInfo */ export interface GitHubAppInfo { /** * * @type {string} * @memberof GitHubAppInfo */ accountName?: string; /** * * @type {string} * @memberof GitHubAppInfo */ configurationDate?: string; /** * * @type {string} * @memberof GitHubAppInfo */ id?: string; /** * * @type {number} * @memberof GitHubAppInfo */ installationId?: number; /** * * @type {boolean} * @memberof GitHubAppInfo */ isActive?: boolean; /** * * @type {string} * @memberof GitHubAppInfo */ name?: string; } /** * Check if a given object implements the GitHubAppInfo interface. */ export function instanceOfGitHubAppInfo(value: object): value is GitHubAppInfo { return true; } export function GitHubAppInfoFromJSON(json: any): GitHubAppInfo { return GitHubAppInfoFromJSONTyped(json, false); } export function GitHubAppInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): GitHubAppInfo { if (json == null) { return json; } return { 'accountName': json['accountName'] == null ? undefined : json['accountName'], 'configurationDate': json['configurationDate'] == null ? undefined : json['configurationDate'], 'id': json['id'] == null ? undefined : json['id'], 'installationId': json['installationId'] == null ? undefined : json['installationId'], 'isActive': json['isActive'] == null ? undefined : json['isActive'], 'name': json['name'] == null ? undefined : json['name'], }; } export function GitHubAppInfoToJSON(json: any): GitHubAppInfo { return GitHubAppInfoToJSONTyped(json, false); } export function GitHubAppInfoToJSONTyped(value?: GitHubAppInfo | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'accountName': value['accountName'], 'configurationDate': value['configurationDate'], 'id': value['id'], 'installationId': value['installationId'], 'isActive': value['isActive'], 'name': value['name'], }; }