Class: TencentCloud::Iss::V20230517::PlateContent

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

Overview

AI车牌信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(plate = nil, color = nil, type = nil, location = nil) ⇒ PlateContent

Returns a new instance of PlateContent.



6225
6226
6227
6228
6229
6230
# File 'lib/v20230517/models.rb', line 6225

def initialize(plate=nil, color=nil, type=nil, location=nil)
  @Plate = plate
  @Color = color
  @Type = type
  @Location = location
end

Instance Attribute Details

#ColorObject

Parameters:

  • Plate:

    车牌号信息

  • Color:

    车牌的颜色

  • Type:

    车牌的种类,例如普通蓝牌

  • Location:

    截图中坐标信息



6223
6224
6225
# File 'lib/v20230517/models.rb', line 6223

def Color
  @Color
end

#LocationObject

Parameters:

  • Plate:

    车牌号信息

  • Color:

    车牌的颜色

  • Type:

    车牌的种类,例如普通蓝牌

  • Location:

    截图中坐标信息



6223
6224
6225
# File 'lib/v20230517/models.rb', line 6223

def Location
  @Location
end

#PlateObject

Parameters:

  • Plate:

    车牌号信息

  • Color:

    车牌的颜色

  • Type:

    车牌的种类,例如普通蓝牌

  • Location:

    截图中坐标信息



6223
6224
6225
# File 'lib/v20230517/models.rb', line 6223

def Plate
  @Plate
end

#TypeObject

Parameters:

  • Plate:

    车牌号信息

  • Color:

    车牌的颜色

  • Type:

    车牌的种类,例如普通蓝牌

  • Location:

    截图中坐标信息



6223
6224
6225
# File 'lib/v20230517/models.rb', line 6223

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



6232
6233
6234
6235
6236
6237
6238
6239
6240
# File 'lib/v20230517/models.rb', line 6232

def deserialize(params)
  @Plate = params['Plate']
  @Color = params['Color']
  @Type = params['Type']
  unless params['Location'].nil?
    @Location = Location.new
    @Location.deserialize(params['Location'])
  end
end