All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.com.antcloud.api.riskplus.v1_0.request.CreateUserRequest Maven / Gradle / Ivy

Go to download

Ant Chain API SDK For Java Copyright (c) 2020-present antgroup.com, https://www.antgroup.com

There is a newer version: 2.3.1
Show newest version
//
//  Copyright (c) 2020-present antgroup.com, https://www.antgroup.com
//
//  Licensed under the Apache License, Version 2.0 (the "License");
//  you may not use this file except in compliance with the License.
//  You may obtain a copy of the License at
//
//  http://www.apache.org/licenses/LICENSE-2.0
//
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS,
//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//  See the License for the specific language governing permissions and
//  limitations under the License.
//
//
package cn.com.antcloud.api.riskplus.v1_0.request;

import cn.com.antcloud.api.product.AntCloudProdRequest;
import cn.com.antcloud.api.riskplus.v1_0.response.CreateUserResponse;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * 风险大脑企业版创建用户 */
public class CreateUserRequest extends AntCloudProdRequest {
  private String email;

  @NotNull
  private String fullName;

  @NotNull
  private String password;

  private String phone;

  private String tenantCode;

  @NotNull
  private String userName;

  private String userPropertyJson;

  public CreateUserRequest(String productInstanceId) {
    super("riskplus.rbb.user.create", "1.0", "Java-SDK-20240605", productInstanceId);
  }

  public CreateUserRequest() {
    super("riskplus.rbb.user.create", "1.0", null);
    this.setSdkVersion("Java-SDK-20240605");
  }

  /**
   * 用户邮箱,非必填 */
  public String getEmail() {
    return this.email;
  }

  /**
   * 用户邮箱,非必填 */
  public void setEmail(String email) {
    this.email = email;
  }

  /**
   * 用户姓名、真实名称,不要求全局唯一 */
  public String getFullName() {
    return this.fullName;
  }

  /**
   * 用户姓名、真实名称,不要求全局唯一 */
  public void setFullName(String fullName) {
    this.fullName = fullName;
  }

  /**
   * 用户密码 */
  public String getPassword() {
    return this.password;
  }

  /**
   * 用户密码 */
  public void setPassword(String password) {
    this.password = password;
  }

  /**
   * 用户电话号码,非必填 */
  public String getPhone() {
    return this.phone;
  }

  /**
   * 用户电话号码,非必填 */
  public void setPhone(String phone) {
    this.phone = phone;
  }

  /**
   * 用户所属租户编码 */
  public String getTenantCode() {
    return this.tenantCode;
  }

  /**
   * 用户所属租户编码 */
  public void setTenantCode(String tenantCode) {
    this.tenantCode = tenantCode;
  }

  /**
   * 用户名,必须全局唯一 */
  public String getUserName() {
    return this.userName;
  }

  /**
   * 用户名,必须全局唯一 */
  public void setUserName(String userName) {
    this.userName = userName;
  }

  /**
   * 用户属性扩展字段,json格式,可以为空 */
  public String getUserPropertyJson() {
    return this.userPropertyJson;
  }

  /**
   * 用户属性扩展字段,json格式,可以为空 */
  public void setUserPropertyJson(String userPropertyJson) {
    this.userPropertyJson = userPropertyJson;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy