Class AssetConnectionRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.devops.rest.DevOpsOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.devops.rest.MetadataSourceRequestBody
-
- org.odpi.openmetadata.accessservices.devops.rest.AssetConnectionRequestBody
-
- All Implemented Interfaces:
Serializable
public class AssetConnectionRequestBody extends MetadataSourceRequestBody
AssetConnectionRequestBody carries the parameters for creating a new relationship between an asset and a connection.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssetConnectionRequestBody()Default constructorAssetConnectionRequestBody(AssetConnectionRequestBody 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.StringgetAssetSummary()Return the full path of the file - this should be unique.inthashCode()Return hash code for this objectvoidsetAssetSummary(String assetSummary)Set up the full path of the file - this should be unique.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.devops.rest.MetadataSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
-
-
-
Constructor Detail
-
AssetConnectionRequestBody
public AssetConnectionRequestBody()
Default constructor
-
AssetConnectionRequestBody
public AssetConnectionRequestBody(AssetConnectionRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getAssetSummary
public String getAssetSummary()
Return the full path of the file - this should be unique.- Returns:
- string name
-
setAssetSummary
public void setAssetSummary(String assetSummary)
Set up the full path of the file - this should be unique.- Parameters:
assetSummary- string name
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classMetadataSourceRequestBody- 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.- Overrides:
equalsin classMetadataSourceRequestBody- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classMetadataSourceRequestBody- Returns:
- int hash code
-
-