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

com.launchableinc.openai.runs.RunStep Maven / Gradle / Ivy

There is a newer version: 0.4.0
Show newest version
package com.launchableinc.openai.runs;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.launchableinc.openai.common.LastError;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class RunStep {

	private String id;

	private String object;

	@JsonProperty("created_at")
	private Integer createdAt;

	@JsonProperty("assistant_id")
	private String assistantId;

	@JsonProperty("thread_id")
	private String threadId;

	@JsonProperty("run_id")
	private String runId;

	private String type;

	private String status;

	@JsonProperty("step_details")
	private StepDetails stepDetails;

	@JsonProperty("last_error")
	private LastError lastError;

	@JsonProperty("expired_at")
	private Integer expiredAt;

	@JsonProperty("cancelled_at")
	private Integer cancelledAt;

	@JsonProperty("failed_at")
	private Integer failedAt;

	@JsonProperty("completed_at")
	private Integer completedAt;

	private Map metadata;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy