Class: LiterLlm::JsonSchemaFormat

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeJsonSchemaFormat

Returns a new instance of JsonSchemaFormat.

Parameters:

  • name: (String)
  • description: (String)
  • schema: (String)
  • strict: (Boolean)


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

def initialize: (?name: String, ?description: String, ?schema: String, ?strict: bool) -> void

Instance Attribute Details

#descriptionString? (readonly)

Returns the value of attribute description.

Returns:

  • (String, nil)


445
446
447
# File 'sig/types.rbs', line 445

def description
  @description
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


444
445
446
# File 'sig/types.rbs', line 444

def name
  @name
end

#schemaString (readonly)

Returns the value of attribute schema.

Returns:

  • (String)


446
447
448
# File 'sig/types.rbs', line 446

def schema
  @schema
end

#strictBoolean? (readonly)

Returns the value of attribute strict.

Returns:

  • (Boolean, nil)


447
448
449
# File 'sig/types.rbs', line 447

def strict
  @strict
end