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

com.confidentify.client.model.ConfidentifyAccountCreateRequest Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
/*
 * Confidentify API
 * Services that let you build confidence and identify matches in customer data. ## Features overview * Contact data processing services (tagged with `process`) which offer   validation and enrichment backed by inference and knowledge on complex   data types such as names, email addresses, phone numbers.  * Data matching and searching services (tagged with `matching`) that    allow you to identify duplicated data or matches against third party   contact data list.  * Dataset management services (tagged with `dataset`) that allow record storage and retrieval. ## Integrator notes: * Use the `/auth` endpoint to get an access token. Access tokens are temporary, so design the client the be capable of renewing it. * The APIs are rate-limited, so design the client to be capable of retrying with some delay upon HTTP 429 responses. 
 *
 * The version of the OpenAPI document: 1.1.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package com.confidentify.client.model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;

/**
 * ConfidentifyAccountCreateRequest
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-04-21T21:21:06.848810800+02:00[Europe/Paris]")
public class ConfidentifyAccountCreateRequest {
  public static final String SERIALIZED_NAME_NAME = "name";
  @SerializedName(SERIALIZED_NAME_NAME)
  private String name;

  public static final String SERIALIZED_NAME_IMAGE_URL = "image_url";
  @SerializedName(SERIALIZED_NAME_IMAGE_URL)
  private String imageUrl;

  public static final String SERIALIZED_NAME_WEBSITE_URL = "website_url";
  @SerializedName(SERIALIZED_NAME_WEBSITE_URL)
  private String websiteUrl;

  public static final String SERIALIZED_NAME_ACCOUNT_OWNER_USERNAME = "account_owner_username";
  @SerializedName(SERIALIZED_NAME_ACCOUNT_OWNER_USERNAME)
  private String accountOwnerUsername;


  public ConfidentifyAccountCreateRequest name(String name) {
    
    this.name = name;
    return this;
  }

   /**
   * The name of the account, typically a company name. 
   * @return name
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The name of the account, typically a company name. ")

  public String getName() {
    return name;
  }


  public void setName(String name) {
    this.name = name;
  }


  public ConfidentifyAccountCreateRequest imageUrl(String imageUrl) {
    
    this.imageUrl = imageUrl;
    return this;
  }

   /**
   * Optional URL to an image representing the account.
   * @return imageUrl
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "Optional URL to an image representing the account.")

  public String getImageUrl() {
    return imageUrl;
  }


  public void setImageUrl(String imageUrl) {
    this.imageUrl = imageUrl;
  }


  public ConfidentifyAccountCreateRequest websiteUrl(String websiteUrl) {
    
    this.websiteUrl = websiteUrl;
    return this;
  }

   /**
   * Optional URL to the account's website.
   * @return websiteUrl
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "Optional URL to the account's website.")

  public String getWebsiteUrl() {
    return websiteUrl;
  }


  public void setWebsiteUrl(String websiteUrl) {
    this.websiteUrl = websiteUrl;
  }


  public ConfidentifyAccountCreateRequest accountOwnerUsername(String accountOwnerUsername) {
    
    this.accountOwnerUsername = accountOwnerUsername;
    return this;
  }

   /**
   * The username of the account owner user. Note that this field can only be specified by administrators. 
   * @return accountOwnerUsername
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The username of the account owner user. Note that this field can only be specified by administrators. ")

  public String getAccountOwnerUsername() {
    return accountOwnerUsername;
  }


  public void setAccountOwnerUsername(String accountOwnerUsername) {
    this.accountOwnerUsername = accountOwnerUsername;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ConfidentifyAccountCreateRequest confidentifyAccountCreateRequest = (ConfidentifyAccountCreateRequest) o;
    return Objects.equals(this.name, confidentifyAccountCreateRequest.name) &&
        Objects.equals(this.imageUrl, confidentifyAccountCreateRequest.imageUrl) &&
        Objects.equals(this.websiteUrl, confidentifyAccountCreateRequest.websiteUrl) &&
        Objects.equals(this.accountOwnerUsername, confidentifyAccountCreateRequest.accountOwnerUsername);
  }

  @Override
  public int hashCode() {
    return Objects.hash(name, imageUrl, websiteUrl, accountOwnerUsername);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ConfidentifyAccountCreateRequest {\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    imageUrl: ").append(toIndentedString(imageUrl)).append("\n");
    sb.append("    websiteUrl: ").append(toIndentedString(websiteUrl)).append("\n");
    sb.append("    accountOwnerUsername: ").append(toIndentedString(accountOwnerUsername)).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