Class SeeAllArticlesItem
- java.lang.Object
-
- com.zendesk.sdk.model.helpcenter.help.SeeAllArticlesItem
-
-
Field Summary
-
Fields inherited from interface com.zendesk.sdk.model.helpcenter.help.HelpItem
TYPE_ARTICLE, TYPE_CATEGORY, TYPE_LOADING, TYPE_NO_RESULTS, TYPE_PADDING, TYPE_SECTION, TYPE_SEE_ALL
-
-
Constructor Summary
Constructors Constructor and Description SeeAllArticlesItem(SectionItem sectionItem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description boolean
equals(java.lang.Object o)
java.util.List<? extends HelpItem>
getChildren()
Gets the list of children that this item has.java.lang.Long
getId()
Gets the ID of this item.java.lang.String
getName()
Gets the name of the itemjava.lang.Long
getParentId()
Returns the ID of the parent item.SectionItem
getSection()
Gets the SectionItem related to this SeeAllArticlesItemint
getViewType()
Gets the type of the itemint
hashCode()
boolean
isLoading()
void
setLoading(boolean loading)
-
-
-
Constructor Detail
-
SeeAllArticlesItem
public SeeAllArticlesItem(SectionItem sectionItem)
-
-
Method Detail
-
getViewType
public int getViewType()
Description copied from interface:HelpItem
Gets the type of the item- Specified by:
getViewType
in interfaceHelpItem
- Returns:
- the type of the item
-
getName
public java.lang.String getName()
Description copied from interface:HelpItem
Gets the name of the item
-
getId
public java.lang.Long getId()
Description copied from interface:HelpItem
Gets the ID of this item.
-
getParentId
public java.lang.Long getParentId()
Description copied from interface:HelpItem
Returns the ID of the parent item.- Specified by:
getParentId
in interfaceHelpItem
- Returns:
- the ID of the parent item, or null if there is none.
-
getChildren
public java.util.List<? extends HelpItem> getChildren()
Description copied from interface:HelpItem
Gets the list of children that this item has.- Specified by:
getChildren
in interfaceHelpItem
- Returns:
- the list of children that this item has. May be empty if there are no children, or if the item type does not permit children.
-
getSection
public SectionItem getSection()
Gets the SectionItem related to this SeeAllArticlesItem- Returns:
- the SectionItem related to this SeeAllArticlesItem
-
isLoading
public boolean isLoading()
-
setLoading
public void setLoading(boolean loading)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-