Class: TencentCloud::Waf::V20180125::ModifyWebshellStatusResponse

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

Overview

ModifyWebshellStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ModifyWebshellStatusResponse.



11586
11587
11588
11589
# File 'lib/v20180125/models.rb', line 11586

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

Instance Attribute Details

#RequestIdObject

Parameters:

  • Success:

    成功的状态码,需要JSON解码后再使用,返回的格式是“域名”:“状态”,成功的状态码为Success,其它的为失败的状态码(yunapi定义的错误码)

  • RequestId:

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



11584
11585
11586
# File 'lib/v20180125/models.rb', line 11584

def RequestId
  @RequestId
end

#SuccessObject

Parameters:

  • Success:

    成功的状态码,需要JSON解码后再使用,返回的格式是“域名”:“状态”,成功的状态码为Success,其它的为失败的状态码(yunapi定义的错误码)

  • RequestId:

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



11584
11585
11586
# File 'lib/v20180125/models.rb', line 11584

def Success
  @Success
end

Instance Method Details

#deserialize(params) ⇒ Object



11591
11592
11593
11594
11595
11596
11597
# File 'lib/v20180125/models.rb', line 11591

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