Class: Azure::Security::Mgmt::V2019_08_01::Models::IotRecommendation

Inherits:
Resource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-08-01/generated/azure_mgmt_security/models/iot_recommendation.rb

Overview

IoT recommendation

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#device_idString

Returns Identifier of the device being reported on.

Returns:

  • (String)

    Identifier of the device being reported on



16
17
18
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/iot_recommendation.rb', line 16

def device_id
  @device_id
end

#discovered_time_utcString

Returns The discovery time of the recommendation.

Returns:

  • (String)

    The discovery time of the recommendation



22
23
24
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/iot_recommendation.rb', line 22

def discovered_time_utc
  @discovered_time_utc
end

#recommendation_additional_dataObject

Returns A bag of fields which extends the recommendation information.

Returns:

  • A bag of fields which extends the recommendation information



25
26
27
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/iot_recommendation.rb', line 25

def recommendation_additional_data
  @recommendation_additional_data
end

#recommendation_typeString

Returns The type name of the recommendation.

Returns:

  • (String)

    The type name of the recommendation



19
20
21
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/iot_recommendation.rb', line 19

def recommendation_type
  @recommendation_type
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/iot_recommendation.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IotRecommendation',
    type: {
      name: 'Composite',
      class_name: 'IotRecommendation',
      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'
          }
        },
        device_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.deviceId',
          type: {
            name: 'String'
          }
        },
        recommendation_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.recommendationType',
          type: {
            name: 'String'
          }
        },
        discovered_time_utc: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.discoveredTimeUtc',
          type: {
            name: 'String'
          }
        },
        recommendation_additional_data: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.recommendationAdditionalData',
          type: {
            name: 'Object'
          }
        }
      }
    }
  }
end