Class: TencentCloud::Mrs::V20200910::PartDesc

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

Overview

部位描述

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(maindir = nil, part = nil, secondarydir = nil, type = nil) ⇒ PartDesc

Returns a new instance of PartDesc.



8189
8190
8191
8192
8193
8194
# File 'lib/v20200910/models.rb', line 8189

def initialize(maindir=nil, part=nil, secondarydir=nil, type=nil)
  @MainDir = maindir
  @Part = part
  @SecondaryDir = secondarydir
  @Type = type
end

Instance Attribute Details

#MainDirObject

Parameters:

  • MainDir:

    主要部位

  • Part:

    部位

  • SecondaryDir:

    次要部位

  • Type:

    类型



8187
8188
8189
# File 'lib/v20200910/models.rb', line 8187

def MainDir
  @MainDir
end

#PartObject

Parameters:

  • MainDir:

    主要部位

  • Part:

    部位

  • SecondaryDir:

    次要部位

  • Type:

    类型



8187
8188
8189
# File 'lib/v20200910/models.rb', line 8187

def Part
  @Part
end

#SecondaryDirObject

Parameters:

  • MainDir:

    主要部位

  • Part:

    部位

  • SecondaryDir:

    次要部位

  • Type:

    类型



8187
8188
8189
# File 'lib/v20200910/models.rb', line 8187

def SecondaryDir
  @SecondaryDir
end

#TypeObject

Parameters:

  • MainDir:

    主要部位

  • Part:

    部位

  • SecondaryDir:

    次要部位

  • Type:

    类型



8187
8188
8189
# File 'lib/v20200910/models.rb', line 8187

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



8196
8197
8198
8199
8200
8201
# File 'lib/v20200910/models.rb', line 8196

def deserialize(params)
  @MainDir = params['MainDir']
  @Part = params['Part']
  @SecondaryDir = params['SecondaryDir']
  @Type = params['Type']
end