class Azure::Security::Mgmt::V2019_08_01::Models::IotRecommendation

IoT recommendation

Attributes

device_id[RW]

@return [String] Identifier of the device being reported on

discovered_time_utc[RW]

@return [String] The discovery time of the recommendation

recommendation_additional_data[RW]

@return A bag of fields which extends the recommendation information

recommendation_type[RW]

@return [String] The type name of the recommendation

Private Class Methods

mapper() click to toggle source

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

# 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