/* tslint:disable */
/* eslint-disable */
/**
 * Deepfence ThreatMapper
 * Deepfence Runtime API provides programmatic control over Deepfence microservice securing your container, kubernetes and cloud deployments. The API abstracts away underlying infrastructure details like cloud provider,  container distros, container orchestrator and type of deployment. This is one uniform API to manage and control security alerts, policies and response to alerts for microservices running anywhere i.e. managed pure greenfield container deployments or a mix of containers, VMs and serverless paradigms like AWS Fargate.
 *
 * The version of the OpenAPI document: v2.5.0
 * Contact: community@deepfence.io
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { exists, mapValues } from '../runtime';
/**
 * 
 * @export
 * @interface ModelGetAgentBinaryDownloadURLResponse
 */
export interface ModelGetAgentBinaryDownloadURLResponse {
    /**
     * 
     * @type {string}
     * @memberof ModelGetAgentBinaryDownloadURLResponse
     */
    agent_binary_amd64_download_url?: string;
    /**
     * 
     * @type {string}
     * @memberof ModelGetAgentBinaryDownloadURLResponse
     */
    agent_binary_arm64_download_url?: string;
    /**
     * 
     * @type {string}
     * @memberof ModelGetAgentBinaryDownloadURLResponse
     */
    start_agent_script_download_url?: string;
    /**
     * 
     * @type {string}
     * @memberof ModelGetAgentBinaryDownloadURLResponse
     */
    uninstall_agent_script_download_url?: string;
}

/**
 * Check if a given object implements the ModelGetAgentBinaryDownloadURLResponse interface.
 */
export function instanceOfModelGetAgentBinaryDownloadURLResponse(value: object): boolean {
    let isInstance = true;

    return isInstance;
}

export function ModelGetAgentBinaryDownloadURLResponseFromJSON(json: any): ModelGetAgentBinaryDownloadURLResponse {
    return ModelGetAgentBinaryDownloadURLResponseFromJSONTyped(json, false);
}

export function ModelGetAgentBinaryDownloadURLResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelGetAgentBinaryDownloadURLResponse {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        
        'agent_binary_amd64_download_url': !exists(json, 'agent_binary_amd64_download_url') ? undefined : json['agent_binary_amd64_download_url'],
        'agent_binary_arm64_download_url': !exists(json, 'agent_binary_arm64_download_url') ? undefined : json['agent_binary_arm64_download_url'],
        'start_agent_script_download_url': !exists(json, 'start_agent_script_download_url') ? undefined : json['start_agent_script_download_url'],
        'uninstall_agent_script_download_url': !exists(json, 'uninstall_agent_script_download_url') ? undefined : json['uninstall_agent_script_download_url'],
    };
}

export function ModelGetAgentBinaryDownloadURLResponseToJSON(value?: ModelGetAgentBinaryDownloadURLResponse | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        'agent_binary_amd64_download_url': value.agent_binary_amd64_download_url,
        'agent_binary_arm64_download_url': value.agent_binary_arm64_download_url,
        'start_agent_script_download_url': value.start_agent_script_download_url,
        'uninstall_agent_script_download_url': value.uninstall_agent_script_download_url,
    };
}

