Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type SearchTagsUsingGETForbidden
- func (o *SearchTagsUsingGETForbidden) Error() string
- func (o *SearchTagsUsingGETForbidden) IsClientError() bool
- func (o *SearchTagsUsingGETForbidden) IsCode(code int) bool
- func (o *SearchTagsUsingGETForbidden) IsRedirect() bool
- func (o *SearchTagsUsingGETForbidden) IsServerError() bool
- func (o *SearchTagsUsingGETForbidden) IsSuccess() bool
- func (o *SearchTagsUsingGETForbidden) String() string
- type SearchTagsUsingGETOK
- func (o *SearchTagsUsingGETOK) Error() string
- func (o *SearchTagsUsingGETOK) GetPayload() *models.PageOfTagState
- func (o *SearchTagsUsingGETOK) IsClientError() bool
- func (o *SearchTagsUsingGETOK) IsCode(code int) bool
- func (o *SearchTagsUsingGETOK) IsRedirect() bool
- func (o *SearchTagsUsingGETOK) IsServerError() bool
- func (o *SearchTagsUsingGETOK) IsSuccess() bool
- func (o *SearchTagsUsingGETOK) String() string
- type SearchTagsUsingGETParams
- func NewSearchTagsUsingGETParams() *SearchTagsUsingGETParams
- func NewSearchTagsUsingGETParamsWithContext(ctx context.Context) *SearchTagsUsingGETParams
- func NewSearchTagsUsingGETParamsWithHTTPClient(client *http.Client) *SearchTagsUsingGETParams
- func NewSearchTagsUsingGETParamsWithTimeout(timeout time.Duration) *SearchTagsUsingGETParams
- func (o *SearchTagsUsingGETParams) SetContext(ctx context.Context)
- func (o *SearchTagsUsingGETParams) SetDefaults()
- func (o *SearchTagsUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *SearchTagsUsingGETParams) SetOffset(offset *int64)
- func (o *SearchTagsUsingGETParams) SetPageNumber(pageNumber *int32)
- func (o *SearchTagsUsingGETParams) SetPageSize(pageSize *int32)
- func (o *SearchTagsUsingGETParams) SetPaged(paged *bool)
- func (o *SearchTagsUsingGETParams) SetSortSorted(sortSorted *bool)
- func (o *SearchTagsUsingGETParams) SetSortUnsorted(sortUnsorted *bool)
- func (o *SearchTagsUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *SearchTagsUsingGETParams) SetUnpaged(unpaged *bool)
- func (o *SearchTagsUsingGETParams) WithContext(ctx context.Context) *SearchTagsUsingGETParams
- func (o *SearchTagsUsingGETParams) WithDefaults() *SearchTagsUsingGETParams
- func (o *SearchTagsUsingGETParams) WithHTTPClient(client *http.Client) *SearchTagsUsingGETParams
- func (o *SearchTagsUsingGETParams) WithOffset(offset *int64) *SearchTagsUsingGETParams
- func (o *SearchTagsUsingGETParams) WithPageNumber(pageNumber *int32) *SearchTagsUsingGETParams
- func (o *SearchTagsUsingGETParams) WithPageSize(pageSize *int32) *SearchTagsUsingGETParams
- func (o *SearchTagsUsingGETParams) WithPaged(paged *bool) *SearchTagsUsingGETParams
- func (o *SearchTagsUsingGETParams) WithSortSorted(sortSorted *bool) *SearchTagsUsingGETParams
- func (o *SearchTagsUsingGETParams) WithSortUnsorted(sortUnsorted *bool) *SearchTagsUsingGETParams
- func (o *SearchTagsUsingGETParams) WithTimeout(timeout time.Duration) *SearchTagsUsingGETParams
- func (o *SearchTagsUsingGETParams) WithUnpaged(unpaged *bool) *SearchTagsUsingGETParams
- func (o *SearchTagsUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchTagsUsingGETReader
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 capability tags API
func (*Client) SearchTagsUsingGET ¶
func (a *Client) SearchTagsUsingGET(params *SearchTagsUsingGETParams, opts ...ClientOption) (*SearchTagsUsingGETOK, error)
SearchTagsUsingGET searches for capability tags
Search for capability tags using an OData filter. For example, use the following filter to retrieve the tag 'location:somewhere': $filter=(key eq '*location*')
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { SearchTagsUsingGET(params *SearchTagsUsingGETParams, opts ...ClientOption) (*SearchTagsUsingGETOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new capability tags API client.
type SearchTagsUsingGETForbidden ¶
type SearchTagsUsingGETForbidden struct { }
SearchTagsUsingGETForbidden describes a response with status code 403, with default header values.
Forbidden, the user lacks permissions
func NewSearchTagsUsingGETForbidden ¶
func NewSearchTagsUsingGETForbidden() *SearchTagsUsingGETForbidden
NewSearchTagsUsingGETForbidden creates a SearchTagsUsingGETForbidden with default headers values
func (*SearchTagsUsingGETForbidden) Error ¶
func (o *SearchTagsUsingGETForbidden) Error() string
func (*SearchTagsUsingGETForbidden) IsClientError ¶
func (o *SearchTagsUsingGETForbidden) IsClientError() bool
IsClientError returns true when this search tags using g e t forbidden response has a 4xx status code
func (*SearchTagsUsingGETForbidden) IsCode ¶
func (o *SearchTagsUsingGETForbidden) IsCode(code int) bool
IsCode returns true when this search tags using g e t forbidden response a status code equal to that given
func (*SearchTagsUsingGETForbidden) IsRedirect ¶
func (o *SearchTagsUsingGETForbidden) IsRedirect() bool
IsRedirect returns true when this search tags using g e t forbidden response has a 3xx status code
func (*SearchTagsUsingGETForbidden) IsServerError ¶
func (o *SearchTagsUsingGETForbidden) IsServerError() bool
IsServerError returns true when this search tags using g e t forbidden response has a 5xx status code
func (*SearchTagsUsingGETForbidden) IsSuccess ¶
func (o *SearchTagsUsingGETForbidden) IsSuccess() bool
IsSuccess returns true when this search tags using g e t forbidden response has a 2xx status code
func (*SearchTagsUsingGETForbidden) String ¶
func (o *SearchTagsUsingGETForbidden) String() string
type SearchTagsUsingGETOK ¶
type SearchTagsUsingGETOK struct {
Payload *models.PageOfTagState
}
SearchTagsUsingGETOK describes a response with status code 200, with default header values.
OK
func NewSearchTagsUsingGETOK ¶
func NewSearchTagsUsingGETOK() *SearchTagsUsingGETOK
NewSearchTagsUsingGETOK creates a SearchTagsUsingGETOK with default headers values
func (*SearchTagsUsingGETOK) Error ¶
func (o *SearchTagsUsingGETOK) Error() string
func (*SearchTagsUsingGETOK) GetPayload ¶
func (o *SearchTagsUsingGETOK) GetPayload() *models.PageOfTagState
func (*SearchTagsUsingGETOK) IsClientError ¶
func (o *SearchTagsUsingGETOK) IsClientError() bool
IsClientError returns true when this search tags using g e t o k response has a 4xx status code
func (*SearchTagsUsingGETOK) IsCode ¶
func (o *SearchTagsUsingGETOK) IsCode(code int) bool
IsCode returns true when this search tags using g e t o k response a status code equal to that given
func (*SearchTagsUsingGETOK) IsRedirect ¶
func (o *SearchTagsUsingGETOK) IsRedirect() bool
IsRedirect returns true when this search tags using g e t o k response has a 3xx status code
func (*SearchTagsUsingGETOK) IsServerError ¶
func (o *SearchTagsUsingGETOK) IsServerError() bool
IsServerError returns true when this search tags using g e t o k response has a 5xx status code
func (*SearchTagsUsingGETOK) IsSuccess ¶
func (o *SearchTagsUsingGETOK) IsSuccess() bool
IsSuccess returns true when this search tags using g e t o k response has a 2xx status code
func (*SearchTagsUsingGETOK) String ¶
func (o *SearchTagsUsingGETOK) String() string
type SearchTagsUsingGETParams ¶
type SearchTagsUsingGETParams struct { // Offset. // // Format: int64 Offset *int64 // PageNumber. // // Format: int32 PageNumber *int32 // PageSize. // // Format: int32 PageSize *int32 // Paged. Paged *bool // SortSorted. SortSorted *bool // SortUnsorted. SortUnsorted *bool // Unpaged. Unpaged *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchTagsUsingGETParams contains all the parameters to send to the API endpoint
for the search tags using g e t operation. Typically these are written to a http.Request.
func NewSearchTagsUsingGETParams ¶
func NewSearchTagsUsingGETParams() *SearchTagsUsingGETParams
NewSearchTagsUsingGETParams creates a new SearchTagsUsingGETParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSearchTagsUsingGETParamsWithContext ¶
func NewSearchTagsUsingGETParamsWithContext(ctx context.Context) *SearchTagsUsingGETParams
NewSearchTagsUsingGETParamsWithContext creates a new SearchTagsUsingGETParams object with the ability to set a context for a request.
func NewSearchTagsUsingGETParamsWithHTTPClient ¶
func NewSearchTagsUsingGETParamsWithHTTPClient(client *http.Client) *SearchTagsUsingGETParams
NewSearchTagsUsingGETParamsWithHTTPClient creates a new SearchTagsUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewSearchTagsUsingGETParamsWithTimeout ¶
func NewSearchTagsUsingGETParamsWithTimeout(timeout time.Duration) *SearchTagsUsingGETParams
NewSearchTagsUsingGETParamsWithTimeout creates a new SearchTagsUsingGETParams object with the ability to set a timeout on a request.
func (*SearchTagsUsingGETParams) SetContext ¶
func (o *SearchTagsUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the search tags using get params
func (*SearchTagsUsingGETParams) SetDefaults ¶
func (o *SearchTagsUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the search tags using get params (not the query body).
All values with no default are reset to their zero value.
func (*SearchTagsUsingGETParams) SetHTTPClient ¶
func (o *SearchTagsUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search tags using get params
func (*SearchTagsUsingGETParams) SetOffset ¶
func (o *SearchTagsUsingGETParams) SetOffset(offset *int64)
SetOffset adds the offset to the search tags using get params
func (*SearchTagsUsingGETParams) SetPageNumber ¶
func (o *SearchTagsUsingGETParams) SetPageNumber(pageNumber *int32)
SetPageNumber adds the pageNumber to the search tags using get params
func (*SearchTagsUsingGETParams) SetPageSize ¶
func (o *SearchTagsUsingGETParams) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the search tags using get params
func (*SearchTagsUsingGETParams) SetPaged ¶
func (o *SearchTagsUsingGETParams) SetPaged(paged *bool)
SetPaged adds the paged to the search tags using get params
func (*SearchTagsUsingGETParams) SetSortSorted ¶
func (o *SearchTagsUsingGETParams) SetSortSorted(sortSorted *bool)
SetSortSorted adds the sortSorted to the search tags using get params
func (*SearchTagsUsingGETParams) SetSortUnsorted ¶
func (o *SearchTagsUsingGETParams) SetSortUnsorted(sortUnsorted *bool)
SetSortUnsorted adds the sortUnsorted to the search tags using get params
func (*SearchTagsUsingGETParams) SetTimeout ¶
func (o *SearchTagsUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search tags using get params
func (*SearchTagsUsingGETParams) SetUnpaged ¶
func (o *SearchTagsUsingGETParams) SetUnpaged(unpaged *bool)
SetUnpaged adds the unpaged to the search tags using get params
func (*SearchTagsUsingGETParams) WithContext ¶
func (o *SearchTagsUsingGETParams) WithContext(ctx context.Context) *SearchTagsUsingGETParams
WithContext adds the context to the search tags using get params
func (*SearchTagsUsingGETParams) WithDefaults ¶
func (o *SearchTagsUsingGETParams) WithDefaults() *SearchTagsUsingGETParams
WithDefaults hydrates default values in the search tags using get params (not the query body).
All values with no default are reset to their zero value.
func (*SearchTagsUsingGETParams) WithHTTPClient ¶
func (o *SearchTagsUsingGETParams) WithHTTPClient(client *http.Client) *SearchTagsUsingGETParams
WithHTTPClient adds the HTTPClient to the search tags using get params
func (*SearchTagsUsingGETParams) WithOffset ¶
func (o *SearchTagsUsingGETParams) WithOffset(offset *int64) *SearchTagsUsingGETParams
WithOffset adds the offset to the search tags using get params
func (*SearchTagsUsingGETParams) WithPageNumber ¶
func (o *SearchTagsUsingGETParams) WithPageNumber(pageNumber *int32) *SearchTagsUsingGETParams
WithPageNumber adds the pageNumber to the search tags using get params
func (*SearchTagsUsingGETParams) WithPageSize ¶
func (o *SearchTagsUsingGETParams) WithPageSize(pageSize *int32) *SearchTagsUsingGETParams
WithPageSize adds the pageSize to the search tags using get params
func (*SearchTagsUsingGETParams) WithPaged ¶
func (o *SearchTagsUsingGETParams) WithPaged(paged *bool) *SearchTagsUsingGETParams
WithPaged adds the paged to the search tags using get params
func (*SearchTagsUsingGETParams) WithSortSorted ¶
func (o *SearchTagsUsingGETParams) WithSortSorted(sortSorted *bool) *SearchTagsUsingGETParams
WithSortSorted adds the sortSorted to the search tags using get params
func (*SearchTagsUsingGETParams) WithSortUnsorted ¶
func (o *SearchTagsUsingGETParams) WithSortUnsorted(sortUnsorted *bool) *SearchTagsUsingGETParams
WithSortUnsorted adds the sortUnsorted to the search tags using get params
func (*SearchTagsUsingGETParams) WithTimeout ¶
func (o *SearchTagsUsingGETParams) WithTimeout(timeout time.Duration) *SearchTagsUsingGETParams
WithTimeout adds the timeout to the search tags using get params
func (*SearchTagsUsingGETParams) WithUnpaged ¶
func (o *SearchTagsUsingGETParams) WithUnpaged(unpaged *bool) *SearchTagsUsingGETParams
WithUnpaged adds the unpaged to the search tags using get params
func (*SearchTagsUsingGETParams) WriteToRequest ¶
func (o *SearchTagsUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchTagsUsingGETReader ¶
type SearchTagsUsingGETReader struct {
// contains filtered or unexported fields
}
SearchTagsUsingGETReader is a Reader for the SearchTagsUsingGET structure.
func (*SearchTagsUsingGETReader) ReadResponse ¶
func (o *SearchTagsUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.