Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateEntitlementUsingPOST(params *CreateEntitlementUsingPOSTParams) (*CreateEntitlementUsingPOSTOK, *CreateEntitlementUsingPOSTCreated, error)
- func (a *Client) DeleteEntitlementUsingDELETE(params *DeleteEntitlementUsingDELETEParams) (*DeleteEntitlementUsingDELETENoContent, error)
- func (a *Client) GetEntitlementsUsingGET(params *GetEntitlementsUsingGETParams) (*GetEntitlementsUsingGETOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateEntitlementUsingPOSTBadRequest
- type CreateEntitlementUsingPOSTCreated
- type CreateEntitlementUsingPOSTNotFound
- type CreateEntitlementUsingPOSTOK
- type CreateEntitlementUsingPOSTParams
- func NewCreateEntitlementUsingPOSTParams() *CreateEntitlementUsingPOSTParams
- func NewCreateEntitlementUsingPOSTParamsWithContext(ctx context.Context) *CreateEntitlementUsingPOSTParams
- func NewCreateEntitlementUsingPOSTParamsWithHTTPClient(client *http.Client) *CreateEntitlementUsingPOSTParams
- func NewCreateEntitlementUsingPOSTParamsWithTimeout(timeout time.Duration) *CreateEntitlementUsingPOSTParams
- func (o *CreateEntitlementUsingPOSTParams) SetContext(ctx context.Context)
- func (o *CreateEntitlementUsingPOSTParams) SetEntitlement(entitlement *models.Entitlement)
- func (o *CreateEntitlementUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *CreateEntitlementUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *CreateEntitlementUsingPOSTParams) WithContext(ctx context.Context) *CreateEntitlementUsingPOSTParams
- func (o *CreateEntitlementUsingPOSTParams) WithEntitlement(entitlement *models.Entitlement) *CreateEntitlementUsingPOSTParams
- func (o *CreateEntitlementUsingPOSTParams) WithHTTPClient(client *http.Client) *CreateEntitlementUsingPOSTParams
- func (o *CreateEntitlementUsingPOSTParams) WithTimeout(timeout time.Duration) *CreateEntitlementUsingPOSTParams
- func (o *CreateEntitlementUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateEntitlementUsingPOSTReader
- type CreateEntitlementUsingPOSTUnauthorized
- type DeleteEntitlementUsingDELETENoContent
- type DeleteEntitlementUsingDELETEParams
- func NewDeleteEntitlementUsingDELETEParams() *DeleteEntitlementUsingDELETEParams
- func NewDeleteEntitlementUsingDELETEParamsWithContext(ctx context.Context) *DeleteEntitlementUsingDELETEParams
- func NewDeleteEntitlementUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteEntitlementUsingDELETEParams
- func NewDeleteEntitlementUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteEntitlementUsingDELETEParams
- func (o *DeleteEntitlementUsingDELETEParams) SetContext(ctx context.Context)
- func (o *DeleteEntitlementUsingDELETEParams) SetHTTPClient(client *http.Client)
- func (o *DeleteEntitlementUsingDELETEParams) SetID(id strfmt.UUID)
- func (o *DeleteEntitlementUsingDELETEParams) SetTimeout(timeout time.Duration)
- func (o *DeleteEntitlementUsingDELETEParams) WithContext(ctx context.Context) *DeleteEntitlementUsingDELETEParams
- func (o *DeleteEntitlementUsingDELETEParams) WithHTTPClient(client *http.Client) *DeleteEntitlementUsingDELETEParams
- func (o *DeleteEntitlementUsingDELETEParams) WithID(id strfmt.UUID) *DeleteEntitlementUsingDELETEParams
- func (o *DeleteEntitlementUsingDELETEParams) WithTimeout(timeout time.Duration) *DeleteEntitlementUsingDELETEParams
- func (o *DeleteEntitlementUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteEntitlementUsingDELETEReader
- type DeleteEntitlementUsingDELETEUnauthorized
- type GetEntitlementsUsingGETOK
- type GetEntitlementsUsingGETParams
- func NewGetEntitlementsUsingGETParams() *GetEntitlementsUsingGETParams
- func NewGetEntitlementsUsingGETParamsWithContext(ctx context.Context) *GetEntitlementsUsingGETParams
- func NewGetEntitlementsUsingGETParamsWithHTTPClient(client *http.Client) *GetEntitlementsUsingGETParams
- func NewGetEntitlementsUsingGETParamsWithTimeout(timeout time.Duration) *GetEntitlementsUsingGETParams
- func (o *GetEntitlementsUsingGETParams) SetContext(ctx context.Context)
- func (o *GetEntitlementsUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetEntitlementsUsingGETParams) SetProjectID(projectID *string)
- func (o *GetEntitlementsUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetEntitlementsUsingGETParams) WithContext(ctx context.Context) *GetEntitlementsUsingGETParams
- func (o *GetEntitlementsUsingGETParams) WithHTTPClient(client *http.Client) *GetEntitlementsUsingGETParams
- func (o *GetEntitlementsUsingGETParams) WithProjectID(projectID *string) *GetEntitlementsUsingGETParams
- func (o *GetEntitlementsUsingGETParams) WithTimeout(timeout time.Duration) *GetEntitlementsUsingGETParams
- func (o *GetEntitlementsUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEntitlementsUsingGETReader
- type GetEntitlementsUsingGETUnauthorized
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 catalog entitlements API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new catalog entitlements API client.
func (*Client) CreateEntitlementUsingPOST ¶
func (a *Client) CreateEntitlementUsingPOST(params *CreateEntitlementUsingPOSTParams) (*CreateEntitlementUsingPOSTOK, *CreateEntitlementUsingPOSTCreated, error)
CreateEntitlementUsingPOST creates an entitlement
Creates an entitlement for a given project.
func (*Client) DeleteEntitlementUsingDELETE ¶
func (a *Client) DeleteEntitlementUsingDELETE(params *DeleteEntitlementUsingDELETEParams) (*DeleteEntitlementUsingDELETENoContent, error)
DeleteEntitlementUsingDELETE deletes an entitlement
Deletes the entitlement with the specified id.
func (*Client) GetEntitlementsUsingGET ¶
func (a *Client) GetEntitlementsUsingGET(params *GetEntitlementsUsingGETParams) (*GetEntitlementsUsingGETOK, error)
GetEntitlementsUsingGET returns all entitlements filtered by project Id
Returns all entitlements (filtered by projectId).
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateEntitlementUsingPOSTBadRequest ¶
type CreateEntitlementUsingPOSTBadRequest struct { }
CreateEntitlementUsingPOSTBadRequest handles this case with default header values.
Catalog item or source cannot be entitled to the project
func NewCreateEntitlementUsingPOSTBadRequest ¶
func NewCreateEntitlementUsingPOSTBadRequest() *CreateEntitlementUsingPOSTBadRequest
NewCreateEntitlementUsingPOSTBadRequest creates a CreateEntitlementUsingPOSTBadRequest with default headers values
func (*CreateEntitlementUsingPOSTBadRequest) Error ¶
func (o *CreateEntitlementUsingPOSTBadRequest) Error() string
type CreateEntitlementUsingPOSTCreated ¶
type CreateEntitlementUsingPOSTCreated struct {
Payload *models.Entitlement
}
CreateEntitlementUsingPOSTCreated handles this case with default header values.
Created
func NewCreateEntitlementUsingPOSTCreated ¶
func NewCreateEntitlementUsingPOSTCreated() *CreateEntitlementUsingPOSTCreated
NewCreateEntitlementUsingPOSTCreated creates a CreateEntitlementUsingPOSTCreated with default headers values
func (*CreateEntitlementUsingPOSTCreated) Error ¶
func (o *CreateEntitlementUsingPOSTCreated) Error() string
func (*CreateEntitlementUsingPOSTCreated) GetPayload ¶
func (o *CreateEntitlementUsingPOSTCreated) GetPayload() *models.Entitlement
type CreateEntitlementUsingPOSTNotFound ¶
type CreateEntitlementUsingPOSTNotFound struct { }
CreateEntitlementUsingPOSTNotFound handles this case with default header values.
Catalog item or catalog source not found
func NewCreateEntitlementUsingPOSTNotFound ¶
func NewCreateEntitlementUsingPOSTNotFound() *CreateEntitlementUsingPOSTNotFound
NewCreateEntitlementUsingPOSTNotFound creates a CreateEntitlementUsingPOSTNotFound with default headers values
func (*CreateEntitlementUsingPOSTNotFound) Error ¶
func (o *CreateEntitlementUsingPOSTNotFound) Error() string
type CreateEntitlementUsingPOSTOK ¶
type CreateEntitlementUsingPOSTOK struct {
Payload *models.Entitlement
}
CreateEntitlementUsingPOSTOK handles this case with default header values.
OK
func NewCreateEntitlementUsingPOSTOK ¶
func NewCreateEntitlementUsingPOSTOK() *CreateEntitlementUsingPOSTOK
NewCreateEntitlementUsingPOSTOK creates a CreateEntitlementUsingPOSTOK with default headers values
func (*CreateEntitlementUsingPOSTOK) Error ¶
func (o *CreateEntitlementUsingPOSTOK) Error() string
func (*CreateEntitlementUsingPOSTOK) GetPayload ¶
func (o *CreateEntitlementUsingPOSTOK) GetPayload() *models.Entitlement
type CreateEntitlementUsingPOSTParams ¶
type CreateEntitlementUsingPOSTParams struct { /*Entitlement The entitlement to be created */ Entitlement *models.Entitlement Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateEntitlementUsingPOSTParams contains all the parameters to send to the API endpoint for the create entitlement using p o s t operation typically these are written to a http.Request
func NewCreateEntitlementUsingPOSTParams ¶
func NewCreateEntitlementUsingPOSTParams() *CreateEntitlementUsingPOSTParams
NewCreateEntitlementUsingPOSTParams creates a new CreateEntitlementUsingPOSTParams object with the default values initialized.
func NewCreateEntitlementUsingPOSTParamsWithContext ¶
func NewCreateEntitlementUsingPOSTParamsWithContext(ctx context.Context) *CreateEntitlementUsingPOSTParams
NewCreateEntitlementUsingPOSTParamsWithContext creates a new CreateEntitlementUsingPOSTParams object with the default values initialized, and the ability to set a context for a request
func NewCreateEntitlementUsingPOSTParamsWithHTTPClient ¶
func NewCreateEntitlementUsingPOSTParamsWithHTTPClient(client *http.Client) *CreateEntitlementUsingPOSTParams
NewCreateEntitlementUsingPOSTParamsWithHTTPClient creates a new CreateEntitlementUsingPOSTParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateEntitlementUsingPOSTParamsWithTimeout ¶
func NewCreateEntitlementUsingPOSTParamsWithTimeout(timeout time.Duration) *CreateEntitlementUsingPOSTParams
NewCreateEntitlementUsingPOSTParamsWithTimeout creates a new CreateEntitlementUsingPOSTParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateEntitlementUsingPOSTParams) SetContext ¶
func (o *CreateEntitlementUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the create entitlement using p o s t params
func (*CreateEntitlementUsingPOSTParams) SetEntitlement ¶
func (o *CreateEntitlementUsingPOSTParams) SetEntitlement(entitlement *models.Entitlement)
SetEntitlement adds the entitlement to the create entitlement using p o s t params
func (*CreateEntitlementUsingPOSTParams) SetHTTPClient ¶
func (o *CreateEntitlementUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create entitlement using p o s t params
func (*CreateEntitlementUsingPOSTParams) SetTimeout ¶
func (o *CreateEntitlementUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create entitlement using p o s t params
func (*CreateEntitlementUsingPOSTParams) WithContext ¶
func (o *CreateEntitlementUsingPOSTParams) WithContext(ctx context.Context) *CreateEntitlementUsingPOSTParams
WithContext adds the context to the create entitlement using p o s t params
func (*CreateEntitlementUsingPOSTParams) WithEntitlement ¶
func (o *CreateEntitlementUsingPOSTParams) WithEntitlement(entitlement *models.Entitlement) *CreateEntitlementUsingPOSTParams
WithEntitlement adds the entitlement to the create entitlement using p o s t params
func (*CreateEntitlementUsingPOSTParams) WithHTTPClient ¶
func (o *CreateEntitlementUsingPOSTParams) WithHTTPClient(client *http.Client) *CreateEntitlementUsingPOSTParams
WithHTTPClient adds the HTTPClient to the create entitlement using p o s t params
func (*CreateEntitlementUsingPOSTParams) WithTimeout ¶
func (o *CreateEntitlementUsingPOSTParams) WithTimeout(timeout time.Duration) *CreateEntitlementUsingPOSTParams
WithTimeout adds the timeout to the create entitlement using p o s t params
func (*CreateEntitlementUsingPOSTParams) WriteToRequest ¶
func (o *CreateEntitlementUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateEntitlementUsingPOSTReader ¶
type CreateEntitlementUsingPOSTReader struct {
// contains filtered or unexported fields
}
CreateEntitlementUsingPOSTReader is a Reader for the CreateEntitlementUsingPOST structure.
func (*CreateEntitlementUsingPOSTReader) ReadResponse ¶
func (o *CreateEntitlementUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateEntitlementUsingPOSTUnauthorized ¶
type CreateEntitlementUsingPOSTUnauthorized struct { }
CreateEntitlementUsingPOSTUnauthorized handles this case with default header values.
Unauthorized
func NewCreateEntitlementUsingPOSTUnauthorized ¶
func NewCreateEntitlementUsingPOSTUnauthorized() *CreateEntitlementUsingPOSTUnauthorized
NewCreateEntitlementUsingPOSTUnauthorized creates a CreateEntitlementUsingPOSTUnauthorized with default headers values
func (*CreateEntitlementUsingPOSTUnauthorized) Error ¶
func (o *CreateEntitlementUsingPOSTUnauthorized) Error() string
type DeleteEntitlementUsingDELETENoContent ¶
type DeleteEntitlementUsingDELETENoContent struct { }
DeleteEntitlementUsingDELETENoContent handles this case with default header values.
No Content
func NewDeleteEntitlementUsingDELETENoContent ¶
func NewDeleteEntitlementUsingDELETENoContent() *DeleteEntitlementUsingDELETENoContent
NewDeleteEntitlementUsingDELETENoContent creates a DeleteEntitlementUsingDELETENoContent with default headers values
func (*DeleteEntitlementUsingDELETENoContent) Error ¶
func (o *DeleteEntitlementUsingDELETENoContent) Error() string
type DeleteEntitlementUsingDELETEParams ¶
type DeleteEntitlementUsingDELETEParams struct { /*ID Entitlement id */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteEntitlementUsingDELETEParams contains all the parameters to send to the API endpoint for the delete entitlement using d e l e t e operation typically these are written to a http.Request
func NewDeleteEntitlementUsingDELETEParams ¶
func NewDeleteEntitlementUsingDELETEParams() *DeleteEntitlementUsingDELETEParams
NewDeleteEntitlementUsingDELETEParams creates a new DeleteEntitlementUsingDELETEParams object with the default values initialized.
func NewDeleteEntitlementUsingDELETEParamsWithContext ¶
func NewDeleteEntitlementUsingDELETEParamsWithContext(ctx context.Context) *DeleteEntitlementUsingDELETEParams
NewDeleteEntitlementUsingDELETEParamsWithContext creates a new DeleteEntitlementUsingDELETEParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteEntitlementUsingDELETEParamsWithHTTPClient ¶
func NewDeleteEntitlementUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteEntitlementUsingDELETEParams
NewDeleteEntitlementUsingDELETEParamsWithHTTPClient creates a new DeleteEntitlementUsingDELETEParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteEntitlementUsingDELETEParamsWithTimeout ¶
func NewDeleteEntitlementUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteEntitlementUsingDELETEParams
NewDeleteEntitlementUsingDELETEParamsWithTimeout creates a new DeleteEntitlementUsingDELETEParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteEntitlementUsingDELETEParams) SetContext ¶
func (o *DeleteEntitlementUsingDELETEParams) SetContext(ctx context.Context)
SetContext adds the context to the delete entitlement using d e l e t e params
func (*DeleteEntitlementUsingDELETEParams) SetHTTPClient ¶
func (o *DeleteEntitlementUsingDELETEParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete entitlement using d e l e t e params
func (*DeleteEntitlementUsingDELETEParams) SetID ¶
func (o *DeleteEntitlementUsingDELETEParams) SetID(id strfmt.UUID)
SetID adds the id to the delete entitlement using d e l e t e params
func (*DeleteEntitlementUsingDELETEParams) SetTimeout ¶
func (o *DeleteEntitlementUsingDELETEParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete entitlement using d e l e t e params
func (*DeleteEntitlementUsingDELETEParams) WithContext ¶
func (o *DeleteEntitlementUsingDELETEParams) WithContext(ctx context.Context) *DeleteEntitlementUsingDELETEParams
WithContext adds the context to the delete entitlement using d e l e t e params
func (*DeleteEntitlementUsingDELETEParams) WithHTTPClient ¶
func (o *DeleteEntitlementUsingDELETEParams) WithHTTPClient(client *http.Client) *DeleteEntitlementUsingDELETEParams
WithHTTPClient adds the HTTPClient to the delete entitlement using d e l e t e params
func (*DeleteEntitlementUsingDELETEParams) WithID ¶
func (o *DeleteEntitlementUsingDELETEParams) WithID(id strfmt.UUID) *DeleteEntitlementUsingDELETEParams
WithID adds the id to the delete entitlement using d e l e t e params
func (*DeleteEntitlementUsingDELETEParams) WithTimeout ¶
func (o *DeleteEntitlementUsingDELETEParams) WithTimeout(timeout time.Duration) *DeleteEntitlementUsingDELETEParams
WithTimeout adds the timeout to the delete entitlement using d e l e t e params
func (*DeleteEntitlementUsingDELETEParams) WriteToRequest ¶
func (o *DeleteEntitlementUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteEntitlementUsingDELETEReader ¶
type DeleteEntitlementUsingDELETEReader struct {
// contains filtered or unexported fields
}
DeleteEntitlementUsingDELETEReader is a Reader for the DeleteEntitlementUsingDELETE structure.
func (*DeleteEntitlementUsingDELETEReader) ReadResponse ¶
func (o *DeleteEntitlementUsingDELETEReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteEntitlementUsingDELETEUnauthorized ¶
type DeleteEntitlementUsingDELETEUnauthorized struct { }
DeleteEntitlementUsingDELETEUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteEntitlementUsingDELETEUnauthorized ¶
func NewDeleteEntitlementUsingDELETEUnauthorized() *DeleteEntitlementUsingDELETEUnauthorized
NewDeleteEntitlementUsingDELETEUnauthorized creates a DeleteEntitlementUsingDELETEUnauthorized with default headers values
func (*DeleteEntitlementUsingDELETEUnauthorized) Error ¶
func (o *DeleteEntitlementUsingDELETEUnauthorized) Error() string
type GetEntitlementsUsingGETOK ¶
type GetEntitlementsUsingGETOK struct {
Payload []*models.Entitlement
}
GetEntitlementsUsingGETOK handles this case with default header values.
OK
func NewGetEntitlementsUsingGETOK ¶
func NewGetEntitlementsUsingGETOK() *GetEntitlementsUsingGETOK
NewGetEntitlementsUsingGETOK creates a GetEntitlementsUsingGETOK with default headers values
func (*GetEntitlementsUsingGETOK) Error ¶
func (o *GetEntitlementsUsingGETOK) Error() string
func (*GetEntitlementsUsingGETOK) GetPayload ¶
func (o *GetEntitlementsUsingGETOK) GetPayload() []*models.Entitlement
type GetEntitlementsUsingGETParams ¶
type GetEntitlementsUsingGETParams struct { /*ProjectID The project id for which to return . */ ProjectID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEntitlementsUsingGETParams contains all the parameters to send to the API endpoint for the get entitlements using g e t operation typically these are written to a http.Request
func NewGetEntitlementsUsingGETParams ¶
func NewGetEntitlementsUsingGETParams() *GetEntitlementsUsingGETParams
NewGetEntitlementsUsingGETParams creates a new GetEntitlementsUsingGETParams object with the default values initialized.
func NewGetEntitlementsUsingGETParamsWithContext ¶
func NewGetEntitlementsUsingGETParamsWithContext(ctx context.Context) *GetEntitlementsUsingGETParams
NewGetEntitlementsUsingGETParamsWithContext creates a new GetEntitlementsUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetEntitlementsUsingGETParamsWithHTTPClient ¶
func NewGetEntitlementsUsingGETParamsWithHTTPClient(client *http.Client) *GetEntitlementsUsingGETParams
NewGetEntitlementsUsingGETParamsWithHTTPClient creates a new GetEntitlementsUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetEntitlementsUsingGETParamsWithTimeout ¶
func NewGetEntitlementsUsingGETParamsWithTimeout(timeout time.Duration) *GetEntitlementsUsingGETParams
NewGetEntitlementsUsingGETParamsWithTimeout creates a new GetEntitlementsUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetEntitlementsUsingGETParams) SetContext ¶
func (o *GetEntitlementsUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get entitlements using get params
func (*GetEntitlementsUsingGETParams) SetHTTPClient ¶
func (o *GetEntitlementsUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get entitlements using get params
func (*GetEntitlementsUsingGETParams) SetProjectID ¶
func (o *GetEntitlementsUsingGETParams) SetProjectID(projectID *string)
SetProjectID adds the projectId to the get entitlements using get params
func (*GetEntitlementsUsingGETParams) SetTimeout ¶
func (o *GetEntitlementsUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get entitlements using get params
func (*GetEntitlementsUsingGETParams) WithContext ¶
func (o *GetEntitlementsUsingGETParams) WithContext(ctx context.Context) *GetEntitlementsUsingGETParams
WithContext adds the context to the get entitlements using get params
func (*GetEntitlementsUsingGETParams) WithHTTPClient ¶
func (o *GetEntitlementsUsingGETParams) WithHTTPClient(client *http.Client) *GetEntitlementsUsingGETParams
WithHTTPClient adds the HTTPClient to the get entitlements using get params
func (*GetEntitlementsUsingGETParams) WithProjectID ¶
func (o *GetEntitlementsUsingGETParams) WithProjectID(projectID *string) *GetEntitlementsUsingGETParams
WithProjectID adds the projectID to the get entitlements using get params
func (*GetEntitlementsUsingGETParams) WithTimeout ¶
func (o *GetEntitlementsUsingGETParams) WithTimeout(timeout time.Duration) *GetEntitlementsUsingGETParams
WithTimeout adds the timeout to the get entitlements using get params
func (*GetEntitlementsUsingGETParams) WriteToRequest ¶
func (o *GetEntitlementsUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEntitlementsUsingGETReader ¶
type GetEntitlementsUsingGETReader struct {
// contains filtered or unexported fields
}
GetEntitlementsUsingGETReader is a Reader for the GetEntitlementsUsingGET structure.
func (*GetEntitlementsUsingGETReader) ReadResponse ¶
func (o *GetEntitlementsUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEntitlementsUsingGETUnauthorized ¶
type GetEntitlementsUsingGETUnauthorized struct { }
GetEntitlementsUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewGetEntitlementsUsingGETUnauthorized ¶
func NewGetEntitlementsUsingGETUnauthorized() *GetEntitlementsUsingGETUnauthorized
NewGetEntitlementsUsingGETUnauthorized creates a GetEntitlementsUsingGETUnauthorized with default headers values
func (*GetEntitlementsUsingGETUnauthorized) Error ¶
func (o *GetEntitlementsUsingGETUnauthorized) Error() string