java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.dto.APIScopeDTO

public class APIScopeDTO extends Object
APIScopeDTO
  • Field Details

  • Constructor Details

    • APIScopeDTO

      public APIScopeDTO()
  • Method Details

    • scope

      public APIScopeDTO scope(ScopeDTO scope)
    • getScope

      public ScopeDTO getScope()
      Get scope
      Returns:
      scope
    • setScope

      public void setScope(ScopeDTO scope)
    • shared

      public APIScopeDTO shared(Boolean shared)
    • isShared

      @Nullable public Boolean isShared()
      States whether scope is shared. This will not be honored when updating/adding scopes to APIs or when adding/updating Shared Scopes.
      Returns:
      shared
    • setShared

      public void setShared(Boolean shared)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object