BillingRequestPropertiesReviewedBy Class

public final class BillingRequestPropertiesReviewedBy
extends Principal

The principal of the request reviewer. Will only be set if request is approved.

Constructor Summary

Constructor Description
BillingRequestPropertiesReviewedBy()

Creates an instance of BillingRequestPropertiesReviewedBy class.

Method Summary

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

Reads an instance of BillingRequestPropertiesReviewedBy from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

BillingRequestPropertiesReviewedBy withObjectId(String objectId)

Set the objectId property: The object id of the principal who has interacted with a billing entity.

BillingRequestPropertiesReviewedBy withTenantId(String tenantId)

Set the tenantId property: The tenant id of the principal who has interacted with a billing entity.

BillingRequestPropertiesReviewedBy withUpn(String upn)

Set the upn property: The user principal name of the principal who has interacted with a billing entity.

Methods inherited from Principal

Methods inherited from java.lang.Object

Constructor Details

BillingRequestPropertiesReviewedBy

public BillingRequestPropertiesReviewedBy()

Creates an instance of BillingRequestPropertiesReviewedBy class.

Method Details

fromJson

public static BillingRequestPropertiesReviewedBy fromJson(JsonReader jsonReader)

Reads an instance of BillingRequestPropertiesReviewedBy from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

BillingRequestPropertiesReviewedBy.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

BillingRequestPropertiesReviewedBy.validate()

withObjectId

public BillingRequestPropertiesReviewedBy withObjectId(String objectId)

Set the objectId property: The object id of the principal who has interacted with a billing entity.

Overrides:

BillingRequestPropertiesReviewedBy.withObjectId(String objectId)

Parameters:

objectId

withTenantId

public BillingRequestPropertiesReviewedBy withTenantId(String tenantId)

Set the tenantId property: The tenant id of the principal who has interacted with a billing entity.

Overrides:

BillingRequestPropertiesReviewedBy.withTenantId(String tenantId)

Parameters:

tenantId

withUpn

public BillingRequestPropertiesReviewedBy withUpn(String upn)

Set the upn property: The user principal name of the principal who has interacted with a billing entity.

Overrides:

BillingRequestPropertiesReviewedBy.withUpn(String upn)

Parameters:

upn

Applies to