Class: TencentCloud::Bh::V20230418::AuthModeSetting

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230418/models.rb

Overview

认证方式设置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(authmode = nil) ⇒ AuthModeSetting

Returns a new instance of AuthModeSetting.



698
699
700
# File 'lib/v20230418/models.rb', line 698

def initialize(authmode=nil)
  @AuthMode = authmode
end

Instance Attribute Details

#AuthModeObject

Parameters:

  • AuthMode:

    双因子认证,0-不开启,1-OTP,2-短信



696
697
698
# File 'lib/v20230418/models.rb', line 696

def AuthMode
  @AuthMode
end

Instance Method Details

#deserialize(params) ⇒ Object



702
703
704
# File 'lib/v20230418/models.rb', line 702

def deserialize(params)
  @AuthMode = params['AuthMode']
end