BillingPermissionInner Class

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

Implements

public final class BillingPermissionInner
implements JsonSerializable<BillingPermissionInner>

The set of allowed action and not allowed actions a caller has on a resource.

Constructor Summary

Constructor Description
BillingPermissionInner()

Creates an instance of BillingPermissionInner class.

Method Summary

Modifier and Type Method and Description
List<String> actions()

Get the actions property: The set of actions that the caller is allowed to perform.

static BillingPermissionInner fromJson(JsonReader jsonReader)

Reads an instance of BillingPermissionInner from the JsonReader.

List<String> notActions()

Get the notActions property: The set of actions that the caller is not allowed to perform.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

BillingPermissionInner

public BillingPermissionInner()

Creates an instance of BillingPermissionInner class.

Method Details

actions

public List<String> actions()

Get the actions property: The set of actions that the caller is allowed to perform.

Returns:

the actions value.

fromJson

public static BillingPermissionInner fromJson(JsonReader jsonReader)

Reads an instance of BillingPermissionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

notActions

public List<String> notActions()

Get the notActions property: The set of actions that the caller is not allowed to perform.

Returns:

the notActions value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to