Class: TencentCloud::Ie::V20200304::SaveInfo

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

Overview

任务存储信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, cosinfo = nil, id = nil) ⇒ SaveInfo

Returns a new instance of SaveInfo.



2696
2697
2698
2699
2700
# File 'lib/v20200304/models.rb', line 2696

def initialize(type=nil, cosinfo=nil, id=nil)
  @Type = type
  @CosInfo = cosinfo
  @Id = id
end

Instance Attribute Details

#CosInfoObject

1:CosInfo。ID只能包含字母、数字、下划线、中划线,长读不能超过128。

Parameters:

  • Type:

    存储类型,可选值:

  • CosInfo:

    Cos形式存储信息,当Type等于1时必选。

  • Id:

    存储信息ID标记,用于多个输出场景。部分任务支持多输出时,一般要求必选。



2694
2695
2696
# File 'lib/v20200304/models.rb', line 2694

def CosInfo
  @CosInfo
end

#IdObject

1:CosInfo。ID只能包含字母、数字、下划线、中划线,长读不能超过128。

Parameters:

  • Type:

    存储类型,可选值:

  • CosInfo:

    Cos形式存储信息,当Type等于1时必选。

  • Id:

    存储信息ID标记,用于多个输出场景。部分任务支持多输出时,一般要求必选。



2694
2695
2696
# File 'lib/v20200304/models.rb', line 2694

def Id
  @Id
end

#TypeObject

1:CosInfo。ID只能包含字母、数字、下划线、中划线,长读不能超过128。

Parameters:

  • Type:

    存储类型,可选值:

  • CosInfo:

    Cos形式存储信息,当Type等于1时必选。

  • Id:

    存储信息ID标记,用于多个输出场景。部分任务支持多输出时,一般要求必选。



2694
2695
2696
# File 'lib/v20200304/models.rb', line 2694

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



2702
2703
2704
2705
2706
2707
2708
2709
# File 'lib/v20200304/models.rb', line 2702

def deserialize(params)
  @Type = params['Type']
  unless params['CosInfo'].nil?
    @CosInfo = CosInfo.new
    @CosInfo.deserialize(params['CosInfo'])
  end
  @Id = params['Id']
end