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

com.databricks.sdk.service.provisioning.ExternalCustomerInfo Maven / Gradle / Ivy

The newest version!
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.

package com.databricks.sdk.service.provisioning;

import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;

@Generated
public class ExternalCustomerInfo {
  /** Email of the authoritative user. */
  @JsonProperty("authoritative_user_email")
  private String authoritativeUserEmail;

  /** The authoritative user full name. */
  @JsonProperty("authoritative_user_full_name")
  private String authoritativeUserFullName;

  /** The legal entity name for the external workspace */
  @JsonProperty("customer_name")
  private String customerName;

  public ExternalCustomerInfo setAuthoritativeUserEmail(String authoritativeUserEmail) {
    this.authoritativeUserEmail = authoritativeUserEmail;
    return this;
  }

  public String getAuthoritativeUserEmail() {
    return authoritativeUserEmail;
  }

  public ExternalCustomerInfo setAuthoritativeUserFullName(String authoritativeUserFullName) {
    this.authoritativeUserFullName = authoritativeUserFullName;
    return this;
  }

  public String getAuthoritativeUserFullName() {
    return authoritativeUserFullName;
  }

  public ExternalCustomerInfo setCustomerName(String customerName) {
    this.customerName = customerName;
    return this;
  }

  public String getCustomerName() {
    return customerName;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    ExternalCustomerInfo that = (ExternalCustomerInfo) o;
    return Objects.equals(authoritativeUserEmail, that.authoritativeUserEmail)
        && Objects.equals(authoritativeUserFullName, that.authoritativeUserFullName)
        && Objects.equals(customerName, that.customerName);
  }

  @Override
  public int hashCode() {
    return Objects.hash(authoritativeUserEmail, authoritativeUserFullName, customerName);
  }

  @Override
  public String toString() {
    return new ToStringer(ExternalCustomerInfo.class)
        .add("authoritativeUserEmail", authoritativeUserEmail)
        .add("authoritativeUserFullName", authoritativeUserFullName)
        .add("customerName", customerName)
        .toString();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy