Record Class InternalScheduleAdjustmentResource
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.authentication.resources.InternalScheduleAdjustmentResource
public record InternalScheduleAdjustmentResource(Date startDate, Date endDate, Boolean available, String note)
extends Record
Represents a schedule adjustment on an internal user in the internal user source.
-
Constructor Summary
ConstructorsConstructorDescriptionInternalScheduleAdjustmentResource
(Date startDate, Date endDate, Boolean available, String note) Creates an instance of aInternalScheduleAdjustmentResource
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theavailable
record component.endDate()
Returns the value of theendDate
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.note()
Returns the value of thenote
record component.Returns the value of thestartDate
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
InternalScheduleAdjustmentResource
public InternalScheduleAdjustmentResource(Date startDate, Date endDate, Boolean available, String note) Creates an instance of aInternalScheduleAdjustmentResource
record class.- Parameters:
startDate
- the value for thestartDate
record componentendDate
- the value for theendDate
record componentavailable
- the value for theavailable
record componentnote
- the value for thenote
record 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)
. -
startDate
Returns the value of thestartDate
record component.- Returns:
- the value of the
startDate
record component
-
endDate
Returns the value of theendDate
record component.- Returns:
- the value of the
endDate
record component
-
available
Returns the value of theavailable
record component.- Returns:
- the value of the
available
record component
-
note
Returns the value of thenote
record component.- Returns:
- the value of the
note
record component
-