Class Membership

  • All Implemented Interfaces:
    Serializable

    public class Membership
    extends Object
    implements Serializable
    This class is used to deserialize json to object. Refs: https://docs.microsoft.com/en-us/previous-versions/azure/ad/graph/api/api-catalog
    See Also:
    Serialized Form
    • Constructor Detail

      • Membership

        public Membership​(String objectID,
                          String objectType,
                          String displayName)
        Creates a new instance of Membership.
        Parameters:
        objectID - the object ID
        objectType - the object type
        displayName - the display name
    • Method Detail

      • getDisplayName

        public String getDisplayName()
        Gets the display name.
        Returns:
        the display name
      • getObjectType

        public String getObjectType()
        Gets the object type.
        Returns:
        the object type
      • getObjectID

        public String getObjectID()
        Gets the object ID.
        Returns:
        the object ID
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object