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)


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

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)


131
132
133
# File 'sig/types.rbs', line 131

def description
  @description
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


130
131
132
# File 'sig/types.rbs', line 130

def name
  @name
end

#schemaString (readonly)

Returns the value of attribute schema.

Returns:

  • (String)


132
133
134
# File 'sig/types.rbs', line 132

def schema
  @schema
end

#strictBoolean? (readonly)

Returns the value of attribute strict.

Returns:

  • (Boolean, nil)


133
134
135
# File 'sig/types.rbs', line 133

def strict
  @strict
end