Class ITProfileRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.ITProfileRequestBody
ITProfileRequestBody provides the request body payload for working on ActorProfile entities.
-
Constructor Summary
ConstructorDescriptionDefault constructorITProfileRequestBody
(ITProfileRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the optional IT Infrastructure asset to connect the profile to.Return the option userId for the profile which will be created (if needed) and linked to the new IT profile.Return the properties for this profile.int
hashCode()
Return hash code for this objectvoid
setItInfrastructureGUID
(String itInfrastructureGUID) Set up the optional IT Infrastructure asset to connect the profile to.void
setItUserId
(String itUserId) Set up the option userId for the profile which will be created (if needed) and linked to the new IT profile.void
setProperties
(ITProfileProperties properties) Set up the properties for this profile.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
Constructor Details
-
ITProfileRequestBody
public ITProfileRequestBody()Default constructor -
ITProfileRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getItInfrastructureGUID
Return the optional IT Infrastructure asset to connect the profile to.- Returns:
- guid
-
setItInfrastructureGUID
Set up the optional IT Infrastructure asset to connect the profile to.- Parameters:
itInfrastructureGUID
- guid
-
getItUserId
Return the option userId for the profile which will be created (if needed) and linked to the new IT profile.- Returns:
- string userId
-
setItUserId
Set up the option userId for the profile which will be created (if needed) and linked to the new IT profile.- Parameters:
itUserId
- string userId
-
getProperties
Return the properties for this profile.- Returns:
- properties bean
-
setProperties
Set up the properties for this profile.- Parameters:
properties
- properties bean
-
toString
JSON-style toString.- Overrides:
toString
in classExternalSourceRequestBody
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classExternalSourceRequestBody
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classExternalSourceRequestBody
- Returns:
- int hash code
-