Home ConstIntent Class
ConstIntent Class
Cancel

ConstIntent Class

Namespace: Json.Schema.Generation.Intents

Inheritance: ConstIntent 🡒 object

Implemented interfaces:

  • ISchemaKeywordIntent

Provides intent to create a const keyword.

Properties

NameTypeSummary
ValueJsonNodeThe expected value.

Constructors

ConstIntent(JsonNode value)

Creates a new Json.Schema.Generation.Intents.ConstIntent instance.

Declaration

1
public ConstIntent(JsonNode value)
ParameterTypeDescription
valueJsonNodeThe value.

Methods

Apply(JsonSchemaBuilder builder)

Applies the keyword to the Json.Schema.JsonSchemaBuilder.

Declaration

1
public void Apply(JsonSchemaBuilder builder)
ParameterTypeDescription
builderJsonSchemaBuilderThe builder.
Contents