Class ITProfileRequestBody


public class ITProfileRequestBody extends MetadataSourceRequestBody
ITProfileRequestBody provides the request body payload for working on ActorProfile entities.
  • Constructor Details

    • ITProfileRequestBody

      public ITProfileRequestBody()
      Default constructor
    • ITProfileRequestBody

      public ITProfileRequestBody(ITProfileRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • 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:
      toString in class MetadataSourceRequestBody
      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:
      equals in class MetadataSourceRequestBody
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class MetadataSourceRequestBody
      Returns:
      int hash code