Class: TencentCloud::Waf::V20180125::ModifyApiSecEventChangeRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::ModifyApiSecEventChangeRequest
- Defined in:
- lib/v20180125/models.rb
Overview
ModifyApiSecEventChange请求参数结构体
Instance Attribute Summary collapse
- #ApiNameList ⇒ Object
- #EventIdList ⇒ Object
- #IsDelete ⇒ Object
- #Mode ⇒ Object
- #Remark ⇒ Object
- #UpdateApiRemark ⇒ Object
- #UserName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(mode = nil, username = nil, remark = nil, eventidlist = nil, apinamelist = nil, isdelete = nil, updateapiremark = nil) ⇒ ModifyApiSecEventChangeRequest
constructor
A new instance of ModifyApiSecEventChangeRequest.
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
#ApiNameList ⇒ Object
9739 9740 9741 |
# File 'lib/v20180125/models.rb', line 9739 def ApiNameList @ApiNameList end |
#EventIdList ⇒ Object
9739 9740 9741 |
# File 'lib/v20180125/models.rb', line 9739 def EventIdList @EventIdList end |
#IsDelete ⇒ Object
9739 9740 9741 |
# File 'lib/v20180125/models.rb', line 9739 def IsDelete @IsDelete end |
#Mode ⇒ Object
9739 9740 9741 |
# File 'lib/v20180125/models.rb', line 9739 def Mode @Mode end |
#Remark ⇒ Object
9739 9740 9741 |
# File 'lib/v20180125/models.rb', line 9739 def Remark @Remark end |
#UpdateApiRemark ⇒ Object
9739 9740 9741 |
# File 'lib/v20180125/models.rb', line 9739 def UpdateApiRemark @UpdateApiRemark end |
#UserName ⇒ Object
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 |