Class Capability

    • Constructor Detail

      • Capability

        public Capability()
    • Method Detail

      • getAccount

        public java.lang.String getAccount()
        Get ID of expandable account object.
      • setAccount

        public void setAccount​(java.lang.String id)
      • getAccountObject

        public Account getAccountObject()
        Get expanded account.
      • setAccountObject

        public void setAccountObject​(Account expandableObject)
      • getObject

        public java.lang.String getObject()
        String representing the object's type. Objects of the same type share the same value.

        Equal to capability.

      • getRequested

        public java.lang.Boolean getRequested()
        Whether the capability has been requested.
      • getRequestedAt

        public java.lang.Long getRequestedAt()
        Time at which the capability was requested. Measured in seconds since the Unix epoch.
      • getStatus

        public java.lang.String getStatus()
        The status of the capability. Can be active, inactive, pending, or unrequested.
      • setId

        public void setId​(java.lang.String id)
        The identifier for the capability.
      • setObject

        public void setObject​(java.lang.String object)
        String representing the object's type. Objects of the same type share the same value.

        Equal to capability.

      • setRequested

        public void setRequested​(java.lang.Boolean requested)
        Whether the capability has been requested.
      • setRequestedAt

        public void setRequestedAt​(java.lang.Long requestedAt)
        Time at which the capability was requested. Measured in seconds since the Unix epoch.
      • setStatus

        public void setStatus​(java.lang.String status)
        The status of the capability. Can be active, inactive, pending, or unrequested.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getId

        public java.lang.String getId()
        The identifier for the capability.
        Specified by:
        getId in interface HasId