Record Class Tools.Utils.SchemaResult
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.common.ai.Tools.Utils.SchemaResult
- Enclosing class:
Tools.Utils
-
Constructor Summary
ConstructorsConstructorDescriptionSchemaResult(com.inductiveautomation.ignition.common.gson.JsonObject schema, @Nullable String required) Creates an instance of aSchemaResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable Stringrequired()Returns the value of therequiredrecord component.com.inductiveautomation.ignition.common.gson.JsonObjectschema()Returns the value of theschemarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SchemaResult
public SchemaResult(com.inductiveautomation.ignition.common.gson.JsonObject schema, @Nullable String required) Creates an instance of aSchemaResultrecord class.- Parameters:
schema- the value for theschemarecord componentrequired- the value for therequiredrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
schema
public com.inductiveautomation.ignition.common.gson.JsonObject schema()Returns the value of theschemarecord component.- Returns:
- the value of the
schemarecord component
-
required
Returns the value of therequiredrecord component.- Returns:
- the value of the
requiredrecord component
-