# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::MobileEngagement::Mgmt::V2014_12_01 module Models # # The Mobile Engagement App resource. # class App < Resource include MsRestAzure # @return [String] The application unique identifier. attr_accessor :backend_id # @return [String] The platform of the app. attr_accessor :platform # @return [String] The state of the application. attr_accessor :app_state # # Mapper for App class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'App', type: { name: 'Composite', class_name: 'App', 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' } }, location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, backend_id: { client_side_validation: true, required: false, serialized_name: 'properties.backendId', type: { name: 'String' } }, platform: { client_side_validation: true, required: false, serialized_name: 'properties.platform', type: { name: 'String' } }, app_state: { client_side_validation: true, required: false, serialized_name: 'properties.appState', type: { name: 'String' } } } } } end end end end