/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License").
 * You may not use this file except in compliance with the License.
 * A copy of the License is located at
 * 
 *  http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed
 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
 * express or implied. See the License for the specific language governing
 * permissions and limitations under the License.
 */
/*
 * Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
 */
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
    /// 
    /// Contains the default values required for OAuth 2.0 authentication.
    /// 
    public partial class OAuth2Defaults
    {
        private List _authCodeUrls = new List();
        private List _oauth2CustomProperties = new List();
        private List _oauth2GrantTypesSupported = new List();
        private List _oauthScopes = new List();
        private List _tokenUrls = new List();
        /// 
        /// Gets and sets the property AuthCodeUrls. 
        /// 
        /// Auth code URLs that can be used for OAuth 2.0 authentication.
        /// 
        /// 
        public List AuthCodeUrls
        {
            get { return this._authCodeUrls; }
            set { this._authCodeUrls = value; }
        }
        // Check to see if AuthCodeUrls property is set
        internal bool IsSetAuthCodeUrls()
        {
            return this._authCodeUrls != null && this._authCodeUrls.Count > 0; 
        }
        /// 
        /// Gets and sets the property Oauth2CustomProperties. 
        /// 
        /// List of custom parameters required for OAuth 2.0 authentication.
        /// 
        /// 
        public List Oauth2CustomProperties
        {
            get { return this._oauth2CustomProperties; }
            set { this._oauth2CustomProperties = value; }
        }
        // Check to see if Oauth2CustomProperties property is set
        internal bool IsSetOauth2CustomProperties()
        {
            return this._oauth2CustomProperties != null && this._oauth2CustomProperties.Count > 0; 
        }
        /// 
        /// Gets and sets the property Oauth2GrantTypesSupported. 
        /// 
        /// OAuth 2.0 grant types supported by the connector.
        /// 
        /// 
        public List Oauth2GrantTypesSupported
        {
            get { return this._oauth2GrantTypesSupported; }
            set { this._oauth2GrantTypesSupported = value; }
        }
        // Check to see if Oauth2GrantTypesSupported property is set
        internal bool IsSetOauth2GrantTypesSupported()
        {
            return this._oauth2GrantTypesSupported != null && this._oauth2GrantTypesSupported.Count > 0; 
        }
        /// 
        /// Gets and sets the property OauthScopes. 
        /// 
        /// OAuth 2.0 scopes that the connector supports.
        /// 
        /// 
        public List OauthScopes
        {
            get { return this._oauthScopes; }
            set { this._oauthScopes = value; }
        }
        // Check to see if OauthScopes property is set
        internal bool IsSetOauthScopes()
        {
            return this._oauthScopes != null && this._oauthScopes.Count > 0; 
        }
        /// 
        /// Gets and sets the property TokenUrls. 
        /// 
        /// Token URLs that can be used for OAuth 2.0 authentication.
        /// 
        /// 
        public List TokenUrls
        {
            get { return this._tokenUrls; }
            set { this._tokenUrls = value; }
        }
        // Check to see if TokenUrls property is set
        internal bool IsSetTokenUrls()
        {
            return this._tokenUrls != null && this._tokenUrls.Count > 0; 
        }
    }
}