class Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential

Description of a NotificationHub GcmCredential.

Attributes

gcm_endpoint[RW]

@return [String] The GCM endpoint.

google_api_key[RW]

@return [String] The Google API key.

Private Class Methods

mapper() click to toggle source

Mapper for GcmCredential class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/gcm_credential.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'GcmCredential',
    type: {
      name: 'Composite',
      class_name: 'GcmCredential',
      model_properties: {
        gcm_endpoint: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.gcmEndpoint',
          type: {
            name: 'String'
          }
        },
        google_api_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.googleApiKey',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end