MoveProductEligibilityResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.billing.fluent.models.MoveProductEligibilityResultInner

Implements

public final class MoveProductEligibilityResultInner
implements JsonSerializable<MoveProductEligibilityResultInner>

Result of the transfer eligibility validation.

Constructor Summary

Constructor Description
MoveProductEligibilityResultInner()

Creates an instance of MoveProductEligibilityResultInner class.

Method Summary

Modifier and Type Method and Description
MoveProductEligibilityResultErrorDetails errorDetails()

Get the errorDetails property: Error details of the transfer eligibility validation.

static MoveProductEligibilityResultInner fromJson(JsonReader jsonReader)

Reads an instance of MoveProductEligibilityResultInner from the JsonReader.

Boolean isMoveEligible()

Get the isMoveEligible property: Specifies whether the subscription is eligible to be transferred.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MoveProductEligibilityResultInner withErrorDetails(MoveProductEligibilityResultErrorDetails errorDetails)

Set the errorDetails property: Error details of the transfer eligibility validation.

MoveProductEligibilityResultInner withIsMoveEligible(Boolean isMoveEligible)

Set the isMoveEligible property: Specifies whether the subscription is eligible to be transferred.

Methods inherited from java.lang.Object

Constructor Details

MoveProductEligibilityResultInner

public MoveProductEligibilityResultInner()

Creates an instance of MoveProductEligibilityResultInner class.

Method Details

errorDetails

public MoveProductEligibilityResultErrorDetails errorDetails()

Get the errorDetails property: Error details of the transfer eligibility validation.

Returns:

the errorDetails value.

fromJson

public static MoveProductEligibilityResultInner fromJson(JsonReader jsonReader)

Reads an instance of MoveProductEligibilityResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MoveProductEligibilityResultInner 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 MoveProductEligibilityResultInner.

isMoveEligible

public Boolean isMoveEligible()

Get the isMoveEligible property: Specifies whether the subscription is eligible to be transferred.

Returns:

the isMoveEligible value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withErrorDetails

public MoveProductEligibilityResultInner withErrorDetails(MoveProductEligibilityResultErrorDetails errorDetails)

Set the errorDetails property: Error details of the transfer eligibility validation.

Parameters:

errorDetails - the errorDetails value to set.

Returns:

the MoveProductEligibilityResultInner object itself.

withIsMoveEligible

public MoveProductEligibilityResultInner withIsMoveEligible(Boolean isMoveEligible)

Set the isMoveEligible property: Specifies whether the subscription is eligible to be transferred.

Parameters:

isMoveEligible - the isMoveEligible value to set.

Returns:

the MoveProductEligibilityResultInner object itself.

Applies to