Class ProfileParams.Builder

  • Enclosing class:
    ProfileParams

    public static class ProfileParams.Builder
    extends java.lang.Object
    Builder class for ProfileParams
    • Method Detail

      • createQueryParams

        protected ProfileParams createQueryParams()
        Instantiates the implementation class
        Returns:
        implementation class of BaseParams.BaseBuilder
      • setIncludeSegments

        public ProfileParams.Builder setIncludeSegments​(@Nullable
                                                        java.lang.Boolean shouldInclude)
        Sets the value of the boolean parameter field include_segments
        Parameters:
        shouldInclude - boolean value; true to indicate parameter to include segments otherwise false
        Returns:
        instance of the Builder that called this method
      • setReferralCode

        public ProfileParams.Builder setReferralCode​(@Nullable
                                                     java.lang.String referralCode)
        Set the value of the query parameter referral_code
        Parameters:
        referralCode - value to set for referral_code
        Returns:
        The Builder object to allow for chaining calls to set/add methods