Class: TencentCloud::Waf::V20180125::ModifyApiSecEventChangeRequest

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

Overview

ModifyApiSecEventChange请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(mode = nil, username = nil, remark = nil, eventidlist = nil, apinamelist = nil, isdelete = nil, updateapiremark = nil) ⇒ ModifyApiSecEventChangeRequest

Returns a new instance of ModifyApiSecEventChangeRequest.



9741
9742
9743
9744
9745
9746
9747
9748
9749
# File 'lib/v20180125/models.rb', line 9741

def initialize(mode=nil, username=nil, remark=nil, eventidlist=nil, apinamelist=nil, isdelete=nil, updateapiremark=nil)
  @Mode = mode
  @UserName = username
  @Remark = remark
  @EventIdList = eventidlist
  @ApiNameList = apinamelist
  @IsDelete = isdelete
  @UpdateApiRemark = updateapiremark
end

Instance Attribute Details

#ApiNameListObject

Parameters:

  • Mode:

    变更状态,1:新发现,2,确认中,3,已确认,4,已下线,5,已忽略

  • UserName:

    处理人

  • Remark:

    备注,有长度显示1k

  • EventIdList:

    批量操作的事件列表

  • ApiNameList:

    批量操作的api列表

  • IsDelete:

    判断是否删除,包括删除事件和删除资产

  • UpdateApiRemark:

    判断是否是更新api的备注,更新api备注的时候,为true



9739
9740
9741
# File 'lib/v20180125/models.rb', line 9739

def ApiNameList
  @ApiNameList
end

#EventIdListObject

Parameters:

  • Mode:

    变更状态,1:新发现,2,确认中,3,已确认,4,已下线,5,已忽略

  • UserName:

    处理人

  • Remark:

    备注,有长度显示1k

  • EventIdList:

    批量操作的事件列表

  • ApiNameList:

    批量操作的api列表

  • IsDelete:

    判断是否删除,包括删除事件和删除资产

  • UpdateApiRemark:

    判断是否是更新api的备注,更新api备注的时候,为true



9739
9740
9741
# File 'lib/v20180125/models.rb', line 9739

def EventIdList
  @EventIdList
end

#IsDeleteObject

Parameters:

  • Mode:

    变更状态,1:新发现,2,确认中,3,已确认,4,已下线,5,已忽略

  • UserName:

    处理人

  • Remark:

    备注,有长度显示1k

  • EventIdList:

    批量操作的事件列表

  • ApiNameList:

    批量操作的api列表

  • IsDelete:

    判断是否删除,包括删除事件和删除资产

  • UpdateApiRemark:

    判断是否是更新api的备注,更新api备注的时候,为true



9739
9740
9741
# File 'lib/v20180125/models.rb', line 9739

def IsDelete
  @IsDelete
end

#ModeObject

Parameters:

  • Mode:

    变更状态,1:新发现,2,确认中,3,已确认,4,已下线,5,已忽略

  • UserName:

    处理人

  • Remark:

    备注,有长度显示1k

  • EventIdList:

    批量操作的事件列表

  • ApiNameList:

    批量操作的api列表

  • IsDelete:

    判断是否删除,包括删除事件和删除资产

  • UpdateApiRemark:

    判断是否是更新api的备注,更新api备注的时候,为true



9739
9740
9741
# File 'lib/v20180125/models.rb', line 9739

def Mode
  @Mode
end

#RemarkObject

Parameters:

  • Mode:

    变更状态,1:新发现,2,确认中,3,已确认,4,已下线,5,已忽略

  • UserName:

    处理人

  • Remark:

    备注,有长度显示1k

  • EventIdList:

    批量操作的事件列表

  • ApiNameList:

    批量操作的api列表

  • IsDelete:

    判断是否删除,包括删除事件和删除资产

  • UpdateApiRemark:

    判断是否是更新api的备注,更新api备注的时候,为true



9739
9740
9741
# File 'lib/v20180125/models.rb', line 9739

def Remark
  @Remark
end

#UpdateApiRemarkObject

Parameters:

  • Mode:

    变更状态,1:新发现,2,确认中,3,已确认,4,已下线,5,已忽略

  • UserName:

    处理人

  • Remark:

    备注,有长度显示1k

  • EventIdList:

    批量操作的事件列表

  • ApiNameList:

    批量操作的api列表

  • IsDelete:

    判断是否删除,包括删除事件和删除资产

  • UpdateApiRemark:

    判断是否是更新api的备注,更新api备注的时候,为true



9739
9740
9741
# File 'lib/v20180125/models.rb', line 9739

def UpdateApiRemark
  @UpdateApiRemark
end

#UserNameObject

Parameters:

  • Mode:

    变更状态,1:新发现,2,确认中,3,已确认,4,已下线,5,已忽略

  • UserName:

    处理人

  • Remark:

    备注,有长度显示1k

  • EventIdList:

    批量操作的事件列表

  • ApiNameList:

    批量操作的api列表

  • IsDelete:

    判断是否删除,包括删除事件和删除资产

  • UpdateApiRemark:

    判断是否是更新api的备注,更新api备注的时候,为true



9739
9740
9741
# File 'lib/v20180125/models.rb', line 9739

def UserName
  @UserName
end

Instance Method Details

#deserialize(params) ⇒ Object



9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
# File 'lib/v20180125/models.rb', line 9751

def deserialize(params)
  @Mode = params['Mode']
  @UserName = params['UserName']
  @Remark = params['Remark']
  @EventIdList = params['EventIdList']
  unless params['ApiNameList'].nil?
    @ApiNameList = []
    params['ApiNameList'].each do |i|
      apiseckey_tmp = ApiSecKey.new
      apiseckey_tmp.deserialize(i)
      @ApiNameList << apiseckey_tmp
    end
  end
  @IsDelete = params['IsDelete']
  @UpdateApiRemark = params['UpdateApiRemark']
end