Record Class AttestationRequest
java.lang.Object
java.lang.Record
com.suse.coco.module.pvattest.model.AttestationRequest
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAttestationRequest(String base64AttestationRequest, String base64AttestationProtectionKey) Creates an instance of aAttestationRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebase64AttestationProtectionKeyrecord component.Returns the value of thebase64AttestationRequestrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanfailed()final inthashCode()Returns a hash code value for this object.booleanfinal StringtoString()Returns a string representation of this record class.
-
Field Details
-
base64AttestationRequest
The field for thebase64AttestationRequestrecord component. -
base64AttestationProtectionKey
The field for thebase64AttestationProtectionKeyrecord component.
-
-
Constructor Details
-
AttestationRequest
Creates an instance of aAttestationRequestrecord class.- Parameters:
base64AttestationRequest- the value for thebase64AttestationRequestrecord componentbase64AttestationProtectionKey- the value for thebase64AttestationProtectionKeyrecord component
-
-
Method Details
-
succeeded
public boolean succeeded()- Returns:
- true if attestation request has succeeded
-
failed
public boolean failed()- Returns:
- true if attestation request has failed
-
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). -
base64AttestationRequest
Returns the value of thebase64AttestationRequestrecord component.- Returns:
- the value of the
base64AttestationRequestrecord component
-
base64AttestationProtectionKey
Returns the value of thebase64AttestationProtectionKeyrecord component.- Returns:
- the value of the
base64AttestationProtectionKeyrecord component
-