Package tech.kronicle.sdk.models.doc
Class DocFile
- java.lang.Object
-
- tech.kronicle.sdk.models.doc.DocFile
-
public final class DocFile extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocFile.DocFileBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocFile.DocFileBuilderbuilder()booleanequals(java.lang.Object o)java.lang.StringgetContent()DocFileContentTypegetContentType()java.lang.StringgetMediaType()java.lang.StringgetPath()inthashCode()DocFile.DocFileBuildertoBuilder()java.lang.StringtoString()DocFilewithContent(java.lang.String content)DocFilewithContentType(DocFileContentType contentType)DocFilewithMediaType(java.lang.String mediaType)DocFilewithPath(java.lang.String path)
-
-
-
Method Detail
-
builder
public static DocFile.DocFileBuilder builder()
-
toBuilder
public DocFile.DocFileBuilder toBuilder()
-
getPath
public java.lang.String getPath()
-
getMediaType
public java.lang.String getMediaType()
-
getContentType
public DocFileContentType getContentType()
-
getContent
public java.lang.String getContent()
-
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
-
withPath
public DocFile withPath(java.lang.String path)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withMediaType
public DocFile withMediaType(java.lang.String mediaType)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withContentType
public DocFile withContentType(DocFileContentType contentType)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withContent
public DocFile withContent(java.lang.String content)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
-