com.launchableinc.openai.billing.Datum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
Basic java objects for the OpenAI GPT APIs
The newest version!
package com.launchableinc.openai.billing;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.math.BigDecimal;
/**
*
*/
@Data
public class Datum {
private String object;
private String id;
/**
* Gift amount: US dollars
*/
@JsonProperty("grant_amount")
private BigDecimal grantAmount;
/**
* Usage amount: US dollars
*/
@JsonProperty("used_amount")
private BigDecimal usedAmount;
/**
* Effective timestamp
*/
@JsonProperty("effective_at")
private Long effectiveAt;
/**
* Expiration timestamp
*/
@JsonProperty("expires_at")
private Long expiresAt;
}