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)


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

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:



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

def data
  @data
end

#first_idString?

Returns the value of attribute first_id.

Returns:

  • (String, nil)


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

def first_id
  @first_id
end

#has_moreBoolean?

Returns the value of attribute has_more.

Returns:

  • (Boolean, nil)


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

def has_more
  @has_more
end

#last_idString?

Returns the value of attribute last_id.

Returns:

  • (String, nil)


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

def last_id
  @last_id
end

#objectString?

Returns the value of attribute object.

Returns:

  • (String, nil)


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

def object
  @object
end