Class: Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch
- Inherits:
-
Object
- Object
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb
Overview
Value object for saved search results.
Instance Attribute Summary collapse
-
#category ⇒ String
to find a saved search faster.
-
#display_name ⇒ String
Saved search display name.
-
#e_tag ⇒ String
The ETag of the saved search.
-
#id ⇒ String
The id of the saved search.
-
#name ⇒ String
The name of the saved search.
- #query ⇒ String
-
#tags ⇒ Array<Tag>
The tags attached to the saved search.
-
#type ⇒ String
The type of the saved search.
-
#version ⇒ Integer
version is 2 and is the default.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SavedSearch class as Ruby Hash.
Instance Attribute Details
#category ⇒ String
to find a saved search faster.
29 30 31 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb', line 29 def category @category end |
#display_name ⇒ String
32 33 34 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb', line 32 def display_name @display_name end |
#e_tag ⇒ String
25 26 27 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb', line 25 def e_tag @e_tag end |
#id ⇒ String
16 17 18 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb', line 16 def id @id end |
#name ⇒ String
19 20 21 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb', line 19 def name @name end |
#query ⇒ String
37 38 39 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb', line 37 def query @query end |
#tags ⇒ Array<Tag>
44 45 46 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb', line 44 def end |
#type ⇒ String
22 23 24 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb', line 22 def type @type end |
#version ⇒ Integer
version is 2 and is the default.
41 42 43 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb', line 41 def version @version end |
Class Method Details
.mapper ⇒ Object
Mapper for SavedSearch class as Ruby Hash. This will be used for serialization/deserialization.
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 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb', line 51 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SavedSearch', type: { name: 'Composite', class_name: 'SavedSearch', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, e_tag: { client_side_validation: true, required: false, serialized_name: 'eTag', type: { name: 'String' } }, category: { client_side_validation: true, required: true, serialized_name: 'properties.category', type: { name: 'String' } }, display_name: { client_side_validation: true, required: true, serialized_name: 'properties.displayName', type: { name: 'String' } }, query: { client_side_validation: true, required: true, serialized_name: 'properties.query', type: { name: 'String' } }, version: { client_side_validation: true, required: false, serialized_name: 'properties.version', constraints: { InclusiveMaximum: 2, InclusiveMinimum: 1 }, type: { name: 'Number' } }, tags: { client_side_validation: true, required: false, serialized_name: 'properties.tags', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'TagElementType', type: { name: 'Composite', class_name: 'Tag' } } } } } } } end |