Class: TencentCloud::Tem::V20210701::ModifyEnvironmentResponse

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

Overview

ModifyEnvironment返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ModifyEnvironmentResponse.



3618
3619
3620
3621
# File 'lib/v20210701/models.rb', line 3618

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

Instance Attribute Details

#RequestIdObject

Parameters:

  • Result:

    成功时为环境ID,失败为null

  • RequestId:

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



3616
3617
3618
# File 'lib/v20210701/models.rb', line 3616

def RequestId
  @RequestId
end

#ResultObject

Parameters:

  • Result:

    成功时为环境ID,失败为null

  • RequestId:

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



3616
3617
3618
# File 'lib/v20210701/models.rb', line 3616

def Result
  @Result
end

Instance Method Details

#deserialize(params) ⇒ Object



3623
3624
3625
3626
# File 'lib/v20210701/models.rb', line 3623

def deserialize(params)
  @Result = params['Result']
  @RequestId = params['RequestId']
end