Record Class ReadResponse.Success
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.config.actions.ReadResponse.Success
- All Implemented Interfaces:
ReadResponse
- Enclosing interface:
ReadResponse
-
Nested Class Summary
Nested classes/interfaces inherited from interface ReadResponse
ReadResponse.NotFound, ReadResponse.Success -
Constructor Summary
Constructors -
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.resource()Returns the value of theresourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Success
Creates an instance of aSuccessrecord class.- Parameters:
resource- the value for theresourcerecord 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). -
resource
Returns the value of theresourcerecord component.- Returns:
- the value of the
resourcerecord component
-