com.volcengine.iam20210801.model.ProjectResourceForListProjectResourcesOutput Maven / Gradle / Ivy
/*
* iam20210801
* 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.iam20210801.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;
/**
* ProjectResourceForListProjectResourcesOutput
*/
public class ProjectResourceForListProjectResourcesOutput {
@SerializedName("AccountID")
private Long accountID = null;
@SerializedName("CreateDate")
private String createDate = null;
@SerializedName("ProjectName")
private String projectName = null;
@SerializedName("ResourceID")
private String resourceID = null;
@SerializedName("ResourceRegion")
private String resourceRegion = null;
@SerializedName("ResourceTrn")
private String resourceTrn = null;
@SerializedName("ResourceType")
private String resourceType = null;
@SerializedName("ServiceName")
private String serviceName = null;
@SerializedName("UpdateDate")
private String updateDate = null;
public ProjectResourceForListProjectResourcesOutput accountID(Long accountID) {
this.accountID = accountID;
return this;
}
/**
* Get accountID
* @return accountID
**/
@Schema(description = "")
public Long getAccountID() {
return accountID;
}
public void setAccountID(Long accountID) {
this.accountID = accountID;
}
public ProjectResourceForListProjectResourcesOutput createDate(String createDate) {
this.createDate = createDate;
return this;
}
/**
* Get createDate
* @return createDate
**/
@Schema(description = "")
public String getCreateDate() {
return createDate;
}
public void setCreateDate(String createDate) {
this.createDate = createDate;
}
public ProjectResourceForListProjectResourcesOutput projectName(String projectName) {
this.projectName = projectName;
return this;
}
/**
* Get projectName
* @return projectName
**/
@Schema(description = "")
public String getProjectName() {
return projectName;
}
public void setProjectName(String projectName) {
this.projectName = projectName;
}
public ProjectResourceForListProjectResourcesOutput resourceID(String resourceID) {
this.resourceID = resourceID;
return this;
}
/**
* Get resourceID
* @return resourceID
**/
@Schema(description = "")
public String getResourceID() {
return resourceID;
}
public void setResourceID(String resourceID) {
this.resourceID = resourceID;
}
public ProjectResourceForListProjectResourcesOutput resourceRegion(String resourceRegion) {
this.resourceRegion = resourceRegion;
return this;
}
/**
* Get resourceRegion
* @return resourceRegion
**/
@Schema(description = "")
public String getResourceRegion() {
return resourceRegion;
}
public void setResourceRegion(String resourceRegion) {
this.resourceRegion = resourceRegion;
}
public ProjectResourceForListProjectResourcesOutput resourceTrn(String resourceTrn) {
this.resourceTrn = resourceTrn;
return this;
}
/**
* Get resourceTrn
* @return resourceTrn
**/
@Schema(description = "")
public String getResourceTrn() {
return resourceTrn;
}
public void setResourceTrn(String resourceTrn) {
this.resourceTrn = resourceTrn;
}
public ProjectResourceForListProjectResourcesOutput resourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
/**
* Get resourceType
* @return resourceType
**/
@Schema(description = "")
public String getResourceType() {
return resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
}
public ProjectResourceForListProjectResourcesOutput serviceName(String serviceName) {
this.serviceName = serviceName;
return this;
}
/**
* Get serviceName
* @return serviceName
**/
@Schema(description = "")
public String getServiceName() {
return serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
}
public ProjectResourceForListProjectResourcesOutput updateDate(String updateDate) {
this.updateDate = updateDate;
return this;
}
/**
* Get updateDate
* @return updateDate
**/
@Schema(description = "")
public String getUpdateDate() {
return updateDate;
}
public void setUpdateDate(String updateDate) {
this.updateDate = updateDate;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProjectResourceForListProjectResourcesOutput projectResourceForListProjectResourcesOutput = (ProjectResourceForListProjectResourcesOutput) o;
return Objects.equals(this.accountID, projectResourceForListProjectResourcesOutput.accountID) &&
Objects.equals(this.createDate, projectResourceForListProjectResourcesOutput.createDate) &&
Objects.equals(this.projectName, projectResourceForListProjectResourcesOutput.projectName) &&
Objects.equals(this.resourceID, projectResourceForListProjectResourcesOutput.resourceID) &&
Objects.equals(this.resourceRegion, projectResourceForListProjectResourcesOutput.resourceRegion) &&
Objects.equals(this.resourceTrn, projectResourceForListProjectResourcesOutput.resourceTrn) &&
Objects.equals(this.resourceType, projectResourceForListProjectResourcesOutput.resourceType) &&
Objects.equals(this.serviceName, projectResourceForListProjectResourcesOutput.serviceName) &&
Objects.equals(this.updateDate, projectResourceForListProjectResourcesOutput.updateDate);
}
@Override
public int hashCode() {
return Objects.hash(accountID, createDate, projectName, resourceID, resourceRegion, resourceTrn, resourceType, serviceName, updateDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProjectResourceForListProjectResourcesOutput {\n");
sb.append(" accountID: ").append(toIndentedString(accountID)).append("\n");
sb.append(" createDate: ").append(toIndentedString(createDate)).append("\n");
sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n");
sb.append(" resourceID: ").append(toIndentedString(resourceID)).append("\n");
sb.append(" resourceRegion: ").append(toIndentedString(resourceRegion)).append("\n");
sb.append(" resourceTrn: ").append(toIndentedString(resourceTrn)).append("\n");
sb.append(" resourceType: ").append(toIndentedString(resourceType)).append("\n");
sb.append(" serviceName: ").append(toIndentedString(serviceName)).append("\n");
sb.append(" updateDate: ").append(toIndentedString(updateDate)).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 ");
}
}