Class: TencentCloud::Bh::V20230418::SecuritySetting

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

Overview

系统安全设置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(authmodegm = nil, reconnection = nil) ⇒ SecuritySetting

Returns a new instance of SecuritySetting.



7559
7560
7561
7562
# File 'lib/v20230418/models.rb', line 7559

def initialize(authmodegm=nil, reconnection=nil)
  @AuthModeGM = authmodegm
  @Reconnection = reconnection
end

Instance Attribute Details

#AuthModeGMObject

Parameters:

  • AuthModeGM:

    国密认证方式设置

  • Reconnection:

    资产重连次数



7557
7558
7559
# File 'lib/v20230418/models.rb', line 7557

def AuthModeGM
  @AuthModeGM
end

#ReconnectionObject

Parameters:

  • AuthModeGM:

    国密认证方式设置

  • Reconnection:

    资产重连次数



7557
7558
7559
# File 'lib/v20230418/models.rb', line 7557

def Reconnection
  @Reconnection
end

Instance Method Details

#deserialize(params) ⇒ Object



7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
# File 'lib/v20230418/models.rb', line 7564

def deserialize(params)
  unless params['AuthModeGM'].nil?
    @AuthModeGM = AuthModeSetting.new
    @AuthModeGM.deserialize(params['AuthModeGM'])
  end
  unless params['Reconnection'].nil?
    @Reconnection = ReconnectionSetting.new
    @Reconnection.deserialize(params['Reconnection'])
  end
end