Class: Azure::OperationalInsights::Mgmt::V2020_08_01::Models::SearchSchemaValue

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_schema_value.rb

Overview

Value object for schema results.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#display_nameString

Returns The display name of the schema.

Returns:

  • (String)

    The display name of the schema.



19
20
21
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_schema_value.rb', line 19

def display_name
  @display_name
end

#facetBoolean

is a facet.

Returns:

  • (Boolean)

    The boolean that indicates whether or not the field



34
35
36
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_schema_value.rb', line 34

def facet
  @facet
end

#indexedBoolean

free text.

Returns:

  • (Boolean)

    The boolean that indicates the field is searchable as



26
27
28
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_schema_value.rb', line 26

def indexed
  @indexed
end

#nameString

Returns The name of the schema.

Returns:

  • (String)

    The name of the schema.



16
17
18
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_schema_value.rb', line 16

def name
  @name
end

#owner_typeArray<String>

Returns The array of workflows containing the field.

Returns:

  • (Array<String>)

    The array of workflows containing the field.



37
38
39
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_schema_value.rb', line 37

def owner_type
  @owner_type
end

#storedBoolean

is stored.

Returns:

  • (Boolean)

    The boolean that indicates whether or not the field



30
31
32
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_schema_value.rb', line 30

def stored
  @stored
end

#typeString

Returns The type.

Returns:

  • (String)

    The type.



22
23
24
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_schema_value.rb', line 22

def type
  @type
end

Class Method Details

.mapperObject

Mapper for SearchSchemaValue class as Ruby Hash. This will be used for serialization/deserialization.



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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_schema_value.rb', line 44

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SearchSchemaValue',
    type: {
      name: 'Composite',
      class_name: 'SearchSchemaValue',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'displayName',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        indexed: {
          client_side_validation: true,
          required: true,
          serialized_name: 'indexed',
          type: {
            name: 'Boolean'
          }
        },
        stored: {
          client_side_validation: true,
          required: true,
          serialized_name: 'stored',
          type: {
            name: 'Boolean'
          }
        },
        facet: {
          client_side_validation: true,
          required: true,
          serialized_name: 'facet',
          type: {
            name: 'Boolean'
          }
        },
        owner_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ownerType',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end