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)


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

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

Instance Attribute Details

#dataArray[BatchObject] (readonly)

Returns the value of attribute data.

Returns:



617
618
619
# File 'sig/types.rbs', line 617

def data
  @data
end

#first_idString? (readonly)

Returns the value of attribute first_id.

Returns:

  • (String, nil)


619
620
621
# File 'sig/types.rbs', line 619

def first_id
  @first_id
end

#has_moreBoolean? (readonly)

Returns the value of attribute has_more.

Returns:

  • (Boolean, nil)


618
619
620
# File 'sig/types.rbs', line 618

def has_more
  @has_more
end

#last_idString? (readonly)

Returns the value of attribute last_id.

Returns:

  • (String, nil)


620
621
622
# File 'sig/types.rbs', line 620

def last_id
  @last_id
end

#objectString (readonly)

Returns the value of attribute object.

Returns:

  • (String)


616
617
618
# File 'sig/types.rbs', line 616

def object
  @object
end