Class: TencentCloud::Tem::V20210701::DescribeEnvironmentResponse

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

Overview

DescribeEnvironment返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(result = nil, requestid = nil) ⇒ DescribeEnvironmentResponse

Returns a new instance of DescribeEnvironmentResponse.



1973
1974
1975
1976
# File 'lib/v20210701/models.rb', line 1973

def initialize(result=nil, requestid=nil)
  @Result = result
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • Result:

    环境信息

  • RequestId:

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



1971
1972
1973
# File 'lib/v20210701/models.rb', line 1971

def RequestId
  @RequestId
end

#ResultObject

Parameters:

  • Result:

    环境信息

  • RequestId:

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



1971
1972
1973
# File 'lib/v20210701/models.rb', line 1971

def Result
  @Result
end

Instance Method Details

#deserialize(params) ⇒ Object



1978
1979
1980
1981
1982
1983
1984
# File 'lib/v20210701/models.rb', line 1978

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