Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::Bookmark

Inherits:
ResourceWithEtag
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark.rb

Overview

Represents a bookmark in Azure Security Insights.

Instance Attribute Summary collapse

Attributes inherited from ResourceWithEtag

#etag, #id, #name, #type

Class Method Summary collapse

Instance Attribute Details

#createdDateTime

Returns The time the bookmark was created.

Returns:

  • (DateTime)

    The time the bookmark was created



16
17
18
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark.rb', line 16

def created
  @created
end

#created_byUserInfo

Returns Describes a user that created the bookmark.

Returns:

  • (UserInfo)

    Describes a user that created the bookmark



19
20
21
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark.rb', line 19

def created_by
  @created_by
end

#display_nameString

Returns The display name of the bookmark.

Returns:

  • (String)

    The display name of the bookmark



22
23
24
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark.rb', line 22

def display_name
  @display_name
end

#incident_infoIncidentInfo

Returns Describes an incident that relates to bookmark.

Returns:

  • (IncidentInfo)

    Describes an incident that relates to bookmark



43
44
45
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark.rb', line 43

def incident_info
  @incident_info
end

#labelsArray<String>

Returns List of labels relevant to this bookmark.

Returns:

  • (Array<String>)

    List of labels relevant to this bookmark



25
26
27
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark.rb', line 25

def labels
  @labels
end

#notesString

Returns The notes of the bookmark.

Returns:

  • (String)

    The notes of the bookmark



28
29
30
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark.rb', line 28

def notes
  @notes
end

#queryString

Returns The query of the bookmark.

Returns:

  • (String)

    The query of the bookmark.



31
32
33
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark.rb', line 31

def query
  @query
end

#query_resultString

Returns The query result of the bookmark.

Returns:

  • (String)

    The query result of the bookmark.



34
35
36
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark.rb', line 34

def query_result
  @query_result
end

#updatedDateTime

Returns The last time the bookmark was updated.

Returns:

  • (DateTime)

    The last time the bookmark was updated



37
38
39
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark.rb', line 37

def updated
  @updated
end

#updated_byUserInfo

Returns Describes a user that updated the bookmark.

Returns:

  • (UserInfo)

    Describes a user that updated the bookmark



40
41
42
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark.rb', line 40

def updated_by
  @updated_by
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/bookmark.rb', line 50

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Bookmark',
    type: {
      name: 'Composite',
      class_name: 'Bookmark',
      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'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'etag',
          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'
          }
        },
        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