BillingRequestPropertiesLastUpdatedBy Class

public final class BillingRequestPropertiesLastUpdatedBy
extends Principal

The principal of the entity who last updated the request.

Constructor Summary

Constructor Description
BillingRequestPropertiesLastUpdatedBy()

Creates an instance of BillingRequestPropertiesLastUpdatedBy class.

Method Summary

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

Reads an instance of BillingRequestPropertiesLastUpdatedBy from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

BillingRequestPropertiesLastUpdatedBy withObjectId(String objectId)

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

BillingRequestPropertiesLastUpdatedBy withTenantId(String tenantId)

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

BillingRequestPropertiesLastUpdatedBy 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

BillingRequestPropertiesLastUpdatedBy

public BillingRequestPropertiesLastUpdatedBy()

Creates an instance of BillingRequestPropertiesLastUpdatedBy class.

Method Details

fromJson

public static BillingRequestPropertiesLastUpdatedBy fromJson(JsonReader jsonReader)

Reads an instance of BillingRequestPropertiesLastUpdatedBy from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

BillingRequestPropertiesLastUpdatedBy.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

BillingRequestPropertiesLastUpdatedBy.validate()

withObjectId

public BillingRequestPropertiesLastUpdatedBy withObjectId(String objectId)

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

Overrides:

BillingRequestPropertiesLastUpdatedBy.withObjectId(String objectId)

Parameters:

objectId

withTenantId

public BillingRequestPropertiesLastUpdatedBy withTenantId(String tenantId)

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

Overrides:

BillingRequestPropertiesLastUpdatedBy.withTenantId(String tenantId)

Parameters:

tenantId

withUpn

public BillingRequestPropertiesLastUpdatedBy withUpn(String upn)

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

Overrides:

BillingRequestPropertiesLastUpdatedBy.withUpn(String upn)

Parameters:

upn

Applies to