Class: TencentCloud::Mrs::V20200910::DiagCertItem

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

Overview

诊断证明项

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(text = nil, type = nil, value = nil) ⇒ DiagCertItem

Returns a new instance of DiagCertItem.



2508
2509
2510
2511
2512
# File 'lib/v20200910/models.rb', line 2508

def initialize(text=nil, type=nil, value=nil)
  @Text = text
  @Type = type
  @Value = value
end

Instance Attribute Details

#TextObject

Parameters:

  • Text:

    文本

  • Type:

    类型

  • Value:



2506
2507
2508
# File 'lib/v20200910/models.rb', line 2506

def Text
  @Text
end

#TypeObject

Parameters:

  • Text:

    文本

  • Type:

    类型

  • Value:



2506
2507
2508
# File 'lib/v20200910/models.rb', line 2506

def Type
  @Type
end

#ValueObject

Parameters:

  • Text:

    文本

  • Type:

    类型

  • Value:



2506
2507
2508
# File 'lib/v20200910/models.rb', line 2506

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



2514
2515
2516
2517
2518
# File 'lib/v20200910/models.rb', line 2514

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