Class: LiterLlm::BatchObject

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBatchObject

Returns a new instance of BatchObject.

Parameters:

  • id: (String)
  • object: (String)
  • endpoint: (String)
  • input_file_id: (String)
  • completion_window: (String)
  • status: (BatchStatus)
  • output_file_id: (String)
  • error_file_id: (String)
  • created_at: (Integer)
  • completed_at: (Integer)
  • failed_at: (Integer)
  • expired_at: (Integer)
  • request_counts: (BatchRequestCounts)
  • metadata: (String)


75
# File 'sig/types.rbs', line 75

def initialize: (?id: String, ?object: String, ?endpoint: String, ?input_file_id: String, ?completion_window: String, ?status: BatchStatus, ?output_file_id: String, ?error_file_id: String, ?created_at: Integer, ?completed_at: Integer, ?failed_at: Integer, ?expired_at: Integer, ?request_counts: BatchRequestCounts, ?metadata: String) -> void

Instance Attribute Details

#completed_atInteger? (readonly)

Returns the value of attribute completed_at.

Returns:

  • (Integer, nil)


69
70
71
# File 'sig/types.rbs', line 69

def completed_at
  @completed_at
end

#completion_windowString (readonly)

Returns the value of attribute completion_window.

Returns:

  • (String)


64
65
66
# File 'sig/types.rbs', line 64

def completion_window
  @completion_window
end

#created_atInteger (readonly)

Returns the value of attribute created_at.

Returns:

  • (Integer)


68
69
70
# File 'sig/types.rbs', line 68

def created_at
  @created_at
end

#endpointString (readonly)

Returns the value of attribute endpoint.

Returns:

  • (String)


62
63
64
# File 'sig/types.rbs', line 62

def endpoint
  @endpoint
end

#error_file_idString? (readonly)

Returns the value of attribute error_file_id.

Returns:

  • (String, nil)


67
68
69
# File 'sig/types.rbs', line 67

def error_file_id
  @error_file_id
end

#expired_atInteger? (readonly)

Returns the value of attribute expired_at.

Returns:

  • (Integer, nil)


71
72
73
# File 'sig/types.rbs', line 71

def expired_at
  @expired_at
end

#failed_atInteger? (readonly)

Returns the value of attribute failed_at.

Returns:

  • (Integer, nil)


70
71
72
# File 'sig/types.rbs', line 70

def failed_at
  @failed_at
end

#idString (readonly)

Returns the value of attribute id.

Returns:

  • (String)


60
61
62
# File 'sig/types.rbs', line 60

def id
  @id
end

#input_file_idString (readonly)

Returns the value of attribute input_file_id.

Returns:

  • (String)


63
64
65
# File 'sig/types.rbs', line 63

def input_file_id
  @input_file_id
end

#metadataString? (readonly)

Returns the value of attribute metadata.

Returns:

  • (String, nil)


73
74
75
# File 'sig/types.rbs', line 73

def 
  @metadata
end

#objectString (readonly)

Returns the value of attribute object.

Returns:

  • (String)


61
62
63
# File 'sig/types.rbs', line 61

def object
  @object
end

#output_file_idString? (readonly)

Returns the value of attribute output_file_id.

Returns:

  • (String, nil)


66
67
68
# File 'sig/types.rbs', line 66

def output_file_id
  @output_file_id
end

#request_countsBatchRequestCounts? (readonly)

Returns the value of attribute request_counts.

Returns:



72
73
74
# File 'sig/types.rbs', line 72

def request_counts
  @request_counts
end

#statusBatchStatus (readonly)

Returns the value of attribute status.

Returns:



65
66
67
# File 'sig/types.rbs', line 65

def status
  @status
end