Class: TencentCloud::Wav::V20210129::VehicleInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wav::V20210129::VehicleInfo
- Defined in:
- lib/v20210129/models.rb
Overview
车型车系信息
Instance Attribute Summary collapse
- #BrandId ⇒ Object
- #BrandName ⇒ Object
- #ModelId ⇒ Object
- #ModelName ⇒ Object
- #SeriesId ⇒ Object
- #SeriesName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(brandid = nil, brandname = nil, seriesid = nil, seriesname = nil, modelid = nil, modelname = nil) ⇒ VehicleInfo
constructor
A new instance of VehicleInfo.
Constructor Details
#initialize(brandid = nil, brandname = nil, seriesid = nil, seriesname = nil, modelid = nil, modelname = nil) ⇒ VehicleInfo
Returns a new instance of VehicleInfo.
3367 3368 3369 3370 3371 3372 3373 3374 |
# File 'lib/v20210129/models.rb', line 3367 def initialize(brandid=nil, brandname=nil, seriesid=nil, seriesname=nil, modelid=nil, modelname=nil) @BrandId = brandid @BrandName = brandname @SeriesId = seriesid @SeriesName = seriesname @ModelId = modelid @ModelName = modelname end |
Instance Attribute Details
#BrandId ⇒ Object
3365 3366 3367 |
# File 'lib/v20210129/models.rb', line 3365 def BrandId @BrandId end |
#BrandName ⇒ Object
3365 3366 3367 |
# File 'lib/v20210129/models.rb', line 3365 def BrandName @BrandName end |
#ModelId ⇒ Object
3365 3366 3367 |
# File 'lib/v20210129/models.rb', line 3365 def ModelId @ModelId end |
#ModelName ⇒ Object
3365 3366 3367 |
# File 'lib/v20210129/models.rb', line 3365 def ModelName @ModelName end |
#SeriesId ⇒ Object
3365 3366 3367 |
# File 'lib/v20210129/models.rb', line 3365 def SeriesId @SeriesId end |
#SeriesName ⇒ Object
3365 3366 3367 |
# File 'lib/v20210129/models.rb', line 3365 def SeriesName @SeriesName end |
Instance Method Details
#deserialize(params) ⇒ Object
3376 3377 3378 3379 3380 3381 3382 3383 |
# File 'lib/v20210129/models.rb', line 3376 def deserialize(params) @BrandId = params['BrandId'] @BrandName = params['BrandName'] @SeriesId = params['SeriesId'] @SeriesName = params['SeriesName'] @ModelId = params['ModelId'] @ModelName = params['ModelName'] end |