/**
 * Application Performance Monitoring Synthetic Monitoring API
 * Use the Application Performance Monitoring Synthetic Monitoring API to query synthetic scripts and monitors.
 * OpenAPI spec version: 20200630
 *
 *
 * NOTE: This class is auto generated by OracleSDKGenerator.
 * Do not edit the class manually.
 *
 * Copyright (c) 2020, 2022, Oracle and/or its affiliates.  All rights reserved.
 * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
 */ import * as model from "../model" ; import common = require ( "oci-common" ) ; /**
 * Details for request HTTP authentication.
 */ export interface RequestAuthenticationDetails { /**
     * Request http oauth scheme.
     */ "oauthScheme" ? : model . OAuthSchemes ; /**
     * Username for authentication.
     */ "authUserName" ? : string ; /**
     * User password for authentication.
     */ "authUserPassword" ? : string ; /**
     * Authentication token.
     */ "authToken" ? : string ; /**
     * URL to get authetication token.
     */ "authUrl" ? : string ; /**
     * List of authentication headers. Example: `[{\"headerName\": \"content-type\", \"headerValue\":\"json\"}]`
     *
     */ "authHeaders" ? : Array < model . Header > ; /**
     * Request method.
     */ "authRequestMethod" ? : model . RequestMethods ; /**
     * Request post body.
     */ "authRequestPostBody" ? : string ; } export namespace RequestAuthenticationDetails { export function getJsonObj ( obj ) { const jsonObj = { ... obj , ... { "authHeaders" : obj . authHeaders ? obj . authHeaders . map ( item => { return model . Header . getJsonObj ( item ) ; } ) : undefined } } ; return jsonObj ; } export function getDeserializedJsonObj ( obj ) { const jsonObj = { ... obj , ... { "authHeaders" : obj . authHeaders ? obj . authHeaders . map ( item => { return model . Header . getDeserializedJsonObj ( item ) ; } ) : undefined } } ; return jsonObj ; } }