Class: Azure::MobileEngagement::Mgmt::V2014_12_01::Models::App

Inherits:
Resource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/app.rb

Overview

The Mobile Engagement App resource.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #location, #name, #tags, #type

Class Method Summary collapse

Instance Attribute Details

#app_stateString

Returns The state of the application.

Returns:

  • (String)

    The state of the application.



22
23
24
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/app.rb', line 22

def app_state
  @app_state
end

#backend_idString

Returns The application unique identifier.

Returns:

  • (String)

    The application unique identifier.



16
17
18
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/app.rb', line 16

def backend_id
  @backend_id
end

#platformString

Returns The platform of the app.

Returns:

  • (String)

    The platform of the app.



19
20
21
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/app.rb', line 19

def platform
  @platform
end

Class Method Details

.mapperObject

Mapper for App 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
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/2014-12-01/generated/azure_mgmt_mobile_engagement/models/app.rb', line 29

def self.mapper()
  {
    required: false,
    serialized_name: 'App',
    type: {
      name: 'Composite',
      class_name: 'App',
      model_properties: {
        id: {
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        backend_id: {
          required: false,
          serialized_name: 'properties.backendId',
          type: {
            name: 'String'
          }
        },
        platform: {
          required: false,
          serialized_name: 'properties.platform',
          type: {
            name: 'String'
          }
        },
        app_state: {
          required: false,
          serialized_name: 'properties.appState',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end