Record Class ProvisioningTypeSelectionPatchDto
java.lang.Object
java.lang.Record
energy.eddie.aiida.dtos.provisioning.ProvisioningTypeSelectionPatchDto
- Record Components:
type- Provisioning type to activate.
- All Implemented Interfaces:
ProvisioningTypePatchDto
public record ProvisioningTypeSelectionPatchDto(@NotNull(message="must not be null") InboundProvisioningType type)
extends Record
implements ProvisioningTypePatchDto
Request for activating a provisioning mode that needs no client-supplied connection details.
-
Constructor Summary
ConstructorsConstructorDescriptionProvisioningTypeSelectionPatchDto(@NotNull(message="must not be null") InboundProvisioningType type) Creates an instance of aProvisioningTypeSelectionPatchDtorecord 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.final StringtoString()Returns a string representation of this record class.@NotNull(message="must not be null") InboundProvisioningTypetype()Returns the value of thetyperecord component.
-
Constructor Details
-
ProvisioningTypeSelectionPatchDto
public ProvisioningTypeSelectionPatchDto(@NotNull(message="must not be null") @NotNull(message="must not be null") InboundProvisioningType type) Creates an instance of aProvisioningTypeSelectionPatchDtorecord class.- Parameters:
type- the value for thetyperecord 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). -
type
@NotNull(message="must not be null") public @NotNull(message="must not be null") InboundProvisioningType type()Returns the value of thetyperecord component.- Specified by:
typein interfaceProvisioningTypePatchDto- Returns:
- the value of the
typerecord component
-