com.volcengine.kms.model.KeyringForQueryKeyringOutput Maven / Gradle / Ivy
/*
* kms
* 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.kms.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;
/**
* KeyringForQueryKeyringOutput
*/
public class KeyringForQueryKeyringOutput {
@SerializedName("CreationDate")
private Long creationDate = null;
@SerializedName("Description")
private String description = null;
@SerializedName("ID")
private String ID = null;
@SerializedName("KeyringName")
private String keyringName = null;
@SerializedName("KeyringType")
private String keyringType = null;
@SerializedName("ProjectName")
private String projectName = null;
@SerializedName("TRN")
private String TRN = null;
@SerializedName("UID")
private String UID = null;
@SerializedName("UpdateDate")
private Long updateDate = null;
public KeyringForQueryKeyringOutput creationDate(Long creationDate) {
this.creationDate = creationDate;
return this;
}
/**
* Get creationDate
* @return creationDate
**/
@Schema(description = "")
public Long getCreationDate() {
return creationDate;
}
public void setCreationDate(Long creationDate) {
this.creationDate = creationDate;
}
public KeyringForQueryKeyringOutput description(String description) {
this.description = description;
return this;
}
/**
* Get description
* @return description
**/
@Schema(description = "")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public KeyringForQueryKeyringOutput ID(String ID) {
this.ID = ID;
return this;
}
/**
* Get ID
* @return ID
**/
@Schema(description = "")
public String getID() {
return ID;
}
public void setID(String ID) {
this.ID = ID;
}
public KeyringForQueryKeyringOutput keyringName(String keyringName) {
this.keyringName = keyringName;
return this;
}
/**
* Get keyringName
* @return keyringName
**/
@Schema(description = "")
public String getKeyringName() {
return keyringName;
}
public void setKeyringName(String keyringName) {
this.keyringName = keyringName;
}
public KeyringForQueryKeyringOutput keyringType(String keyringType) {
this.keyringType = keyringType;
return this;
}
/**
* Get keyringType
* @return keyringType
**/
@Schema(description = "")
public String getKeyringType() {
return keyringType;
}
public void setKeyringType(String keyringType) {
this.keyringType = keyringType;
}
public KeyringForQueryKeyringOutput 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 KeyringForQueryKeyringOutput TRN(String TRN) {
this.TRN = TRN;
return this;
}
/**
* Get TRN
* @return TRN
**/
@Schema(description = "")
public String getTRN() {
return TRN;
}
public void setTRN(String TRN) {
this.TRN = TRN;
}
public KeyringForQueryKeyringOutput UID(String UID) {
this.UID = UID;
return this;
}
/**
* Get UID
* @return UID
**/
@Schema(description = "")
public String getUID() {
return UID;
}
public void setUID(String UID) {
this.UID = UID;
}
public KeyringForQueryKeyringOutput updateDate(Long updateDate) {
this.updateDate = updateDate;
return this;
}
/**
* Get updateDate
* @return updateDate
**/
@Schema(description = "")
public Long getUpdateDate() {
return updateDate;
}
public void setUpdateDate(Long 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;
}
KeyringForQueryKeyringOutput keyringForQueryKeyringOutput = (KeyringForQueryKeyringOutput) o;
return Objects.equals(this.creationDate, keyringForQueryKeyringOutput.creationDate) &&
Objects.equals(this.description, keyringForQueryKeyringOutput.description) &&
Objects.equals(this.ID, keyringForQueryKeyringOutput.ID) &&
Objects.equals(this.keyringName, keyringForQueryKeyringOutput.keyringName) &&
Objects.equals(this.keyringType, keyringForQueryKeyringOutput.keyringType) &&
Objects.equals(this.projectName, keyringForQueryKeyringOutput.projectName) &&
Objects.equals(this.TRN, keyringForQueryKeyringOutput.TRN) &&
Objects.equals(this.UID, keyringForQueryKeyringOutput.UID) &&
Objects.equals(this.updateDate, keyringForQueryKeyringOutput.updateDate);
}
@Override
public int hashCode() {
return Objects.hash(creationDate, description, ID, keyringName, keyringType, projectName, TRN, UID, updateDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class KeyringForQueryKeyringOutput {\n");
sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" ID: ").append(toIndentedString(ID)).append("\n");
sb.append(" keyringName: ").append(toIndentedString(keyringName)).append("\n");
sb.append(" keyringType: ").append(toIndentedString(keyringType)).append("\n");
sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n");
sb.append(" TRN: ").append(toIndentedString(TRN)).append("\n");
sb.append(" UID: ").append(toIndentedString(UID)).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 ");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy