Package google.registry.flows.custom
Record Class DomainCheckFlowCustomLogic.BeforeResponseParameters
java.lang.Object
java.lang.Record
google.registry.flows.custom.DomainCheckFlowCustomLogic.BeforeResponseParameters
- Record Components:
asOfDate
- The time to perform the domain check as of. This defaults to the current time, but can be overridden in v>=0.12 of the fee extension.
- Enclosing class:
DomainCheckFlowCustomLogic
public static record DomainCheckFlowCustomLogic.BeforeResponseParameters(com.google.common.collect.ImmutableList<CheckData.DomainCheck> domainChecks, com.google.common.collect.ImmutableList<? extends EppResponse.ResponseExtension> responseExtensions, org.joda.time.DateTime asOfDate)
extends Record
A record to encapsulate parameters for a call to
DomainCheckFlowCustomLogic.beforeResponse(google.registry.flows.custom.DomainCheckFlowCustomLogic.BeforeResponseParameters)
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Builder forDomainCheckFlowCustomLogic.BeforeResponseParameters
. -
Constructor Summary
ConstructorDescriptionBeforeResponseParameters
(com.google.common.collect.ImmutableList<CheckData.DomainCheck> domainChecks, com.google.common.collect.ImmutableList<? extends EppResponse.ResponseExtension> responseExtensions, org.joda.time.DateTime asOfDate) Creates an instance of aBeforeResponseParameters
record class. -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTime
asOfDate()
Returns the value of theasOfDate
record component.com.google.common.collect.ImmutableList
<CheckData.DomainCheck> Returns the value of thedomainChecks
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.com.google.common.collect.ImmutableList
<? extends EppResponse.ResponseExtension> Returns the value of theresponseExtensions
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
BeforeResponseParameters
public BeforeResponseParameters(com.google.common.collect.ImmutableList<CheckData.DomainCheck> domainChecks, com.google.common.collect.ImmutableList<? extends EppResponse.ResponseExtension> responseExtensions, org.joda.time.DateTime asOfDate) Creates an instance of aBeforeResponseParameters
record class.- Parameters:
domainChecks
- the value for thedomainChecks
record componentresponseExtensions
- the value for theresponseExtensions
record componentasOfDate
- the value for theasOfDate
record component
-
-
Method Details
-
newBuilder
-
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)
. -
domainChecks
Returns the value of thedomainChecks
record component.- Returns:
- the value of the
domainChecks
record component
-
responseExtensions
public com.google.common.collect.ImmutableList<? extends EppResponse.ResponseExtension> responseExtensions()Returns the value of theresponseExtensions
record component.- Returns:
- the value of the
responseExtensions
record component
-
asOfDate
public org.joda.time.DateTime asOfDate()Returns the value of theasOfDate
record component.- Returns:
- the value of the
asOfDate
record component
-