Class: TencentCloud::Rce::V20201103::InputModifyNameFront

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

Overview

修改黑白名单入参

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(namelistid = nil, listname = nil, status = nil, remark = nil) ⇒ InputModifyNameFront

Returns a new instance of InputModifyNameFront.



841
842
843
844
845
846
# File 'lib/v20201103/models.rb', line 841

def initialize(namelistid=nil, listname=nil, status=nil, remark=nil)
  @NameListId = namelistid
  @ListName = listname
  @Status = status
  @Remark = remark
end

Instance Attribute Details

#ListNameObject

Parameters:

  • NameListId:

    名单ID

  • ListName:

    名单名称

  • Status:

    名单状态 [1 启用 2 停用]

  • Remark:

    描述



839
840
841
# File 'lib/v20201103/models.rb', line 839

def ListName
  @ListName
end

#NameListIdObject

Parameters:

  • NameListId:

    名单ID

  • ListName:

    名单名称

  • Status:

    名单状态 [1 启用 2 停用]

  • Remark:

    描述



839
840
841
# File 'lib/v20201103/models.rb', line 839

def NameListId
  @NameListId
end

#RemarkObject

Parameters:

  • NameListId:

    名单ID

  • ListName:

    名单名称

  • Status:

    名单状态 [1 启用 2 停用]

  • Remark:

    描述



839
840
841
# File 'lib/v20201103/models.rb', line 839

def Remark
  @Remark
end

#StatusObject

Parameters:

  • NameListId:

    名单ID

  • ListName:

    名单名称

  • Status:

    名单状态 [1 启用 2 停用]

  • Remark:

    描述



839
840
841
# File 'lib/v20201103/models.rb', line 839

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



848
849
850
851
852
853
# File 'lib/v20201103/models.rb', line 848

def deserialize(params)
  @NameListId = params['NameListId']
  @ListName = params['ListName']
  @Status = params['Status']
  @Remark = params['Remark']
end