Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type CountOfEntitiesInProjectUsingGETForbidden
- func (o *CountOfEntitiesInProjectUsingGETForbidden) Error() string
- func (o *CountOfEntitiesInProjectUsingGETForbidden) IsClientError() bool
- func (o *CountOfEntitiesInProjectUsingGETForbidden) IsCode(code int) bool
- func (o *CountOfEntitiesInProjectUsingGETForbidden) IsRedirect() bool
- func (o *CountOfEntitiesInProjectUsingGETForbidden) IsServerError() bool
- func (o *CountOfEntitiesInProjectUsingGETForbidden) IsSuccess() bool
- func (o *CountOfEntitiesInProjectUsingGETForbidden) String() string
- type CountOfEntitiesInProjectUsingGETOK
- func (o *CountOfEntitiesInProjectUsingGETOK) Error() string
- func (o *CountOfEntitiesInProjectUsingGETOK) GetPayload() map[string]string
- func (o *CountOfEntitiesInProjectUsingGETOK) IsClientError() bool
- func (o *CountOfEntitiesInProjectUsingGETOK) IsCode(code int) bool
- func (o *CountOfEntitiesInProjectUsingGETOK) IsRedirect() bool
- func (o *CountOfEntitiesInProjectUsingGETOK) IsServerError() bool
- func (o *CountOfEntitiesInProjectUsingGETOK) IsSuccess() bool
- func (o *CountOfEntitiesInProjectUsingGETOK) String() string
- type CountOfEntitiesInProjectUsingGETParams
- func NewCountOfEntitiesInProjectUsingGETParams() *CountOfEntitiesInProjectUsingGETParams
- func NewCountOfEntitiesInProjectUsingGETParamsWithContext(ctx context.Context) *CountOfEntitiesInProjectUsingGETParams
- func NewCountOfEntitiesInProjectUsingGETParamsWithHTTPClient(client *http.Client) *CountOfEntitiesInProjectUsingGETParams
- func NewCountOfEntitiesInProjectUsingGETParamsWithTimeout(timeout time.Duration) *CountOfEntitiesInProjectUsingGETParams
- func (o *CountOfEntitiesInProjectUsingGETParams) SetContext(ctx context.Context)
- func (o *CountOfEntitiesInProjectUsingGETParams) SetDefaults()
- func (o *CountOfEntitiesInProjectUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *CountOfEntitiesInProjectUsingGETParams) SetProjectID(projectID string)
- func (o *CountOfEntitiesInProjectUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *CountOfEntitiesInProjectUsingGETParams) WithContext(ctx context.Context) *CountOfEntitiesInProjectUsingGETParams
- func (o *CountOfEntitiesInProjectUsingGETParams) WithDefaults() *CountOfEntitiesInProjectUsingGETParams
- func (o *CountOfEntitiesInProjectUsingGETParams) WithHTTPClient(client *http.Client) *CountOfEntitiesInProjectUsingGETParams
- func (o *CountOfEntitiesInProjectUsingGETParams) WithProjectID(projectID string) *CountOfEntitiesInProjectUsingGETParams
- func (o *CountOfEntitiesInProjectUsingGETParams) WithTimeout(timeout time.Duration) *CountOfEntitiesInProjectUsingGETParams
- func (o *CountOfEntitiesInProjectUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CountOfEntitiesInProjectUsingGETReader
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 projects API
func (*Client) CountOfEntitiesInProjectUsingGET ¶
func (a *Client) CountOfEntitiesInProjectUsingGET(params *CountOfEntitiesInProjectUsingGETParams, opts ...ClientOption) (*CountOfEntitiesInProjectUsingGETOK, error)
CountOfEntitiesInProjectUsingGET retrieves the count of entities per project
Get all entities for a project by providing a project id
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 { CountOfEntitiesInProjectUsingGET(params *CountOfEntitiesInProjectUsingGETParams, opts ...ClientOption) (*CountOfEntitiesInProjectUsingGETOK, 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 projects API client.
type CountOfEntitiesInProjectUsingGETForbidden ¶ added in v0.5.0
type CountOfEntitiesInProjectUsingGETForbidden struct { }
CountOfEntitiesInProjectUsingGETForbidden describes a response with status code 403, with default header values.
Forbidden, the user lacks permissions
func NewCountOfEntitiesInProjectUsingGETForbidden ¶ added in v0.5.0
func NewCountOfEntitiesInProjectUsingGETForbidden() *CountOfEntitiesInProjectUsingGETForbidden
NewCountOfEntitiesInProjectUsingGETForbidden creates a CountOfEntitiesInProjectUsingGETForbidden with default headers values
func (*CountOfEntitiesInProjectUsingGETForbidden) Error ¶ added in v0.5.0
func (o *CountOfEntitiesInProjectUsingGETForbidden) Error() string
func (*CountOfEntitiesInProjectUsingGETForbidden) IsClientError ¶ added in v0.5.0
func (o *CountOfEntitiesInProjectUsingGETForbidden) IsClientError() bool
IsClientError returns true when this count of entities in project using g e t forbidden response has a 4xx status code
func (*CountOfEntitiesInProjectUsingGETForbidden) IsCode ¶ added in v0.5.0
func (o *CountOfEntitiesInProjectUsingGETForbidden) IsCode(code int) bool
IsCode returns true when this count of entities in project using g e t forbidden response a status code equal to that given
func (*CountOfEntitiesInProjectUsingGETForbidden) IsRedirect ¶ added in v0.5.0
func (o *CountOfEntitiesInProjectUsingGETForbidden) IsRedirect() bool
IsRedirect returns true when this count of entities in project using g e t forbidden response has a 3xx status code
func (*CountOfEntitiesInProjectUsingGETForbidden) IsServerError ¶ added in v0.5.0
func (o *CountOfEntitiesInProjectUsingGETForbidden) IsServerError() bool
IsServerError returns true when this count of entities in project using g e t forbidden response has a 5xx status code
func (*CountOfEntitiesInProjectUsingGETForbidden) IsSuccess ¶ added in v0.5.0
func (o *CountOfEntitiesInProjectUsingGETForbidden) IsSuccess() bool
IsSuccess returns true when this count of entities in project using g e t forbidden response has a 2xx status code
func (*CountOfEntitiesInProjectUsingGETForbidden) String ¶ added in v0.5.0
func (o *CountOfEntitiesInProjectUsingGETForbidden) String() string
type CountOfEntitiesInProjectUsingGETOK ¶
CountOfEntitiesInProjectUsingGETOK describes a response with status code 200, with default header values.
OK
func NewCountOfEntitiesInProjectUsingGETOK ¶
func NewCountOfEntitiesInProjectUsingGETOK() *CountOfEntitiesInProjectUsingGETOK
NewCountOfEntitiesInProjectUsingGETOK creates a CountOfEntitiesInProjectUsingGETOK with default headers values
func (*CountOfEntitiesInProjectUsingGETOK) Error ¶
func (o *CountOfEntitiesInProjectUsingGETOK) Error() string
func (*CountOfEntitiesInProjectUsingGETOK) GetPayload ¶
func (o *CountOfEntitiesInProjectUsingGETOK) GetPayload() map[string]string
func (*CountOfEntitiesInProjectUsingGETOK) IsClientError ¶ added in v0.5.0
func (o *CountOfEntitiesInProjectUsingGETOK) IsClientError() bool
IsClientError returns true when this count of entities in project using g e t o k response has a 4xx status code
func (*CountOfEntitiesInProjectUsingGETOK) IsCode ¶ added in v0.5.0
func (o *CountOfEntitiesInProjectUsingGETOK) IsCode(code int) bool
IsCode returns true when this count of entities in project using g e t o k response a status code equal to that given
func (*CountOfEntitiesInProjectUsingGETOK) IsRedirect ¶ added in v0.5.0
func (o *CountOfEntitiesInProjectUsingGETOK) IsRedirect() bool
IsRedirect returns true when this count of entities in project using g e t o k response has a 3xx status code
func (*CountOfEntitiesInProjectUsingGETOK) IsServerError ¶ added in v0.5.0
func (o *CountOfEntitiesInProjectUsingGETOK) IsServerError() bool
IsServerError returns true when this count of entities in project using g e t o k response has a 5xx status code
func (*CountOfEntitiesInProjectUsingGETOK) IsSuccess ¶ added in v0.5.0
func (o *CountOfEntitiesInProjectUsingGETOK) IsSuccess() bool
IsSuccess returns true when this count of entities in project using g e t o k response has a 2xx status code
func (*CountOfEntitiesInProjectUsingGETOK) String ¶ added in v0.5.0
func (o *CountOfEntitiesInProjectUsingGETOK) String() string
type CountOfEntitiesInProjectUsingGETParams ¶
type CountOfEntitiesInProjectUsingGETParams struct { /* ProjectID. projectId */ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CountOfEntitiesInProjectUsingGETParams contains all the parameters to send to the API endpoint
for the count of entities in project using g e t operation. Typically these are written to a http.Request.
func NewCountOfEntitiesInProjectUsingGETParams ¶
func NewCountOfEntitiesInProjectUsingGETParams() *CountOfEntitiesInProjectUsingGETParams
NewCountOfEntitiesInProjectUsingGETParams creates a new CountOfEntitiesInProjectUsingGETParams 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 NewCountOfEntitiesInProjectUsingGETParamsWithContext ¶
func NewCountOfEntitiesInProjectUsingGETParamsWithContext(ctx context.Context) *CountOfEntitiesInProjectUsingGETParams
NewCountOfEntitiesInProjectUsingGETParamsWithContext creates a new CountOfEntitiesInProjectUsingGETParams object with the ability to set a context for a request.
func NewCountOfEntitiesInProjectUsingGETParamsWithHTTPClient ¶
func NewCountOfEntitiesInProjectUsingGETParamsWithHTTPClient(client *http.Client) *CountOfEntitiesInProjectUsingGETParams
NewCountOfEntitiesInProjectUsingGETParamsWithHTTPClient creates a new CountOfEntitiesInProjectUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewCountOfEntitiesInProjectUsingGETParamsWithTimeout ¶
func NewCountOfEntitiesInProjectUsingGETParamsWithTimeout(timeout time.Duration) *CountOfEntitiesInProjectUsingGETParams
NewCountOfEntitiesInProjectUsingGETParamsWithTimeout creates a new CountOfEntitiesInProjectUsingGETParams object with the ability to set a timeout on a request.
func (*CountOfEntitiesInProjectUsingGETParams) SetContext ¶
func (o *CountOfEntitiesInProjectUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the count of entities in project using get params
func (*CountOfEntitiesInProjectUsingGETParams) SetDefaults ¶
func (o *CountOfEntitiesInProjectUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the count of entities in project using get params (not the query body).
All values with no default are reset to their zero value.
func (*CountOfEntitiesInProjectUsingGETParams) SetHTTPClient ¶
func (o *CountOfEntitiesInProjectUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the count of entities in project using get params
func (*CountOfEntitiesInProjectUsingGETParams) SetProjectID ¶
func (o *CountOfEntitiesInProjectUsingGETParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the count of entities in project using get params
func (*CountOfEntitiesInProjectUsingGETParams) SetTimeout ¶
func (o *CountOfEntitiesInProjectUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the count of entities in project using get params
func (*CountOfEntitiesInProjectUsingGETParams) WithContext ¶
func (o *CountOfEntitiesInProjectUsingGETParams) WithContext(ctx context.Context) *CountOfEntitiesInProjectUsingGETParams
WithContext adds the context to the count of entities in project using get params
func (*CountOfEntitiesInProjectUsingGETParams) WithDefaults ¶
func (o *CountOfEntitiesInProjectUsingGETParams) WithDefaults() *CountOfEntitiesInProjectUsingGETParams
WithDefaults hydrates default values in the count of entities in project using get params (not the query body).
All values with no default are reset to their zero value.
func (*CountOfEntitiesInProjectUsingGETParams) WithHTTPClient ¶
func (o *CountOfEntitiesInProjectUsingGETParams) WithHTTPClient(client *http.Client) *CountOfEntitiesInProjectUsingGETParams
WithHTTPClient adds the HTTPClient to the count of entities in project using get params
func (*CountOfEntitiesInProjectUsingGETParams) WithProjectID ¶
func (o *CountOfEntitiesInProjectUsingGETParams) WithProjectID(projectID string) *CountOfEntitiesInProjectUsingGETParams
WithProjectID adds the projectID to the count of entities in project using get params
func (*CountOfEntitiesInProjectUsingGETParams) WithTimeout ¶
func (o *CountOfEntitiesInProjectUsingGETParams) WithTimeout(timeout time.Duration) *CountOfEntitiesInProjectUsingGETParams
WithTimeout adds the timeout to the count of entities in project using get params
func (*CountOfEntitiesInProjectUsingGETParams) WriteToRequest ¶
func (o *CountOfEntitiesInProjectUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CountOfEntitiesInProjectUsingGETReader ¶
type CountOfEntitiesInProjectUsingGETReader struct {
// contains filtered or unexported fields
}
CountOfEntitiesInProjectUsingGETReader is a Reader for the CountOfEntitiesInProjectUsingGET structure.
func (*CountOfEntitiesInProjectUsingGETReader) ReadResponse ¶
func (o *CountOfEntitiesInProjectUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.