Class: TencentCloud::Vod::V20240718::IncrementalMigrationHttpHeader

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

Overview

增量迁移回源 HTTP Header。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil) ⇒ IncrementalMigrationHttpHeader

Returns a new instance of IncrementalMigrationHttpHeader.



446
447
448
449
# File 'lib/v20240718/models.rb', line 446

def initialize(key=nil, value=nil)
  @Key = key
  @Value = value
end

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    Header 键。

  • Value:

    Header 值。



444
445
446
# File 'lib/v20240718/models.rb', line 444

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    Header 键。

  • Value:

    Header 值。



444
445
446
# File 'lib/v20240718/models.rb', line 444

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



451
452
453
454
# File 'lib/v20240718/models.rb', line 451

def deserialize(params)
  @Key = params['Key']
  @Value = params['Value']
end