Class: LiterLlm::BatchListResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBatchListResponse

Returns a new instance of BatchListResponse.

Parameters:

  • object: (String)
  • data: (Array[BatchObject])
  • has_more: (Boolean)
  • first_id: (String)
  • last_id: (String)


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

def initialize: (?object: String, ?data: Array[BatchObject], ?has_more: bool, ?first_id: String, ?last_id: String) -> void

Instance Attribute Details

#dataArray[BatchObject]?

Returns the value of attribute data.

Returns:



607
608
609
# File 'sig/types.rbs', line 607

def data
  @data
end

#first_idString?

Returns the value of attribute first_id.

Returns:

  • (String, nil)


609
610
611
# File 'sig/types.rbs', line 609

def first_id
  @first_id
end

#has_moreBoolean?

Returns the value of attribute has_more.

Returns:

  • (Boolean, nil)


608
609
610
# File 'sig/types.rbs', line 608

def has_more
  @has_more
end

#last_idString?

Returns the value of attribute last_id.

Returns:

  • (String, nil)


610
611
612
# File 'sig/types.rbs', line 610

def last_id
  @last_id
end

#objectString?

Returns the value of attribute object.

Returns:

  • (String, nil)


606
607
608
# File 'sig/types.rbs', line 606

def object
  @object
end