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

com.bookeo.api.model.ApiKeyInfo Maven / Gradle / Ivy

The newest version!
package com.bookeo.api.model;

import com.bookeo.api.request.StringUtil;
import java.util.*;
import java.util.Date;



import io.swagger.annotations.*;
import com.fasterxml.jackson.annotation.JsonProperty;


/**
 * Provides detailed information about the API Key being used.
 **/
@ApiModel(description = "Provides detailed information about the API Key being used.")
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2015-12-03T18:48:57.986-05:00")
public class ApiKeyInfo   {
  
  private String accountId = null;
  private List permissions = new ArrayList();
  private Date creationTime = null;

  
  /**
   * The unique identifier of the business (Bookeo account) that has installed this key.\n If the application is uninstalled, and then installed again for the same business, the api key would change, but the businessId would not. [read-only]
   **/
  @ApiModelProperty(required = true, value = "The unique identifier of the business (Bookeo account) that has installed this key.\n If the application is uninstalled, and then installed again for the same business, the api key would change, but the businessId would not. [read-only]")
  @JsonProperty("accountId")
  public String getAccountId() {
    return accountId;
  }
  public void setAccountId(String accountId) {
    this.accountId = accountId;
  }

  
  /**
   * [read-only]
   **/
  @ApiModelProperty(required = true, value = "[read-only]")
  @JsonProperty("permissions")
  public List getPermissions() {
    return permissions;
  }
  public void setPermissions(List permissions) {
    this.permissions = permissions;
  }

  
  /**
   * [read-only]
   **/
  @ApiModelProperty(required = true, value = "[read-only]")
  @JsonProperty("creationTime")
  public Date getCreationTime() {
    return creationTime;
  }
  public void setCreationTime(Date creationTime) {
    this.creationTime = creationTime;
  }

  

  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class ApiKeyInfo {\n");
    
    sb.append("    accountId: ").append(StringUtil.toIndentedString(accountId)).append("\n");
    sb.append("    permissions: ").append(StringUtil.toIndentedString(permissions)).append("\n");
    sb.append("    creationTime: ").append(StringUtil.toIndentedString(creationTime)).append("\n");
    sb.append("}");
    return sb.toString();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy