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 aInternalScheduleAdjustmentResourcerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theavailablerecord component.endDate()Returns the value of theendDaterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.note()Returns the value of thenoterecord component.Returns the value of thestartDaterecord component.final StringtoString()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 aInternalScheduleAdjustmentResourcerecord class.- Parameters:
startDate- the value for thestartDaterecord componentendDate- the value for theendDaterecord componentavailable- the value for theavailablerecord componentnote- the value for thenoterecord 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 thestartDaterecord component.- Returns:
- the value of the
startDaterecord component
-
endDate
Returns the value of theendDaterecord component.- Returns:
- the value of the
endDaterecord component
-
available
Returns the value of theavailablerecord component.- Returns:
- the value of the
availablerecord component
-
note
Returns the value of thenoterecord component.- Returns:
- the value of the
noterecord component
-