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: (json_value)


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

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: json_value) -> void

Instance Attribute Details

#completed_atInteger?

Returns the value of attribute completed_at.

Returns:

  • (Integer, nil)


585
586
587
# File 'sig/types.rbs', line 585

def completed_at
  @completed_at
end

#completion_windowString?

Returns the value of attribute completion_window.

Returns:

  • (String, nil)


580
581
582
# File 'sig/types.rbs', line 580

def completion_window
  @completion_window
end

#created_atInteger?

Returns the value of attribute created_at.

Returns:

  • (Integer, nil)


584
585
586
# File 'sig/types.rbs', line 584

def created_at
  @created_at
end

#endpointString?

Returns the value of attribute endpoint.

Returns:

  • (String, nil)


578
579
580
# File 'sig/types.rbs', line 578

def endpoint
  @endpoint
end

#error_file_idString?

Returns the value of attribute error_file_id.

Returns:

  • (String, nil)


583
584
585
# File 'sig/types.rbs', line 583

def error_file_id
  @error_file_id
end

#expired_atInteger?

Returns the value of attribute expired_at.

Returns:

  • (Integer, nil)


587
588
589
# File 'sig/types.rbs', line 587

def expired_at
  @expired_at
end

#failed_atInteger?

Returns the value of attribute failed_at.

Returns:

  • (Integer, nil)


586
587
588
# File 'sig/types.rbs', line 586

def failed_at
  @failed_at
end

#idString?

Returns the value of attribute id.

Returns:

  • (String, nil)


576
577
578
# File 'sig/types.rbs', line 576

def id
  @id
end

#input_file_idString?

Returns the value of attribute input_file_id.

Returns:

  • (String, nil)


579
580
581
# File 'sig/types.rbs', line 579

def input_file_id
  @input_file_id
end

#metadatajson_value?

Returns the value of attribute metadata.

Returns:

  • (json_value, nil)


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

def 
  @metadata
end

#objectString?

Returns the value of attribute object.

Returns:

  • (String, nil)


577
578
579
# File 'sig/types.rbs', line 577

def object
  @object
end

#output_file_idString?

Returns the value of attribute output_file_id.

Returns:

  • (String, nil)


582
583
584
# File 'sig/types.rbs', line 582

def output_file_id
  @output_file_id
end

#request_countsBatchRequestCounts?

Returns the value of attribute request_counts.

Returns:



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

def request_counts
  @request_counts
end

#statusBatchStatus?

Returns the value of attribute status.

Returns:



581
582
583
# File 'sig/types.rbs', line 581

def status
  @status
end