Class EventsParams.Builder

  • Enclosing class:
    EventsParams

    public static class EventsParams.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
        Default constructor
    • Method Detail

      • createQueryParams

        protected EventsParams createQueryParams()
        Instantiates the implementation class
        Returns:
        implementation class of BaseParams.BaseBuilder
      • setResultWithCategories

        public EventsParams.Builder setResultWithCategories​(@Nullable
                                                            java.lang.Boolean resultWithCategories)
        Set to show the categories associated by the events
        Parameters:
        resultWithCategories - true to show categories else false
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setTimezone

        public EventsParams.Builder setTimezone​(@Nullable
                                                java.lang.String timezone)
        Set to show the timezone used for current call
        Parameters:
        timezone - timezone specified for current call
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • addSubCategories

        public EventsParams.Builder addSubCategories​(@NonNull
                                                     java.lang.String... subCategories)
        Add sub categories to filter the list
        Parameters:
        subCategories - categories to filter
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • addSubCategories

        public EventsParams.Builder addSubCategories​(@Nullable
                                                     java.lang.String subCategories)
        Add a sub category to filter the list
        Parameters:
        subCategories - category to filter
        Returns:
        The Builder object to allow for chaining calls to set/add methods