Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetTagsBadRequest
- type GetTagsForbidden
- type GetTagsGone
- type GetTagsInternalServerError
- type GetTagsMethodNotAllowed
- type GetTagsNotFound
- type GetTagsOK
- type GetTagsOKBody
- type GetTagsParams
- func (o *GetTagsParams) SetContext(ctx context.Context)
- func (o *GetTagsParams) SetHTTPClient(client *http.Client)
- func (o *GetTagsParams) SetTimeout(timeout time.Duration)
- func (o *GetTagsParams) WithContext(ctx context.Context) *GetTagsParams
- func (o *GetTagsParams) WithHTTPClient(client *http.Client) *GetTagsParams
- func (o *GetTagsParams) WithTimeout(timeout time.Duration) *GetTagsParams
- func (o *GetTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTagsReader
- type GetTagsServiceUnavailable
- type GetTagsUnauthorized
- type TagsItems0
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 get all tags API
func (*Client) GetTags ¶
func (a *Client) GetTags(params *GetTagsParams, authInfo runtime.ClientAuthInfoWriter) (*GetTagsOK, error)
GetTags this will return a full list of tags available in your device42 instance
Get all Tags
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetTags(params *GetTagsParams, authInfo runtime.ClientAuthInfoWriter) (*GetTagsOK, 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 get all tags API client.
type GetTagsBadRequest ¶
type GetTagsBadRequest struct { }
GetTagsBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewGetTagsBadRequest ¶
func NewGetTagsBadRequest() *GetTagsBadRequest
NewGetTagsBadRequest creates a GetTagsBadRequest with default headers values
func (*GetTagsBadRequest) Error ¶
func (o *GetTagsBadRequest) Error() string
type GetTagsForbidden ¶
type GetTagsForbidden struct { }
GetTagsForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewGetTagsForbidden ¶
func NewGetTagsForbidden() *GetTagsForbidden
NewGetTagsForbidden creates a GetTagsForbidden with default headers values
func (*GetTagsForbidden) Error ¶
func (o *GetTagsForbidden) Error() string
type GetTagsGone ¶
type GetTagsGone struct { }
GetTagsGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewGetTagsGone ¶
func NewGetTagsGone() *GetTagsGone
NewGetTagsGone creates a GetTagsGone with default headers values
func (*GetTagsGone) Error ¶
func (o *GetTagsGone) Error() string
type GetTagsInternalServerError ¶
type GetTagsInternalServerError struct { }
GetTagsInternalServerError handles this case with default header values.
Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)
func NewGetTagsInternalServerError ¶
func NewGetTagsInternalServerError() *GetTagsInternalServerError
NewGetTagsInternalServerError creates a GetTagsInternalServerError with default headers values
func (*GetTagsInternalServerError) Error ¶
func (o *GetTagsInternalServerError) Error() string
type GetTagsMethodNotAllowed ¶
type GetTagsMethodNotAllowed struct { }
GetTagsMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewGetTagsMethodNotAllowed ¶
func NewGetTagsMethodNotAllowed() *GetTagsMethodNotAllowed
NewGetTagsMethodNotAllowed creates a GetTagsMethodNotAllowed with default headers values
func (*GetTagsMethodNotAllowed) Error ¶
func (o *GetTagsMethodNotAllowed) Error() string
type GetTagsNotFound ¶
type GetTagsNotFound struct { }
GetTagsNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewGetTagsNotFound ¶
func NewGetTagsNotFound() *GetTagsNotFound
NewGetTagsNotFound creates a GetTagsNotFound with default headers values
func (*GetTagsNotFound) Error ¶
func (o *GetTagsNotFound) Error() string
type GetTagsOK ¶
type GetTagsOK struct {
Payload *GetTagsOKBody
}
GetTagsOK handles this case with default header values.
The above command returns results like this:
func NewGetTagsOK ¶
func NewGetTagsOK() *GetTagsOK
NewGetTagsOK creates a GetTagsOK with default headers values
func (*GetTagsOK) GetPayload ¶
func (o *GetTagsOK) GetPayload() *GetTagsOKBody
type GetTagsOKBody ¶
type GetTagsOKBody struct { // limit Limit interface{} `json:"limit,omitempty"` // offset Offset interface{} `json:"offset,omitempty"` // tags Tags []*TagsItems0 `json:"tags"` // total count TotalCount interface{} `json:"total_count,omitempty"` }
GetTagsOKBody get tags o k body swagger:model GetTagsOKBody
func (*GetTagsOKBody) MarshalBinary ¶
func (o *GetTagsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTagsOKBody) UnmarshalBinary ¶
func (o *GetTagsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTagsParams ¶
type GetTagsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTagsParams contains all the parameters to send to the API endpoint for the get tags operation typically these are written to a http.Request
func NewGetTagsParams ¶
func NewGetTagsParams() *GetTagsParams
NewGetTagsParams creates a new GetTagsParams object with the default values initialized.
func NewGetTagsParamsWithContext ¶
func NewGetTagsParamsWithContext(ctx context.Context) *GetTagsParams
NewGetTagsParamsWithContext creates a new GetTagsParams object with the default values initialized, and the ability to set a context for a request
func NewGetTagsParamsWithHTTPClient ¶
func NewGetTagsParamsWithHTTPClient(client *http.Client) *GetTagsParams
NewGetTagsParamsWithHTTPClient creates a new GetTagsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTagsParamsWithTimeout ¶
func NewGetTagsParamsWithTimeout(timeout time.Duration) *GetTagsParams
NewGetTagsParamsWithTimeout creates a new GetTagsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTagsParams) SetContext ¶
func (o *GetTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the get tags params
func (*GetTagsParams) SetHTTPClient ¶
func (o *GetTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tags params
func (*GetTagsParams) SetTimeout ¶
func (o *GetTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tags params
func (*GetTagsParams) WithContext ¶
func (o *GetTagsParams) WithContext(ctx context.Context) *GetTagsParams
WithContext adds the context to the get tags params
func (*GetTagsParams) WithHTTPClient ¶
func (o *GetTagsParams) WithHTTPClient(client *http.Client) *GetTagsParams
WithHTTPClient adds the HTTPClient to the get tags params
func (*GetTagsParams) WithTimeout ¶
func (o *GetTagsParams) WithTimeout(timeout time.Duration) *GetTagsParams
WithTimeout adds the timeout to the get tags params
func (*GetTagsParams) WriteToRequest ¶
func (o *GetTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTagsReader ¶
type GetTagsReader struct {
// contains filtered or unexported fields
}
GetTagsReader is a Reader for the GetTags structure.
func (*GetTagsReader) ReadResponse ¶
func (o *GetTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTagsServiceUnavailable ¶
type GetTagsServiceUnavailable struct { }
GetTagsServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewGetTagsServiceUnavailable ¶
func NewGetTagsServiceUnavailable() *GetTagsServiceUnavailable
NewGetTagsServiceUnavailable creates a GetTagsServiceUnavailable with default headers values
func (*GetTagsServiceUnavailable) Error ¶
func (o *GetTagsServiceUnavailable) Error() string
type GetTagsUnauthorized ¶
type GetTagsUnauthorized struct { }
GetTagsUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewGetTagsUnauthorized ¶
func NewGetTagsUnauthorized() *GetTagsUnauthorized
NewGetTagsUnauthorized creates a GetTagsUnauthorized with default headers values
func (*GetTagsUnauthorized) Error ¶
func (o *GetTagsUnauthorized) Error() string
type TagsItems0 ¶
type TagsItems0 struct {
// name
Name interface{} `json:"name,omitempty"`
}
TagsItems0 tags items0 swagger:model TagsItems0
func (*TagsItems0) MarshalBinary ¶
func (o *TagsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TagsItems0) UnmarshalBinary ¶
func (o *TagsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation