func (o *GetPlatformsParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
SetContext adds the context to the get platforms params
package firewall_management
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/go-openapi/swag"
)
func NewGetPlatformsParams() *GetPlatformsParams {
	return &GetPlatformsParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewGetPlatformsParamsWithTimeout(timeout time.Duration) *GetPlatformsParams {
	return &GetPlatformsParams{
		timeout: timeout,
	}
}
func NewGetPlatformsParamsWithContext(ctx context.Context) *GetPlatformsParams {
	return &GetPlatformsParams{
		Context: ctx,
	}
}
func NewGetPlatformsParamsWithHTTPClient(client *http.Client) *GetPlatformsParams {
	return &GetPlatformsParams{
		HTTPClient: client,
	}
}
type GetPlatformsParams struct {
	Ids []string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetPlatformsParams) WithDefaults() *GetPlatformsParams {
	o.SetDefaults()
	return o
}
func (o *GetPlatformsParams) SetDefaults() {
}
func (o *GetPlatformsParams) WithTimeout(timeout time.Duration) *GetPlatformsParams {
	o.SetTimeout(timeout)
	return o
}
func (o *GetPlatformsParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *GetPlatformsParams) WithContext(ctx context.Context) *GetPlatformsParams {
	o.SetContext(ctx)
	return o
}