Class: TencentCloud::Waf::V20180125::ModifyCustomWhiteRuleStatusResponse

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

Overview

ModifyCustomWhiteRuleStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ModifyCustomWhiteRuleStatusResponse.



10302
10303
10304
10305
# File 'lib/v20180125/models.rb', line 10302

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

Instance Attribute Details

#RequestIdObject

Parameters:

  • Success:

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

  • RequestId:

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



10300
10301
10302
# File 'lib/v20180125/models.rb', line 10300

def RequestId
  @RequestId
end

#SuccessObject

Parameters:

  • Success:

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

  • RequestId:

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



10300
10301
10302
# File 'lib/v20180125/models.rb', line 10300

def Success
  @Success
end

Instance Method Details

#deserialize(params) ⇒ Object



10307
10308
10309
10310
10311
10312
10313
# File 'lib/v20180125/models.rb', line 10307

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