Class ChallengeParams

  • All Implemented Interfaces:
    android.os.Parcelable

    public class ChallengeParams
    extends BaseListQueryParams
    Class for setting the query parameters of Challenges API All Nullable parameters means you can remove the parameter by passing a null value.
    • Constructor Detail

      • ChallengeParams

        public ChallengeParams()
    • Method Detail

      • getResponseId

        public java.lang.String getResponseId()
        Get the challenge response id
        Returns:
        challenge response id
      • setResponseId

        public void setResponseId​(java.lang.String responseId)
        Set the challenge response id
        Parameters:
        responseId - challenge response id
      • setShowAsAlert

        public void setShowAsAlert​(java.lang.Boolean showAsAlert)
        Set to show as alert
        Parameters:
        showAsAlert - true to show as alert
      • setShowPollResult

        public void setShowPollResult​(java.lang.Boolean showPollResult)
        Set to show poll results
        Parameters:
        showPollResult - true to show poll results
      • setRespondable

        public void setRespondable​(java.lang.Boolean respondable)
        Set to show respondable challenges
        Parameters:
        respondable - true to show respondable challenges
      • setCategory

        public void setCategory​(java.lang.String category)
        Set the challenge category
        Parameters:
        category - challenge category
      • isShowAsAlert

        public java.lang.Boolean isShowAsAlert()
        Returns the show alert flag
        Returns:
        show alert flag
      • isShowPollResult

        public java.lang.Boolean isShowPollResult()
        Returns the show poll result flag
        Returns:
        show poll result flag
      • getRespondable

        public java.lang.Boolean getRespondable()
        Returns the respondable flag
        Returns:
        respondable flag
      • getCategory

        public java.lang.String getCategory()
        Returns the category
        Returns:
        category