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

cn.com.antcloud.api.riskplus.v1_0.request.CreateTenantRequest 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.CreateTenantResponse;
import java.lang.String;
import java.util.Date;
import javax.validation.constraints.NotNull;

/**
 * 风险大脑企业版创建租户 */
public class CreateTenantRequest extends AntCloudProdRequest {
  private Date effectiveEndDate;

  @NotNull
  private String tenantCode;

  @NotNull
  private String tenantName;

  private String tenantPropertyJson;

  public CreateTenantRequest(String productInstanceId) {
    super("riskplus.rbb.tenant.create", "1.0", "Java-SDK-20230828", productInstanceId);
  }

  public CreateTenantRequest() {
    super("riskplus.rbb.tenant.create", "1.0", null);
    this.setSdkVersion("Java-SDK-20230828");
  }

  /**
   * 租户过期时间,不填表示永不过期 */
  public Date getEffectiveEndDate() {
    return this.effectiveEndDate;
  }

  /**
   * 租户过期时间,不填表示永不过期 */
  public void setEffectiveEndDate(Date effectiveEndDate) {
    this.effectiveEndDate = effectiveEndDate;
  }

  /**
   * 租户编码,必须全局唯一 */
  public String getTenantCode() {
    return this.tenantCode;
  }

  /**
   * 租户编码,必须全局唯一 */
  public void setTenantCode(String tenantCode) {
    this.tenantCode = tenantCode;
  }

  /**
   * 租户名称 */
  public String getTenantName() {
    return this.tenantName;
  }

  /**
   * 租户名称 */
  public void setTenantName(String tenantName) {
    this.tenantName = tenantName;
  }

  /**
   * 租户自定义属性,JSON格式,可以为空 */
  public String getTenantPropertyJson() {
    return this.tenantPropertyJson;
  }

  /**
   * 租户自定义属性,JSON格式,可以为空 */
  public void setTenantPropertyJson(String tenantPropertyJson) {
    this.tenantPropertyJson = tenantPropertyJson;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy