com.volcengine.cdn.model.DescribeEdgeSummaryRequest Maven / Gradle / Ivy
/*
* cdn
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: common-version
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.volcengine.cdn.model;
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.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* DescribeEdgeSummaryRequest
*/
public class DescribeEdgeSummaryRequest {
@SerializedName("BillingRegion")
private String billingRegion = null;
@SerializedName("Domain")
private String domain = null;
@SerializedName("EndTime")
private Long endTime = null;
@SerializedName("Interval")
private String interval = null;
@SerializedName("Metric")
private String metric = null;
@SerializedName("Project")
private String project = null;
@SerializedName("StartTime")
private Long startTime = null;
public DescribeEdgeSummaryRequest billingRegion(String billingRegion) {
this.billingRegion = billingRegion;
return this;
}
/**
* Get billingRegion
* @return billingRegion
**/
@Schema(description = "")
public String getBillingRegion() {
return billingRegion;
}
public void setBillingRegion(String billingRegion) {
this.billingRegion = billingRegion;
}
public DescribeEdgeSummaryRequest domain(String domain) {
this.domain = domain;
return this;
}
/**
* Get domain
* @return domain
**/
@Schema(description = "")
public String getDomain() {
return domain;
}
public void setDomain(String domain) {
this.domain = domain;
}
public DescribeEdgeSummaryRequest endTime(Long endTime) {
this.endTime = endTime;
return this;
}
/**
* Get endTime
* @return endTime
**/
@NotNull
@Schema(required = true, description = "")
public Long getEndTime() {
return endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
}
public DescribeEdgeSummaryRequest interval(String interval) {
this.interval = interval;
return this;
}
/**
* Get interval
* @return interval
**/
@Schema(description = "")
public String getInterval() {
return interval;
}
public void setInterval(String interval) {
this.interval = interval;
}
public DescribeEdgeSummaryRequest metric(String metric) {
this.metric = metric;
return this;
}
/**
* Get metric
* @return metric
**/
@NotNull
@Schema(required = true, description = "")
public String getMetric() {
return metric;
}
public void setMetric(String metric) {
this.metric = metric;
}
public DescribeEdgeSummaryRequest project(String project) {
this.project = project;
return this;
}
/**
* Get project
* @return project
**/
@Schema(description = "")
public String getProject() {
return project;
}
public void setProject(String project) {
this.project = project;
}
public DescribeEdgeSummaryRequest startTime(Long startTime) {
this.startTime = startTime;
return this;
}
/**
* Get startTime
* @return startTime
**/
@NotNull
@Schema(required = true, description = "")
public Long getStartTime() {
return startTime;
}
public void setStartTime(Long startTime) {
this.startTime = startTime;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DescribeEdgeSummaryRequest describeEdgeSummaryRequest = (DescribeEdgeSummaryRequest) o;
return Objects.equals(this.billingRegion, describeEdgeSummaryRequest.billingRegion) &&
Objects.equals(this.domain, describeEdgeSummaryRequest.domain) &&
Objects.equals(this.endTime, describeEdgeSummaryRequest.endTime) &&
Objects.equals(this.interval, describeEdgeSummaryRequest.interval) &&
Objects.equals(this.metric, describeEdgeSummaryRequest.metric) &&
Objects.equals(this.project, describeEdgeSummaryRequest.project) &&
Objects.equals(this.startTime, describeEdgeSummaryRequest.startTime);
}
@Override
public int hashCode() {
return Objects.hash(billingRegion, domain, endTime, interval, metric, project, startTime);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DescribeEdgeSummaryRequest {\n");
sb.append(" billingRegion: ").append(toIndentedString(billingRegion)).append("\n");
sb.append(" domain: ").append(toIndentedString(domain)).append("\n");
sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n");
sb.append(" interval: ").append(toIndentedString(interval)).append("\n");
sb.append(" metric: ").append(toIndentedString(metric)).append("\n");
sb.append(" project: ").append(toIndentedString(project)).append("\n");
sb.append(" startTime: ").append(toIndentedString(startTime)).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(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy