com.volcengine.vefaas.model.TopParamForListRevisionsInput Maven / Gradle / Ivy
/*
* vefaas
* 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.vefaas.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;
/**
* TopParamForListRevisionsInput
*/
public class TopParamForListRevisionsInput {
@SerializedName("AccountId")
private Long accountId = null;
@SerializedName("DestService")
private String destService = null;
@SerializedName("IsInternal")
private String isInternal = null;
@SerializedName("Psm")
private String psm = null;
@SerializedName("RealIp")
private String realIp = null;
@SerializedName("Region")
private String region = null;
@SerializedName("RequestId")
private String requestId = null;
@SerializedName("RoleId")
private Long roleId = null;
@SerializedName("Site")
private String site = null;
@SerializedName("SourceService")
private String sourceService = null;
@SerializedName("UserId")
private Long userId = null;
public TopParamForListRevisionsInput 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 TopParamForListRevisionsInput destService(String destService) {
this.destService = destService;
return this;
}
/**
* Get destService
* @return destService
**/
@Schema(description = "")
public String getDestService() {
return destService;
}
public void setDestService(String destService) {
this.destService = destService;
}
public TopParamForListRevisionsInput isInternal(String isInternal) {
this.isInternal = isInternal;
return this;
}
/**
* Get isInternal
* @return isInternal
**/
@Schema(description = "")
public String getIsInternal() {
return isInternal;
}
public void setIsInternal(String isInternal) {
this.isInternal = isInternal;
}
public TopParamForListRevisionsInput psm(String psm) {
this.psm = psm;
return this;
}
/**
* Get psm
* @return psm
**/
@Schema(description = "")
public String getPsm() {
return psm;
}
public void setPsm(String psm) {
this.psm = psm;
}
public TopParamForListRevisionsInput realIp(String realIp) {
this.realIp = realIp;
return this;
}
/**
* Get realIp
* @return realIp
**/
@Schema(description = "")
public String getRealIp() {
return realIp;
}
public void setRealIp(String realIp) {
this.realIp = realIp;
}
public TopParamForListRevisionsInput region(String region) {
this.region = region;
return this;
}
/**
* Get region
* @return region
**/
@Schema(description = "")
public String getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
public TopParamForListRevisionsInput requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Get requestId
* @return requestId
**/
@Schema(description = "")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public TopParamForListRevisionsInput roleId(Long roleId) {
this.roleId = roleId;
return this;
}
/**
* Get roleId
* @return roleId
**/
@Schema(description = "")
public Long getRoleId() {
return roleId;
}
public void setRoleId(Long roleId) {
this.roleId = roleId;
}
public TopParamForListRevisionsInput site(String site) {
this.site = site;
return this;
}
/**
* Get site
* @return site
**/
@Schema(description = "")
public String getSite() {
return site;
}
public void setSite(String site) {
this.site = site;
}
public TopParamForListRevisionsInput sourceService(String sourceService) {
this.sourceService = sourceService;
return this;
}
/**
* Get sourceService
* @return sourceService
**/
@Schema(description = "")
public String getSourceService() {
return sourceService;
}
public void setSourceService(String sourceService) {
this.sourceService = sourceService;
}
public TopParamForListRevisionsInput userId(Long userId) {
this.userId = userId;
return this;
}
/**
* Get userId
* @return userId
**/
@Schema(description = "")
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TopParamForListRevisionsInput topParamForListRevisionsInput = (TopParamForListRevisionsInput) o;
return Objects.equals(this.accountId, topParamForListRevisionsInput.accountId) &&
Objects.equals(this.destService, topParamForListRevisionsInput.destService) &&
Objects.equals(this.isInternal, topParamForListRevisionsInput.isInternal) &&
Objects.equals(this.psm, topParamForListRevisionsInput.psm) &&
Objects.equals(this.realIp, topParamForListRevisionsInput.realIp) &&
Objects.equals(this.region, topParamForListRevisionsInput.region) &&
Objects.equals(this.requestId, topParamForListRevisionsInput.requestId) &&
Objects.equals(this.roleId, topParamForListRevisionsInput.roleId) &&
Objects.equals(this.site, topParamForListRevisionsInput.site) &&
Objects.equals(this.sourceService, topParamForListRevisionsInput.sourceService) &&
Objects.equals(this.userId, topParamForListRevisionsInput.userId);
}
@Override
public int hashCode() {
return Objects.hash(accountId, destService, isInternal, psm, realIp, region, requestId, roleId, site, sourceService, userId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TopParamForListRevisionsInput {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" destService: ").append(toIndentedString(destService)).append("\n");
sb.append(" isInternal: ").append(toIndentedString(isInternal)).append("\n");
sb.append(" psm: ").append(toIndentedString(psm)).append("\n");
sb.append(" realIp: ").append(toIndentedString(realIp)).append("\n");
sb.append(" region: ").append(toIndentedString(region)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append(" roleId: ").append(toIndentedString(roleId)).append("\n");
sb.append(" site: ").append(toIndentedString(site)).append("\n");
sb.append(" sourceService: ").append(toIndentedString(sourceService)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).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