Package tech.kronicle.sdk.models
Class Doc
- java.lang.Object
-
- tech.kronicle.sdk.models.Doc
-
public final class Doc extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDoc.DocBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Doc.DocBuilderbuilder()booleanequals(java.lang.Object o)java.lang.StringgetDescription()java.lang.StringgetDir()java.lang.StringgetFile()java.lang.StringgetId()java.lang.StringgetName()java.lang.StringgetNotes()java.util.List<@Valid Tag>getTags()inthashCode()Doc.DocBuildertoBuilder()java.lang.StringtoString()DocwithDescription(java.lang.String description)DocwithDir(java.lang.String dir)DocwithFile(java.lang.String file)DocwithId(java.lang.String id)DocwithName(java.lang.String name)DocwithNotes(java.lang.String notes)DocwithTags(java.util.List<@Valid Tag> tags)
-
-
-
Constructor Detail
-
Doc
public Doc(java.lang.String id, java.lang.String dir, java.lang.String file, java.lang.String name, java.lang.String description, java.lang.String notes, java.util.List<@Valid Tag> tags)
-
-
Method Detail
-
builder
public static Doc.DocBuilder builder()
-
toBuilder
public Doc.DocBuilder toBuilder()
-
getId
public java.lang.String getId()
-
getDir
public java.lang.String getDir()
-
getFile
public java.lang.String getFile()
-
getName
public java.lang.String getName()
-
getDescription
public java.lang.String getDescription()
-
getNotes
public java.lang.String getNotes()
-
getTags
public java.util.List<@Valid Tag> getTags()
-
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
-
withId
public Doc withId(java.lang.String id)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDir
public Doc withDir(java.lang.String dir)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFile
public Doc withFile(java.lang.String file)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withName
public Doc withName(java.lang.String name)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDescription
public Doc withDescription(java.lang.String description)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withNotes
public Doc withNotes(java.lang.String notes)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
-