/* tslint:disable */
/* eslint-disable */
/**
 * Synapse REST API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 * @export
 */
export const AgentRegistrationTypeEnum = {
    BASELINE: 'BASELINE',
    CUSTOM: 'CUSTOM'
};
/**
 * Check if a given object implements the AgentRegistration interface.
 */
export function instanceOfAgentRegistration(value) {
    return true;
}
export function AgentRegistrationFromJSON(json) {
    return AgentRegistrationFromJSONTyped(json, false);
}
export function AgentRegistrationFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'agentRegistrationId': json['agentRegistrationId'] == null ? undefined : json['agentRegistrationId'],
        'awsAgentId': json['awsAgentId'] == null ? undefined : json['awsAgentId'],
        'awsAliasId': json['awsAliasId'] == null ? undefined : json['awsAliasId'],
        'registeredOn': json['registeredOn'] == null ? undefined : json['registeredOn'],
        'type': json['type'] == null ? undefined : json['type'],
    };
}
export function AgentRegistrationToJSON(json) {
    return AgentRegistrationToJSONTyped(json, false);
}
export function AgentRegistrationToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'agentRegistrationId': value['agentRegistrationId'],
        'awsAgentId': value['awsAgentId'],
        'awsAliasId': value['awsAliasId'],
        'registeredOn': value['registeredOn'],
        'type': value['type'],
    };
}
//# sourceMappingURL=AgentRegistration.js.map