Class: TencentCloud::Iotvideoindustry::V20201201::CreateTimeTemplateResponse

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

Overview

CreateTimeTemplate返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(templateid = nil, requestid = nil) ⇒ CreateTimeTemplateResponse

Returns a new instance of CreateTimeTemplateResponse.



1058
1059
1060
1061
# File 'lib/v20201201/models.rb', line 1058

def initialize(templateid=nil, requestid=nil)
  @TemplateId = templateid
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TemplateId:

    时间模板ID

  • RequestId:

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



1056
1057
1058
# File 'lib/v20201201/models.rb', line 1056

def RequestId
  @RequestId
end

#TemplateIdObject

Parameters:

  • TemplateId:

    时间模板ID

  • RequestId:

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



1056
1057
1058
# File 'lib/v20201201/models.rb', line 1056

def TemplateId
  @TemplateId
end

Instance Method Details

#deserialize(params) ⇒ Object



1063
1064
1065
1066
# File 'lib/v20201201/models.rb', line 1063

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