Record Class UpdateAppInstance.Request
java.lang.Object
java.lang.Record
io.openems.edge.core.appmanager.jsonrpc.UpdateAppInstance.Request
- Enclosing class:
UpdateAppInstance
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalias()
Returns the value of thealias
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 the value of theinstanceId
record component.com.google.gson.JsonObject
Returns the value of theproperties
record component.Returns aJsonSerializer
for aUpdateAppInstance.Request
.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Request
Creates an instance of aRequest
record class.- Parameters:
instanceId
- the value for theinstanceId
record componentalias
- the value for thealias
record componentproperties
- the value for theproperties
record component
-
-
Method Details
-
serializer
Returns aJsonSerializer
for aUpdateAppInstance.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)
. -
instanceId
Returns the value of theinstanceId
record component.- Returns:
- the value of the
instanceId
record component
-
alias
Returns the value of thealias
record component.- Returns:
- the value of the
alias
record component
-
properties
public com.google.gson.JsonObject properties()Returns the value of theproperties
record component.- Returns:
- the value of the
properties
record component
-