Class: Azure::Security::Mgmt::V2017_08_01_preview::Models::InformationProtectionKeyword

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#can_be_numericBoolean

numeric types or not.

Returns:

  • (Boolean)

    Indicates whether the keyword can be applied on



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

#customBoolean

Returns Indicates whether the keyword is custom or not.

Returns:

  • (Boolean)

    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

#excludedBoolean

Returns Indicates whether the keyword is excluded or not.

Returns:

  • (Boolean)

    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

#patternString

Returns The keyword pattern.

Returns:

  • (String)

    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

.mapperObject

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