Record Class PermissionRequestForCreation
java.lang.Object
java.lang.Record
energy.eddie.regionconnector.es.datadis.dtos.PermissionRequestForCreation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotBlank StringReturns the value of theconnectionIdrecord component.Returns the value of thedataNeedIdsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotBlank StringReturns the value of themeteringPointIdrecord component.@NotBlank Stringnif()Returns the value of thenifrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PermissionRequestForCreation
public PermissionRequestForCreation(@NotBlank @NotBlank String connectionId, @NotEmpty @Valid @NotEmpty @Valid Set<@NotBlank String> dataNeedIds, @NotBlank @NotBlank String nif, @NotBlank @NotBlank String meteringPointId) Creates an instance of aPermissionRequestForCreationrecord class.- Parameters:
connectionId- the value for theconnectionIdrecord componentdataNeedIds- the value for thedataNeedIdsrecord componentnif- the value for thenifrecord componentmeteringPointId- the value for themeteringPointIdrecord 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). -
connectionId
Returns the value of theconnectionIdrecord component.- Returns:
- the value of the
connectionIdrecord component
-
dataNeedIds
Returns the value of thedataNeedIdsrecord component.- Returns:
- the value of the
dataNeedIdsrecord component
-
nif
Returns the value of thenifrecord component.- Returns:
- the value of the
nifrecord component
-
meteringPointId
Returns the value of themeteringPointIdrecord component.- Returns:
- the value of the
meteringPointIdrecord component
-