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: (json_value)
  • strict: (Boolean)


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

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

Instance Attribute Details

#descriptionString?

Returns the value of attribute description.

Returns:

  • (String, nil)


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

def description
  @description
end

#nameString?

Returns the value of attribute name.

Returns:

  • (String, nil)


128
129
130
# File 'sig/types.rbs', line 128

def name
  @name
end

#schemajson_value?

Returns the value of attribute schema.

Returns:

  • (json_value, nil)


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

def schema
  @schema
end

#strictBoolean?

Returns the value of attribute strict.

Returns:

  • (Boolean, nil)


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

def strict
  @strict
end