Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::HuntingBookmark

Inherits:
Entity
  • Object
show all
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

Attributes inherited from Entity

#id, #name, #type

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeHuntingBookmark

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_dataObject

will be presented to the user.

Returns:

  • A bag of custom fields that should be part of the entity and



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

#createdDateTime

Returns The time the bookmark was created.

Returns:

  • (DateTime)

    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_byUserInfo

Returns Describes a user that created the bookmark.

Returns:

  • (UserInfo)

    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_nameString

Returns The display name of the bookmark.

Returns:

  • (String)

    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_timeDateTime

Returns The time of the event.

Returns:

  • (DateTime)

    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_nameString

readable description of the graph item instance. This property is optional and might be system generated.

Returns:

  • (String)

    The graph item display name which is a short humanly



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_infoIncidentInfo

Returns Describes an incident that relates to bookmark.

Returns:

  • (IncidentInfo)

    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

#kindObject

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

#labelsArray<String>

Returns List of labels relevant to this bookmark.

Returns:

  • (Array<String>)

    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

#notesString

Returns The notes of the bookmark.

Returns:

  • (String)

    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

#queryString

Returns The query of the bookmark.

Returns:

  • (String)

    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_resultString

Returns The query result of the bookmark.

Returns:

  • (String)

    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

#updatedDateTime

Returns The last time the bookmark was updated.

Returns:

  • (DateTime)

    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_byUserInfo

Returns Describes a user that updated the bookmark.

Returns:

  • (UserInfo)

    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

.mapperObject

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