Class: TencentCloud::Cam::V20190116::SetMfaFlagRequest

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

Overview

SetMfaFlag请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(opuin = nil, loginflag = nil, actionflag = nil) ⇒ SetMfaFlagRequest

Returns a new instance of SetMfaFlagRequest.



4587
4588
4589
4590
4591
# File 'lib/v20190116/models.rb', line 4587

def initialize(opuin=nil, loginflag=nil, actionflag=nil)
  @OpUin = opuin
  @LoginFlag = loginflag
  @ActionFlag = actionflag
end

Instance Attribute Details

#ActionFlagObject

Parameters:

  • OpUin:

    设置用户的uin

  • LoginFlag:

    登录保护设置

  • ActionFlag:

    操作保护设置



4585
4586
4587
# File 'lib/v20190116/models.rb', line 4585

def ActionFlag
  @ActionFlag
end

#LoginFlagObject

Parameters:

  • OpUin:

    设置用户的uin

  • LoginFlag:

    登录保护设置

  • ActionFlag:

    操作保护设置



4585
4586
4587
# File 'lib/v20190116/models.rb', line 4585

def LoginFlag
  @LoginFlag
end

#OpUinObject

Parameters:

  • OpUin:

    设置用户的uin

  • LoginFlag:

    登录保护设置

  • ActionFlag:

    操作保护设置



4585
4586
4587
# File 'lib/v20190116/models.rb', line 4585

def OpUin
  @OpUin
end

Instance Method Details

#deserialize(params) ⇒ Object



4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
# File 'lib/v20190116/models.rb', line 4593

def deserialize(params)
  @OpUin = params['OpUin']
  unless params['LoginFlag'].nil?
    @LoginFlag = LoginActionMfaFlag.new
    @LoginFlag.deserialize(params['LoginFlag'])
  end
  unless params['ActionFlag'].nil?
    @ActionFlag = LoginActionMfaFlag.new
    @ActionFlag.deserialize(params['ActionFlag'])
  end
end