//
/* NOTICE: All information contained herein is, and remains the property of Brightinsight Inc. or its customer. 
The intellectual and technical concepts contained herein are proprietary to Brightinsight Inc. or its customer and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade secret or copyright law.
Dissemination of this information or reproduction of this material is strictly forbidden unless prior written permission is obtained from Brightinsight Inc. or its customer. Access to the source code contained herein is hereby forbidden to anyone except current Brightinsight Inc. employees, managers or contractors who have executed
Confidentiality and Non-disclosure agreements explicitly covering such access.
*/
/**
* System Name : BISDKCore
* Component ID : BISDKConfig
* Description : 
* Author: Walter José Pinto
* Copyright © : Brightinsight, Inc.
* -----------------------
* Revision Change
* -----------------------
* Author            Date             Version       Change-Description
*========================================================================================================
*/

import Foundation

/// Configuration class required to indicate the basic information used by the SDK to stablish connection to the Orchestation Messaging Service OMS.
public struct BISDKConfig {
    
    /// URL of the OMS used to perform the API requests.
    public let baseURL: String
    
    /// API Key Token used to stablish a secured connection and allows the `BISDKApiRequest` to perform the requests. It is required by the OMS to accept connections.
    public let apiKey: String

    /**
     * Initializer of the `BISDKConfig`
     *
     * - Parameters:
     *      - baseURL: URL of the OMS used to perform the API requests.
     *      - apiKey: API Key Token used to stablish a secured connection and allows the `BISDKApiRequest` to perform the requests. It is required by the OMS to accept connections.
     */
    public init(baseURL: String, apiKey: String){
        self.baseURL = baseURL
        self.apiKey = apiKey
    }
}
