"use strict"; /* tslint:disable */ /* eslint-disable */ /** * HashiCorp Vault API * HTTP API that gives you full access to Vault. All API routes are prefixed with `/v1/`. * * The version of the OpenAPI document: 1.20.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfGoogleCloudKmsConfigureRequest = instanceOfGoogleCloudKmsConfigureRequest; exports.GoogleCloudKmsConfigureRequestFromJSON = GoogleCloudKmsConfigureRequestFromJSON; exports.GoogleCloudKmsConfigureRequestFromJSONTyped = GoogleCloudKmsConfigureRequestFromJSONTyped; exports.GoogleCloudKmsConfigureRequestToJSON = GoogleCloudKmsConfigureRequestToJSON; exports.GoogleCloudKmsConfigureRequestToJSONTyped = GoogleCloudKmsConfigureRequestToJSONTyped; /** * Check if a given object implements the GoogleCloudKmsConfigureRequest interface. */ function instanceOfGoogleCloudKmsConfigureRequest(value) { return true; } function GoogleCloudKmsConfigureRequestFromJSON(json) { return GoogleCloudKmsConfigureRequestFromJSONTyped(json, false); } function GoogleCloudKmsConfigureRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'credentials': json['credentials'] == null ? undefined : json['credentials'], 'scopes': json['scopes'] == null ? undefined : json['scopes'], }; } function GoogleCloudKmsConfigureRequestToJSON(json) { return GoogleCloudKmsConfigureRequestToJSONTyped(json, false); } function GoogleCloudKmsConfigureRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'credentials': value['credentials'], 'scopes': value['scopes'], }; }