
com.huaweicloud.sdk.meeting.v1.model.ShowUserDetailRequest Maven / Gradle / Ivy
package com.huaweicloud.sdk.meeting.v1.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
/** Request Object */
public class ShowUserDetailRequest {
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "X-Request-Id")
private String xRequestId;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "Accept-Language")
private String acceptLanguage;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "account")
private String account;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "accountType")
private Integer accountType;
public ShowUserDetailRequest withXRequestId(String xRequestId) {
this.xRequestId = xRequestId;
return this;
}
/** 请求requestId,用来标识一路请求,用于问题跟踪定位,建议使用uuId,若不携带,则后台自动生成
*
* @return xRequestId */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "X-Request-Id")
public String getXRequestId() {
return xRequestId;
}
public void setXRequestId(String xRequestId) {
this.xRequestId = xRequestId;
}
public ShowUserDetailRequest withAcceptLanguage(String acceptLanguage) {
this.acceptLanguage = acceptLanguage;
return this;
}
/** 语言参数,默认为中文zh_CN, 英文为en_US
*
* @return acceptLanguage */
public String getAcceptLanguage() {
return acceptLanguage;
}
public void setAcceptLanguage(String acceptLanguage) {
this.acceptLanguage = acceptLanguage;
}
public ShowUserDetailRequest withAccount(String account) {
this.account = account;
return this;
}
/** 企业用户帐号。
*
* @return account */
public String getAccount() {
return account;
}
public void setAccount(String account) {
this.account = account;
}
public ShowUserDetailRequest withAccountType(Integer accountType) {
this.accountType = accountType;
return this;
}
/** 账号类型 * 0:会议账号; * 1:第三方账号,默认0。 minimum: 0 maximum: 1
*
* @return accountType */
public Integer getAccountType() {
return accountType;
}
public void setAccountType(Integer accountType) {
this.accountType = accountType;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ShowUserDetailRequest showUserDetailRequest = (ShowUserDetailRequest) o;
return Objects.equals(this.xRequestId, showUserDetailRequest.xRequestId)
&& Objects.equals(this.acceptLanguage, showUserDetailRequest.acceptLanguage)
&& Objects.equals(this.account, showUserDetailRequest.account)
&& Objects.equals(this.accountType, showUserDetailRequest.accountType);
}
@Override
public int hashCode() {
return Objects.hash(xRequestId, acceptLanguage, account, accountType);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ShowUserDetailRequest {\n");
sb.append(" xRequestId: ").append(toIndentedString(xRequestId)).append("\n");
sb.append(" acceptLanguage: ").append(toIndentedString(acceptLanguage)).append("\n");
sb.append(" account: ").append(toIndentedString(account)).append("\n");
sb.append(" accountType: ").append(toIndentedString(accountType)).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 - 2025 Weber Informatics LLC | Privacy Policy