com.mux.sdk.models.RealTimeHistogramTimeseriesBucketValues Maven / Gradle / Ivy
/*
* Mux API
* Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before.
*
* The version of the OpenAPI document: v1
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.mux.sdk.models;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* RealTimeHistogramTimeseriesBucketValues
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class RealTimeHistogramTimeseriesBucketValues {
public static final String SERIALIZED_NAME_PERCENTAGE = "percentage";
@SerializedName(SERIALIZED_NAME_PERCENTAGE)
private Double percentage;
public static final String SERIALIZED_NAME_COUNT = "count";
@SerializedName(SERIALIZED_NAME_COUNT)
private Long count;
public RealTimeHistogramTimeseriesBucketValues percentage(Double percentage) {
this.percentage = percentage;
return this;
}
/**
* Get percentage
* @return percentage
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Double getPercentage() {
return percentage;
}
public void setPercentage(Double percentage) {
this.percentage = percentage;
}
public RealTimeHistogramTimeseriesBucketValues count(Long count) {
this.count = count;
return this;
}
/**
* Get count
* @return count
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long getCount() {
return count;
}
public void setCount(Long count) {
this.count = count;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RealTimeHistogramTimeseriesBucketValues realTimeHistogramTimeseriesBucketValues = (RealTimeHistogramTimeseriesBucketValues) o;
return Objects.equals(this.percentage, realTimeHistogramTimeseriesBucketValues.percentage) &&
Objects.equals(this.count, realTimeHistogramTimeseriesBucketValues.count);
}
@Override
public int hashCode() {
return Objects.hash(percentage, count);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RealTimeHistogramTimeseriesBucketValues {\n");
sb.append(" percentage: ").append(toIndentedString(percentage)).append("\n");
sb.append(" count: ").append(toIndentedString(count)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy