Package dev.postproxy.sdk.param
Record Class UpdateQueueParams
java.lang.Object
java.lang.Record
dev.postproxy.sdk.param.UpdateQueueParams
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateQueueParams.Builderbuilder()Returns the value of thedescriptionrecord component.enabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.jitter()Returns the value of thejitterrecord component.name()Returns the value of thenamerecord component.Returns the value of thetimeslotsrecord component.timezone()Returns the value of thetimezonerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
UpdateQueueParams
public UpdateQueueParams(String name, String description, String timezone, Boolean enabled, Integer jitter, List<Map<String, Object>> timeslots) Creates an instance of aUpdateQueueParamsrecord class.- Parameters:
name- the value for thenamerecord componentdescription- the value for thedescriptionrecord componenttimezone- the value for thetimezonerecord componentenabled- the value for theenabledrecord componentjitter- the value for thejitterrecord componenttimeslots- the value for thetimeslotsrecord component
-
-
Method Details
-
builder
-
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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
timezone
Returns the value of thetimezonerecord component.- Returns:
- the value of the
timezonerecord component
-
enabled
Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-
jitter
Returns the value of thejitterrecord component.- Returns:
- the value of the
jitterrecord component
-
timeslots
Returns the value of thetimeslotsrecord component.- Returns:
- the value of the
timeslotsrecord component
-