CheckAccessResponseInner Class

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

Implements

public final class CheckAccessResponseInner
implements JsonSerializable<CheckAccessResponseInner>

The properties of a check access response.

Constructor Summary

Constructor Description
CheckAccessResponseInner()

Creates an instance of CheckAccessResponseInner class.

Method Summary

Modifier and Type Method and Description
AccessDecision accessDecision()

Get the accessDecision property: Access Decision, specifies access is allowed or not.

String action()

Get the action property: Gets or sets an action.

static CheckAccessResponseInner fromJson(JsonReader jsonReader)

Reads an instance of CheckAccessResponseInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

CheckAccessResponseInner

public CheckAccessResponseInner()

Creates an instance of CheckAccessResponseInner class.

Method Details

accessDecision

public AccessDecision accessDecision()

Get the accessDecision property: Access Decision, specifies access is allowed or not.

Returns:

the accessDecision value.

action

public String action()

Get the action property: Gets or sets an action.

Returns:

the action value.

fromJson

public static CheckAccessResponseInner fromJson(JsonReader jsonReader)

Reads an instance of CheckAccessResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to