Class: TencentCloud::Cdn::V20180606::CreateEdgePackTaskRequest

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

Overview

CreateEdgePackTask请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cosbucket = nil, cosurifrom = nil, blockid = nil, cosurito = nil) ⇒ CreateEdgePackTaskRequest

Returns a new instance of CreateEdgePackTaskRequest.



2947
2948
2949
2950
2951
2952
# File 'lib/v20180606/models.rb', line 2947

def initialize(cosbucket=nil, cosurifrom=nil, blockid=nil, cosurito=nil)
  @CosBucket = cosbucket
  @CosUriFrom = cosurifrom
  @BlockID = blockid
  @CosUriTo = cosurito
end

Instance Attribute Details

#BlockIDObject

Parameters:

  • CosBucket:

    apk 所在的 cos 存储桶, 如 edgepack-xxxxxxxx

  • CosUriFrom:

    apk 源文件的存储路径, 如 /apk/xxxx.apk

  • BlockID:

    BlockID 的值, WALLE为1903654775(0x71777777),VasDolly为2282837503(0x881155ff),传0或不传时默认为 WALLE 方案

  • CosUriTo:

    拓展之后的 apk 目标存储路径,如 /out/xxxx.apk



2945
2946
2947
# File 'lib/v20180606/models.rb', line 2945

def BlockID
  @BlockID
end

#CosBucketObject

Parameters:

  • CosBucket:

    apk 所在的 cos 存储桶, 如 edgepack-xxxxxxxx

  • CosUriFrom:

    apk 源文件的存储路径, 如 /apk/xxxx.apk

  • BlockID:

    BlockID 的值, WALLE为1903654775(0x71777777),VasDolly为2282837503(0x881155ff),传0或不传时默认为 WALLE 方案

  • CosUriTo:

    拓展之后的 apk 目标存储路径,如 /out/xxxx.apk



2945
2946
2947
# File 'lib/v20180606/models.rb', line 2945

def CosBucket
  @CosBucket
end

#CosUriFromObject

Parameters:

  • CosBucket:

    apk 所在的 cos 存储桶, 如 edgepack-xxxxxxxx

  • CosUriFrom:

    apk 源文件的存储路径, 如 /apk/xxxx.apk

  • BlockID:

    BlockID 的值, WALLE为1903654775(0x71777777),VasDolly为2282837503(0x881155ff),传0或不传时默认为 WALLE 方案

  • CosUriTo:

    拓展之后的 apk 目标存储路径,如 /out/xxxx.apk



2945
2946
2947
# File 'lib/v20180606/models.rb', line 2945

def CosUriFrom
  @CosUriFrom
end

#CosUriToObject

Parameters:

  • CosBucket:

    apk 所在的 cos 存储桶, 如 edgepack-xxxxxxxx

  • CosUriFrom:

    apk 源文件的存储路径, 如 /apk/xxxx.apk

  • BlockID:

    BlockID 的值, WALLE为1903654775(0x71777777),VasDolly为2282837503(0x881155ff),传0或不传时默认为 WALLE 方案

  • CosUriTo:

    拓展之后的 apk 目标存储路径,如 /out/xxxx.apk



2945
2946
2947
# File 'lib/v20180606/models.rb', line 2945

def CosUriTo
  @CosUriTo
end

Instance Method Details

#deserialize(params) ⇒ Object



2954
2955
2956
2957
2958
2959
# File 'lib/v20180606/models.rb', line 2954

def deserialize(params)
  @CosBucket = params['CosBucket']
  @CosUriFrom = params['CosUriFrom']
  @BlockID = params['BlockID']
  @CosUriTo = params['CosUriTo']
end