Class NewFileAssetRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetowner.rest.AssetOwnerOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.assetowner.rest.NewFileAssetRequestBody
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NewCSVFileAssetRequestBody
public class NewFileAssetRequestBody extends AssetOwnerOMASAPIRequestBody
NewFileAssetRequestBody carries the parameters for creating a new file asset.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NewFileAssetRequestBody()Default constructorNewFileAssetRequestBody(NewFileAssetRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.StringgetDescription()Return the description of the file.StringgetDisplayName()Return the display name of the fileStringgetFullPath()Return the full path of the file - this should be unique.inthashCode()Return hash code for this objectvoidsetDescription(String description)Set up the description of the file.voidsetDisplayName(String displayName)Set up the display name of the file.voidsetFullPath(String fullPath)Set up the full path of the file - this should be unique.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
NewFileAssetRequestBody
public NewFileAssetRequestBody()
Default constructor
-
NewFileAssetRequestBody
public NewFileAssetRequestBody(NewFileAssetRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Return the display name of the file- Returns:
- string name
-
setDisplayName
public void setDisplayName(String displayName)
Set up the display name of the file.- Parameters:
displayName- string name
-
getDescription
public String getDescription()
Return the description of the file.- Returns:
- string description
-
setDescription
public void setDescription(String description)
Set up the description of the file.- Parameters:
description- string description
-
getFullPath
public String getFullPath()
Return the full path of the file - this should be unique.- Returns:
- string name
-
setFullPath
public void setFullPath(String fullPath)
Set up the full path of the file - this should be unique.- Parameters:
fullPath- string name
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classAssetOwnerOMASAPIRequestBody- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-