class Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::Bookmark

Represents a bookmark in Azure Security Insights.

Attributes

created[RW]

@return [DateTime] The time the bookmark was created

created_by[RW]

@return [UserInfo] Describes a user that created the bookmark

display_name[RW]

@return [String] The display name of the bookmark

incident_info[RW]

@return [IncidentInfo] Describes an incident that relates to bookmark

labels[RW]

@return [Array<String>] List of labels relevant to this bookmark

notes[RW]

@return [String] The notes of the bookmark

query[RW]

@return [String] The query of the bookmark.

query_result[RW]

@return [String] The query result of the bookmark.

updated[RW]

@return [DateTime] The last time the bookmark was updated

updated_by[RW]

@return [UserInfo] Describes a user that updated the bookmark

Public Class Methods

mapper() click to toggle source

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

# 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