Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::HuntingBookmark
- Inherits:
-
Entity
- Object
- Entity
- Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::HuntingBookmark
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/hunting_bookmark.rb
Overview
Represents a Hunting bookmark entity.
Instance Attribute Summary collapse
-
#additional_data ⇒ Object
will be presented to the user.
-
#created ⇒ DateTime
The time the bookmark was created.
-
#created_by ⇒ UserInfo
Describes a user that created the bookmark.
-
#display_name ⇒ String
The display name of the bookmark.
-
#event_time ⇒ DateTime
The time of the event.
-
#friendly_name ⇒ String
readable description of the graph item instance.
-
#incident_info ⇒ IncidentInfo
Describes an incident that relates to bookmark.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#labels ⇒ Array<String>
List of labels relevant to this bookmark.
-
#notes ⇒ String
The notes of the bookmark.
-
#query ⇒ String
The query of the bookmark.
-
#query_result ⇒ String
The query result of the bookmark.
-
#updated ⇒ DateTime
The last time the bookmark was updated.
-
#updated_by ⇒ UserInfo
Describes a user that updated the bookmark.
Attributes inherited from Entity
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for HuntingBookmark class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ HuntingBookmark
constructor
A new instance of HuntingBookmark.
Constructor Details
#initialize ⇒ HuntingBookmark
Returns a new instance of HuntingBookmark.
16 17 18 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/hunting_bookmark.rb', line 16 def initialize @kind = "Bookmark" end |
Instance Attribute Details
#additional_data ⇒ Object
will be presented to the user.
24 25 26 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/hunting_bookmark.rb', line 24 def additional_data @additional_data end |
#created ⇒ DateTime
Returns The time the bookmark was created.
32 33 34 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/hunting_bookmark.rb', line 32 def created @created end |
#created_by ⇒ UserInfo
Returns Describes a user that created the bookmark.
35 36 37 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/hunting_bookmark.rb', line 35 def created_by @created_by end |
#display_name ⇒ String
Returns The display name of the bookmark.
38 39 40 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/hunting_bookmark.rb', line 38 def display_name @display_name end |
#event_time ⇒ DateTime
Returns The time of the event.
41 42 43 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/hunting_bookmark.rb', line 41 def event_time @event_time end |
#friendly_name ⇒ String
readable description of the graph item instance. This property is optional and might be system generated.
29 30 31 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/hunting_bookmark.rb', line 29 def friendly_name @friendly_name end |
#incident_info ⇒ IncidentInfo
Returns Describes an incident that relates to bookmark.
62 63 64 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/hunting_bookmark.rb', line 62 def incident_info @incident_info end |
#kind ⇒ Object
Returns the value of attribute kind.
20 21 22 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/hunting_bookmark.rb', line 20 def kind @kind end |
#labels ⇒ Array<String>
Returns List of labels relevant to this bookmark.
44 45 46 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/hunting_bookmark.rb', line 44 def labels @labels end |
#notes ⇒ String
Returns The notes of the bookmark.
47 48 49 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/hunting_bookmark.rb', line 47 def notes @notes end |
#query ⇒ String
Returns The query of the bookmark.
50 51 52 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/hunting_bookmark.rb', line 50 def query @query end |
#query_result ⇒ String
Returns The query result of the bookmark.
53 54 55 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/hunting_bookmark.rb', line 53 def query_result @query_result end |
#updated ⇒ DateTime
Returns The last time the bookmark was updated.
56 57 58 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/hunting_bookmark.rb', line 56 def updated @updated end |
#updated_by ⇒ UserInfo
Returns Describes a user that updated the bookmark.
59 60 61 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/hunting_bookmark.rb', line 59 def updated_by @updated_by end |
Class Method Details
.mapper ⇒ Object
Mapper for HuntingBookmark class as Ruby Hash. This will be used for serialization/deserialization.
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 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/hunting_bookmark.rb', line 69 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Bookmark', type: { name: 'Composite', class_name: 'HuntingBookmark', 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' } }, kind: { client_side_validation: true, required: true, serialized_name: 'kind', type: { name: 'String' } }, additional_data: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.additionalData', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'ObjectElementType', type: { name: 'Object' } } } }, friendly_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.friendlyName', type: { name: 'String' } }, created: { client_side_validation: true, required: false, serialized_name: 'properties.created', type: { name: 'DateTime' } }, created_by: { client_side_validation: true, required: false, serialized_name: 'properties.createdBy', type: { name: 'Composite', class_name: 'UserInfo' } }, display_name: { client_side_validation: true, required: true, serialized_name: 'properties.displayName', type: { name: 'String' } }, event_time: { client_side_validation: true, required: false, serialized_name: 'properties.eventTime', type: { name: 'DateTime' } }, labels: { client_side_validation: true, required: false, serialized_name: 'properties.labels', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, notes: { client_side_validation: true, required: false, serialized_name: 'properties.notes', type: { name: 'String' } }, query: { client_side_validation: true, required: true, serialized_name: 'properties.query', type: { name: 'String' } }, query_result: { client_side_validation: true, required: false, serialized_name: 'properties.queryResult', type: { name: 'String' } }, updated: { client_side_validation: true, required: false, serialized_name: 'properties.updated', type: { name: 'DateTime' } }, updated_by: { client_side_validation: true, required: false, serialized_name: 'properties.updatedBy', type: { name: 'Composite', class_name: 'UserInfo' } }, incident_info: { client_side_validation: true, required: false, serialized_name: 'properties.incidentInfo', type: { name: 'Composite', class_name: 'IncidentInfo' } } } } } end |