Class: TencentCloud::Waf::V20180125::DeleteHostResponse

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

Overview

DeleteHost返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DeleteHostResponse.



2920
2921
2922
2923
# File 'lib/v20180125/models.rb', line 2920

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

Instance Attribute Details

#RequestIdObject

Parameters:

  • Success:

    域名删除结果。Code表示状态码,Message表示详细信息。

  • RequestId:

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



2918
2919
2920
# File 'lib/v20180125/models.rb', line 2918

def RequestId
  @RequestId
end

#SuccessObject

Parameters:

  • Success:

    域名删除结果。Code表示状态码,Message表示详细信息。

  • RequestId:

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



2918
2919
2920
# File 'lib/v20180125/models.rb', line 2918

def Success
  @Success
end

Instance Method Details

#deserialize(params) ⇒ Object



2925
2926
2927
2928
2929
2930
2931
# File 'lib/v20180125/models.rb', line 2925

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