Package tech.kronicle.sdk.models.todos
Class ToDo
- java.lang.Object
-
- tech.kronicle.sdk.models.todos.ToDo
-
public final class ToDo extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classToDo.ToDoBuilder
-
Constructor Summary
Constructors Constructor Description ToDo(java.lang.String file, java.lang.String description)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ToDo.ToDoBuilderbuilder()booleanequals(java.lang.Object o)java.lang.StringgetDescription()java.lang.StringgetFile()inthashCode()ToDo.ToDoBuildertoBuilder()java.lang.StringtoString()ToDowithDescription(java.lang.String description)ToDowithFile(java.lang.String file)
-
-
-
Method Detail
-
builder
public static ToDo.ToDoBuilder builder()
-
toBuilder
public ToDo.ToDoBuilder toBuilder()
-
getFile
public java.lang.String getFile()
-
getDescription
public java.lang.String getDescription()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
withFile
public ToDo withFile(java.lang.String file)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDescription
public ToDo withDescription(java.lang.String description)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
-