Class: Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplate

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_template.rb

Overview

IoT Central Application Template.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionString

Returns The description of the template.

Returns:

  • (String)

    The description of the template.



31
32
33
# File 'lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_template.rb', line 31

def description
  @description
end

#industryString

Returns The industry of the template.

Returns:

  • (String)

    The industry of the template.



34
35
36
# File 'lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_template.rb', line 34

def industry
  @industry
end

#locationsArray<AppTemplateLocations>

the template.

Returns:



38
39
40
# File 'lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_template.rb', line 38

def locations
  @locations
end

#manifest_idString

Returns The ID of the template.

Returns:

  • (String)

    The ID of the template.



16
17
18
# File 'lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_template.rb', line 16

def manifest_id
  @manifest_id
end

#manifest_versionString

Returns The version of the template.

Returns:

  • (String)

    The version of the template.



19
20
21
# File 'lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_template.rb', line 19

def manifest_version
  @manifest_version
end

#nameString

Returns The name of the template.

Returns:

  • (String)

    The name of the template.



22
23
24
# File 'lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_template.rb', line 22

def name
  @name
end

#orderFloat

Returns The order of the template in the templates list.

Returns:

  • (Float)

    The order of the template in the templates list.



28
29
30
# File 'lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_template.rb', line 28

def order
  @order
end

#titleString

Returns The title of the template.

Returns:

  • (String)

    The title of the template.



25
26
27
# File 'lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_template.rb', line 25

def title
  @title
end

Class Method Details

.mapperObject

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



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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
# 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