DeleteBillingProfileEligibilityDetail Class

  • java.lang.Object
    • com.azure.resourcemanager.billing.models.DeleteBillingProfileEligibilityDetail

Implements

public final class DeleteBillingProfileEligibilityDetail
implements JsonSerializable<DeleteBillingProfileEligibilityDetail>

Validation details of delete billing profile eligibility.

Constructor Summary

Constructor Description
DeleteBillingProfileEligibilityDetail()

Creates an instance of DeleteBillingProfileEligibilityDetail class.

Method Summary

Modifier and Type Method and Description
DeleteBillingProfileEligibilityCode code()

Get the code property: Code of the delete invoice section eligibility response.

static DeleteBillingProfileEligibilityDetail fromJson(JsonReader jsonReader)

Reads an instance of DeleteBillingProfileEligibilityDetail from the JsonReader.

String message()

Get the message property: Validation message.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DeleteBillingProfileEligibilityDetail withCode(DeleteBillingProfileEligibilityCode code)

Set the code property: Code of the delete invoice section eligibility response.

DeleteBillingProfileEligibilityDetail withMessage(String message)

Set the message property: Validation message.

Methods inherited from java.lang.Object

Constructor Details

DeleteBillingProfileEligibilityDetail

public DeleteBillingProfileEligibilityDetail()

Creates an instance of DeleteBillingProfileEligibilityDetail class.

Method Details

code

public DeleteBillingProfileEligibilityCode code()

Get the code property: Code of the delete invoice section eligibility response.

Returns:

the code value.

fromJson

public static DeleteBillingProfileEligibilityDetail fromJson(JsonReader jsonReader)

Reads an instance of DeleteBillingProfileEligibilityDetail from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

message

public String message()

Get the message property: Validation message.

Returns:

the message value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCode

public DeleteBillingProfileEligibilityDetail withCode(DeleteBillingProfileEligibilityCode code)

Set the code property: Code of the delete invoice section eligibility response.

Parameters:

code - the code value to set.

Returns:

the DeleteBillingProfileEligibilityDetail object itself.

withMessage

public DeleteBillingProfileEligibilityDetail withMessage(String message)

Set the message property: Validation message.

Parameters:

message - the message value to set.

Returns:

the DeleteBillingProfileEligibilityDetail object itself.

Applies to