com.microsoft.azure.management.sql.implementation.UsageInner 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.sql.implementation;
import com.microsoft.azure.management.sql.Name;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* ARM usage.
*/
public class UsageInner {
/**
* Resource ID.
*/
@JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
private String id;
/**
* Resource name.
*/
@JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
private Name name;
/**
* Resource type.
*/
@JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
private String type;
/**
* Usage unit.
*/
@JsonProperty(value = "unit", access = JsonProperty.Access.WRITE_ONLY)
private String unit;
/**
* Usage current value.
*/
@JsonProperty(value = "currentValue", access = JsonProperty.Access.WRITE_ONLY)
private Integer currentValue;
/**
* Usage limit.
*/
@JsonProperty(value = "limit", access = JsonProperty.Access.WRITE_ONLY)
private Integer limit;
/**
* Usage requested limit.
*/
@JsonProperty(value = "requestedLimit", access = JsonProperty.Access.WRITE_ONLY)
private Integer requestedLimit;
/**
* Get resource ID.
*
* @return the id value
*/
public String id() {
return this.id;
}
/**
* Get resource name.
*
* @return the name value
*/
public Name name() {
return this.name;
}
/**
* Get resource type.
*
* @return the type value
*/
public String type() {
return this.type;
}
/**
* Get usage unit.
*
* @return the unit value
*/
public String unit() {
return this.unit;
}
/**
* Get usage current value.
*
* @return the currentValue value
*/
public Integer currentValue() {
return this.currentValue;
}
/**
* Get usage limit.
*
* @return the limit value
*/
public Integer limit() {
return this.limit;
}
/**
* Get usage requested limit.
*
* @return the requestedLimit value
*/
public Integer requestedLimit() {
return this.requestedLimit;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy