C# Class CarDeliveryNetwork.Api.Data.DeviceRegistration

DeviceRegistration
Inheritance: IApiEntity
Afficher le fichier Open project: cardeliverynetwork/openapi.net

Méthodes publiques

Méthode Description
FromString ( string serializedObject ) : DeviceRegistration

Reads the JSON document and returns the deserialized object.

FromString ( string serializedObject, MessageFormat format ) : DeviceRegistration

Reads the JSON or XML document and returns the deserialized object.

ToString ( ) : string

Returns a serial representation of the object in JSON format.

ToString ( MessageFormat format ) : string

Returns a serial representation of the object in the specified format.

Method Details

FromString() public static méthode

Reads the JSON document and returns the deserialized object.
public static FromString ( string serializedObject ) : DeviceRegistration
serializedObject string The JSON serialized object.
Résultat DeviceRegistration

FromString() public static méthode

Reads the JSON or XML document and returns the deserialized object.
public static FromString ( string serializedObject, MessageFormat format ) : DeviceRegistration
serializedObject string The serialized object.
format MessageFormat The format of the serialized object.
Résultat DeviceRegistration

ToString() public méthode

Returns a serial representation of the object in JSON format.
public ToString ( ) : string
Résultat string

ToString() public méthode

Returns a serial representation of the object in the specified format.
public ToString ( MessageFormat format ) : string
format MessageFormat Format to serialize to.
Résultat string