cn.authing.sdk.java.dto.CreateTenantCooperatorDto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of authing-java-sdk Show documentation
Show all versions of authing-java-sdk Show documentation
java backend sdk for authing
package cn.authing.sdk.java.dto;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
public class CreateTenantCooperatorDto {
/**
* 策略
*/
@JsonProperty("policies")
private List policies;
/**
* 用户 ID
*/
@JsonProperty("userId")
private String userId;
/**
* 是否授权 API
*/
@JsonProperty("apiAuthorized")
private Boolean apiAuthorized;
/**
* SMS 通知
*/
@JsonProperty("sendPhoneNotification")
private Boolean sendPhoneNotification;
/**
* Email 通知
*/
@JsonProperty("sendEmailNotification")
private Boolean sendEmailNotification;
public List getPolicies() {
return policies;
}
public void setPolicies(List policies) {
this.policies = policies;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public Boolean getApiAuthorized() {
return apiAuthorized;
}
public void setApiAuthorized(Boolean apiAuthorized) {
this.apiAuthorized = apiAuthorized;
}
public Boolean getSendPhoneNotification() {
return sendPhoneNotification;
}
public void setSendPhoneNotification(Boolean sendPhoneNotification) {
this.sendPhoneNotification = sendPhoneNotification;
}
public Boolean getSendEmailNotification() {
return sendEmailNotification;
}
public void setSendEmailNotification(Boolean sendEmailNotification) {
this.sendEmailNotification = sendEmailNotification;
}
}