Share via


NotificationHubGcmCredential Class

Definition

Description of a NotificationHub GcmCredential.

public class NotificationHubGcmCredential : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NotificationHubs.Models.NotificationHubGcmCredential>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NotificationHubs.Models.NotificationHubGcmCredential>
type NotificationHubGcmCredential = class
    interface IJsonModel<NotificationHubGcmCredential>
    interface IPersistableModel<NotificationHubGcmCredential>
Public Class NotificationHubGcmCredential
Implements IJsonModel(Of NotificationHubGcmCredential), IPersistableModel(Of NotificationHubGcmCredential)
Inheritance
NotificationHubGcmCredential
Implements

Constructors

Name Description
NotificationHubGcmCredential(String)

Initializes a new instance of NotificationHubGcmCredential.

Properties

Name Description
GcmApiKey

Gets or sets the Google API key.

GcmEndpoint

Gets or sets the GCM endpoint.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<NotificationHubGcmCredential>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<NotificationHubGcmCredential>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NotificationHubGcmCredential>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NotificationHubGcmCredential>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<NotificationHubGcmCredential>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to