Class: Azure::CognitiveServices::ComputerVision::V2_1::Models::LandmarkResults
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::ComputerVision::V2_1::Models::LandmarkResults
- Includes:
- MsRestAzure
- Defined in:
- lib/2.1/generated/azure_cognitiveservices_computervision/models/landmark_results.rb
Overview
Result of domain-specific classifications for the domain of landmarks.
Instance Attribute Summary collapse
-
#landmarks ⇒ Array<LandmarksModel>
image.
- #metadata ⇒ ImageMetadata
-
#request_id ⇒ String
Id of the REST API request.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LandmarkResults class as Ruby Hash.
Instance Attribute Details
#landmarks ⇒ Array<LandmarksModel>
image.
17 18 19 |
# File 'lib/2.1/generated/azure_cognitiveservices_computervision/models/landmark_results.rb', line 17 def landmarks @landmarks end |
#metadata ⇒ ImageMetadata
23 24 25 |
# File 'lib/2.1/generated/azure_cognitiveservices_computervision/models/landmark_results.rb', line 23 def @metadata end |
#request_id ⇒ String
Returns Id of the REST API request.
20 21 22 |
# File 'lib/2.1/generated/azure_cognitiveservices_computervision/models/landmark_results.rb', line 20 def request_id @request_id end |
Class Method Details
.mapper ⇒ Object
Mapper for LandmarkResults class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/2.1/generated/azure_cognitiveservices_computervision/models/landmark_results.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LandmarkResults', type: { name: 'Composite', class_name: 'LandmarkResults', model_properties: { landmarks: { client_side_validation: true, required: false, serialized_name: 'landmarks', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'LandmarksModelElementType', type: { name: 'Composite', class_name: 'LandmarksModel' } } } }, request_id: { client_side_validation: true, required: false, serialized_name: 'requestId', type: { name: 'String' } }, metadata: { client_side_validation: true, required: false, serialized_name: 'metadata', type: { name: 'Composite', class_name: 'ImageMetadata' } } } } } end |