| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Pinpoint::GCMChannelResponse; | ||
| 3 | use Moose; | ||
| 4 | has ApplicationId => (is => 'ro', isa => 'Str'); | ||
| 5 | has CreationDate => (is => 'ro', isa => 'Str'); | ||
| 6 | has Credential => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has Enabled => (is => 'ro', isa => 'Bool'); | ||
| 8 | has HasCredential => (is => 'ro', isa => 'Bool'); | ||
| 9 | has Id => (is => 'ro', isa => 'Str'); | ||
| 10 | has IsArchived => (is => 'ro', isa => 'Bool'); | ||
| 11 | has LastModifiedBy => (is => 'ro', isa => 'Str'); | ||
| 12 | has LastModifiedDate => (is => 'ro', isa => 'Str'); | ||
| 13 | has Platform => (is => 'ro', isa => 'Str', required => 1); | ||
| 14 | has Version => (is => 'ro', isa => 'Int'); | ||
| 15 | |||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::Pinpoint::GCMChannelResponse | ||
| 23 | |||
| 24 | =head1 USAGE | ||
| 25 | |||
| 26 | This class represents one of two things: | ||
| 27 | |||
| 28 | =head3 Arguments in a call to a service | ||
| 29 | |||
| 30 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 31 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 32 | |||
| 33 | As an example, if Att1 is expected to be a Paws::Pinpoint::GCMChannelResponse object: | ||
| 34 | |||
| 35 | $service_obj->Method(Att1 => { ApplicationId => $value, ..., Version => $value }); | ||
| 36 | |||
| 37 | =head3 Results returned from an API call | ||
| 38 | |||
| 39 | Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::GCMChannelResponse object: | ||
| 40 | |||
| 41 | $result = $service_obj->Method(...); | ||
| 42 | $result->Att1->ApplicationId | ||
| 43 | |||
| 44 | =head1 DESCRIPTION | ||
| 45 | |||
| 46 | Provides information about the status and settings of the GCM channel | ||
| 47 | for an application. The GCM channel enables Amazon Pinpoint to send | ||
| 48 | push notifications through the Firebase Cloud Messaging (FCM), formerly | ||
| 49 | Google Cloud Messaging (GCM), service. | ||
| 50 | |||
| 51 | =head1 ATTRIBUTES | ||
| 52 | |||
| 53 | |||
| 54 | =head2 ApplicationId => Str | ||
| 55 | |||
| 56 | The unique identifier for the application that the GCM channel applies | ||
| 57 | to. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 CreationDate => Str | ||
| 61 | |||
| 62 | The date and time when the GCM channel was enabled. | ||
| 63 | |||
| 64 | |||
| 65 | =head2 B<REQUIRED> Credential => Str | ||
| 66 | |||
| 67 | The Web API Key, also referred to as an I<API_KEY> or I<server key>, | ||
| 68 | that you received from Google to communicate with Google services. | ||
| 69 | |||
| 70 | |||
| 71 | =head2 Enabled => Bool | ||
| 72 | |||
| 73 | Specifies whether the GCM channel is enabled for the application. | ||
| 74 | |||
| 75 | |||
| 76 | =head2 HasCredential => Bool | ||
| 77 | |||
| 78 | (Not used) This property is retained only for backward compatibility. | ||
| 79 | |||
| 80 | |||
| 81 | =head2 Id => Str | ||
| 82 | |||
| 83 | (Deprecated) An identifier for the GCM channel. This property is | ||
| 84 | retained only for backward compatibility. | ||
| 85 | |||
| 86 | |||
| 87 | =head2 IsArchived => Bool | ||
| 88 | |||
| 89 | Specifies whether the GCM channel is archived. | ||
| 90 | |||
| 91 | |||
| 92 | =head2 LastModifiedBy => Str | ||
| 93 | |||
| 94 | The user who last modified the GCM channel. | ||
| 95 | |||
| 96 | |||
| 97 | =head2 LastModifiedDate => Str | ||
| 98 | |||
| 99 | The date and time when the GCM channel was last modified. | ||
| 100 | |||
| 101 | |||
| 102 | =head2 B<REQUIRED> Platform => Str | ||
| 103 | |||
| 104 | The type of messaging or notification platform for the channel. For the | ||
| 105 | GCM channel, this value is GCM. | ||
| 106 | |||
| 107 | |||
| 108 | =head2 Version => Int | ||
| 109 | |||
| 110 | The current version of the GCM channel. | ||
| 111 | |||
| 112 | |||
| 113 | |||
| 114 | =head1 SEE ALSO | ||
| 115 | |||
| 116 | This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint> | ||
| 117 | |||
| 118 | =head1 BUGS and CONTRIBUTIONS | ||
| 119 | |||
| 120 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 121 | |||
| 122 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 123 | |||
| 124 | =cut | ||
| 125 |