ReservationRecommendationInner Class

public class ReservationRecommendationInner
extends ProxyResource

A reservation recommendation resource.

Constructor Summary

Constructor Description
ReservationRecommendationInner()

Creates an instance of ReservationRecommendationInner class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: The etag for the resource.

static ReservationRecommendationInner fromJson(JsonReader jsonReader)

Reads an instance of ReservationRecommendationInner from the JsonReader.

String id()

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

ReservationRecommendationKind kind()

Get the kind property: Specifies the kind of reservation recommendation.

String location()

Get the location property: Resource location.

String name()

Get the name property: The name of the resource.

String sku()

Get the sku property: Resource sku.

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

ReservationRecommendationInner

public ReservationRecommendationInner()

Creates an instance of ReservationRecommendationInner class.

Method Details

etag

public String etag()

Get the etag property: The etag for the resource.

Returns:

the etag value.

fromJson

public static ReservationRecommendationInner fromJson(JsonReader jsonReader)

Reads an instance of ReservationRecommendationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ReservationRecommendationInner 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:

ReservationRecommendationInner.id()

Returns:

the id value.

kind

public ReservationRecommendationKind kind()

Get the kind property: Specifies the kind of reservation recommendation.

Returns:

the kind value.

location

public String location()

Get the location property: Resource location.

Returns:

the location value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ReservationRecommendationInner.name()

Returns:

the name value.

sku

public String sku()

Get the sku property: Resource sku.

Returns:

the sku value.

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ReservationRecommendationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ReservationRecommendationInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to