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

xyz.felh.openai.bean.ResponseHeaders Maven / Gradle / Ivy

There is a newer version: 4.0.2024102501
Show newest version
package xyz.felh.openai.bean;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ResponseHeaders implements Serializable {

    private String model;

    private String organization;

    private Integer processingMs;

    private String version;

    /**
     * The maximum number of requests that are permitted before exhausting the rate limit.
     * UNIT: RPM
     */
    private Integer limitRequests;

    /**
     * The maximum number of tokens that are permitted before exhausting the rate limit.
     * UNIT: TPM
     */
    private Integer limitTokens;

    /**
     * The remaining number of requests that are permitted before exhausting the rate limit.
     */
    private Integer remainingRequests;

    /**
     * The remaining number of tokens that are permitted before exhausting the rate limit.
     */
    private Integer remainingTokens;

    /**
     * The time until the rate limit (based on requests) resets to its initial state.
     */
    private String resetRequests;

    /**
     * The time until the rate limit (based on tokens) resets to its initial state.
     */
    private String resetTokens;

    /**
     * requestId
     */
    private String requestId;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy