Beneficiary Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. Beneficiary
- com.
Implements
public final class Beneficiary
implements JsonSerializable<Beneficiary>
Details of the beneficiary.
Constructor Summary
| Constructor | Description |
|---|---|
| Beneficiary() |
Creates an instance of Beneficiary class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Beneficiary |
fromJson(JsonReader jsonReader)
Reads an instance of Beneficiary from the Json |
| String |
objectId()
Get the object |
| String |
tenantId()
Get the tenant |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Beneficiary |
withObjectId(String objectId)
Set the object |
| Beneficiary |
withTenantId(String tenantId)
Set the tenant |
Methods inherited from java.lang.Object
Constructor Details
Beneficiary
public Beneficiary()
Creates an instance of Beneficiary class.
Method Details
fromJson
public static Beneficiary fromJson(JsonReader jsonReader)
Reads an instance of Beneficiary from the JsonReader.
Parameters:
Returns:
Throws:
objectId
public String objectId()
Get the objectId property: The ID that uniquely identifies a user in a tenant.
Returns:
tenantId
public String tenantId()
Get the tenantId property: The ID that uniquely identifies a tenant.
Returns:
toJson
validate
public void validate()
Validates the instance.
withObjectId
public Beneficiary withObjectId(String objectId)
Set the objectId property: The ID that uniquely identifies a user in a tenant.
Parameters:
Returns:
withTenantId
public Beneficiary withTenantId(String tenantId)
Set the tenantId property: The ID that uniquely identifies a tenant.
Parameters:
Returns: