Class: Azure::ARM::MobileEngagement::Models::CampaignPushResult

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_mobile_engagement/models/campaign_push_result.rb

Overview

Model object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#invalid_device_idsArray<String>

have been rejected. A device can be rejected for the following reasons: * The device hasn’t reported any session yet. * The device is over quota (if a push quota filter is applied on your campaign). Please note that if the request parameters are valid but all the specified devices are rejected, the status code is still ‘200` with a response including all the devices as being rejected.

Returns:

  • (Array<String>)

    A JSON array containing all identifiers that



22
23
24
# File 'lib/generated/azure_mgmt_mobile_engagement/models/campaign_push_result.rb', line 22

def invalid_device_ids
  @invalid_device_ids
end

Class Method Details

.mapperObject

Mapper for CampaignPushResult 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
# File 'lib/generated/azure_mgmt_mobile_engagement/models/campaign_push_result.rb', line 29

def self.mapper()
  {
    required: false,
    serialized_name: 'CampaignPushResult',
    type: {
      name: 'Composite',
      class_name: 'CampaignPushResult',
      model_properties: {
        invalid_device_ids: {
          required: false,
          serialized_name: 'invalidDeviceIds',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end