Class ActorProfileRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.rest.CommunityProfileOMASAPIRequestBody
org.odpi.openmetadata.accessservices.communityprofile.rest.ExternalSourceRequestBody
org.odpi.openmetadata.accessservices.communityprofile.rest.ActorProfileRequestBody
ActorProfileRequestBody provides the request body payload for working on ActorProfile entities.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.Return the optional contribution record for the profile.Return the properties for this profile.inthashCode()Return hash code for this objectvoidsetContributionRecord(ContributionRecord contributionRecord) Set up the optional contribution record for the profile.voidsetProperties(ActorProfileProperties properties) Set up the properties for this profile.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.accessservices.communityprofile.rest.ExternalSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
Constructor Details
-
ActorProfileRequestBody
public ActorProfileRequestBody()Default constructor -
ActorProfileRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getProperties
Return the properties for this profile.- Returns:
- properties bean
-
setProperties
Set up the properties for this profile.- Parameters:
properties- properties bean
-
getContributionRecord
Return the optional contribution record for the profile. If this is not null, the contribution set up.- Returns:
- record
-
setContributionRecord
Set up the optional contribution record for the profile. If this is not null, the contribution set up.- Parameters:
contributionRecord- record
-
toString
JSON-style toString.- Overrides:
toStringin classExternalSourceRequestBody- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classExternalSourceRequestBody- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classExternalSourceRequestBody- Returns:
- int hash code
-