/*
* Tribufu API
*
* REST API to access Tribufu services.
*
* The version of the OpenAPI document: 1.1.0
* Contact: contact@tribufu.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
namespace Tribufu.Generated.Client
{
///
/// Represents a readable-only configuration contract.
///
public interface IReadableConfiguration
{
///
/// Gets the access token.
///
/// Access token.
string AccessToken { get; }
///
/// Gets the API key.
///
/// API key.
IDictionary ApiKey { get; }
///
/// Gets the API key prefix.
///
/// API key prefix.
IDictionary ApiKeyPrefix { get; }
///
/// Gets the base path.
///
/// Base path.
string BasePath { get; }
///
/// Gets the date time format.
///
/// Date time format.
string DateTimeFormat { get; }
///
/// Gets the default header.
///
/// Default header.
[Obsolete("Use DefaultHeaders instead.")]
IDictionary DefaultHeader { get; }
///
/// Gets the default headers.
///
/// Default headers.
IDictionary DefaultHeaders { get; }
///
/// Gets the temp folder path.
///
/// Temp folder path.
string TempFolderPath { get; }
///
/// Gets the HTTP connection timeout.
///
/// HTTP connection timeout.
TimeSpan Timeout { get; }
///
/// Gets the proxy.
///
/// Proxy.
WebProxy Proxy { get; }
///
/// Gets the user agent.
///
/// User agent.
string UserAgent { get; }
///
/// Gets the username.
///
/// Username.
string Username { get; }
///
/// Gets the password.
///
/// Password.
string Password { get; }
///
/// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
///
bool UseDefaultCredentials { get; }
///
/// Get the servers associated with the operation.
///
/// Operation servers.
IReadOnlyDictionary>> OperationServers { get; }
///
/// Gets the API key with prefix.
///
/// API key identifier (authentication scheme).
/// API key with prefix.
string GetApiKeyWithPrefix(string apiKeyIdentifier);
///
/// Gets the Operation server url at the provided index.
///
/// Operation server name.
/// Index of the operation server settings.
///
string GetOperationServerUrl(string operation, int index);
///
/// Gets certificate collection to be sent with requests.
///
/// X509 Certificate collection.
X509CertificateCollection ClientCertificates { get; }
///
/// Callback function for handling the validation of remote certificates. Useful for certificate pinning and
/// overriding certificate errors in the scope of a request.
///
RemoteCertificateValidationCallback RemoteCertificateValidationCallback { get; }
}
}