Class: Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignPushResult

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2014-12-01/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



24
25
26
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_push_result.rb', line 24

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.



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
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_push_result.rb', line 31

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