Class ITProfileRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.devops.rest.DevOpsOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.devops.rest.MetadataSourceRequestBody
-
- org.odpi.openmetadata.accessservices.devops.rest.ITProfileRequestBody
-
- All Implemented Interfaces:
Serializable
public class ITProfileRequestBody extends MetadataSourceRequestBody
ITProfileRequestBody provides the request body payload for working on ActorProfile entities.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ITProfileRequestBody()Default constructorITProfileRequestBody(ITProfileRequestBody 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.StringgetItInfrastructureGUID()Return the optional IT Infrastructure asset to connect the profile to.StringgetItUserId()Return the option userId for the profile which will be created (if needed) and linked to the new IT profile.ITProfilePropertiesgetProperties()Return 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(ITProfileProperties properties)Set up the properties for this profile.StringtoString()JSON-style toString.-
Methods inherited from class org.odpi.openmetadata.accessservices.devops.rest.MetadataSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
-
-
-
Constructor Detail
-
ITProfileRequestBody
public ITProfileRequestBody()
Default constructor
-
ITProfileRequestBody
public ITProfileRequestBody(ITProfileRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getItInfrastructureGUID
public String getItInfrastructureGUID()
Return the optional IT Infrastructure asset to connect the profile to.- Returns:
- guid
-
setItInfrastructureGUID
public void setItInfrastructureGUID(String itInfrastructureGUID)
Set up the optional IT Infrastructure asset to connect the profile to.- Parameters:
itInfrastructureGUID- guid
-
getItUserId
public String 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
public 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.- Parameters:
itUserId- string userId
-
getProperties
public ITProfileProperties getProperties()
Return the properties for this profile.- Returns:
- properties bean
-
setProperties
public void setProperties(ITProfileProperties properties)
Set up the properties for this profile.- 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
-
-