Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::EntityCommonProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_common_properties.rb

Overview

Entity common property bag.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#additional_dataObject

will be presented to the user.

Returns:

  • A bag of custom fields that should be part of the entity and



17
18
19
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_common_properties.rb', line 17

def additional_data
  @additional_data
end

#friendly_nameString

readable description of the graph item instance. This property is optional and might be system generated.

Returns:

  • (String)

    The graph item display name which is a short humanly



22
23
24
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_common_properties.rb', line 22

def friendly_name
  @friendly_name
end

Class Method Details

.mapperObject

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



29
30
31
32
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
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/entity_common_properties.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EntityCommonProperties',
    type: {
      name: 'Composite',
      class_name: 'EntityCommonProperties',
      model_properties: {
        additional_data: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'additionalData',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        friendly_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'friendlyName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end