Class: TencentCloud::Gse::V20191112::GameProperty

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

Overview

游戏属性详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of GameProperty.



3276
3277
3278
3279
# File 'lib/v20191112/models.rb', line 3276

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

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    属性名称,最大长度不超过32个ASCII字符

  • Value:

    属性值,最大长度不超过96个ASCII字符



3274
3275
3276
# File 'lib/v20191112/models.rb', line 3274

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    属性名称,最大长度不超过32个ASCII字符

  • Value:

    属性值,最大长度不超过96个ASCII字符



3274
3275
3276
# File 'lib/v20191112/models.rb', line 3274

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



3281
3282
3283
3284
# File 'lib/v20191112/models.rb', line 3281

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