class Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplate

IoT Central Application Template.

Attributes

description[RW]

@return [String] The description of the template.

industry[RW]

@return [String] The industry of the template.

locations[RW]

@return [Array<AppTemplateLocations>] A list of locations that support the template.

manifest_id[RW]

@return [String] The ID of the template.

manifest_version[RW]

@return [String] The version of the template.

name[RW]

@return [String] The name of the template.

order[RW]

@return [Float] The order of the template in the templates list.

title[RW]

@return [String] The title of the template.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_template.rb, line 45
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AppTemplate',
    type: {
      name: 'Composite',
      class_name: 'AppTemplate',
      model_properties: {
        manifest_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'manifestId',
          type: {
            name: 'String'
          }
        },
        manifest_version: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'manifestVersion',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        title: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'title',
          type: {
            name: 'String'
          }
        },
        order: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'order',
          type: {
            name: 'Double'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        },
        industry: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'industry',
          type: {
            name: 'String'
          }
        },
        locations: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'locations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AppTemplateLocationsElementType',
                type: {
                  name: 'Composite',
                  class_name: 'AppTemplateLocations'
                }
            }
          }
        }
      }
    }
  }
end