Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::WatchlistItem
- Inherits:
-
Resource
- Object
- Resource
- Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::WatchlistItem
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist_item.rb
Overview
Represents a Watchlist Item in Azure Security Insights.
Instance Attribute Summary collapse
-
#created_by ⇒ UserInfo
Describes a user that created the watchlist.
-
#created_time_utc ⇒ DateTime
The time the watchlist item was created.
-
#entity_mapping ⇒ Object
A key-value pair for a watchlist item entity mapping.
-
#last_updated_time_utc ⇒ DateTime
The last time the watchlist item was updated.
-
#tenant_id ⇒ String
The tenantId to which this watchlist item belongs to.
-
#time_to_live_utc ⇒ DateTime
The time to live for the watchlist item.
-
#updated_by ⇒ UserInfo
Describes a user that updated the watchlist.
-
#watchlist_id ⇒ String
The watchlist id of the parent of this watchlist item.
-
#watchlist_item_name ⇒ String
Name of the watchlist item.
-
#watchlist_item_pair ⇒ Object
A key-value pair for a watchlist item.
-
#watchlist_item_type ⇒ String
The type of the watchlist item.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for WatchlistItem class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#created_by ⇒ UserInfo
Returns Describes a user that created the watchlist.
16 17 18 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist_item.rb', line 16 def created_by @created_by end |
#created_time_utc ⇒ DateTime
Returns The time the watchlist item was created.
34 35 36 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist_item.rb', line 34 def created_time_utc @created_time_utc end |
#entity_mapping ⇒ Object
Returns A key-value pair for a watchlist item entity mapping.
28 29 30 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist_item.rb', line 28 def entity_mapping @entity_mapping end |
#last_updated_time_utc ⇒ DateTime
Returns The last time the watchlist item was updated.
37 38 39 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist_item.rb', line 37 def last_updated_time_utc @last_updated_time_utc end |
#tenant_id ⇒ String
Returns The tenantId to which this watchlist item belongs to.
31 32 33 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist_item.rb', line 31 def tenant_id @tenant_id end |
#time_to_live_utc ⇒ DateTime
Returns The time to live for the watchlist item.
40 41 42 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist_item.rb', line 40 def time_to_live_utc @time_to_live_utc end |
#updated_by ⇒ UserInfo
Returns Describes a user that updated the watchlist.
19 20 21 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist_item.rb', line 19 def updated_by @updated_by end |
#watchlist_id ⇒ String
Returns The watchlist id of the parent of this watchlist item.
46 47 48 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist_item.rb', line 46 def watchlist_id @watchlist_id end |
#watchlist_item_name ⇒ String
Returns Name of the watchlist item.
22 23 24 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist_item.rb', line 22 def watchlist_item_name @watchlist_item_name end |
#watchlist_item_pair ⇒ Object
Returns A key-value pair for a watchlist item.
25 26 27 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist_item.rb', line 25 def watchlist_item_pair @watchlist_item_pair end |
#watchlist_item_type ⇒ String
Returns The type of the watchlist item.
43 44 45 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist_item.rb', line 43 def watchlist_item_type @watchlist_item_type end |
Class Method Details
.mapper ⇒ Object
Mapper for WatchlistItem class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# 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 |