Class: TencentCloud::Tcb::V20180608::CloudBaseRunKVPriority

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

Overview

KV参数的优先级

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil, priority = nil) ⇒ CloudBaseRunKVPriority

Returns a new instance of CloudBaseRunKVPriority.



708
709
710
711
712
# File 'lib/v20180608/models.rb', line 708

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

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    参数的Key

  • Value:

    参数的Value

  • Priority:

    优先级



706
707
708
# File 'lib/v20180608/models.rb', line 706

def Key
  @Key
end

#PriorityObject

Parameters:

  • Key:

    参数的Key

  • Value:

    参数的Value

  • Priority:

    优先级



706
707
708
# File 'lib/v20180608/models.rb', line 706

def Priority
  @Priority
end

#ValueObject

Parameters:

  • Key:

    参数的Key

  • Value:

    参数的Value

  • Priority:

    优先级



706
707
708
# File 'lib/v20180608/models.rb', line 706

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



714
715
716
717
718
# File 'lib/v20180608/models.rb', line 714

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