/*
 * This file is generated by jOOQ.
 */
package ervu_secret.ervu_secret.db_beans.pg_catalog.tables.records;


import ervu_secret.ervu_secret.db_beans.pg_catalog.tables.PgStatGetSubscription;

import java.sql.Timestamp;

import org.jooq.impl.TableRecordImpl;


/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PgStatGetSubscriptionRecord extends TableRecordImpl<PgStatGetSubscriptionRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>pg_catalog.pg_stat_get_subscription.subid</code>.
     */
    public void setSubid(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_get_subscription.subid</code>.
     */
    public Long getSubid() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>pg_catalog.pg_stat_get_subscription.relid</code>.
     */
    public void setRelid(Long value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_get_subscription.relid</code>.
     */
    public Long getRelid() {
        return (Long) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_stat_get_subscription.pid</code>.
     */
    public void setPid(Integer value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_get_subscription.pid</code>.
     */
    public Integer getPid() {
        return (Integer) get(2);
    }

    /**
     * @deprecated Unknown data type. If this is a qualified, user-defined type,
     * it may have been excluded from code generation. If this is a built-in
     * type, you can define an explicit {@link org.jooq.Binding} to specify how
     * this type should be handled. Deprecation can be turned off using
     * {@literal <deprecationOnUnknownTypes/>} in your code generator
     * configuration.
     */
    @Deprecated
    public void setReceivedLsn(Object value) {
        set(3, value);
    }

    /**
     * @deprecated Unknown data type. If this is a qualified, user-defined type,
     * it may have been excluded from code generation. If this is a built-in
     * type, you can define an explicit {@link org.jooq.Binding} to specify how
     * this type should be handled. Deprecation can be turned off using
     * {@literal <deprecationOnUnknownTypes/>} in your code generator
     * configuration.
     */
    @Deprecated
    public Object getReceivedLsn() {
        return get(3);
    }

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_get_subscription.last_msg_send_time</code>.
     */
    public void setLastMsgSendTime(Timestamp value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_get_subscription.last_msg_send_time</code>.
     */
    public Timestamp getLastMsgSendTime() {
        return (Timestamp) get(4);
    }

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_get_subscription.last_msg_receipt_time</code>.
     */
    public void setLastMsgReceiptTime(Timestamp value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_get_subscription.last_msg_receipt_time</code>.
     */
    public Timestamp getLastMsgReceiptTime() {
        return (Timestamp) get(5);
    }

    /**
     * @deprecated Unknown data type. If this is a qualified, user-defined type,
     * it may have been excluded from code generation. If this is a built-in
     * type, you can define an explicit {@link org.jooq.Binding} to specify how
     * this type should be handled. Deprecation can be turned off using
     * {@literal <deprecationOnUnknownTypes/>} in your code generator
     * configuration.
     */
    @Deprecated
    public void setLatestEndLsn(Object value) {
        set(6, value);
    }

    /**
     * @deprecated Unknown data type. If this is a qualified, user-defined type,
     * it may have been excluded from code generation. If this is a built-in
     * type, you can define an explicit {@link org.jooq.Binding} to specify how
     * this type should be handled. Deprecation can be turned off using
     * {@literal <deprecationOnUnknownTypes/>} in your code generator
     * configuration.
     */
    @Deprecated
    public Object getLatestEndLsn() {
        return get(6);
    }

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_get_subscription.latest_end_time</code>.
     */
    public void setLatestEndTime(Timestamp value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_get_subscription.latest_end_time</code>.
     */
    public Timestamp getLatestEndTime() {
        return (Timestamp) get(7);
    }

    // -------------------------------------------------------------------------
    // Constructors
    // -------------------------------------------------------------------------

    /**
     * Create a detached PgStatGetSubscriptionRecord
     */
    public PgStatGetSubscriptionRecord() {
        super(PgStatGetSubscription.PG_STAT_GET_SUBSCRIPTION);
    }

    /**
     * Create a detached, initialised PgStatGetSubscriptionRecord
     */
    public PgStatGetSubscriptionRecord(Long subid, Long relid, Integer pid, Object receivedLsn, Timestamp lastMsgSendTime, Timestamp lastMsgReceiptTime, Object latestEndLsn, Timestamp latestEndTime) {
        super(PgStatGetSubscription.PG_STAT_GET_SUBSCRIPTION);

        setSubid(subid);
        setRelid(relid);
        setPid(pid);
        setReceivedLsn(receivedLsn);
        setLastMsgSendTime(lastMsgSendTime);
        setLastMsgReceiptTime(lastMsgReceiptTime);
        setLatestEndLsn(latestEndLsn);
        setLatestEndTime(latestEndTime);
        resetChangedOnNotNull();
    }
}
