Reseller Class

  • java.lang.Object
    • com.azure.resourcemanager.billing.models.Reseller

Implements

public class Reseller
implements JsonSerializable<Reseller>

Details of the reseller.

Constructor Summary

Constructor Description
Reseller()

Creates an instance of Reseller class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The name of the reseller.

static Reseller fromJson(JsonReader jsonReader)

Reads an instance of Reseller from the JsonReader.

String resellerId()

Get the resellerId property: The MPN ID of the reseller.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

Reseller

public Reseller()

Creates an instance of Reseller class.

Method Details

description

public String description()

Get the description property: The name of the reseller.

Returns:

the description value.

fromJson

public static Reseller fromJson(JsonReader jsonReader)

Reads an instance of Reseller from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of Reseller if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the Reseller.

resellerId

public String resellerId()

Get the resellerId property: The MPN ID of the reseller.

Returns:

the resellerId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to