Reseller Class

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

Implements

public final class Reseller
implements JsonSerializable<Reseller>

The reseller properties.

Constructor Summary

Constructor Description
Reseller()

Creates an instance of Reseller class.

Method Summary

Modifier and Type Method and Description
static Reseller fromJson(JsonReader jsonReader)

Reads an instance of Reseller from the JsonReader.

String resellerDescription()

Get the resellerDescription property: The reseller property description.

String resellerId()

Get the resellerId property: The reseller property ID.

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

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.

resellerDescription

public String resellerDescription()

Get the resellerDescription property: The reseller property description.

Returns:

the resellerDescription value.

resellerId

public String resellerId()

Get the resellerId property: The reseller property ID.

Returns:

the resellerId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to