Class: LiterLlm::FileObject

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFileObject

Returns a new instance of FileObject.

Parameters:

  • id: (String)
  • object: (String)
  • bytes: (Integer)
  • created_at: (Integer)
  • filename: (String)
  • purpose: (String)
  • status: (String)


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

def initialize: (?id: String, ?object: String, ?bytes: Integer, ?created_at: Integer, ?filename: String, ?purpose: String, ?status: String) -> void

Instance Attribute Details

#bytesInteger (readonly)

Returns the value of attribute bytes.

Returns:

  • (Integer)


546
547
548
# File 'sig/types.rbs', line 546

def bytes
  @bytes
end

#created_atInteger (readonly)

Returns the value of attribute created_at.

Returns:

  • (Integer)


547
548
549
# File 'sig/types.rbs', line 547

def created_at
  @created_at
end

#filenameString (readonly)

Returns the value of attribute filename.

Returns:

  • (String)


548
549
550
# File 'sig/types.rbs', line 548

def filename
  @filename
end

#idString (readonly)

Returns the value of attribute id.

Returns:

  • (String)


544
545
546
# File 'sig/types.rbs', line 544

def id
  @id
end

#objectString (readonly)

Returns the value of attribute object.

Returns:

  • (String)


545
546
547
# File 'sig/types.rbs', line 545

def object
  @object
end

#purposeString (readonly)

Returns the value of attribute purpose.

Returns:

  • (String)


549
550
551
# File 'sig/types.rbs', line 549

def purpose
  @purpose
end

#statusString? (readonly)

Returns the value of attribute status.

Returns:

  • (String, nil)


550
551
552
# File 'sig/types.rbs', line 550

def status
  @status
end