/** This class is generated by jOOQ. */
@javax.annotation.Generated(
    value = {"http://www.jooq.org", "3.3.0"},
    comments = "This class is generated by jOOQ")
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class CredentialTable
    extends org.jooq.impl.TableImpl<io.cattle.platform.core.model.tables.records.CredentialRecord> {

  private static final long serialVersionUID = 1760963263;

  /** The singleton instance of <code>cattle.credential</code> */
  public static final io.cattle.platform.core.model.tables.CredentialTable CREDENTIAL =
      new io.cattle.platform.core.model.tables.CredentialTable();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<io.cattle.platform.core.model.tables.records.CredentialRecord>
      getRecordType() {
    return io.cattle.platform.core.model.tables.records.CredentialRecord.class;
  }

  /** The column <code>cattle.credential.id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.Long>
      ID = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>cattle.credential.name</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String>
      NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>cattle.credential.account_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.Long>
      ACCOUNT_ID = createField("account_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>cattle.credential.kind</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String>
      KIND =
          createField(
              "kind", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, "");

  /** The column <code>cattle.credential.uuid</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String>
      UUID =
          createField(
              "uuid", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, "");

  /** The column <code>cattle.credential.description</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String>
      DESCRIPTION =
          createField("description", org.jooq.impl.SQLDataType.VARCHAR.length(1024), this, "");

  /** The column <code>cattle.credential.state</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String>
      STATE =
          createField(
              "state", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, "");

  /** The column <code>cattle.credential.created</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.util.Date>
      CREATED =
          createField(
              "created",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.credential.removed</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.util.Date>
      REMOVED =
          createField(
              "removed",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.credential.remove_time</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.util.Date>
      REMOVE_TIME =
          createField(
              "remove_time",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.credential.data</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord,
          java.util.Map<String, Object>>
      DATA =
          createField(
              "data",
              org.jooq.impl.SQLDataType.CLOB
                  .length(65535)
                  .asConvertedDataType(new io.cattle.platform.db.jooq.converter.DataConverter()),
              this,
              "");

  /** The column <code>cattle.credential.public_value</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String>
      PUBLIC_VALUE =
          createField("public_value", org.jooq.impl.SQLDataType.VARCHAR.length(4096), this, "");

  /** The column <code>cattle.credential.secret_value</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.String>
      SECRET_VALUE =
          createField("secret_value", org.jooq.impl.SQLDataType.VARCHAR.length(4096), this, "");

  /** The column <code>cattle.credential.registry_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.Long>
      REGISTRY_ID = createField("registry_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** Create a <code>cattle.credential</code> table reference */
  public CredentialTable() {
    this("credential", null);
  }

  /** Create an aliased <code>cattle.credential</code> table reference */
  public CredentialTable(java.lang.String alias) {
    this(alias, io.cattle.platform.core.model.tables.CredentialTable.CREDENTIAL);
  }

  private CredentialTable(
      java.lang.String alias,
      org.jooq.Table<io.cattle.platform.core.model.tables.records.CredentialRecord> aliased) {
    this(alias, aliased, null);
  }

  private CredentialTable(
      java.lang.String alias,
      org.jooq.Table<io.cattle.platform.core.model.tables.records.CredentialRecord> aliased,
      org.jooq.Field<?>[] parameters) {
    super(alias, io.cattle.platform.core.model.CattleTable.CATTLE, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.Identity<
          io.cattle.platform.core.model.tables.records.CredentialRecord, java.lang.Long>
      getIdentity() {
    return io.cattle.platform.core.model.Keys.IDENTITY_CREDENTIAL;
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.CredentialRecord>
      getPrimaryKey() {
    return io.cattle.platform.core.model.Keys.KEY_CREDENTIAL_PRIMARY;
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.CredentialRecord>>
      getKeys() {
    return java.util.Arrays
        .<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.CredentialRecord>>asList(
            io.cattle.platform.core.model.Keys.KEY_CREDENTIAL_PRIMARY,
            io.cattle.platform.core.model.Keys.KEY_CREDENTIAL_IDX_CREDENTIAL_UUID);
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.CredentialRecord, ?>>
      getReferences() {
    return java.util.Arrays
        .<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.CredentialRecord, ?>>
            asList(
                io.cattle.platform.core.model.Keys.FK_CREDENTIAL__ACCOUNT_ID,
                io.cattle.platform.core.model.Keys.FK_CREDENTIAL__REGISTRY_ID);
  }

  /** {@inheritDoc} */
  @Override
  public io.cattle.platform.core.model.tables.CredentialTable as(java.lang.String alias) {
    return new io.cattle.platform.core.model.tables.CredentialTable(alias, this);
  }

  /** Rename this table */
  public io.cattle.platform.core.model.tables.CredentialTable rename(java.lang.String name) {
    return new io.cattle.platform.core.model.tables.CredentialTable(name, null);
  }
}
Ejemplo n.º 2
0
/** This class is generated by jOOQ. */
@javax.annotation.Generated(
    value = {"http://www.jooq.org", "3.3.0"},
    comments = "This class is generated by jOOQ")
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class AccountTable
    extends org.jooq.impl.TableImpl<io.cattle.platform.core.model.tables.records.AccountRecord> {

  private static final long serialVersionUID = -816306637;

  /** The singleton instance of <code>cattle.account</code> */
  public static final io.cattle.platform.core.model.tables.AccountTable ACCOUNT =
      new io.cattle.platform.core.model.tables.AccountTable();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<io.cattle.platform.core.model.tables.records.AccountRecord>
      getRecordType() {
    return io.cattle.platform.core.model.tables.records.AccountRecord.class;
  }

  /** The column <code>cattle.account.id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.Long>
      ID = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>cattle.account.name</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>cattle.account.kind</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      KIND =
          createField(
              "kind", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, "");

  /** The column <code>cattle.account.uuid</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      UUID =
          createField(
              "uuid", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, "");

  /** The column <code>cattle.account.description</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      DESCRIPTION =
          createField("description", org.jooq.impl.SQLDataType.VARCHAR.length(1024), this, "");

  /** The column <code>cattle.account.state</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      STATE =
          createField(
              "state", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, "");

  /** The column <code>cattle.account.created</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.util.Date>
      CREATED =
          createField(
              "created",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.account.removed</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.util.Date>
      REMOVED =
          createField(
              "removed",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.account.remove_time</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.util.Date>
      REMOVE_TIME =
          createField(
              "remove_time",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.account.data</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.util.Map<String, Object>>
      DATA =
          createField(
              "data",
              org.jooq.impl.SQLDataType.CLOB
                  .length(16777215)
                  .asConvertedDataType(new io.cattle.platform.db.jooq.converter.DataConverter()),
              this,
              "");

  /** The column <code>cattle.account.external_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      EXTERNAL_ID =
          createField("external_id", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>cattle.account.external_id_type</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      EXTERNAL_ID_TYPE =
          createField("external_id_type", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

  /** The column <code>cattle.account.health_state</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      HEALTH_STATE =
          createField("health_state", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

  /** The column <code>cattle.account.project_template_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.Long>
      PROJECT_TEMPLATE_ID =
          createField("project_template_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>cattle.account.default_network_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.Long>
      DEFAULT_NETWORK_ID =
          createField("default_network_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>cattle.account.version</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.String>
      VERSION = createField("version", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

  /** Create a <code>cattle.account</code> table reference */
  public AccountTable() {
    this("account", null);
  }

  /** Create an aliased <code>cattle.account</code> table reference */
  public AccountTable(java.lang.String alias) {
    this(alias, io.cattle.platform.core.model.tables.AccountTable.ACCOUNT);
  }

  private AccountTable(
      java.lang.String alias,
      org.jooq.Table<io.cattle.platform.core.model.tables.records.AccountRecord> aliased) {
    this(alias, aliased, null);
  }

  private AccountTable(
      java.lang.String alias,
      org.jooq.Table<io.cattle.platform.core.model.tables.records.AccountRecord> aliased,
      org.jooq.Field<?>[] parameters) {
    super(alias, io.cattle.platform.core.model.CattleTable.CATTLE, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.Identity<
          io.cattle.platform.core.model.tables.records.AccountRecord, java.lang.Long>
      getIdentity() {
    return io.cattle.platform.core.model.Keys.IDENTITY_ACCOUNT;
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.AccountRecord>
      getPrimaryKey() {
    return io.cattle.platform.core.model.Keys.KEY_ACCOUNT_PRIMARY;
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.AccountRecord>>
      getKeys() {
    return java.util.Arrays
        .<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.AccountRecord>>asList(
            io.cattle.platform.core.model.Keys.KEY_ACCOUNT_PRIMARY,
            io.cattle.platform.core.model.Keys.KEY_ACCOUNT_IDX_ACCOUNT_UUID);
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.AccountRecord, ?>>
      getReferences() {
    return java.util.Arrays
        .<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.AccountRecord, ?>>asList(
            io.cattle.platform.core.model.Keys.FK_ACCOUNT__PROJECT_TEMPLATE_ID);
  }

  /** {@inheritDoc} */
  @Override
  public io.cattle.platform.core.model.tables.AccountTable as(java.lang.String alias) {
    return new io.cattle.platform.core.model.tables.AccountTable(alias, this);
  }

  /** Rename this table */
  public io.cattle.platform.core.model.tables.AccountTable rename(java.lang.String name) {
    return new io.cattle.platform.core.model.tables.AccountTable(name, null);
  }
}
Ejemplo n.º 3
0
/** This class is generated by jOOQ. */
@javax.annotation.Generated(
    value = {"http://www.jooq.org", "3.3.0"},
    comments = "This class is generated by jOOQ")
@java.lang.SuppressWarnings({"all", "unchecked", "rawtypes"})
public class StoragePoolTable
    extends org.jooq.impl.TableImpl<
        io.cattle.platform.core.model.tables.records.StoragePoolRecord> {

  private static final long serialVersionUID = 645893858;

  /** The singleton instance of <code>cattle.storage_pool</code> */
  public static final io.cattle.platform.core.model.tables.StoragePoolTable STORAGE_POOL =
      new io.cattle.platform.core.model.tables.StoragePoolTable();

  /** The class holding records for this type */
  @Override
  public java.lang.Class<io.cattle.platform.core.model.tables.records.StoragePoolRecord>
      getRecordType() {
    return io.cattle.platform.core.model.tables.records.StoragePoolRecord.class;
  }

  /** The column <code>cattle.storage_pool.id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long>
      ID = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, "");

  /** The column <code>cattle.storage_pool.name</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String>
      NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>cattle.storage_pool.account_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long>
      ACCOUNT_ID = createField("account_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>cattle.storage_pool.kind</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String>
      KIND =
          createField(
              "kind", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, "");

  /** The column <code>cattle.storage_pool.uuid</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String>
      UUID =
          createField(
              "uuid", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, "");

  /** The column <code>cattle.storage_pool.description</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String>
      DESCRIPTION =
          createField("description", org.jooq.impl.SQLDataType.VARCHAR.length(1024), this, "");

  /** The column <code>cattle.storage_pool.state</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String>
      STATE =
          createField(
              "state", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, "");

  /** The column <code>cattle.storage_pool.created</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.util.Date>
      CREATED =
          createField(
              "created",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.storage_pool.removed</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.util.Date>
      REMOVED =
          createField(
              "removed",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.storage_pool.remove_time</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.util.Date>
      REMOVE_TIME =
          createField(
              "remove_time",
              org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(
                  new io.cattle.platform.db.jooq.converter.DateConverter()),
              this,
              "");

  /** The column <code>cattle.storage_pool.data</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord,
          java.util.Map<String, Object>>
      DATA =
          createField(
              "data",
              org.jooq.impl.SQLDataType.CLOB
                  .length(16777215)
                  .asConvertedDataType(new io.cattle.platform.db.jooq.converter.DataConverter()),
              this,
              "");

  /** The column <code>cattle.storage_pool.physical_total_size_mb</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long>
      PHYSICAL_TOTAL_SIZE_MB =
          createField("physical_total_size_mb", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>cattle.storage_pool.virtual_total_size_mb</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long>
      VIRTUAL_TOTAL_SIZE_MB =
          createField("virtual_total_size_mb", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>cattle.storage_pool.external</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Boolean>
      EXTERNAL =
          createField(
              "external", org.jooq.impl.SQLDataType.BIT.nullable(false).defaulted(true), this, "");

  /** The column <code>cattle.storage_pool.agent_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long>
      AGENT_ID = createField("agent_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>cattle.storage_pool.zone_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long>
      ZONE_ID = createField("zone_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** The column <code>cattle.storage_pool.external_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String>
      EXTERNAL_ID =
          createField("external_id", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, "");

  /** The column <code>cattle.storage_pool.driver_name</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String>
      DRIVER_NAME =
          createField("driver_name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>cattle.storage_pool.volume_access_mode</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.String>
      VOLUME_ACCESS_MODE =
          createField(
              "volume_access_mode", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, "");

  /** The column <code>cattle.storage_pool.storage_driver_id</code>. */
  public final org.jooq.TableField<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long>
      STORAGE_DRIVER_ID =
          createField("storage_driver_id", org.jooq.impl.SQLDataType.BIGINT, this, "");

  /** Create a <code>cattle.storage_pool</code> table reference */
  public StoragePoolTable() {
    this("storage_pool", null);
  }

  /** Create an aliased <code>cattle.storage_pool</code> table reference */
  public StoragePoolTable(java.lang.String alias) {
    this(alias, io.cattle.platform.core.model.tables.StoragePoolTable.STORAGE_POOL);
  }

  private StoragePoolTable(
      java.lang.String alias,
      org.jooq.Table<io.cattle.platform.core.model.tables.records.StoragePoolRecord> aliased) {
    this(alias, aliased, null);
  }

  private StoragePoolTable(
      java.lang.String alias,
      org.jooq.Table<io.cattle.platform.core.model.tables.records.StoragePoolRecord> aliased,
      org.jooq.Field<?>[] parameters) {
    super(alias, io.cattle.platform.core.model.CattleTable.CATTLE, aliased, parameters, "");
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.Identity<
          io.cattle.platform.core.model.tables.records.StoragePoolRecord, java.lang.Long>
      getIdentity() {
    return io.cattle.platform.core.model.Keys.IDENTITY_STORAGE_POOL;
  }

  /** {@inheritDoc} */
  @Override
  public org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.StoragePoolRecord>
      getPrimaryKey() {
    return io.cattle.platform.core.model.Keys.KEY_STORAGE_POOL_PRIMARY;
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.StoragePoolRecord>>
      getKeys() {
    return java.util.Arrays
        .<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.StoragePoolRecord>>asList(
            io.cattle.platform.core.model.Keys.KEY_STORAGE_POOL_PRIMARY,
            io.cattle.platform.core.model.Keys.KEY_STORAGE_POOL_IDX_STORAGE_POOL_UUID);
  }

  /** {@inheritDoc} */
  @Override
  public java.util.List<
          org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.StoragePoolRecord, ?>>
      getReferences() {
    return java.util.Arrays
        .<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.StoragePoolRecord, ?>>
            asList(
                io.cattle.platform.core.model.Keys.FK_STORAGE_POOL__ACCOUNT_ID,
                io.cattle.platform.core.model.Keys.FK_STORAGE_POOL__AGENT_ID,
                io.cattle.platform.core.model.Keys.FK_STORAGE_POOL__ZONE_ID,
                io.cattle.platform.core.model.Keys.FK_STORAGE_DRIVER__ID);
  }

  /** {@inheritDoc} */
  @Override
  public io.cattle.platform.core.model.tables.StoragePoolTable as(java.lang.String alias) {
    return new io.cattle.platform.core.model.tables.StoragePoolTable(alias, this);
  }

  /** Rename this table */
  public io.cattle.platform.core.model.tables.StoragePoolTable rename(java.lang.String name) {
    return new io.cattle.platform.core.model.tables.StoragePoolTable(name, null);
  }
}