com.mux.sdk.models.MonitoringHistogramTimeseriesBucket 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;
/**
* MonitoringHistogramTimeseriesBucket
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class MonitoringHistogramTimeseriesBucket {
public static final String SERIALIZED_NAME_START = "start";
@SerializedName(SERIALIZED_NAME_START)
private Long start;
public static final String SERIALIZED_NAME_END = "end";
@SerializedName(SERIALIZED_NAME_END)
private Long end;
public MonitoringHistogramTimeseriesBucket start(Long start) {
this.start = start;
return this;
}
/**
* Get start
* @return start
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long getStart() {
return start;
}
public void setStart(Long start) {
this.start = start;
}
public MonitoringHistogramTimeseriesBucket end(Long end) {
this.end = end;
return this;
}
/**
* Get end
* @return end
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long getEnd() {
return end;
}
public void setEnd(Long end) {
this.end = end;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
MonitoringHistogramTimeseriesBucket monitoringHistogramTimeseriesBucket = (MonitoringHistogramTimeseriesBucket) o;
return Objects.equals(this.start, monitoringHistogramTimeseriesBucket.start) &&
Objects.equals(this.end, monitoringHistogramTimeseriesBucket.end);
}
@Override
public int hashCode() {
return Objects.hash(start, end);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MonitoringHistogramTimeseriesBucket {\n");
sb.append(" start: ").append(toIndentedString(start)).append("\n");
sb.append(" end: ").append(toIndentedString(end)).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