Class: TencentCloud::Wav::V20210129::VehiclePurpose

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

Overview

购车用途详细信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(vehiclepurposecode = nil, vehiclepurposename = nil) ⇒ VehiclePurpose

Returns a new instance of VehiclePurpose.



3395
3396
3397
3398
# File 'lib/v20210129/models.rb', line 3395

def initialize(vehiclepurposecode=nil, vehiclepurposename=nil)
  @VehiclePurposeCode = vehiclepurposecode
  @VehiclePurposeName = vehiclepurposename
end

Instance Attribute Details

#VehiclePurposeCodeObject

Parameters:

  • VehiclePurposeCode:

    购车用途code

  • VehiclePurposeName:

    购车用途名称



3393
3394
3395
# File 'lib/v20210129/models.rb', line 3393

def VehiclePurposeCode
  @VehiclePurposeCode
end

#VehiclePurposeNameObject

Parameters:

  • VehiclePurposeCode:

    购车用途code

  • VehiclePurposeName:

    购车用途名称



3393
3394
3395
# File 'lib/v20210129/models.rb', line 3393

def VehiclePurposeName
  @VehiclePurposeName
end

Instance Method Details

#deserialize(params) ⇒ Object



3400
3401
3402
3403
# File 'lib/v20210129/models.rb', line 3400

def deserialize(params)
  @VehiclePurposeCode = params['VehiclePurposeCode']
  @VehiclePurposeName = params['VehiclePurposeName']
end