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)


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

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)


598
599
600
# File 'sig/types.rbs', line 598

def completed_at
  @completed_at
end

#completion_windowString (readonly)

Returns the value of attribute completion_window.

Returns:

  • (String)


593
594
595
# File 'sig/types.rbs', line 593

def completion_window
  @completion_window
end

#created_atInteger (readonly)

Returns the value of attribute created_at.

Returns:

  • (Integer)


597
598
599
# File 'sig/types.rbs', line 597

def created_at
  @created_at
end

#endpointString (readonly)

Returns the value of attribute endpoint.

Returns:

  • (String)


591
592
593
# File 'sig/types.rbs', line 591

def endpoint
  @endpoint
end

#error_file_idString? (readonly)

Returns the value of attribute error_file_id.

Returns:

  • (String, nil)


596
597
598
# File 'sig/types.rbs', line 596

def error_file_id
  @error_file_id
end

#expired_atInteger? (readonly)

Returns the value of attribute expired_at.

Returns:

  • (Integer, nil)


600
601
602
# File 'sig/types.rbs', line 600

def expired_at
  @expired_at
end

#failed_atInteger? (readonly)

Returns the value of attribute failed_at.

Returns:

  • (Integer, nil)


599
600
601
# File 'sig/types.rbs', line 599

def failed_at
  @failed_at
end

#idString (readonly)

Returns the value of attribute id.

Returns:

  • (String)


589
590
591
# File 'sig/types.rbs', line 589

def id
  @id
end

#input_file_idString (readonly)

Returns the value of attribute input_file_id.

Returns:

  • (String)


592
593
594
# File 'sig/types.rbs', line 592

def input_file_id
  @input_file_id
end

#metadataString? (readonly)

Returns the value of attribute metadata.

Returns:

  • (String, nil)


602
603
604
# File 'sig/types.rbs', line 602

def 
  @metadata
end

#objectString (readonly)

Returns the value of attribute object.

Returns:

  • (String)


590
591
592
# File 'sig/types.rbs', line 590

def object
  @object
end

#output_file_idString? (readonly)

Returns the value of attribute output_file_id.

Returns:

  • (String, nil)


595
596
597
# File 'sig/types.rbs', line 595

def output_file_id
  @output_file_id
end

#request_countsBatchRequestCounts? (readonly)

Returns the value of attribute request_counts.

Returns:



601
602
603
# File 'sig/types.rbs', line 601

def request_counts
  @request_counts
end

#statusBatchStatus (readonly)

Returns the value of attribute status.

Returns:



594
595
596
# File 'sig/types.rbs', line 594

def status
  @status
end