com.volcengine.cdn.model.DomainLogDetailForDescribeCdnAccessLogOutput 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;
/**
* DomainLogDetailForDescribeCdnAccessLogOutput
*/
public class DomainLogDetailForDescribeCdnAccessLogOutput {
@SerializedName("EndTime")
private Long endTime = null;
@SerializedName("LogName")
private String logName = null;
@SerializedName("LogPath")
private String logPath = null;
@SerializedName("LogSize")
private Long logSize = null;
@SerializedName("StartTime")
private Long startTime = null;
public DomainLogDetailForDescribeCdnAccessLogOutput endTime(Long endTime) {
this.endTime = endTime;
return this;
}
/**
* Get endTime
* @return endTime
**/
@Schema(description = "")
public Long getEndTime() {
return endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
}
public DomainLogDetailForDescribeCdnAccessLogOutput logName(String logName) {
this.logName = logName;
return this;
}
/**
* Get logName
* @return logName
**/
@Schema(description = "")
public String getLogName() {
return logName;
}
public void setLogName(String logName) {
this.logName = logName;
}
public DomainLogDetailForDescribeCdnAccessLogOutput logPath(String logPath) {
this.logPath = logPath;
return this;
}
/**
* Get logPath
* @return logPath
**/
@Schema(description = "")
public String getLogPath() {
return logPath;
}
public void setLogPath(String logPath) {
this.logPath = logPath;
}
public DomainLogDetailForDescribeCdnAccessLogOutput logSize(Long logSize) {
this.logSize = logSize;
return this;
}
/**
* Get logSize
* @return logSize
**/
@Schema(description = "")
public Long getLogSize() {
return logSize;
}
public void setLogSize(Long logSize) {
this.logSize = logSize;
}
public DomainLogDetailForDescribeCdnAccessLogOutput startTime(Long startTime) {
this.startTime = startTime;
return this;
}
/**
* Get startTime
* @return startTime
**/
@Schema(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;
}
DomainLogDetailForDescribeCdnAccessLogOutput domainLogDetailForDescribeCdnAccessLogOutput = (DomainLogDetailForDescribeCdnAccessLogOutput) o;
return Objects.equals(this.endTime, domainLogDetailForDescribeCdnAccessLogOutput.endTime) &&
Objects.equals(this.logName, domainLogDetailForDescribeCdnAccessLogOutput.logName) &&
Objects.equals(this.logPath, domainLogDetailForDescribeCdnAccessLogOutput.logPath) &&
Objects.equals(this.logSize, domainLogDetailForDescribeCdnAccessLogOutput.logSize) &&
Objects.equals(this.startTime, domainLogDetailForDescribeCdnAccessLogOutput.startTime);
}
@Override
public int hashCode() {
return Objects.hash(endTime, logName, logPath, logSize, startTime);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DomainLogDetailForDescribeCdnAccessLogOutput {\n");
sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n");
sb.append(" logName: ").append(toIndentedString(logName)).append("\n");
sb.append(" logPath: ").append(toIndentedString(logPath)).append("\n");
sb.append(" logSize: ").append(toIndentedString(logSize)).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