java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject
se.michaelthelin.spotify.model_objects.specification.Disallows
All Implemented Interfaces:
Serializable, IModelObject

public class Disallows extends AbstractModelObject
Retrieve information about Disallows objects by building instances from this class.
See Also:
  • Constructor Details

  • Method Details

    • getDisallowedActions

      public EnumSet<Action> getDisallowedActions()
      Get a set of disallowed actions.
      Returns:
      The set of disallowed actions.
    • toString

      public String toString()
      Description copied from class: AbstractModelObject
      Returns a String representation of this model object in the style:

      ModelObject(attr1=value1, attr2=value2, ...)

      Specified by:
      toString in class AbstractModelObject
    • builder

      public Disallows.Builder builder()
      Description copied from interface: IModelObject
      Create a builder for building an instance of a model object.
      The type of the builder and its methods depend on its corresponding implementation.
      Returns:
      A builder object.