Sha256: 1be7fb3c6a7e35c4d266eb0a63bd885303ed7a83d6a7b04916d852e6e95e99bf

Contents?: true

Size: 1.46 KB

Versions: 6

Compression:

Stored size: 1.46 KB

Contents

# 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::NotificationHubs::Mgmt::V2017_04_01
  module Models
    #
    # Description of a NotificationHub GcmCredential.
    #
    class GcmCredential

      include MsRestAzure

      # @return [String] The GCM endpoint.
      attr_accessor :gcm_endpoint

      # @return [String] The Google API key.
      attr_accessor :google_api_key


      #
      # Mapper for GcmCredential class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_notification_hubs-0.17.3 lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/gcm_credential.rb
azure_mgmt_notification_hubs-0.17.2 lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/gcm_credential.rb
azure_mgmt_notification_hubs-0.17.1 lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/gcm_credential.rb
azure_mgmt_notification_hubs-0.17.0 lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/gcm_credential.rb
azure_mgmt_notification_hubs-0.16.0 lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/gcm_credential.rb
azure_mgmt_notification_hubs-0.15.2 lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/gcm_credential.rb