class Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::Watchlist
Attributes
@return [UserInfo] Describes a user that created the watchlist
@return [DateTime] The time the watchlist was created
@return [Duration] The default duration of a watchlist (in ISO 8601 duration format)
@return [String] A description of the watchlist
@return [String] The display name of the watchlist
@return [Array<String>] List of labels relevant to this watchlist
@return [DateTime] The last time the watchlist was updated
@return [String] The notes of the watchlist
@return [String] The provider of the watchlist
@return [Source] The source of the watchlist. Possible values include: 'Local file', 'Remote storage'
@return [String] The tenantId where the watchlist belongs to.
@return [UserInfo] Describes a user that updated the watchlist
@return [Array<WatchlistItem>] List of watchlist items.
@return [String] The type of the watchlist
@return [String] The workspaceId where the watchlist belongs to.
Public Class Methods
Mapper for Watchlist
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb, line 67 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Watchlist', type: { name: 'Composite', class_name: 'Watchlist', 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_time_utc: { client_side_validation: true, required: false, serialized_name: 'properties.createdTimeUtc', 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' } }, watchlist_type: { client_side_validation: true, required: false, serialized_name: 'properties.watchlistType', type: { name: 'String' } }, source: { client_side_validation: true, required: true, serialized_name: 'properties.source', type: { name: 'String' } }, provider: { client_side_validation: true, required: true, serialized_name: 'properties.provider', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'String' } }, tenant_id: { client_side_validation: true, required: false, serialized_name: 'properties.tenantId', type: { name: 'String' } }, workspace_id: { client_side_validation: true, required: false, serialized_name: 'properties.workspaceId', 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' } }, last_updated_time_utc: { client_side_validation: true, required: false, serialized_name: 'properties.lastUpdatedTimeUtc', type: { name: 'DateTime' } }, updated_by: { client_side_validation: true, required: false, serialized_name: 'properties.updatedBy', type: { name: 'Composite', class_name: 'UserInfo' } }, default_duration: { client_side_validation: true, required: false, serialized_name: 'properties.defaultDuration', type: { name: 'TimeSpan' } }, watchlist_items: { client_side_validation: true, required: false, serialized_name: 'properties.watchlistItems', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'WatchlistItemElementType', type: { name: 'Composite', class_name: 'WatchlistItem' } } } } } } } end