Class ExpandableProperty<T>

java.lang.Object
com.atlassian.jira.rest.client.api.ExpandableProperty<T>

public class ExpandableProperty<T> extends Object
Represents a resource which can be expandable - that is REST API is capable of sending just the number of child resources or when the entity is expanded, also the child resources themselves
Since:
v0.1
  • Constructor Details

    • ExpandableProperty

      public ExpandableProperty(int size)
    • ExpandableProperty

      public ExpandableProperty(int size, @Nullable Collection<T> items)
    • ExpandableProperty

      public ExpandableProperty(Collection<T> items)
  • Method Details

    • getSize

      public int getSize()
    • getItems

      @Nullable public Iterable<T> getItems()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object