Partager via


OperationDisplay Class

  • java.lang.Object
    • com.azure.resourcemanager.artifactsigning.models.OperationDisplay

Implements

public final class OperationDisplay
implements JsonSerializable<OperationDisplay>

Localized display information for an operation.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The short, localized friendly description of the operation; suitable for tool tips and detailed views.

static OperationDisplay fromJson(JsonReader jsonReader)

Reads an instance of OperationDisplay from the JsonReader.

String operation()

Get the operation property: The concise, localized friendly name for the operation; suitable for dropdowns.

String provider()

Get the provider property: The localized friendly form of the resource provider name, e.g.

String resource()

Get the resource property: The localized friendly name of the resource type related to this operation.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

description

public String description()

Get the description property: The short, localized friendly description of the operation; suitable for tool tips and detailed views.

Returns:

the description value.

fromJson

public static OperationDisplay fromJson(JsonReader jsonReader)

Reads an instance of OperationDisplay from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

operation

public String operation()

Get the operation property: The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".

Returns:

the operation value.

provider

public String provider()

Get the provider property: The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".

Returns:

the provider value.

resource

public String resource()

Get the resource property: The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to