class Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::WatchlistItem

Represents a Watchlist Item in Azure Security Insights.

Attributes

created_by[RW]

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

created_time_utc[RW]

@return [DateTime] The time the watchlist item was created

entity_mapping[RW]

@return A key-value pair for a watchlist item entity mapping

last_updated_time_utc[RW]

@return [DateTime] The last time the watchlist item was updated

tenant_id[RW]

@return [String] The tenantId to which this watchlist item belongs to

time_to_live_utc[RW]

@return [DateTime] The time to live for the watchlist item

updated_by[RW]

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

watchlist_id[RW]

@return [String] The watchlist id of the parent of this watchlist item

watchlist_item_name[RW]

@return [String] Name of the watchlist item

watchlist_item_pair[RW]

@return A key-value pair for a watchlist item

watchlist_item_type[RW]

@return [String] The type of the watchlist item

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist_item.rb, line 53
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'WatchlistItem',
    type: {
      name: 'Composite',
      class_name: 'WatchlistItem',
      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'
          }
        },
        created_by: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.createdBy',
          type: {
            name: 'Composite',
            class_name: 'UserInfo'
          }
        },
        updated_by: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.updatedBy',
          type: {
            name: 'Composite',
            class_name: 'UserInfo'
          }
        },
        watchlist_item_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.watchlistItemName',
          type: {
            name: 'String'
          }
        },
        watchlist_item_pair: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.watchlistItemPair',
          type: {
            name: 'Object'
          }
        },
        entity_mapping: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.entityMapping',
          type: {
            name: 'Object'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.tenantId',
          type: {
            name: 'String'
          }
        },
        created_time_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.createdTimeUtc',
          type: {
            name: 'DateTime'
          }
        },
        last_updated_time_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.lastUpdatedTimeUtc',
          type: {
            name: 'DateTime'
          }
        },
        time_to_live_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.timeToLiveUtc',
          type: {
            name: 'DateTime'
          }
        },
        watchlist_item_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.watchlistItemType',
          type: {
            name: 'String'
          }
        },
        watchlist_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.watchlistId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end