Class: Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex
- Includes:
- MsRestAzure
- Defined in:
- lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/refresh_index.rb
Overview
Refresh Index Response.
Instance Attribute Summary collapse
-
#advanced_info ⇒ Array<RefreshIndexAdvancedInfoItem>
Advanced info list.
-
#content_source_id ⇒ String
Content source Id.
-
#is_update_success ⇒ Boolean
Update success status.
-
#status ⇒ Status
Refresh index status.
-
#tracking_id ⇒ String
Tracking Id.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RefreshIndex class as Ruby Hash.
Instance Attribute Details
#advanced_info ⇒ Array<RefreshIndexAdvancedInfoItem>
Returns Advanced info list.
22 23 24 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/refresh_index.rb', line 22 def advanced_info @advanced_info end |
#content_source_id ⇒ String
Returns Content source Id.
16 17 18 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/refresh_index.rb', line 16 def content_source_id @content_source_id end |
#is_update_success ⇒ Boolean
Returns Update success status.
19 20 21 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/refresh_index.rb', line 19 def is_update_success @is_update_success end |
#status ⇒ Status
Returns Refresh index status.
25 26 27 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/refresh_index.rb', line 25 def status @status end |
#tracking_id ⇒ String
Returns Tracking Id.
28 29 30 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/refresh_index.rb', line 28 def tracking_id @tracking_id end |
Class Method Details
.mapper ⇒ Object
Mapper for RefreshIndex class as Ruby Hash. This will be used for serialization/deserialization.
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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/refresh_index.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RefreshIndex', type: { name: 'Composite', class_name: 'RefreshIndex', model_properties: { content_source_id: { client_side_validation: true, required: false, serialized_name: 'ContentSourceId', type: { name: 'String' } }, is_update_success: { client_side_validation: true, required: false, serialized_name: 'IsUpdateSuccess', type: { name: 'Boolean' } }, advanced_info: { client_side_validation: true, required: false, serialized_name: 'AdvancedInfo', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'RefreshIndexAdvancedInfoItemElementType', type: { name: 'Composite', class_name: 'RefreshIndexAdvancedInfoItem' } } } }, status: { client_side_validation: true, required: false, serialized_name: 'Status', type: { name: 'Composite', class_name: 'Status' } }, tracking_id: { client_side_validation: true, required: false, serialized_name: 'TrackingId', type: { name: 'String' } } } } } end |