com.google.api.services.migrationcenter.v1.model.ReportSummaryUtilizationChartData Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.migrationcenter.v1.model;
/**
* Utilization Chart is a specific type of visualization which displays a metric classified into
* "Used" and "Free" buckets.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Migration Center API. For a detailed explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class ReportSummaryUtilizationChartData extends com.google.api.client.json.GenericJson {
/**
* Aggregate value which falls into the "Free" bucket.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long free;
/**
* Aggregate value which falls into the "Used" bucket.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long used;
/**
* Aggregate value which falls into the "Free" bucket.
* @return value or {@code null} for none
*/
public java.lang.Long getFree() {
return free;
}
/**
* Aggregate value which falls into the "Free" bucket.
* @param free free or {@code null} for none
*/
public ReportSummaryUtilizationChartData setFree(java.lang.Long free) {
this.free = free;
return this;
}
/**
* Aggregate value which falls into the "Used" bucket.
* @return value or {@code null} for none
*/
public java.lang.Long getUsed() {
return used;
}
/**
* Aggregate value which falls into the "Used" bucket.
* @param used used or {@code null} for none
*/
public ReportSummaryUtilizationChartData setUsed(java.lang.Long used) {
this.used = used;
return this;
}
@Override
public ReportSummaryUtilizationChartData set(String fieldName, Object value) {
return (ReportSummaryUtilizationChartData) super.set(fieldName, value);
}
@Override
public ReportSummaryUtilizationChartData clone() {
return (ReportSummaryUtilizationChartData) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy