func (o *GetPublicGetAnnouncementsParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
SetContext adds the context to the get public get announcements 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"
	strfmt "github.com/go-openapi/strfmt"
)
func NewGetPublicGetAnnouncementsParams() *GetPublicGetAnnouncementsParams {
	return &GetPublicGetAnnouncementsParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewGetPublicGetAnnouncementsParamsWithTimeout(timeout time.Duration) *GetPublicGetAnnouncementsParams {
	return &GetPublicGetAnnouncementsParams{
		timeout: timeout,
	}
}
func NewGetPublicGetAnnouncementsParamsWithContext(ctx context.Context) *GetPublicGetAnnouncementsParams {
	return &GetPublicGetAnnouncementsParams{
		Context: ctx,
	}
}
func NewGetPublicGetAnnouncementsParamsWithHTTPClient(client *http.Client) *GetPublicGetAnnouncementsParams {
	return &GetPublicGetAnnouncementsParams{
		HTTPClient: client,
	}
}
type GetPublicGetAnnouncementsParams struct {
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetPublicGetAnnouncementsParams) WithTimeout(timeout time.Duration) *GetPublicGetAnnouncementsParams {
	o.SetTimeout(timeout)
	return o
}
func (o *GetPublicGetAnnouncementsParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *GetPublicGetAnnouncementsParams) WithContext(ctx context.Context) *GetPublicGetAnnouncementsParams {
	o.SetContext(ctx)
	return o
}