
com.huaweicloud.sdk.meeting.v1.model.AuthReqDTOV1 Maven / Gradle / Ivy
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.huaweicloud.sdk.meeting.v1.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import java.util.Objects;
public class AuthReqDTOV1 {
@JsonInclude(Include.NON_NULL)
@JsonProperty("account")
private String account;
@JsonInclude(Include.NON_NULL)
@JsonProperty("clientType")
private Integer clientType;
@JsonInclude(Include.NON_NULL)
@JsonProperty("createTokenType")
private Integer createTokenType;
@JsonInclude(Include.NON_NULL)
@JsonProperty("HA2")
private String ha2;
public AuthReqDTOV1 withAccount(String account) {
this.account = account;
return this;
}
public String getAccount() {
return this.account;
}
public void setAccount(String account) {
this.account = account;
}
public AuthReqDTOV1 withClientType(Integer clientType) {
this.clientType = clientType;
return this;
}
public Integer getClientType() {
return this.clientType;
}
public void setClientType(Integer clientType) {
this.clientType = clientType;
}
public AuthReqDTOV1 withCreateTokenType(Integer createTokenType) {
this.createTokenType = createTokenType;
return this;
}
public Integer getCreateTokenType() {
return this.createTokenType;
}
public void setCreateTokenType(Integer createTokenType) {
this.createTokenType = createTokenType;
}
public AuthReqDTOV1 withHa2(String ha2) {
this.ha2 = ha2;
return this;
}
public String getHa2() {
return this.ha2;
}
public void setHa2(String ha2) {
this.ha2 = ha2;
}
public boolean equals(Object o) {
if (this == o) {
return true;
} else if (o != null && this.getClass() == o.getClass()) {
AuthReqDTOV1 authReqDTOV1 = (AuthReqDTOV1)o;
return Objects.equals(this.account, authReqDTOV1.account)
&& Objects.equals(this.clientType, authReqDTOV1.clientType)
&& Objects.equals(this.createTokenType, authReqDTOV1.createTokenType)
&& Objects.equals(this.ha2, authReqDTOV1.ha2);
} else {
return false;
}
}
public int hashCode() {
return Objects.hash(new Object[]{this.account, this.clientType, this.createTokenType, this.ha2});
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AuthReqDTOV1 {\n");
sb.append(" account: ").append(this.toIndentedString(this.account)).append("\n");
sb.append(" clientType: ").append(this.toIndentedString(this.clientType)).append("\n");
sb.append(" createTokenType: ").append(this.toIndentedString(this.createTokenType)).append("\n");
sb.append(" ha2: ").append(this.toIndentedString(this.ha2)).append("\n");
sb.append("}");
return sb.toString();
}
private String toIndentedString(Object o) {
return o == null ? "null" : o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy