Record Class GetAppInstances.Request
java.lang.Object
java.lang.Record
io.openems.edge.core.appmanager.jsonrpc.GetAppInstances.Request
- Enclosing class:
GetAppInstances
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappId()
Returns the value of theappId
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.Returns aJsonSerializer
for aGetAppInstances.Request
.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Request
Creates an instance of aRequest
record class.- Parameters:
appId
- the value for theappId
record component
-
-
Method Details
-
serializer
Returns aJsonSerializer
for aGetAppInstances.Request
.- Returns:
- the created
JsonSerializer
-
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)
. -
appId
Returns the value of theappId
record component.- Returns:
- the value of the
appId
record component
-