Record Class PushResponse.ChangedResource
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.dataroutes.PushResponse.ChangedResource
- Enclosing class:
- PushResponse
-
Constructor Summary
ConstructorsConstructorDescriptionChangedResource
(String name, ResourceType type, String collection, String newSignature) ChangedResource
(String name, String type, String collection, String newSignature) Creates an instance of aChangedResource
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecollection
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.name()
Returns the value of thename
record component.Returns the value of thenewSignature
record component.final String
toString()
Returns a string representation of this record class.type()
Returns the value of thetype
record component.
-
Constructor Details
-
ChangedResource
-
ChangedResource
Creates an instance of aChangedResource
record class.- Parameters:
name
- the value for thename
record componenttype
- the value for thetype
record componentcollection
- the value for thecollection
record componentnewSignature
- the value for thenewSignature
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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)
. -
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-
type
Returns the value of thetype
record component.- Returns:
- the value of the
type
record component
-
collection
Returns the value of thecollection
record component.- Returns:
- the value of the
collection
record component
-
newSignature
Returns the value of thenewSignature
record component.- Returns:
- the value of the
newSignature
record component
-