Share via


MicrosoftGraphAssignedPlan Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphAssignedPlan

Implements

public final class MicrosoftGraphAssignedPlan
implements JsonSerializable<MicrosoftGraphAssignedPlan>

Represents an assigned plan.

Constructor Summary

Constructor Description
MicrosoftGraphAssignedPlan()

Creates an instance of MicrosoftGraphAssignedPlan class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: assignedPlan.

OffsetDateTime assignedDateTime()

Get the assignedDateTime property: The assignedDateTime property.

String capabilityStatus()

Get the capabilityStatus property: Condition of the capability assignment.

static MicrosoftGraphAssignedPlan fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphAssignedPlan from the JsonReader.

String service()

Get the service property: The name of the service; for example, 'Exchange'.

UUID servicePlanId()

Get the servicePlanId property: A GUID that identifies the service plan.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphAssignedPlan withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: assignedPlan.

MicrosoftGraphAssignedPlan withAssignedDateTime(OffsetDateTime assignedDateTime)

Set the assignedDateTime property: The assignedDateTime property.

MicrosoftGraphAssignedPlan withCapabilityStatus(String capabilityStatus)

Set the capabilityStatus property: Condition of the capability assignment.

MicrosoftGraphAssignedPlan withService(String service)

Set the service property: The name of the service; for example, 'Exchange'.

MicrosoftGraphAssignedPlan withServicePlanId(UUID servicePlanId)

Set the servicePlanId property: A GUID that identifies the service plan.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphAssignedPlan

public MicrosoftGraphAssignedPlan()

Creates an instance of MicrosoftGraphAssignedPlan class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: assignedPlan.

Returns:

the additionalProperties value.

assignedDateTime

public OffsetDateTime assignedDateTime()

Get the assignedDateTime property: The assignedDateTime property.

Returns:

the assignedDateTime value.

capabilityStatus

public String capabilityStatus()

Get the capabilityStatus property: Condition of the capability assignment. The possible values are Enabled, Warning, Suspended, Deleted, LockedOut.

Returns:

the capabilityStatus value.

fromJson

public static MicrosoftGraphAssignedPlan fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphAssignedPlan from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

service

public String service()

Get the service property: The name of the service; for example, 'Exchange'.

Returns:

the service value.

servicePlanId

public UUID servicePlanId()

Get the servicePlanId property: A GUID that identifies the service plan.

Returns:

the servicePlanId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphAssignedPlan withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: assignedPlan.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphAssignedPlan object itself.

withAssignedDateTime

public MicrosoftGraphAssignedPlan withAssignedDateTime(OffsetDateTime assignedDateTime)

Set the assignedDateTime property: The assignedDateTime property.

Parameters:

assignedDateTime - the assignedDateTime value to set.

Returns:

the MicrosoftGraphAssignedPlan object itself.

withCapabilityStatus

public MicrosoftGraphAssignedPlan withCapabilityStatus(String capabilityStatus)

Set the capabilityStatus property: Condition of the capability assignment. The possible values are Enabled, Warning, Suspended, Deleted, LockedOut.

Parameters:

capabilityStatus - the capabilityStatus value to set.

Returns:

the MicrosoftGraphAssignedPlan object itself.

withService

public MicrosoftGraphAssignedPlan withService(String service)

Set the service property: The name of the service; for example, 'Exchange'.

Parameters:

service - the service value to set.

Returns:

the MicrosoftGraphAssignedPlan object itself.

withServicePlanId

public MicrosoftGraphAssignedPlan withServicePlanId(UUID servicePlanId)

Set the servicePlanId property: A GUID that identifies the service plan.

Parameters:

servicePlanId - the servicePlanId value to set.

Returns:

the MicrosoftGraphAssignedPlan object itself.

Applies to