Class: TencentCloud::Clb::V20180317::OAuth
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::OAuth
- Defined in:
- lib/v20180317/models.rb
Overview
OAuth配置信息。
Instance Attribute Summary collapse
-
#OAuthEnable ⇒ Object
True: 开启; False: 关闭 默认为关闭。 BYPASS: 通过 REJECT: 拒绝 默认为 BYPASS.
-
#OAuthFailureStatus ⇒ Object
True: 开启; False: 关闭 默认为关闭。 BYPASS: 通过 REJECT: 拒绝 默认为 BYPASS.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(oauthenable = nil, oauthfailurestatus = nil) ⇒ OAuth
constructor
A new instance of OAuth.
Constructor Details
#initialize(oauthenable = nil, oauthfailurestatus = nil) ⇒ OAuth
7067 7068 7069 7070 |
# File 'lib/v20180317/models.rb', line 7067 def initialize(oauthenable=nil, oauthfailurestatus=nil) @OAuthEnable = oauthenable @OAuthFailureStatus = oauthfailurestatus end |
Instance Attribute Details
#OAuthEnable ⇒ Object
True: 开启; False: 关闭默认为关闭。BYPASS: 通过REJECT: 拒绝默认为 BYPASS
7065 7066 7067 |
# File 'lib/v20180317/models.rb', line 7065 def OAuthEnable @OAuthEnable end |
#OAuthFailureStatus ⇒ Object
True: 开启; False: 关闭默认为关闭。BYPASS: 通过REJECT: 拒绝默认为 BYPASS
7065 7066 7067 |
# File 'lib/v20180317/models.rb', line 7065 def OAuthFailureStatus @OAuthFailureStatus end |
Instance Method Details
#deserialize(params) ⇒ Object
7072 7073 7074 7075 |
# File 'lib/v20180317/models.rb', line 7072 def deserialize(params) @OAuthEnable = params['OAuthEnable'] @OAuthFailureStatus = params['OAuthFailureStatus'] end |