Class ProfileIdentityRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.rest.CommunityProfileOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.communityprofile.rest.MetadataSourceRequestBody
-
- org.odpi.openmetadata.accessservices.communityprofile.rest.ProfileIdentityRequestBody
-
- All Implemented Interfaces:
Serializable
public class ProfileIdentityRequestBody extends MetadataSourceRequestBody
ContactMethodRequestBody provides the request body payload for working on ContactMethod entities.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProfileIdentityRequestBody()Default constructorProfileIdentityRequestBody(ProfileIdentityRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.ProfileIdentityPropertiesgetProperties()Return the properties for this profile identity.inthashCode()Return hash code for this objectvoidsetProperties(ProfileIdentityProperties properties)Set up the properties for this profile identity.StringtoString()JSON-style toString.-
Methods inherited from class org.odpi.openmetadata.accessservices.communityprofile.rest.MetadataSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
-
-
-
Constructor Detail
-
ProfileIdentityRequestBody
public ProfileIdentityRequestBody()
Default constructor
-
ProfileIdentityRequestBody
public ProfileIdentityRequestBody(ProfileIdentityRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getProperties
public ProfileIdentityProperties getProperties()
Return the properties for this profile identity.- Returns:
- properties bean
-
setProperties
public void setProperties(ProfileIdentityProperties properties)
Set up the properties for this profile identity.- Parameters:
properties- properties bean
-
toString
public String toString()
JSON-style toString.- Overrides:
toStringin classMetadataSourceRequestBody- Returns:
- list of properties and their values.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classMetadataSourceRequestBody- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classMetadataSourceRequestBody- Returns:
- int hash code
-
-