com.microsoft.azure.management.network.implementation.OperationInner Maven / Gradle / Ivy
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network.implementation;
import com.microsoft.azure.management.network.OperationDisplay;
import com.microsoft.azure.management.network.OperationPropertiesFormatServiceSpecification;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
/**
* Network REST API operation definition.
*/
@JsonFlatten
public class OperationInner {
/**
* Operation name: {provider}/{resource}/{operation}.
*/
@JsonProperty(value = "name")
private String name;
/**
* Display metadata associated with the operation.
*/
@JsonProperty(value = "display")
private OperationDisplay display;
/**
* Origin of the operation.
*/
@JsonProperty(value = "origin")
private String origin;
/**
* Specification of the service.
*/
@JsonProperty(value = "properties.serviceSpecification")
private OperationPropertiesFormatServiceSpecification serviceSpecification;
/**
* Get operation name: {provider}/{resource}/{operation}.
*
* @return the name value
*/
public String name() {
return this.name;
}
/**
* Set operation name: {provider}/{resource}/{operation}.
*
* @param name the name value to set
* @return the OperationInner object itself.
*/
public OperationInner withName(String name) {
this.name = name;
return this;
}
/**
* Get display metadata associated with the operation.
*
* @return the display value
*/
public OperationDisplay display() {
return this.display;
}
/**
* Set display metadata associated with the operation.
*
* @param display the display value to set
* @return the OperationInner object itself.
*/
public OperationInner withDisplay(OperationDisplay display) {
this.display = display;
return this;
}
/**
* Get origin of the operation.
*
* @return the origin value
*/
public String origin() {
return this.origin;
}
/**
* Set origin of the operation.
*
* @param origin the origin value to set
* @return the OperationInner object itself.
*/
public OperationInner withOrigin(String origin) {
this.origin = origin;
return this;
}
/**
* Get specification of the service.
*
* @return the serviceSpecification value
*/
public OperationPropertiesFormatServiceSpecification serviceSpecification() {
return this.serviceSpecification;
}
/**
* Set specification of the service.
*
* @param serviceSpecification the serviceSpecification value to set
* @return the OperationInner object itself.
*/
public OperationInner withServiceSpecification(OperationPropertiesFormatServiceSpecification serviceSpecification) {
this.serviceSpecification = serviceSpecification;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy