Class: Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/refresh_index.rb

Overview

Refresh Index Response.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#advanced_infoArray<RefreshIndexAdvancedInfoItem>

Returns Advanced info list.

Returns:



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_idString

Returns Content source Id.

Returns:

  • (String)

    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_successBoolean

Returns Update success status.

Returns:

  • (Boolean)

    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

#statusStatus

Returns Refresh index status.

Returns:

  • (Status)

    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_idString

Returns Tracking Id.

Returns:

  • (String)

    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

.mapperObject

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