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)


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

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:



51
52
53
# File 'sig/types.rbs', line 51

def data
  @data
end

#first_idString? (readonly)

Returns the value of attribute first_id.

Returns:

  • (String, nil)


53
54
55
# File 'sig/types.rbs', line 53

def first_id
  @first_id
end

#has_moreBoolean? (readonly)

Returns the value of attribute has_more.

Returns:

  • (Boolean, nil)


52
53
54
# File 'sig/types.rbs', line 52

def has_more
  @has_more
end

#last_idString? (readonly)

Returns the value of attribute last_id.

Returns:

  • (String, nil)


54
55
56
# File 'sig/types.rbs', line 54

def last_id
  @last_id
end

#objectString (readonly)

Returns the value of attribute object.

Returns:

  • (String)


50
51
52
# File 'sig/types.rbs', line 50

def object
  @object
end