Package dev.postproxy.sdk.param
Record Class CreateQueueParams
java.lang.Object
java.lang.Record
dev.postproxy.sdk.param.CreateQueueParams
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CreateQueueParams.Builderbuilder()Returns the value of thedescriptionrecord 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 theprofileGroupIdrecord 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
-
CreateQueueParams
public CreateQueueParams(String name, String profileGroupId, String description, String timezone, Integer jitter, List<Map<String, Object>> timeslots) Creates an instance of aCreateQueueParamsrecord class.- Parameters:
name- the value for thenamerecord componentprofileGroupId- the value for theprofileGroupIdrecord componentdescription- the value for thedescriptionrecord componenttimezone- the value for thetimezonerecord 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
-
profileGroupId
Returns the value of theprofileGroupIdrecord component.- Returns:
- the value of the
profileGroupIdrecord 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
-
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
-