Package de.gematik.ncpeh.api.request
Record Class RequestBase
java.lang.Object
java.lang.Record
de.gematik.ncpeh.api.request.RequestBase
public record RequestBase(EuCountryCode euCountryCode, IdaAssertionProfile idaAssertionProfile)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionRequestBase(EuCountryCode euCountryCode, IdaAssertionProfile idaAssertionProfile) Creates an instance of aRequestBaserecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theeuCountryCoderecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theidaAssertionProfilerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RequestBase
Creates an instance of aRequestBaserecord class.- Parameters:
euCountryCode- the value for theeuCountryCoderecord componentidaAssertionProfile- the value for theidaAssertionProfilerecord 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). -
euCountryCode
Returns the value of theeuCountryCoderecord component.- Returns:
- the value of the
euCountryCoderecord component
-
idaAssertionProfile
Returns the value of theidaAssertionProfilerecord component.- Returns:
- the value of the
idaAssertionProfilerecord component
-