Class TimeTrackingConfiguration
java.lang.Object
io.github.primelib.jira4j.restv3.model.TimeTrackingConfiguration
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class TimeTrackingConfiguration
extends Object
TimeTrackingConfiguration
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The default unit of time applied to logged time.static enum
The format that will appear on an issue's *Time Spent* field.static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe default unit of time applied to logged time.protected TimeTrackingConfiguration.TimeFormatEnum
The format that will appear on an issue's *Time Spent* field.protected Double
The number of days in a working week.protected Double
The number of hours in a working day. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TimeTrackingConfiguration
(TimeTrackingConfiguration.DefaultUnitEnum defaultUnit, TimeTrackingConfiguration.TimeFormatEnum timeFormat, Double workingDaysPerWeek, Double workingHoursPerDay) Constructs a validated instance ofTimeTrackingConfiguration
.Constructs a validated instance ofTimeTrackingConfiguration
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
The default unit of time applied to logged time.defaultUnit
(TimeTrackingConfiguration.DefaultUnitEnum defaultUnit) The default unit of time applied to logged time.boolean
int
hashCode()
The format that will appear on an issue's *Time Spent* field.timeFormat
(TimeTrackingConfiguration.TimeFormatEnum timeFormat) The format that will appear on an issue's *Time Spent* field.toString()
The number of days in a working week.workingDaysPerWeek
(Double workingDaysPerWeek) The number of days in a working week.The number of hours in a working day.workingHoursPerDay
(Double workingHoursPerDay) The number of hours in a working day.
-
Field Details
-
defaultUnit
The default unit of time applied to logged time. -
timeFormat
The format that will appear on an issue's *Time Spent* field. -
workingDaysPerWeek
The number of days in a working week. -
workingHoursPerDay
The number of hours in a working day.
-
-
Constructor Details
-
TimeTrackingConfiguration
Constructs a validated instance ofTimeTrackingConfiguration
.- Parameters:
spec
- the specification to process
-
TimeTrackingConfiguration
@Internal public TimeTrackingConfiguration(TimeTrackingConfiguration.DefaultUnitEnum defaultUnit, TimeTrackingConfiguration.TimeFormatEnum timeFormat, Double workingDaysPerWeek, Double workingHoursPerDay) Constructs a validated instance ofTimeTrackingConfiguration
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
TimeTrackingConfiguration(Consumer)
instead.- Parameters:
defaultUnit
- The default unit of time applied to logged time.timeFormat
- The format that will appear on an issue's *Time Spent* field.workingDaysPerWeek
- The number of days in a working week.workingHoursPerDay
- The number of hours in a working day.
-
TimeTrackingConfiguration
protected TimeTrackingConfiguration()
-
-
Method Details
-
builder
-
defaultUnit
The default unit of time applied to logged time. -
timeFormat
The format that will appear on an issue's *Time Spent* field. -
workingDaysPerWeek
The number of days in a working week. -
workingHoursPerDay
The number of hours in a working day. -
defaultUnit
The default unit of time applied to logged time.- Returns:
this
.
-
timeFormat
The format that will appear on an issue's *Time Spent* field.- Returns:
this
.
-
workingDaysPerWeek
The number of days in a working week.- Returns:
this
.
-
workingHoursPerDay
The number of hours in a working day.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-