Documentation ¶
Index ¶
- type Client
- func (a *Client) GetIssuesUsingGET(params *GetIssuesUsingGETParams, authInfo runtime.ClientAuthInfoWriter) (*GetIssuesUsingGETOK, error)
- func (a *Client) GetWorkspaceUsingGET(params *GetWorkspaceUsingGETParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspaceUsingGETOK, error)
- func (a *Client) GetWorkspacesUsingGET(params *GetWorkspacesUsingGETParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesUsingGETOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetIssuesUsingGETOK
- type GetIssuesUsingGETParams
- func NewGetIssuesUsingGETParams() *GetIssuesUsingGETParams
- func NewGetIssuesUsingGETParamsWithContext(ctx context.Context) *GetIssuesUsingGETParams
- func NewGetIssuesUsingGETParamsWithHTTPClient(client *http.Client) *GetIssuesUsingGETParams
- func NewGetIssuesUsingGETParamsWithTimeout(timeout time.Duration) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) SetContext(ctx context.Context)
- func (o *GetIssuesUsingGETParams) SetCreatedAfter(createdAfter *strfmt.DateTime)
- func (o *GetIssuesUsingGETParams) SetCreatedBefore(createdBefore *strfmt.DateTime)
- func (o *GetIssuesUsingGETParams) SetDirect(direct *bool)
- func (o *GetIssuesUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetIssuesUsingGETParams) SetID(id strfmt.UUID)
- func (o *GetIssuesUsingGETParams) SetIgnored(ignored *bool)
- func (o *GetIssuesUsingGETParams) SetPage(page *int32)
- func (o *GetIssuesUsingGETParams) SetProjectID(projectID []strfmt.UUID)
- func (o *GetIssuesUsingGETParams) SetSearch(search *string)
- func (o *GetIssuesUsingGETParams) SetSeverityGt(severityGt *float32)
- func (o *GetIssuesUsingGETParams) SetSeverityGte(severityGte *float32)
- func (o *GetIssuesUsingGETParams) SetSeverityLt(severityLt *float32)
- func (o *GetIssuesUsingGETParams) SetSeverityLte(severityLte *float32)
- func (o *GetIssuesUsingGETParams) SetSize(size *int32)
- func (o *GetIssuesUsingGETParams) SetSort(sort []string)
- func (o *GetIssuesUsingGETParams) SetStatus(status []string)
- func (o *GetIssuesUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetIssuesUsingGETParams) SetType(typeVar []string)
- func (o *GetIssuesUsingGETParams) WithContext(ctx context.Context) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) WithCreatedAfter(createdAfter *strfmt.DateTime) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) WithCreatedBefore(createdBefore *strfmt.DateTime) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) WithDirect(direct *bool) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) WithHTTPClient(client *http.Client) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) WithID(id strfmt.UUID) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) WithIgnored(ignored *bool) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) WithPage(page *int32) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) WithProjectID(projectID []strfmt.UUID) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) WithSearch(search *string) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) WithSeverityGt(severityGt *float32) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) WithSeverityGte(severityGte *float32) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) WithSeverityLt(severityLt *float32) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) WithSeverityLte(severityLte *float32) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) WithSize(size *int32) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) WithSort(sort []string) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) WithStatus(status []string) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) WithTimeout(timeout time.Duration) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) WithType(typeVar []string) *GetIssuesUsingGETParams
- func (o *GetIssuesUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIssuesUsingGETReader
- type GetWorkspaceUsingGETOK
- type GetWorkspaceUsingGETParams
- func NewGetWorkspaceUsingGETParams() *GetWorkspaceUsingGETParams
- func NewGetWorkspaceUsingGETParamsWithContext(ctx context.Context) *GetWorkspaceUsingGETParams
- func NewGetWorkspaceUsingGETParamsWithHTTPClient(client *http.Client) *GetWorkspaceUsingGETParams
- func NewGetWorkspaceUsingGETParamsWithTimeout(timeout time.Duration) *GetWorkspaceUsingGETParams
- func (o *GetWorkspaceUsingGETParams) SetContext(ctx context.Context)
- func (o *GetWorkspaceUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkspaceUsingGETParams) SetID(id strfmt.UUID)
- func (o *GetWorkspaceUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkspaceUsingGETParams) WithContext(ctx context.Context) *GetWorkspaceUsingGETParams
- func (o *GetWorkspaceUsingGETParams) WithHTTPClient(client *http.Client) *GetWorkspaceUsingGETParams
- func (o *GetWorkspaceUsingGETParams) WithID(id strfmt.UUID) *GetWorkspaceUsingGETParams
- func (o *GetWorkspaceUsingGETParams) WithTimeout(timeout time.Duration) *GetWorkspaceUsingGETParams
- func (o *GetWorkspaceUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkspaceUsingGETReader
- type GetWorkspacesUsingGETOK
- type GetWorkspacesUsingGETParams
- func NewGetWorkspacesUsingGETParams() *GetWorkspacesUsingGETParams
- func NewGetWorkspacesUsingGETParamsWithContext(ctx context.Context) *GetWorkspacesUsingGETParams
- func NewGetWorkspacesUsingGETParamsWithHTTPClient(client *http.Client) *GetWorkspacesUsingGETParams
- func NewGetWorkspacesUsingGETParamsWithTimeout(timeout time.Duration) *GetWorkspacesUsingGETParams
- func (o *GetWorkspacesUsingGETParams) SetContext(ctx context.Context)
- func (o *GetWorkspacesUsingGETParams) SetFilterLibrary(filterLibrary []string)
- func (o *GetWorkspacesUsingGETParams) SetFilterLicense(filterLicense []string)
- func (o *GetWorkspacesUsingGETParams) SetFilterProject(filterProject []string)
- func (o *GetWorkspacesUsingGETParams) SetFilterVulnerability(filterVulnerability []string)
- func (o *GetWorkspacesUsingGETParams) SetFilterWorkspace(filterWorkspace []string)
- func (o *GetWorkspacesUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkspacesUsingGETParams) SetPage(page *int32)
- func (o *GetWorkspacesUsingGETParams) SetSize(size *int32)
- func (o *GetWorkspacesUsingGETParams) SetSort(sort []string)
- func (o *GetWorkspacesUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkspacesUsingGETParams) WithContext(ctx context.Context) *GetWorkspacesUsingGETParams
- func (o *GetWorkspacesUsingGETParams) WithFilterLibrary(filterLibrary []string) *GetWorkspacesUsingGETParams
- func (o *GetWorkspacesUsingGETParams) WithFilterLicense(filterLicense []string) *GetWorkspacesUsingGETParams
- func (o *GetWorkspacesUsingGETParams) WithFilterProject(filterProject []string) *GetWorkspacesUsingGETParams
- func (o *GetWorkspacesUsingGETParams) WithFilterVulnerability(filterVulnerability []string) *GetWorkspacesUsingGETParams
- func (o *GetWorkspacesUsingGETParams) WithFilterWorkspace(filterWorkspace []string) *GetWorkspacesUsingGETParams
- func (o *GetWorkspacesUsingGETParams) WithHTTPClient(client *http.Client) *GetWorkspacesUsingGETParams
- func (o *GetWorkspacesUsingGETParams) WithPage(page *int32) *GetWorkspacesUsingGETParams
- func (o *GetWorkspacesUsingGETParams) WithSize(size *int32) *GetWorkspacesUsingGETParams
- func (o *GetWorkspacesUsingGETParams) WithSort(sort []string) *GetWorkspacesUsingGETParams
- func (o *GetWorkspacesUsingGETParams) WithTimeout(timeout time.Duration) *GetWorkspacesUsingGETParams
- func (o *GetWorkspacesUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkspacesUsingGETReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for workspaces API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new workspaces API client.
func (*Client) GetIssuesUsingGET ¶
func (a *Client) GetIssuesUsingGET(params *GetIssuesUsingGETParams, authInfo runtime.ClientAuthInfoWriter) (*GetIssuesUsingGETOK, error)
GetIssuesUsingGET gets issues
Get issues for the given workspace. Note: if a project Default Branch is set, only issues from scans of that branch will be displayed.
func (*Client) GetWorkspaceUsingGET ¶
func (a *Client) GetWorkspaceUsingGET(params *GetWorkspaceUsingGETParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspaceUsingGETOK, error)
GetWorkspaceUsingGET gets workspace
Get single workspace.
func (*Client) GetWorkspacesUsingGET ¶
func (a *Client) GetWorkspacesUsingGET(params *GetWorkspacesUsingGETParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesUsingGETOK, error)
GetWorkspacesUsingGET gets workspaces
Get visible workspaces. Workspace visibility depends on workspace membership and user permissions.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetIssuesUsingGETOK ¶
type GetIssuesUsingGETOK struct {
Payload *models.PagedResourcesIssue
}
GetIssuesUsingGETOK handles this case with default header values.
OK
func NewGetIssuesUsingGETOK ¶
func NewGetIssuesUsingGETOK() *GetIssuesUsingGETOK
NewGetIssuesUsingGETOK creates a GetIssuesUsingGETOK with default headers values
func (*GetIssuesUsingGETOK) Error ¶
func (o *GetIssuesUsingGETOK) Error() string
type GetIssuesUsingGETParams ¶
type GetIssuesUsingGETParams struct { /*CreatedAfter Filter by issues created on or after the specified date */ CreatedAfter *strfmt.DateTime /*CreatedBefore created_before */ CreatedBefore *strfmt.DateTime /*Direct Filter by direct dependency */ Direct *bool /*ID id */ ID strfmt.UUID /*Ignored If true, show only ignored issues */ Ignored *bool /*Page Results page you want to retrieve (0..N) */ Page *int32 /*ProjectID Filter 0 or more project IDs */ ProjectID []strfmt.UUID /*Search Filter by issues matching the provided text search */ Search *string /*SeverityGt Filter by issue severity greater than the provided value */ SeverityGt *float32 /*SeverityGte Filter by issue severity greater than or equal to the provided value */ SeverityGte *float32 /*SeverityLt Filter by issue severity less than the provided value */ SeverityLt *float32 /*SeverityLte Filter by issue severity less than or equal to the provided value */ SeverityLte *float32 /*Size Number of records per page */ Size *int32 /*Sort Sorting criteria in the format: property(,asc|desc). Default order is created date descending. */ Sort []string /*Status Filter by issue status */ Status []string /*Type Filter by issue type */ Type []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetIssuesUsingGETParams contains all the parameters to send to the API endpoint for the get issues using g e t operation typically these are written to a http.Request
func NewGetIssuesUsingGETParams ¶
func NewGetIssuesUsingGETParams() *GetIssuesUsingGETParams
NewGetIssuesUsingGETParams creates a new GetIssuesUsingGETParams object with the default values initialized.
func NewGetIssuesUsingGETParamsWithContext ¶
func NewGetIssuesUsingGETParamsWithContext(ctx context.Context) *GetIssuesUsingGETParams
NewGetIssuesUsingGETParamsWithContext creates a new GetIssuesUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetIssuesUsingGETParamsWithHTTPClient ¶
func NewGetIssuesUsingGETParamsWithHTTPClient(client *http.Client) *GetIssuesUsingGETParams
NewGetIssuesUsingGETParamsWithHTTPClient creates a new GetIssuesUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetIssuesUsingGETParamsWithTimeout ¶
func NewGetIssuesUsingGETParamsWithTimeout(timeout time.Duration) *GetIssuesUsingGETParams
NewGetIssuesUsingGETParamsWithTimeout creates a new GetIssuesUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetIssuesUsingGETParams) SetContext ¶
func (o *GetIssuesUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get issues using g e t params
func (*GetIssuesUsingGETParams) SetCreatedAfter ¶
func (o *GetIssuesUsingGETParams) SetCreatedAfter(createdAfter *strfmt.DateTime)
SetCreatedAfter adds the createdAfter to the get issues using g e t params
func (*GetIssuesUsingGETParams) SetCreatedBefore ¶
func (o *GetIssuesUsingGETParams) SetCreatedBefore(createdBefore *strfmt.DateTime)
SetCreatedBefore adds the createdBefore to the get issues using g e t params
func (*GetIssuesUsingGETParams) SetDirect ¶
func (o *GetIssuesUsingGETParams) SetDirect(direct *bool)
SetDirect adds the direct to the get issues using g e t params
func (*GetIssuesUsingGETParams) SetHTTPClient ¶
func (o *GetIssuesUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get issues using g e t params
func (*GetIssuesUsingGETParams) SetID ¶
func (o *GetIssuesUsingGETParams) SetID(id strfmt.UUID)
SetID adds the id to the get issues using g e t params
func (*GetIssuesUsingGETParams) SetIgnored ¶
func (o *GetIssuesUsingGETParams) SetIgnored(ignored *bool)
SetIgnored adds the ignored to the get issues using g e t params
func (*GetIssuesUsingGETParams) SetPage ¶
func (o *GetIssuesUsingGETParams) SetPage(page *int32)
SetPage adds the page to the get issues using g e t params
func (*GetIssuesUsingGETParams) SetProjectID ¶
func (o *GetIssuesUsingGETParams) SetProjectID(projectID []strfmt.UUID)
SetProjectID adds the projectId to the get issues using g e t params
func (*GetIssuesUsingGETParams) SetSearch ¶
func (o *GetIssuesUsingGETParams) SetSearch(search *string)
SetSearch adds the search to the get issues using g e t params
func (*GetIssuesUsingGETParams) SetSeverityGt ¶
func (o *GetIssuesUsingGETParams) SetSeverityGt(severityGt *float32)
SetSeverityGt adds the severityGt to the get issues using g e t params
func (*GetIssuesUsingGETParams) SetSeverityGte ¶
func (o *GetIssuesUsingGETParams) SetSeverityGte(severityGte *float32)
SetSeverityGte adds the severityGte to the get issues using g e t params
func (*GetIssuesUsingGETParams) SetSeverityLt ¶
func (o *GetIssuesUsingGETParams) SetSeverityLt(severityLt *float32)
SetSeverityLt adds the severityLt to the get issues using g e t params
func (*GetIssuesUsingGETParams) SetSeverityLte ¶
func (o *GetIssuesUsingGETParams) SetSeverityLte(severityLte *float32)
SetSeverityLte adds the severityLte to the get issues using g e t params
func (*GetIssuesUsingGETParams) SetSize ¶
func (o *GetIssuesUsingGETParams) SetSize(size *int32)
SetSize adds the size to the get issues using g e t params
func (*GetIssuesUsingGETParams) SetSort ¶
func (o *GetIssuesUsingGETParams) SetSort(sort []string)
SetSort adds the sort to the get issues using g e t params
func (*GetIssuesUsingGETParams) SetStatus ¶
func (o *GetIssuesUsingGETParams) SetStatus(status []string)
SetStatus adds the status to the get issues using g e t params
func (*GetIssuesUsingGETParams) SetTimeout ¶
func (o *GetIssuesUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get issues using g e t params
func (*GetIssuesUsingGETParams) SetType ¶
func (o *GetIssuesUsingGETParams) SetType(typeVar []string)
SetType adds the type to the get issues using g e t params
func (*GetIssuesUsingGETParams) WithContext ¶
func (o *GetIssuesUsingGETParams) WithContext(ctx context.Context) *GetIssuesUsingGETParams
WithContext adds the context to the get issues using g e t params
func (*GetIssuesUsingGETParams) WithCreatedAfter ¶
func (o *GetIssuesUsingGETParams) WithCreatedAfter(createdAfter *strfmt.DateTime) *GetIssuesUsingGETParams
WithCreatedAfter adds the createdAfter to the get issues using g e t params
func (*GetIssuesUsingGETParams) WithCreatedBefore ¶
func (o *GetIssuesUsingGETParams) WithCreatedBefore(createdBefore *strfmt.DateTime) *GetIssuesUsingGETParams
WithCreatedBefore adds the createdBefore to the get issues using g e t params
func (*GetIssuesUsingGETParams) WithDirect ¶
func (o *GetIssuesUsingGETParams) WithDirect(direct *bool) *GetIssuesUsingGETParams
WithDirect adds the direct to the get issues using g e t params
func (*GetIssuesUsingGETParams) WithHTTPClient ¶
func (o *GetIssuesUsingGETParams) WithHTTPClient(client *http.Client) *GetIssuesUsingGETParams
WithHTTPClient adds the HTTPClient to the get issues using g e t params
func (*GetIssuesUsingGETParams) WithID ¶
func (o *GetIssuesUsingGETParams) WithID(id strfmt.UUID) *GetIssuesUsingGETParams
WithID adds the id to the get issues using g e t params
func (*GetIssuesUsingGETParams) WithIgnored ¶
func (o *GetIssuesUsingGETParams) WithIgnored(ignored *bool) *GetIssuesUsingGETParams
WithIgnored adds the ignored to the get issues using g e t params
func (*GetIssuesUsingGETParams) WithPage ¶
func (o *GetIssuesUsingGETParams) WithPage(page *int32) *GetIssuesUsingGETParams
WithPage adds the page to the get issues using g e t params
func (*GetIssuesUsingGETParams) WithProjectID ¶
func (o *GetIssuesUsingGETParams) WithProjectID(projectID []strfmt.UUID) *GetIssuesUsingGETParams
WithProjectID adds the projectID to the get issues using g e t params
func (*GetIssuesUsingGETParams) WithSearch ¶
func (o *GetIssuesUsingGETParams) WithSearch(search *string) *GetIssuesUsingGETParams
WithSearch adds the search to the get issues using g e t params
func (*GetIssuesUsingGETParams) WithSeverityGt ¶
func (o *GetIssuesUsingGETParams) WithSeverityGt(severityGt *float32) *GetIssuesUsingGETParams
WithSeverityGt adds the severityGt to the get issues using g e t params
func (*GetIssuesUsingGETParams) WithSeverityGte ¶
func (o *GetIssuesUsingGETParams) WithSeverityGte(severityGte *float32) *GetIssuesUsingGETParams
WithSeverityGte adds the severityGte to the get issues using g e t params
func (*GetIssuesUsingGETParams) WithSeverityLt ¶
func (o *GetIssuesUsingGETParams) WithSeverityLt(severityLt *float32) *GetIssuesUsingGETParams
WithSeverityLt adds the severityLt to the get issues using g e t params
func (*GetIssuesUsingGETParams) WithSeverityLte ¶
func (o *GetIssuesUsingGETParams) WithSeverityLte(severityLte *float32) *GetIssuesUsingGETParams
WithSeverityLte adds the severityLte to the get issues using g e t params
func (*GetIssuesUsingGETParams) WithSize ¶
func (o *GetIssuesUsingGETParams) WithSize(size *int32) *GetIssuesUsingGETParams
WithSize adds the size to the get issues using g e t params
func (*GetIssuesUsingGETParams) WithSort ¶
func (o *GetIssuesUsingGETParams) WithSort(sort []string) *GetIssuesUsingGETParams
WithSort adds the sort to the get issues using g e t params
func (*GetIssuesUsingGETParams) WithStatus ¶
func (o *GetIssuesUsingGETParams) WithStatus(status []string) *GetIssuesUsingGETParams
WithStatus adds the status to the get issues using g e t params
func (*GetIssuesUsingGETParams) WithTimeout ¶
func (o *GetIssuesUsingGETParams) WithTimeout(timeout time.Duration) *GetIssuesUsingGETParams
WithTimeout adds the timeout to the get issues using g e t params
func (*GetIssuesUsingGETParams) WithType ¶
func (o *GetIssuesUsingGETParams) WithType(typeVar []string) *GetIssuesUsingGETParams
WithType adds the typeVar to the get issues using g e t params
func (*GetIssuesUsingGETParams) WriteToRequest ¶
func (o *GetIssuesUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIssuesUsingGETReader ¶
type GetIssuesUsingGETReader struct {
// contains filtered or unexported fields
}
GetIssuesUsingGETReader is a Reader for the GetIssuesUsingGET structure.
func (*GetIssuesUsingGETReader) ReadResponse ¶
func (o *GetIssuesUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWorkspaceUsingGETOK ¶
GetWorkspaceUsingGETOK handles this case with default header values.
You have successfully submitted your request.
func NewGetWorkspaceUsingGETOK ¶
func NewGetWorkspaceUsingGETOK() *GetWorkspaceUsingGETOK
NewGetWorkspaceUsingGETOK creates a GetWorkspaceUsingGETOK with default headers values
func (*GetWorkspaceUsingGETOK) Error ¶
func (o *GetWorkspaceUsingGETOK) Error() string
type GetWorkspaceUsingGETParams ¶
type GetWorkspaceUsingGETParams struct { /*ID The workspace ID. */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWorkspaceUsingGETParams contains all the parameters to send to the API endpoint for the get workspace using g e t operation typically these are written to a http.Request
func NewGetWorkspaceUsingGETParams ¶
func NewGetWorkspaceUsingGETParams() *GetWorkspaceUsingGETParams
NewGetWorkspaceUsingGETParams creates a new GetWorkspaceUsingGETParams object with the default values initialized.
func NewGetWorkspaceUsingGETParamsWithContext ¶
func NewGetWorkspaceUsingGETParamsWithContext(ctx context.Context) *GetWorkspaceUsingGETParams
NewGetWorkspaceUsingGETParamsWithContext creates a new GetWorkspaceUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetWorkspaceUsingGETParamsWithHTTPClient ¶
func NewGetWorkspaceUsingGETParamsWithHTTPClient(client *http.Client) *GetWorkspaceUsingGETParams
NewGetWorkspaceUsingGETParamsWithHTTPClient creates a new GetWorkspaceUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetWorkspaceUsingGETParamsWithTimeout ¶
func NewGetWorkspaceUsingGETParamsWithTimeout(timeout time.Duration) *GetWorkspaceUsingGETParams
NewGetWorkspaceUsingGETParamsWithTimeout creates a new GetWorkspaceUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetWorkspaceUsingGETParams) SetContext ¶
func (o *GetWorkspaceUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get workspace using g e t params
func (*GetWorkspaceUsingGETParams) SetHTTPClient ¶
func (o *GetWorkspaceUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get workspace using g e t params
func (*GetWorkspaceUsingGETParams) SetID ¶
func (o *GetWorkspaceUsingGETParams) SetID(id strfmt.UUID)
SetID adds the id to the get workspace using g e t params
func (*GetWorkspaceUsingGETParams) SetTimeout ¶
func (o *GetWorkspaceUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get workspace using g e t params
func (*GetWorkspaceUsingGETParams) WithContext ¶
func (o *GetWorkspaceUsingGETParams) WithContext(ctx context.Context) *GetWorkspaceUsingGETParams
WithContext adds the context to the get workspace using g e t params
func (*GetWorkspaceUsingGETParams) WithHTTPClient ¶
func (o *GetWorkspaceUsingGETParams) WithHTTPClient(client *http.Client) *GetWorkspaceUsingGETParams
WithHTTPClient adds the HTTPClient to the get workspace using g e t params
func (*GetWorkspaceUsingGETParams) WithID ¶
func (o *GetWorkspaceUsingGETParams) WithID(id strfmt.UUID) *GetWorkspaceUsingGETParams
WithID adds the id to the get workspace using g e t params
func (*GetWorkspaceUsingGETParams) WithTimeout ¶
func (o *GetWorkspaceUsingGETParams) WithTimeout(timeout time.Duration) *GetWorkspaceUsingGETParams
WithTimeout adds the timeout to the get workspace using g e t params
func (*GetWorkspaceUsingGETParams) WriteToRequest ¶
func (o *GetWorkspaceUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWorkspaceUsingGETReader ¶
type GetWorkspaceUsingGETReader struct {
// contains filtered or unexported fields
}
GetWorkspaceUsingGETReader is a Reader for the GetWorkspaceUsingGET structure.
func (*GetWorkspaceUsingGETReader) ReadResponse ¶
func (o *GetWorkspaceUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWorkspacesUsingGETOK ¶
type GetWorkspacesUsingGETOK struct {
Payload *models.PagedResourcesWorkspace
}
GetWorkspacesUsingGETOK handles this case with default header values.
You have successfully submitted your request.
func NewGetWorkspacesUsingGETOK ¶
func NewGetWorkspacesUsingGETOK() *GetWorkspacesUsingGETOK
NewGetWorkspacesUsingGETOK creates a GetWorkspacesUsingGETOK with default headers values
func (*GetWorkspacesUsingGETOK) Error ¶
func (o *GetWorkspacesUsingGETOK) Error() string
type GetWorkspacesUsingGETParams ¶
type GetWorkspacesUsingGETParams struct { /*FilterLibrary The library name filter */ FilterLibrary []string /*FilterLicense The license name filter */ FilterLicense []string /*FilterProject The project name filter */ FilterProject []string /*FilterVulnerability The vulnerability title filter */ FilterVulnerability []string /*FilterWorkspace The workspace name filter */ FilterWorkspace []string /*Page The page of results that you want to retrieve (0..N). */ Page *int32 /*Size The number of records per page */ Size *int32 /*Sort Sorting criteria in the format: property(asc|desc). The default order is ascending. */ Sort []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWorkspacesUsingGETParams contains all the parameters to send to the API endpoint for the get workspaces using g e t operation typically these are written to a http.Request
func NewGetWorkspacesUsingGETParams ¶
func NewGetWorkspacesUsingGETParams() *GetWorkspacesUsingGETParams
NewGetWorkspacesUsingGETParams creates a new GetWorkspacesUsingGETParams object with the default values initialized.
func NewGetWorkspacesUsingGETParamsWithContext ¶
func NewGetWorkspacesUsingGETParamsWithContext(ctx context.Context) *GetWorkspacesUsingGETParams
NewGetWorkspacesUsingGETParamsWithContext creates a new GetWorkspacesUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetWorkspacesUsingGETParamsWithHTTPClient ¶
func NewGetWorkspacesUsingGETParamsWithHTTPClient(client *http.Client) *GetWorkspacesUsingGETParams
NewGetWorkspacesUsingGETParamsWithHTTPClient creates a new GetWorkspacesUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetWorkspacesUsingGETParamsWithTimeout ¶
func NewGetWorkspacesUsingGETParamsWithTimeout(timeout time.Duration) *GetWorkspacesUsingGETParams
NewGetWorkspacesUsingGETParamsWithTimeout creates a new GetWorkspacesUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetWorkspacesUsingGETParams) SetContext ¶
func (o *GetWorkspacesUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) SetFilterLibrary ¶
func (o *GetWorkspacesUsingGETParams) SetFilterLibrary(filterLibrary []string)
SetFilterLibrary adds the filterLibrary to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) SetFilterLicense ¶
func (o *GetWorkspacesUsingGETParams) SetFilterLicense(filterLicense []string)
SetFilterLicense adds the filterLicense to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) SetFilterProject ¶
func (o *GetWorkspacesUsingGETParams) SetFilterProject(filterProject []string)
SetFilterProject adds the filterProject to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) SetFilterVulnerability ¶
func (o *GetWorkspacesUsingGETParams) SetFilterVulnerability(filterVulnerability []string)
SetFilterVulnerability adds the filterVulnerability to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) SetFilterWorkspace ¶
func (o *GetWorkspacesUsingGETParams) SetFilterWorkspace(filterWorkspace []string)
SetFilterWorkspace adds the filterWorkspace to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) SetHTTPClient ¶
func (o *GetWorkspacesUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) SetPage ¶
func (o *GetWorkspacesUsingGETParams) SetPage(page *int32)
SetPage adds the page to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) SetSize ¶
func (o *GetWorkspacesUsingGETParams) SetSize(size *int32)
SetSize adds the size to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) SetSort ¶
func (o *GetWorkspacesUsingGETParams) SetSort(sort []string)
SetSort adds the sort to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) SetTimeout ¶
func (o *GetWorkspacesUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) WithContext ¶
func (o *GetWorkspacesUsingGETParams) WithContext(ctx context.Context) *GetWorkspacesUsingGETParams
WithContext adds the context to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) WithFilterLibrary ¶
func (o *GetWorkspacesUsingGETParams) WithFilterLibrary(filterLibrary []string) *GetWorkspacesUsingGETParams
WithFilterLibrary adds the filterLibrary to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) WithFilterLicense ¶
func (o *GetWorkspacesUsingGETParams) WithFilterLicense(filterLicense []string) *GetWorkspacesUsingGETParams
WithFilterLicense adds the filterLicense to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) WithFilterProject ¶
func (o *GetWorkspacesUsingGETParams) WithFilterProject(filterProject []string) *GetWorkspacesUsingGETParams
WithFilterProject adds the filterProject to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) WithFilterVulnerability ¶
func (o *GetWorkspacesUsingGETParams) WithFilterVulnerability(filterVulnerability []string) *GetWorkspacesUsingGETParams
WithFilterVulnerability adds the filterVulnerability to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) WithFilterWorkspace ¶
func (o *GetWorkspacesUsingGETParams) WithFilterWorkspace(filterWorkspace []string) *GetWorkspacesUsingGETParams
WithFilterWorkspace adds the filterWorkspace to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) WithHTTPClient ¶
func (o *GetWorkspacesUsingGETParams) WithHTTPClient(client *http.Client) *GetWorkspacesUsingGETParams
WithHTTPClient adds the HTTPClient to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) WithPage ¶
func (o *GetWorkspacesUsingGETParams) WithPage(page *int32) *GetWorkspacesUsingGETParams
WithPage adds the page to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) WithSize ¶
func (o *GetWorkspacesUsingGETParams) WithSize(size *int32) *GetWorkspacesUsingGETParams
WithSize adds the size to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) WithSort ¶
func (o *GetWorkspacesUsingGETParams) WithSort(sort []string) *GetWorkspacesUsingGETParams
WithSort adds the sort to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) WithTimeout ¶
func (o *GetWorkspacesUsingGETParams) WithTimeout(timeout time.Duration) *GetWorkspacesUsingGETParams
WithTimeout adds the timeout to the get workspaces using g e t params
func (*GetWorkspacesUsingGETParams) WriteToRequest ¶
func (o *GetWorkspacesUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWorkspacesUsingGETReader ¶
type GetWorkspacesUsingGETReader struct {
// contains filtered or unexported fields
}
GetWorkspacesUsingGETReader is a Reader for the GetWorkspacesUsingGET structure.
func (*GetWorkspacesUsingGETReader) ReadResponse ¶
func (o *GetWorkspacesUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.