func (o *PostHubstoreProfilesParams) WithContext(ctx context.Context) *PostHubstoreProfilesParams {
	o.SetContext(ctx)
	return o
}
WithContext adds the context to the post hubstore profiles params
package operations
import (
	"context"
	"net/http"
	"time"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	cr "github.com/go-openapi/runtime/client"
	"github.com/go-openapi/strfmt"
	"github.com/trustbloc/edge-service/pkg/client/csh/models"
)
func NewPostHubstoreProfilesParams() *PostHubstoreProfilesParams {
	return &PostHubstoreProfilesParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewPostHubstoreProfilesParamsWithTimeout(timeout time.Duration) *PostHubstoreProfilesParams {
	return &PostHubstoreProfilesParams{
		timeout: timeout,
	}
}
func NewPostHubstoreProfilesParamsWithContext(ctx context.Context) *PostHubstoreProfilesParams {
	return &PostHubstoreProfilesParams{
		Context: ctx,
	}
}
func NewPostHubstoreProfilesParamsWithHTTPClient(client *http.Client) *PostHubstoreProfilesParams {
	return &PostHubstoreProfilesParams{
		HTTPClient: client,
	}
}
type PostHubstoreProfilesParams struct {
	Request *models.Profile
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *PostHubstoreProfilesParams) WithDefaults() *PostHubstoreProfilesParams {
	o.SetDefaults()
	return o
}
func (o *PostHubstoreProfilesParams) SetDefaults() {
}
func (o *PostHubstoreProfilesParams) WithTimeout(timeout time.Duration) *PostHubstoreProfilesParams {
	o.SetTimeout(timeout)
	return o
}
func (o *PostHubstoreProfilesParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}