Record Class ProvisioningTypePatchDto
java.lang.Object
java.lang.Record
energy.eddie.aiida.dtos.provisioning.ProvisioningTypePatchDto
- Record Components:
permissionId- ID of the permission to reconfigure.type- Provisioning type to activate.host- MQTT broker host used by client mode.username- MQTT username used by client mode.password- MQTT password used by client mode.topic- MQTT topic used by client mode.
public record ProvisioningTypePatchDto(UUID permissionId, InboundProvisioningType type, String host, String username, String password, String topic)
extends Record
Request for changing the provisioning type of an inbound permission.
-
Constructor Summary
ConstructorsConstructorDescriptionProvisioningTypePatchDto(UUID permissionId, InboundProvisioningType type, String host, String username, String password, String topic) Creates an instance of aProvisioningTypePatchDtorecord 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.host()Returns the value of thehostrecord component.password()Returns the value of thepasswordrecord component.Returns the value of thepermissionIdrecord component.topic()Returns the value of thetopicrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.username()Returns the value of theusernamerecord component.
-
Constructor Details
-
ProvisioningTypePatchDto
public ProvisioningTypePatchDto(UUID permissionId, InboundProvisioningType type, String host, String username, String password, String topic) Creates an instance of aProvisioningTypePatchDtorecord class.- Parameters:
permissionId- the value for thepermissionIdrecord componenttype- the value for thetyperecord componenthost- the value for thehostrecord componentusername- the value for theusernamerecord componentpassword- the value for thepasswordrecord componenttopic- the value for thetopicrecord 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). -
permissionId
Returns the value of thepermissionIdrecord component.- Returns:
- the value of the
permissionIdrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
host
Returns the value of thehostrecord component.- Returns:
- the value of the
hostrecord component
-
username
Returns the value of theusernamerecord component.- Returns:
- the value of the
usernamerecord component
-
password
Returns the value of thepasswordrecord component.- Returns:
- the value of the
passwordrecord component
-
topic
Returns the value of thetopicrecord component.- Returns:
- the value of the
topicrecord component
-