OperationInner Class
- java.
lang. Object - com.
azure. resourcemanager. azurestack. fluent. models. OperationInner
- com.
Implements
public final class OperationInner
implements JsonSerializable<OperationInner>
Describes the supported REST operation.
Constructor Summary
| Constructor | Description |
|---|---|
| OperationInner() |
Creates an instance of Operation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Display |
display()
Get the display property: Contains the localized display information for this particular operation or action. |
|
static
Operation |
fromJson(JsonReader jsonReader)
Reads an instance of Operation |
| String |
name()
Get the name property: The name of the operation being performed on this particular object. |
| String |
origin()
Get the origin property: The intended executor of the operation. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Operation |
withDisplay(Display display)
Set the display property: Contains the localized display information for this particular operation or action. |
|
Operation |
withName(String name)
Set the name property: The name of the operation being performed on this particular object. |
|
Operation |
withOrigin(String origin)
Set the origin property: The intended executor of the operation. |
Methods inherited from java.lang.Object
Constructor Details
OperationInner
public OperationInner()
Creates an instance of OperationInner class.
Method Details
display
public Display display()
Get the display property: Contains the localized display information for this particular operation or action.
Returns:
fromJson
public static OperationInner fromJson(JsonReader jsonReader)
Reads an instance of OperationInner from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the operation being performed on this particular object.
Returns:
origin
public String origin()
Get the origin property: The intended executor of the operation.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDisplay
public OperationInner withDisplay(Display display)
Set the display property: Contains the localized display information for this particular operation or action.
Parameters:
Returns:
withName
public OperationInner withName(String name)
Set the name property: The name of the operation being performed on this particular object.
Parameters:
Returns:
withOrigin
public OperationInner withOrigin(String origin)
Set the origin property: The intended executor of the operation.
Parameters:
Returns: