Class: TencentCloud::Cls::V20201016::ShipperInfo

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

Overview

投递规则

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(shipperid = nil, topicid = nil, bucket = nil, prefix = nil, shippername = nil, interval = nil, maxsize = nil, status = nil, filterrules = nil, partition = nil, compress = nil, content = nil, createtime = nil, filenamemode = nil, starttime = nil, endtime = nil, progress = nil, remaintime = nil, historystatus = nil, storagetype = nil, rolearn = nil, externalid = nil, taskstatus = nil) ⇒ ShipperInfo

Returns a new instance of ShipperInfo.



17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
# File 'lib/v20201016/models.rb', line 17303

def initialize(shipperid=nil, topicid=nil, bucket=nil, prefix=nil, shippername=nil, interval=nil, maxsize=nil, status=nil, filterrules=nil, partition=nil, compress=nil, content=nil, createtime=nil, filenamemode=nil, starttime=nil, endtime=nil, progress=nil, remaintime=nil, historystatus=nil, storagetype=nil, rolearn=nil, externalid=nil, taskstatus=nil)
  @ShipperId = shipperid
  @TopicId = topicid
  @Bucket = bucket
  @Prefix = prefix
  @ShipperName = shippername
  @Interval = interval
  @MaxSize = maxsize
  @Status = status
  @FilterRules = filterrules
  @Partition = partition
  @Compress = compress
  @Content = content
  @CreateTime = createtime
  @FilenameMode = filenamemode
  @StartTime = starttime
  @EndTime = endtime
  @Progress = progress
  @RemainTime = remaintime
  @HistoryStatus = historystatus
  @StorageType = storagetype
  @RoleArn = rolearn
  @ExternalId = externalid
  @TaskStatus = taskstatus
end

Instance Attribute Details

#Bucket ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def Bucket
  @Bucket
end

#Compress ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def Compress
  @Compress
end

#Content ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def Content
  @Content
end

#CreateTime ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def CreateTime
  @CreateTime
end

#EndTime ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def EndTime
  @EndTime
end

#ExternalId ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def ExternalId
  @ExternalId
end

#FilenameMode ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def FilenameMode
  @FilenameMode
end

#FilterRules ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def FilterRules
  @FilterRules
end

#HistoryStatus ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def HistoryStatus
  @HistoryStatus
end

#Interval ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def Interval
  @Interval
end

#MaxSize ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def MaxSize
  @MaxSize
end

#Partition ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def Partition
  @Partition
end

#Prefix ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def Prefix
  @Prefix
end

#Progress ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def Progress
  @Progress
end

#RemainTime ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def RemainTime
  @RemainTime
end

#RoleArn ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def RoleArn
  @RoleArn
end

#ShipperId ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def ShipperId
  @ShipperId
end

#ShipperName ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def ShipperName
  @ShipperName
end

#StartTime ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def StartTime
  @StartTime
end

#Status ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def Status
  @Status
end

#StorageType ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def StorageType
  @StorageType
end

#TaskStatus ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def TaskStatus
  @TaskStatus
end

#TopicId ⇒ Object

  • 0: 停止
  • 1: 运行中
  • 2: 异常


17301
17302
17303
# File 'lib/v20201016/models.rb', line 17301

def TopicId
  @TopicId
end

Instance Method Details

#deserialize(params) ⇒ Object



17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
# File 'lib/v20201016/models.rb', line 17329

def deserialize(params)
  @ShipperId = params['ShipperId']
  @TopicId = params['TopicId']
  @Bucket = params['Bucket']
  @Prefix = params['Prefix']
  @ShipperName = params['ShipperName']
  @Interval = params['Interval']
  @MaxSize = params['MaxSize']
  @Status = params['Status']
  unless params['FilterRules'].nil?
    @FilterRules = []
    params['FilterRules'].each do |i|
      filterruleinfo_tmp = FilterRuleInfo.new
      filterruleinfo_tmp.deserialize(i)
      @FilterRules << filterruleinfo_tmp
    end
  end
  @Partition = params['Partition']
  unless params['Compress'].nil?
    @Compress = CompressInfo.new
    @Compress.deserialize(params['Compress'])
  end
  unless params['Content'].nil?
    @Content = ContentInfo.new
    @Content.deserialize(params['Content'])
  end
  @CreateTime = params['CreateTime']
  @FilenameMode = params['FilenameMode']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @Progress = params['Progress']
  @RemainTime = params['RemainTime']
  @HistoryStatus = params['HistoryStatus']
  @StorageType = params['StorageType']
  @RoleArn = params['RoleArn']
  @ExternalId = params['ExternalId']
  @TaskStatus = params['TaskStatus']
end