namespace Microsoft.Azure.Management.NotificationHubs.Models
{
    using Microsoft.Rest;
    using Microsoft.Rest.Serialization;
    using Newtonsoft.Json;
    using System.Linq;

    /// <summary>
    /// Description of a NotificationHub GcmCredential.
    /// </summary>
    [Rest.Serialization.JsonTransformation]
    public partial class GcmCredential
    {
        /// <summary>
        /// Initializes a new instance of the GcmCredential class.
        /// </summary>
        public GcmCredential()
        {
            CustomInit();
        }

        /// <summary>
        /// Initializes a new instance of the GcmCredential class.
        /// </summary>
        /// <param name="gcmEndpoint">The GCM endpoint.</param>
        /// <param name="googleApiKey">The Google API key.</param>
        public GcmCredential(string gcmEndpoint = default(string), string googleApiKey = default(string))
        {
            GcmEndpoint = gcmEndpoint;
            GoogleApiKey = googleApiKey;
            CustomInit();
        }

        /// <summary>
        /// An initialization method that performs custom operations like setting defaults
        /// </summary>
        partial void CustomInit();

        /// <summary>
        /// Gets or sets the GCM endpoint.
        /// </summary>
        [JsonProperty(PropertyName = "properties.gcmEndpoint")]
        public string GcmEndpoint { get; set; }

        /// <summary>
        /// Gets or sets the Google API key.
        /// </summary>
        [JsonProperty(PropertyName = "properties.googleApiKey")]
        public string GoogleApiKey { get; set; }

    }
}
