UsageDetailInner Class

public class UsageDetailInner
extends ProxyResource

An usage detail resource.

Constructor Summary

Constructor Description
UsageDetailInner()

Creates an instance of UsageDetailInner class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: The etag for the resource.

static UsageDetailInner fromJson(JsonReader jsonReader)

Reads an instance of UsageDetailInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

UsageDetailsKind kind()

Get the kind property: Specifies the kind of usage details.

String name()

Get the name property: The name of the resource.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

UsageDetailInner

public UsageDetailInner()

Creates an instance of UsageDetailInner class.

Method Details

etag

public String etag()

Get the etag property: The etag for the resource.

Returns:

the etag value.

fromJson

public static UsageDetailInner fromJson(JsonReader jsonReader)

Reads an instance of UsageDetailInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

UsageDetailInner.id()

Returns:

the id value.

kind

public UsageDetailsKind kind()

Get the kind property: Specifies the kind of usage details.

Returns:

the kind value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

UsageDetailInner.name()

Returns:

the name value.

tags

public Map tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

UsageDetailInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

UsageDetailInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to