DomainOwnershipIdentifierInner Class

public final class DomainOwnershipIdentifierInner
extends ProxyOnlyResource

Domain ownership Identifier.

Constructor Summary

Constructor Description
DomainOwnershipIdentifierInner()

Creates an instance of DomainOwnershipIdentifierInner class.

Method Summary

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

Reads an instance of DomainOwnershipIdentifierInner from the JsonReader.

String id()

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

String name()

Get the name property: The name of the resource.

String ownershipId()

Get the ownershipId property: Ownership Id.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DomainOwnershipIdentifierInner withKind(String kind)

Set the kind property: Kind of resource.

DomainOwnershipIdentifierInner withOwnershipId(String ownershipId)

Set the ownershipId property: Ownership Id.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

DomainOwnershipIdentifierInner

public DomainOwnershipIdentifierInner()

Creates an instance of DomainOwnershipIdentifierInner class.

Method Details

fromJson

public static DomainOwnershipIdentifierInner fromJson(JsonReader jsonReader)

Reads an instance of DomainOwnershipIdentifierInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

DomainOwnershipIdentifierInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DomainOwnershipIdentifierInner.name()

Returns:

the name value.

ownershipId

public String ownershipId()

Get the ownershipId property: Ownership Id.

Returns:

the ownershipId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DomainOwnershipIdentifierInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DomainOwnershipIdentifierInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

DomainOwnershipIdentifierInner.validate()

withKind

public DomainOwnershipIdentifierInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

DomainOwnershipIdentifierInner.withKind(String kind)

Parameters:

kind

withOwnershipId

public DomainOwnershipIdentifierInner withOwnershipId(String ownershipId)

Set the ownershipId property: Ownership Id.

Parameters:

ownershipId - the ownershipId value to set.

Returns:

the DomainOwnershipIdentifierInner object itself.

Applies to