class Azure::CognitiveServices::Customvisiontraining::V3_0::Models::ImageRegionCreateEntry
Entry associating a region to an image.
Attributes
height[RW]
@return [Float] Height.
image_id[RW]
@return Id of the image.
left[RW]
@return [Float] Coordinate of the left boundary.
tag_id[RW]
@return Id of the tag associated with this region.
top[RW]
@return [Float] Coordinate of the top boundary.
width[RW]
@return [Float] Width.
Private Class Methods
mapper()
click to toggle source
Mapper for ImageRegionCreateEntry
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_entry.rb, line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ImageRegionCreateEntry', type: { name: 'Composite', class_name: 'ImageRegionCreateEntry', model_properties: { image_id: { client_side_validation: true, required: true, serialized_name: 'imageId', type: { name: 'String' } }, tag_id: { client_side_validation: true, required: true, serialized_name: 'tagId', type: { name: 'String' } }, left: { client_side_validation: true, required: true, serialized_name: 'left', type: { name: 'Double' } }, top: { client_side_validation: true, required: true, serialized_name: 'top', type: { name: 'Double' } }, width: { client_side_validation: true, required: true, serialized_name: 'width', type: { name: 'Double' } }, height: { client_side_validation: true, required: true, serialized_name: 'height', type: { name: 'Double' } } } } } end