Class: Xberg::PresetSummary

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePresetSummary

Returns a new instance of PresetSummary.

Parameters:

  • id: (String)
  • version: (String)
  • schema_name: (String)
  • description: (String)
  • category: (PresetCategory)
  • tags: (Array[String])
  • preferred_call_mode: (CallMode)
  • emit_citations: (Boolean)
  • fingerprint: (String)


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

def initialize: (id: String, version: String, schema_name: String, description: String, category: PresetCategory, tags: Array[String], preferred_call_mode: CallMode, emit_citations: bool, fingerprint: String) -> void

Instance Attribute Details

#categoryPresetCategory (readonly)

Returns the value of attribute category.

Returns:



2116
2117
2118
# File 'sig/types.rbs', line 2116

def category
  @category
end

#descriptionString (readonly)

Returns the value of attribute description.

Returns:

  • (String)


2115
2116
2117
# File 'sig/types.rbs', line 2115

def description
  @description
end

#emit_citationsBoolean (readonly)

Returns the value of attribute emit_citations.

Returns:

  • (Boolean)


2119
2120
2121
# File 'sig/types.rbs', line 2119

def emit_citations
  @emit_citations
end

#fingerprintString (readonly)

Returns the value of attribute fingerprint.

Returns:

  • (String)


2120
2121
2122
# File 'sig/types.rbs', line 2120

def fingerprint
  @fingerprint
end

#idString (readonly)

Returns the value of attribute id.

Returns:

  • (String)


2112
2113
2114
# File 'sig/types.rbs', line 2112

def id
  @id
end

#preferred_call_modeCallMode (readonly)

Returns the value of attribute preferred_call_mode.

Returns:



2118
2119
2120
# File 'sig/types.rbs', line 2118

def preferred_call_mode
  @preferred_call_mode
end

#schema_nameString (readonly)

Returns the value of attribute schema_name.

Returns:

  • (String)


2114
2115
2116
# File 'sig/types.rbs', line 2114

def schema_name
  @schema_name
end

#tagsArray[String] (readonly)

Returns the value of attribute tags.

Returns:

  • (Array[String])


2117
2118
2119
# File 'sig/types.rbs', line 2117

def tags
  @tags
end

#versionString (readonly)

Returns the value of attribute version.

Returns:

  • (String)


2113
2114
2115
# File 'sig/types.rbs', line 2113

def version
  @version
end