/** * 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.sql.implementation; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.management.sql.SqlSubResource; /** * Represents an Azure SQL Database Service Objective. */ @JsonFlatten public class ServiceObjectiveInner extends SqlSubResource { /** * The name for the service objective. */ @JsonProperty(value = "properties.serviceObjectiveName", access = JsonProperty.Access.WRITE_ONLY) private String serviceObjectiveName; /** * Gets whether the service level objective is the default service * objective. */ @JsonProperty(value = "properties.isDefault", access = JsonProperty.Access.WRITE_ONLY) private Boolean isDefault; /** * Gets whether the service level objective is a system service objective. */ @JsonProperty(value = "properties.isSystem", access = JsonProperty.Access.WRITE_ONLY) private Boolean isSystem; /** * The description for the service level objective. */ @JsonProperty(value = "properties.description", access = JsonProperty.Access.WRITE_ONLY) private String description; /** * Gets whether the service level objective is enabled. */ @JsonProperty(value = "properties.enabled", access = JsonProperty.Access.WRITE_ONLY) private Boolean enabled; /** * Get the serviceObjectiveName value. * * @return the serviceObjectiveName value */ public String serviceObjectiveName() { return this.serviceObjectiveName; } /** * Get the isDefault value. * * @return the isDefault value */ public Boolean isDefault() { return this.isDefault; } /** * Get the isSystem value. * * @return the isSystem value */ public Boolean isSystem() { return this.isSystem; } /** * Get the description value. * * @return the description value */ public String description() { return this.description; } /** * Get the enabled value. * * @return the enabled value */ public Boolean enabled() { return this.enabled; } }