com.volcengine.dcdn.model.FileListForDescribeDomainLogsOutput Maven / Gradle / Ivy
/*
* dcdn
* 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.dcdn.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;
/**
* FileListForDescribeDomainLogsOutput
*/
public class FileListForDescribeDomainLogsOutput {
@SerializedName("DomainName")
private String domainName = null;
@SerializedName("EndTime")
private String endTime = null;
@SerializedName("FileName")
private String fileName = null;
@SerializedName("FilePath")
private String filePath = null;
@SerializedName("FileSize")
private Integer fileSize = null;
@SerializedName("StartTime")
private String startTime = null;
public FileListForDescribeDomainLogsOutput domainName(String domainName) {
this.domainName = domainName;
return this;
}
/**
* Get domainName
* @return domainName
**/
@Schema(description = "")
public String getDomainName() {
return domainName;
}
public void setDomainName(String domainName) {
this.domainName = domainName;
}
public FileListForDescribeDomainLogsOutput endTime(String endTime) {
this.endTime = endTime;
return this;
}
/**
* Get endTime
* @return endTime
**/
@Schema(description = "")
public String getEndTime() {
return endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
}
public FileListForDescribeDomainLogsOutput fileName(String fileName) {
this.fileName = fileName;
return this;
}
/**
* Get fileName
* @return fileName
**/
@Schema(description = "")
public String getFileName() {
return fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
public FileListForDescribeDomainLogsOutput filePath(String filePath) {
this.filePath = filePath;
return this;
}
/**
* Get filePath
* @return filePath
**/
@Schema(description = "")
public String getFilePath() {
return filePath;
}
public void setFilePath(String filePath) {
this.filePath = filePath;
}
public FileListForDescribeDomainLogsOutput fileSize(Integer fileSize) {
this.fileSize = fileSize;
return this;
}
/**
* Get fileSize
* @return fileSize
**/
@Schema(description = "")
public Integer getFileSize() {
return fileSize;
}
public void setFileSize(Integer fileSize) {
this.fileSize = fileSize;
}
public FileListForDescribeDomainLogsOutput startTime(String startTime) {
this.startTime = startTime;
return this;
}
/**
* Get startTime
* @return startTime
**/
@Schema(description = "")
public String getStartTime() {
return startTime;
}
public void setStartTime(String 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;
}
FileListForDescribeDomainLogsOutput fileListForDescribeDomainLogsOutput = (FileListForDescribeDomainLogsOutput) o;
return Objects.equals(this.domainName, fileListForDescribeDomainLogsOutput.domainName) &&
Objects.equals(this.endTime, fileListForDescribeDomainLogsOutput.endTime) &&
Objects.equals(this.fileName, fileListForDescribeDomainLogsOutput.fileName) &&
Objects.equals(this.filePath, fileListForDescribeDomainLogsOutput.filePath) &&
Objects.equals(this.fileSize, fileListForDescribeDomainLogsOutput.fileSize) &&
Objects.equals(this.startTime, fileListForDescribeDomainLogsOutput.startTime);
}
@Override
public int hashCode() {
return Objects.hash(domainName, endTime, fileName, filePath, fileSize, startTime);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FileListForDescribeDomainLogsOutput {\n");
sb.append(" domainName: ").append(toIndentedString(domainName)).append("\n");
sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n");
sb.append(" fileName: ").append(toIndentedString(fileName)).append("\n");
sb.append(" filePath: ").append(toIndentedString(filePath)).append("\n");
sb.append(" fileSize: ").append(toIndentedString(fileSize)).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 ");
}
}