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
ConstructorsConstructorDescriptionDefault constructorITProfileRequestBody(ITProfileRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals 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.org.odpi.openmetadata.frameworks.openmetadata.properties.actors.ITProfilePropertiesReturn the properties for this profile.inthashCode()Return hash code for this objectvoidsetItInfrastructureGUID(String itInfrastructureGUID) Set up the optional IT Infrastructure asset to connect the profile to.voidsetItUserId(String itUserId) Set up the option userId for the profile which will be created (if needed) and linked to the new IT profile.voidsetProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.actors.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
public org.odpi.openmetadata.frameworks.openmetadata.properties.actors.ITProfileProperties getProperties()Return the properties for this profile.- Returns:
- properties bean
-
setProperties
public void setProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.actors.ITProfileProperties properties) Set up the properties for this profile.- Parameters:
properties- properties bean
-
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
-