Class: TencentCloud::Waf::V20180125::ModifyCustomRuleStatusResponse

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

Overview

ModifyCustomRuleStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(success = nil, requestid = nil) ⇒ ModifyCustomRuleStatusResponse

Returns a new instance of ModifyCustomRuleStatusResponse.



10174
10175
10176
10177
# File 'lib/v20180125/models.rb', line 10174

def initialize(success=nil, requestid=nil)
  @Success = success
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • Success:

    操作的状态码,如果所有的资源操作成功则返回的是成功的状态码,如果有资源操作失败则需要解析Message的内容来查看哪个资源失败

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



10172
10173
10174
# File 'lib/v20180125/models.rb', line 10172

def RequestId
  @RequestId
end

#SuccessObject

Parameters:

  • Success:

    操作的状态码,如果所有的资源操作成功则返回的是成功的状态码,如果有资源操作失败则需要解析Message的内容来查看哪个资源失败

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



10172
10173
10174
# File 'lib/v20180125/models.rb', line 10172

def Success
  @Success
end

Instance Method Details

#deserialize(params) ⇒ Object



10179
10180
10181
10182
10183
10184
10185
# File 'lib/v20180125/models.rb', line 10179

def deserialize(params)
  unless params['Success'].nil?
    @Success = ResponseCode.new
    @Success.deserialize(params['Success'])
  end
  @RequestId = params['RequestId']
end