Class: Azure::Security::Mgmt::V2017_08_01_preview::Models::InformationProtectionKeyword
- Inherits:
-
Object
- Object
- Azure::Security::Mgmt::V2017_08_01_preview::Models::InformationProtectionKeyword
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_protection_keyword.rb
Overview
The information type keyword.
Instance Attribute Summary collapse
-
#can_be_numeric ⇒ Boolean
numeric types or not.
-
#custom ⇒ Boolean
Indicates whether the keyword is custom or not.
-
#excluded ⇒ Boolean
Indicates whether the keyword is excluded or not.
-
#pattern ⇒ String
The keyword pattern.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for InformationProtectionKeyword class as Ruby Hash.
Instance Attribute Details
#can_be_numeric ⇒ Boolean
numeric types or not.
23 24 25 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_protection_keyword.rb', line 23 def can_be_numeric @can_be_numeric end |
#custom ⇒ Boolean
Returns Indicates whether the keyword is custom or not.
19 20 21 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_protection_keyword.rb', line 19 def custom @custom end |
#excluded ⇒ Boolean
Returns Indicates whether the keyword is excluded or not.
26 27 28 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_protection_keyword.rb', line 26 def excluded @excluded end |
#pattern ⇒ String
Returns The keyword pattern.
16 17 18 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_protection_keyword.rb', line 16 def pattern @pattern end |
Class Method Details
.mapper ⇒ Object
Mapper for InformationProtectionKeyword class as Ruby Hash. This will be used for serialization/deserialization.
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 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 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_protection_keyword.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'InformationProtectionKeyword', type: { name: 'Composite', class_name: 'InformationProtectionKeyword', model_properties: { pattern: { client_side_validation: true, required: false, serialized_name: 'pattern', type: { name: 'String' } }, custom: { client_side_validation: true, required: false, serialized_name: 'custom', type: { name: 'Boolean' } }, can_be_numeric: { client_side_validation: true, required: false, serialized_name: 'canBeNumeric', type: { name: 'Boolean' } }, excluded: { client_side_validation: true, required: false, serialized_name: 'excluded', type: { name: 'Boolean' } } } } } end |