Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateEntitlementUsingPOST2(params *CreateEntitlementUsingPOST2Params, opts ...ClientOption) (*CreateEntitlementUsingPOST2OK, *CreateEntitlementUsingPOST2Created, error)
- func (a *Client) DeleteEntitlementUsingDELETE2(params *DeleteEntitlementUsingDELETE2Params, opts ...ClientOption) (*DeleteEntitlementUsingDELETE2NoContent, error)
- func (a *Client) GetEntitlementsUsingGET2(params *GetEntitlementsUsingGET2Params, opts ...ClientOption) (*GetEntitlementsUsingGET2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateEntitlementUsingPOST2BadRequest
- func (o *CreateEntitlementUsingPOST2BadRequest) Error() string
- func (o *CreateEntitlementUsingPOST2BadRequest) GetPayload() *models.Error
- func (o *CreateEntitlementUsingPOST2BadRequest) IsClientError() bool
- func (o *CreateEntitlementUsingPOST2BadRequest) IsCode(code int) bool
- func (o *CreateEntitlementUsingPOST2BadRequest) IsRedirect() bool
- func (o *CreateEntitlementUsingPOST2BadRequest) IsServerError() bool
- func (o *CreateEntitlementUsingPOST2BadRequest) IsSuccess() bool
- func (o *CreateEntitlementUsingPOST2BadRequest) String() string
- type CreateEntitlementUsingPOST2Created
- func (o *CreateEntitlementUsingPOST2Created) Error() string
- func (o *CreateEntitlementUsingPOST2Created) GetPayload() *models.Entitlement
- func (o *CreateEntitlementUsingPOST2Created) IsClientError() bool
- func (o *CreateEntitlementUsingPOST2Created) IsCode(code int) bool
- func (o *CreateEntitlementUsingPOST2Created) IsRedirect() bool
- func (o *CreateEntitlementUsingPOST2Created) IsServerError() bool
- func (o *CreateEntitlementUsingPOST2Created) IsSuccess() bool
- func (o *CreateEntitlementUsingPOST2Created) String() string
- type CreateEntitlementUsingPOST2NotFound
- func (o *CreateEntitlementUsingPOST2NotFound) Error() string
- func (o *CreateEntitlementUsingPOST2NotFound) GetPayload() *models.Error
- func (o *CreateEntitlementUsingPOST2NotFound) IsClientError() bool
- func (o *CreateEntitlementUsingPOST2NotFound) IsCode(code int) bool
- func (o *CreateEntitlementUsingPOST2NotFound) IsRedirect() bool
- func (o *CreateEntitlementUsingPOST2NotFound) IsServerError() bool
- func (o *CreateEntitlementUsingPOST2NotFound) IsSuccess() bool
- func (o *CreateEntitlementUsingPOST2NotFound) String() string
- type CreateEntitlementUsingPOST2OK
- func (o *CreateEntitlementUsingPOST2OK) Error() string
- func (o *CreateEntitlementUsingPOST2OK) GetPayload() *models.Entitlement
- func (o *CreateEntitlementUsingPOST2OK) IsClientError() bool
- func (o *CreateEntitlementUsingPOST2OK) IsCode(code int) bool
- func (o *CreateEntitlementUsingPOST2OK) IsRedirect() bool
- func (o *CreateEntitlementUsingPOST2OK) IsServerError() bool
- func (o *CreateEntitlementUsingPOST2OK) IsSuccess() bool
- func (o *CreateEntitlementUsingPOST2OK) String() string
- type CreateEntitlementUsingPOST2Params
- func NewCreateEntitlementUsingPOST2Params() *CreateEntitlementUsingPOST2Params
- func NewCreateEntitlementUsingPOST2ParamsWithContext(ctx context.Context) *CreateEntitlementUsingPOST2Params
- func NewCreateEntitlementUsingPOST2ParamsWithHTTPClient(client *http.Client) *CreateEntitlementUsingPOST2Params
- func NewCreateEntitlementUsingPOST2ParamsWithTimeout(timeout time.Duration) *CreateEntitlementUsingPOST2Params
- func (o *CreateEntitlementUsingPOST2Params) SetAPIVersion(aPIVersion *string)
- func (o *CreateEntitlementUsingPOST2Params) SetContext(ctx context.Context)
- func (o *CreateEntitlementUsingPOST2Params) SetDefaults()
- func (o *CreateEntitlementUsingPOST2Params) SetEntitlement(entitlement *models.Entitlement)
- func (o *CreateEntitlementUsingPOST2Params) SetHTTPClient(client *http.Client)
- func (o *CreateEntitlementUsingPOST2Params) SetTimeout(timeout time.Duration)
- func (o *CreateEntitlementUsingPOST2Params) WithAPIVersion(aPIVersion *string) *CreateEntitlementUsingPOST2Params
- func (o *CreateEntitlementUsingPOST2Params) WithContext(ctx context.Context) *CreateEntitlementUsingPOST2Params
- func (o *CreateEntitlementUsingPOST2Params) WithDefaults() *CreateEntitlementUsingPOST2Params
- func (o *CreateEntitlementUsingPOST2Params) WithEntitlement(entitlement *models.Entitlement) *CreateEntitlementUsingPOST2Params
- func (o *CreateEntitlementUsingPOST2Params) WithHTTPClient(client *http.Client) *CreateEntitlementUsingPOST2Params
- func (o *CreateEntitlementUsingPOST2Params) WithTimeout(timeout time.Duration) *CreateEntitlementUsingPOST2Params
- func (o *CreateEntitlementUsingPOST2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateEntitlementUsingPOST2Reader
- type CreateEntitlementUsingPOST2Unauthorized
- func (o *CreateEntitlementUsingPOST2Unauthorized) Error() string
- func (o *CreateEntitlementUsingPOST2Unauthorized) IsClientError() bool
- func (o *CreateEntitlementUsingPOST2Unauthorized) IsCode(code int) bool
- func (o *CreateEntitlementUsingPOST2Unauthorized) IsRedirect() bool
- func (o *CreateEntitlementUsingPOST2Unauthorized) IsServerError() bool
- func (o *CreateEntitlementUsingPOST2Unauthorized) IsSuccess() bool
- func (o *CreateEntitlementUsingPOST2Unauthorized) String() string
- type DeleteEntitlementUsingDELETE2NoContent
- func (o *DeleteEntitlementUsingDELETE2NoContent) Error() string
- func (o *DeleteEntitlementUsingDELETE2NoContent) IsClientError() bool
- func (o *DeleteEntitlementUsingDELETE2NoContent) IsCode(code int) bool
- func (o *DeleteEntitlementUsingDELETE2NoContent) IsRedirect() bool
- func (o *DeleteEntitlementUsingDELETE2NoContent) IsServerError() bool
- func (o *DeleteEntitlementUsingDELETE2NoContent) IsSuccess() bool
- func (o *DeleteEntitlementUsingDELETE2NoContent) String() string
- type DeleteEntitlementUsingDELETE2Params
- func NewDeleteEntitlementUsingDELETE2Params() *DeleteEntitlementUsingDELETE2Params
- func NewDeleteEntitlementUsingDELETE2ParamsWithContext(ctx context.Context) *DeleteEntitlementUsingDELETE2Params
- func NewDeleteEntitlementUsingDELETE2ParamsWithHTTPClient(client *http.Client) *DeleteEntitlementUsingDELETE2Params
- func NewDeleteEntitlementUsingDELETE2ParamsWithTimeout(timeout time.Duration) *DeleteEntitlementUsingDELETE2Params
- func (o *DeleteEntitlementUsingDELETE2Params) SetAPIVersion(aPIVersion *string)
- func (o *DeleteEntitlementUsingDELETE2Params) SetContext(ctx context.Context)
- func (o *DeleteEntitlementUsingDELETE2Params) SetDefaults()
- func (o *DeleteEntitlementUsingDELETE2Params) SetHTTPClient(client *http.Client)
- func (o *DeleteEntitlementUsingDELETE2Params) SetID(id strfmt.UUID)
- func (o *DeleteEntitlementUsingDELETE2Params) SetTimeout(timeout time.Duration)
- func (o *DeleteEntitlementUsingDELETE2Params) WithAPIVersion(aPIVersion *string) *DeleteEntitlementUsingDELETE2Params
- func (o *DeleteEntitlementUsingDELETE2Params) WithContext(ctx context.Context) *DeleteEntitlementUsingDELETE2Params
- func (o *DeleteEntitlementUsingDELETE2Params) WithDefaults() *DeleteEntitlementUsingDELETE2Params
- func (o *DeleteEntitlementUsingDELETE2Params) WithHTTPClient(client *http.Client) *DeleteEntitlementUsingDELETE2Params
- func (o *DeleteEntitlementUsingDELETE2Params) WithID(id strfmt.UUID) *DeleteEntitlementUsingDELETE2Params
- func (o *DeleteEntitlementUsingDELETE2Params) WithTimeout(timeout time.Duration) *DeleteEntitlementUsingDELETE2Params
- func (o *DeleteEntitlementUsingDELETE2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteEntitlementUsingDELETE2Reader
- type DeleteEntitlementUsingDELETE2Unauthorized
- func (o *DeleteEntitlementUsingDELETE2Unauthorized) Error() string
- func (o *DeleteEntitlementUsingDELETE2Unauthorized) IsClientError() bool
- func (o *DeleteEntitlementUsingDELETE2Unauthorized) IsCode(code int) bool
- func (o *DeleteEntitlementUsingDELETE2Unauthorized) IsRedirect() bool
- func (o *DeleteEntitlementUsingDELETE2Unauthorized) IsServerError() bool
- func (o *DeleteEntitlementUsingDELETE2Unauthorized) IsSuccess() bool
- func (o *DeleteEntitlementUsingDELETE2Unauthorized) String() string
- type GetEntitlementsUsingGET2OK
- func (o *GetEntitlementsUsingGET2OK) Error() string
- func (o *GetEntitlementsUsingGET2OK) GetPayload() []*models.Entitlement
- func (o *GetEntitlementsUsingGET2OK) IsClientError() bool
- func (o *GetEntitlementsUsingGET2OK) IsCode(code int) bool
- func (o *GetEntitlementsUsingGET2OK) IsRedirect() bool
- func (o *GetEntitlementsUsingGET2OK) IsServerError() bool
- func (o *GetEntitlementsUsingGET2OK) IsSuccess() bool
- func (o *GetEntitlementsUsingGET2OK) String() string
- type GetEntitlementsUsingGET2Params
- func NewGetEntitlementsUsingGET2Params() *GetEntitlementsUsingGET2Params
- func NewGetEntitlementsUsingGET2ParamsWithContext(ctx context.Context) *GetEntitlementsUsingGET2Params
- func NewGetEntitlementsUsingGET2ParamsWithHTTPClient(client *http.Client) *GetEntitlementsUsingGET2Params
- func NewGetEntitlementsUsingGET2ParamsWithTimeout(timeout time.Duration) *GetEntitlementsUsingGET2Params
- func (o *GetEntitlementsUsingGET2Params) SetAPIVersion(aPIVersion *string)
- func (o *GetEntitlementsUsingGET2Params) SetContext(ctx context.Context)
- func (o *GetEntitlementsUsingGET2Params) SetDefaults()
- func (o *GetEntitlementsUsingGET2Params) SetHTTPClient(client *http.Client)
- func (o *GetEntitlementsUsingGET2Params) SetProjectID(projectID *string)
- func (o *GetEntitlementsUsingGET2Params) SetTimeout(timeout time.Duration)
- func (o *GetEntitlementsUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetEntitlementsUsingGET2Params
- func (o *GetEntitlementsUsingGET2Params) WithContext(ctx context.Context) *GetEntitlementsUsingGET2Params
- func (o *GetEntitlementsUsingGET2Params) WithDefaults() *GetEntitlementsUsingGET2Params
- func (o *GetEntitlementsUsingGET2Params) WithHTTPClient(client *http.Client) *GetEntitlementsUsingGET2Params
- func (o *GetEntitlementsUsingGET2Params) WithProjectID(projectID *string) *GetEntitlementsUsingGET2Params
- func (o *GetEntitlementsUsingGET2Params) WithTimeout(timeout time.Duration) *GetEntitlementsUsingGET2Params
- func (o *GetEntitlementsUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEntitlementsUsingGET2Reader
- type GetEntitlementsUsingGET2Unauthorized
- func (o *GetEntitlementsUsingGET2Unauthorized) Error() string
- func (o *GetEntitlementsUsingGET2Unauthorized) IsClientError() bool
- func (o *GetEntitlementsUsingGET2Unauthorized) IsCode(code int) bool
- func (o *GetEntitlementsUsingGET2Unauthorized) IsRedirect() bool
- func (o *GetEntitlementsUsingGET2Unauthorized) IsServerError() bool
- func (o *GetEntitlementsUsingGET2Unauthorized) IsSuccess() bool
- func (o *GetEntitlementsUsingGET2Unauthorized) String() string
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 (*Client) CreateEntitlementUsingPOST2 ¶ added in v0.4.0
func (a *Client) CreateEntitlementUsingPOST2(params *CreateEntitlementUsingPOST2Params, opts ...ClientOption) (*CreateEntitlementUsingPOST2OK, *CreateEntitlementUsingPOST2Created, error)
CreateEntitlementUsingPOST2 creates an entitlement
Creates an entitlement for a given project.
func (*Client) DeleteEntitlementUsingDELETE2 ¶ added in v0.4.0
func (a *Client) DeleteEntitlementUsingDELETE2(params *DeleteEntitlementUsingDELETE2Params, opts ...ClientOption) (*DeleteEntitlementUsingDELETE2NoContent, error)
DeleteEntitlementUsingDELETE2 deletes an entitlement
Deletes the entitlement with the specified id.
func (*Client) GetEntitlementsUsingGET2 ¶ added in v0.4.0
func (a *Client) GetEntitlementsUsingGET2(params *GetEntitlementsUsingGET2Params, opts ...ClientOption) (*GetEntitlementsUsingGET2OK, error)
GetEntitlementsUsingGET2 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 ClientOption ¶ added in v0.2.20
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.2.18
type ClientService interface { CreateEntitlementUsingPOST2(params *CreateEntitlementUsingPOST2Params, opts ...ClientOption) (*CreateEntitlementUsingPOST2OK, *CreateEntitlementUsingPOST2Created, error) DeleteEntitlementUsingDELETE2(params *DeleteEntitlementUsingDELETE2Params, opts ...ClientOption) (*DeleteEntitlementUsingDELETE2NoContent, error) GetEntitlementsUsingGET2(params *GetEntitlementsUsingGET2Params, opts ...ClientOption) (*GetEntitlementsUsingGET2OK, 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 catalog entitlements API client.
type CreateEntitlementUsingPOST2BadRequest ¶ added in v0.4.0
CreateEntitlementUsingPOST2BadRequest describes a response with status code 400, with default header values.
Catalog item or source cannot be entitled to the project
func NewCreateEntitlementUsingPOST2BadRequest ¶ added in v0.4.0
func NewCreateEntitlementUsingPOST2BadRequest() *CreateEntitlementUsingPOST2BadRequest
NewCreateEntitlementUsingPOST2BadRequest creates a CreateEntitlementUsingPOST2BadRequest with default headers values
func (*CreateEntitlementUsingPOST2BadRequest) Error ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2BadRequest) Error() string
func (*CreateEntitlementUsingPOST2BadRequest) GetPayload ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2BadRequest) GetPayload() *models.Error
func (*CreateEntitlementUsingPOST2BadRequest) IsClientError ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2BadRequest) IsClientError() bool
IsClientError returns true when this create entitlement using p o s t2 bad request response has a 4xx status code
func (*CreateEntitlementUsingPOST2BadRequest) IsCode ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2BadRequest) IsCode(code int) bool
IsCode returns true when this create entitlement using p o s t2 bad request response a status code equal to that given
func (*CreateEntitlementUsingPOST2BadRequest) IsRedirect ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2BadRequest) IsRedirect() bool
IsRedirect returns true when this create entitlement using p o s t2 bad request response has a 3xx status code
func (*CreateEntitlementUsingPOST2BadRequest) IsServerError ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2BadRequest) IsServerError() bool
IsServerError returns true when this create entitlement using p o s t2 bad request response has a 5xx status code
func (*CreateEntitlementUsingPOST2BadRequest) IsSuccess ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2BadRequest) IsSuccess() bool
IsSuccess returns true when this create entitlement using p o s t2 bad request response has a 2xx status code
func (*CreateEntitlementUsingPOST2BadRequest) String ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2BadRequest) String() string
type CreateEntitlementUsingPOST2Created ¶ added in v0.4.0
type CreateEntitlementUsingPOST2Created struct {
Payload *models.Entitlement
}
CreateEntitlementUsingPOST2Created describes a response with status code 201, with default header values.
Created
func NewCreateEntitlementUsingPOST2Created ¶ added in v0.4.0
func NewCreateEntitlementUsingPOST2Created() *CreateEntitlementUsingPOST2Created
NewCreateEntitlementUsingPOST2Created creates a CreateEntitlementUsingPOST2Created with default headers values
func (*CreateEntitlementUsingPOST2Created) Error ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2Created) Error() string
func (*CreateEntitlementUsingPOST2Created) GetPayload ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2Created) GetPayload() *models.Entitlement
func (*CreateEntitlementUsingPOST2Created) IsClientError ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2Created) IsClientError() bool
IsClientError returns true when this create entitlement using p o s t2 created response has a 4xx status code
func (*CreateEntitlementUsingPOST2Created) IsCode ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2Created) IsCode(code int) bool
IsCode returns true when this create entitlement using p o s t2 created response a status code equal to that given
func (*CreateEntitlementUsingPOST2Created) IsRedirect ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2Created) IsRedirect() bool
IsRedirect returns true when this create entitlement using p o s t2 created response has a 3xx status code
func (*CreateEntitlementUsingPOST2Created) IsServerError ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2Created) IsServerError() bool
IsServerError returns true when this create entitlement using p o s t2 created response has a 5xx status code
func (*CreateEntitlementUsingPOST2Created) IsSuccess ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2Created) IsSuccess() bool
IsSuccess returns true when this create entitlement using p o s t2 created response has a 2xx status code
func (*CreateEntitlementUsingPOST2Created) String ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2Created) String() string
type CreateEntitlementUsingPOST2NotFound ¶ added in v0.4.0
CreateEntitlementUsingPOST2NotFound describes a response with status code 404, with default header values.
Catalog item or catalog source not found
func NewCreateEntitlementUsingPOST2NotFound ¶ added in v0.4.0
func NewCreateEntitlementUsingPOST2NotFound() *CreateEntitlementUsingPOST2NotFound
NewCreateEntitlementUsingPOST2NotFound creates a CreateEntitlementUsingPOST2NotFound with default headers values
func (*CreateEntitlementUsingPOST2NotFound) Error ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2NotFound) Error() string
func (*CreateEntitlementUsingPOST2NotFound) GetPayload ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2NotFound) GetPayload() *models.Error
func (*CreateEntitlementUsingPOST2NotFound) IsClientError ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2NotFound) IsClientError() bool
IsClientError returns true when this create entitlement using p o s t2 not found response has a 4xx status code
func (*CreateEntitlementUsingPOST2NotFound) IsCode ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2NotFound) IsCode(code int) bool
IsCode returns true when this create entitlement using p o s t2 not found response a status code equal to that given
func (*CreateEntitlementUsingPOST2NotFound) IsRedirect ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2NotFound) IsRedirect() bool
IsRedirect returns true when this create entitlement using p o s t2 not found response has a 3xx status code
func (*CreateEntitlementUsingPOST2NotFound) IsServerError ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2NotFound) IsServerError() bool
IsServerError returns true when this create entitlement using p o s t2 not found response has a 5xx status code
func (*CreateEntitlementUsingPOST2NotFound) IsSuccess ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2NotFound) IsSuccess() bool
IsSuccess returns true when this create entitlement using p o s t2 not found response has a 2xx status code
func (*CreateEntitlementUsingPOST2NotFound) String ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2NotFound) String() string
type CreateEntitlementUsingPOST2OK ¶ added in v0.4.0
type CreateEntitlementUsingPOST2OK struct {
Payload *models.Entitlement
}
CreateEntitlementUsingPOST2OK describes a response with status code 200, with default header values.
OK
func NewCreateEntitlementUsingPOST2OK ¶ added in v0.4.0
func NewCreateEntitlementUsingPOST2OK() *CreateEntitlementUsingPOST2OK
NewCreateEntitlementUsingPOST2OK creates a CreateEntitlementUsingPOST2OK with default headers values
func (*CreateEntitlementUsingPOST2OK) Error ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2OK) Error() string
func (*CreateEntitlementUsingPOST2OK) GetPayload ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2OK) GetPayload() *models.Entitlement
func (*CreateEntitlementUsingPOST2OK) IsClientError ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2OK) IsClientError() bool
IsClientError returns true when this create entitlement using p o s t2 o k response has a 4xx status code
func (*CreateEntitlementUsingPOST2OK) IsCode ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2OK) IsCode(code int) bool
IsCode returns true when this create entitlement using p o s t2 o k response a status code equal to that given
func (*CreateEntitlementUsingPOST2OK) IsRedirect ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2OK) IsRedirect() bool
IsRedirect returns true when this create entitlement using p o s t2 o k response has a 3xx status code
func (*CreateEntitlementUsingPOST2OK) IsServerError ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2OK) IsServerError() bool
IsServerError returns true when this create entitlement using p o s t2 o k response has a 5xx status code
func (*CreateEntitlementUsingPOST2OK) IsSuccess ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2OK) IsSuccess() bool
IsSuccess returns true when this create entitlement using p o s t2 o k response has a 2xx status code
func (*CreateEntitlementUsingPOST2OK) String ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2OK) String() string
type CreateEntitlementUsingPOST2Params ¶ added in v0.4.0
type CreateEntitlementUsingPOST2Params struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* Entitlement. The entitlement to be created */ Entitlement *models.Entitlement Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateEntitlementUsingPOST2Params contains all the parameters to send to the API endpoint
for the create entitlement using p o s t 2 operation. Typically these are written to a http.Request.
func NewCreateEntitlementUsingPOST2Params ¶ added in v0.4.0
func NewCreateEntitlementUsingPOST2Params() *CreateEntitlementUsingPOST2Params
NewCreateEntitlementUsingPOST2Params creates a new CreateEntitlementUsingPOST2Params 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 NewCreateEntitlementUsingPOST2ParamsWithContext ¶ added in v0.4.0
func NewCreateEntitlementUsingPOST2ParamsWithContext(ctx context.Context) *CreateEntitlementUsingPOST2Params
NewCreateEntitlementUsingPOST2ParamsWithContext creates a new CreateEntitlementUsingPOST2Params object with the ability to set a context for a request.
func NewCreateEntitlementUsingPOST2ParamsWithHTTPClient ¶ added in v0.4.0
func NewCreateEntitlementUsingPOST2ParamsWithHTTPClient(client *http.Client) *CreateEntitlementUsingPOST2Params
NewCreateEntitlementUsingPOST2ParamsWithHTTPClient creates a new CreateEntitlementUsingPOST2Params object with the ability to set a custom HTTPClient for a request.
func NewCreateEntitlementUsingPOST2ParamsWithTimeout ¶ added in v0.4.0
func NewCreateEntitlementUsingPOST2ParamsWithTimeout(timeout time.Duration) *CreateEntitlementUsingPOST2Params
NewCreateEntitlementUsingPOST2ParamsWithTimeout creates a new CreateEntitlementUsingPOST2Params object with the ability to set a timeout on a request.
func (*CreateEntitlementUsingPOST2Params) SetAPIVersion ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create entitlement using p o s t 2 params
func (*CreateEntitlementUsingPOST2Params) SetContext ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2Params) SetContext(ctx context.Context)
SetContext adds the context to the create entitlement using p o s t 2 params
func (*CreateEntitlementUsingPOST2Params) SetDefaults ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2Params) SetDefaults()
SetDefaults hydrates default values in the create entitlement using p o s t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*CreateEntitlementUsingPOST2Params) SetEntitlement ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2Params) SetEntitlement(entitlement *models.Entitlement)
SetEntitlement adds the entitlement to the create entitlement using p o s t 2 params
func (*CreateEntitlementUsingPOST2Params) SetHTTPClient ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create entitlement using p o s t 2 params
func (*CreateEntitlementUsingPOST2Params) SetTimeout ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create entitlement using p o s t 2 params
func (*CreateEntitlementUsingPOST2Params) WithAPIVersion ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2Params) WithAPIVersion(aPIVersion *string) *CreateEntitlementUsingPOST2Params
WithAPIVersion adds the aPIVersion to the create entitlement using p o s t 2 params
func (*CreateEntitlementUsingPOST2Params) WithContext ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2Params) WithContext(ctx context.Context) *CreateEntitlementUsingPOST2Params
WithContext adds the context to the create entitlement using p o s t 2 params
func (*CreateEntitlementUsingPOST2Params) WithDefaults ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2Params) WithDefaults() *CreateEntitlementUsingPOST2Params
WithDefaults hydrates default values in the create entitlement using p o s t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*CreateEntitlementUsingPOST2Params) WithEntitlement ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2Params) WithEntitlement(entitlement *models.Entitlement) *CreateEntitlementUsingPOST2Params
WithEntitlement adds the entitlement to the create entitlement using p o s t 2 params
func (*CreateEntitlementUsingPOST2Params) WithHTTPClient ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2Params) WithHTTPClient(client *http.Client) *CreateEntitlementUsingPOST2Params
WithHTTPClient adds the HTTPClient to the create entitlement using p o s t 2 params
func (*CreateEntitlementUsingPOST2Params) WithTimeout ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2Params) WithTimeout(timeout time.Duration) *CreateEntitlementUsingPOST2Params
WithTimeout adds the timeout to the create entitlement using p o s t 2 params
func (*CreateEntitlementUsingPOST2Params) WriteToRequest ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateEntitlementUsingPOST2Reader ¶ added in v0.4.0
type CreateEntitlementUsingPOST2Reader struct {
// contains filtered or unexported fields
}
CreateEntitlementUsingPOST2Reader is a Reader for the CreateEntitlementUsingPOST2 structure.
func (*CreateEntitlementUsingPOST2Reader) ReadResponse ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateEntitlementUsingPOST2Unauthorized ¶ added in v0.4.0
type CreateEntitlementUsingPOST2Unauthorized struct { }
CreateEntitlementUsingPOST2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateEntitlementUsingPOST2Unauthorized ¶ added in v0.4.0
func NewCreateEntitlementUsingPOST2Unauthorized() *CreateEntitlementUsingPOST2Unauthorized
NewCreateEntitlementUsingPOST2Unauthorized creates a CreateEntitlementUsingPOST2Unauthorized with default headers values
func (*CreateEntitlementUsingPOST2Unauthorized) Error ¶ added in v0.4.0
func (o *CreateEntitlementUsingPOST2Unauthorized) Error() string
func (*CreateEntitlementUsingPOST2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2Unauthorized) IsClientError() bool
IsClientError returns true when this create entitlement using p o s t2 unauthorized response has a 4xx status code
func (*CreateEntitlementUsingPOST2Unauthorized) IsCode ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2Unauthorized) IsCode(code int) bool
IsCode returns true when this create entitlement using p o s t2 unauthorized response a status code equal to that given
func (*CreateEntitlementUsingPOST2Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2Unauthorized) IsRedirect() bool
IsRedirect returns true when this create entitlement using p o s t2 unauthorized response has a 3xx status code
func (*CreateEntitlementUsingPOST2Unauthorized) IsServerError ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2Unauthorized) IsServerError() bool
IsServerError returns true when this create entitlement using p o s t2 unauthorized response has a 5xx status code
func (*CreateEntitlementUsingPOST2Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2Unauthorized) IsSuccess() bool
IsSuccess returns true when this create entitlement using p o s t2 unauthorized response has a 2xx status code
func (*CreateEntitlementUsingPOST2Unauthorized) String ¶ added in v0.5.0
func (o *CreateEntitlementUsingPOST2Unauthorized) String() string
type DeleteEntitlementUsingDELETE2NoContent ¶ added in v0.4.0
type DeleteEntitlementUsingDELETE2NoContent struct { }
DeleteEntitlementUsingDELETE2NoContent describes a response with status code 204, with default header values.
No Content
func NewDeleteEntitlementUsingDELETE2NoContent ¶ added in v0.4.0
func NewDeleteEntitlementUsingDELETE2NoContent() *DeleteEntitlementUsingDELETE2NoContent
NewDeleteEntitlementUsingDELETE2NoContent creates a DeleteEntitlementUsingDELETE2NoContent with default headers values
func (*DeleteEntitlementUsingDELETE2NoContent) Error ¶ added in v0.4.0
func (o *DeleteEntitlementUsingDELETE2NoContent) Error() string
func (*DeleteEntitlementUsingDELETE2NoContent) IsClientError ¶ added in v0.5.0
func (o *DeleteEntitlementUsingDELETE2NoContent) IsClientError() bool
IsClientError returns true when this delete entitlement using d e l e t e2 no content response has a 4xx status code
func (*DeleteEntitlementUsingDELETE2NoContent) IsCode ¶ added in v0.5.0
func (o *DeleteEntitlementUsingDELETE2NoContent) IsCode(code int) bool
IsCode returns true when this delete entitlement using d e l e t e2 no content response a status code equal to that given
func (*DeleteEntitlementUsingDELETE2NoContent) IsRedirect ¶ added in v0.5.0
func (o *DeleteEntitlementUsingDELETE2NoContent) IsRedirect() bool
IsRedirect returns true when this delete entitlement using d e l e t e2 no content response has a 3xx status code
func (*DeleteEntitlementUsingDELETE2NoContent) IsServerError ¶ added in v0.5.0
func (o *DeleteEntitlementUsingDELETE2NoContent) IsServerError() bool
IsServerError returns true when this delete entitlement using d e l e t e2 no content response has a 5xx status code
func (*DeleteEntitlementUsingDELETE2NoContent) IsSuccess ¶ added in v0.5.0
func (o *DeleteEntitlementUsingDELETE2NoContent) IsSuccess() bool
IsSuccess returns true when this delete entitlement using d e l e t e2 no content response has a 2xx status code
func (*DeleteEntitlementUsingDELETE2NoContent) String ¶ added in v0.5.0
func (o *DeleteEntitlementUsingDELETE2NoContent) String() string
type DeleteEntitlementUsingDELETE2Params ¶ added in v0.4.0
type DeleteEntitlementUsingDELETE2Params struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* ID. Entitlement id Format: uuid */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteEntitlementUsingDELETE2Params contains all the parameters to send to the API endpoint
for the delete entitlement using d e l e t e 2 operation. Typically these are written to a http.Request.
func NewDeleteEntitlementUsingDELETE2Params ¶ added in v0.4.0
func NewDeleteEntitlementUsingDELETE2Params() *DeleteEntitlementUsingDELETE2Params
NewDeleteEntitlementUsingDELETE2Params creates a new DeleteEntitlementUsingDELETE2Params 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 NewDeleteEntitlementUsingDELETE2ParamsWithContext ¶ added in v0.4.0
func NewDeleteEntitlementUsingDELETE2ParamsWithContext(ctx context.Context) *DeleteEntitlementUsingDELETE2Params
NewDeleteEntitlementUsingDELETE2ParamsWithContext creates a new DeleteEntitlementUsingDELETE2Params object with the ability to set a context for a request.
func NewDeleteEntitlementUsingDELETE2ParamsWithHTTPClient ¶ added in v0.4.0
func NewDeleteEntitlementUsingDELETE2ParamsWithHTTPClient(client *http.Client) *DeleteEntitlementUsingDELETE2Params
NewDeleteEntitlementUsingDELETE2ParamsWithHTTPClient creates a new DeleteEntitlementUsingDELETE2Params object with the ability to set a custom HTTPClient for a request.
func NewDeleteEntitlementUsingDELETE2ParamsWithTimeout ¶ added in v0.4.0
func NewDeleteEntitlementUsingDELETE2ParamsWithTimeout(timeout time.Duration) *DeleteEntitlementUsingDELETE2Params
NewDeleteEntitlementUsingDELETE2ParamsWithTimeout creates a new DeleteEntitlementUsingDELETE2Params object with the ability to set a timeout on a request.
func (*DeleteEntitlementUsingDELETE2Params) SetAPIVersion ¶ added in v0.4.0
func (o *DeleteEntitlementUsingDELETE2Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete entitlement using d e l e t e 2 params
func (*DeleteEntitlementUsingDELETE2Params) SetContext ¶ added in v0.4.0
func (o *DeleteEntitlementUsingDELETE2Params) SetContext(ctx context.Context)
SetContext adds the context to the delete entitlement using d e l e t e 2 params
func (*DeleteEntitlementUsingDELETE2Params) SetDefaults ¶ added in v0.4.0
func (o *DeleteEntitlementUsingDELETE2Params) SetDefaults()
SetDefaults hydrates default values in the delete entitlement using d e l e t e 2 params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteEntitlementUsingDELETE2Params) SetHTTPClient ¶ added in v0.4.0
func (o *DeleteEntitlementUsingDELETE2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete entitlement using d e l e t e 2 params
func (*DeleteEntitlementUsingDELETE2Params) SetID ¶ added in v0.4.0
func (o *DeleteEntitlementUsingDELETE2Params) SetID(id strfmt.UUID)
SetID adds the id to the delete entitlement using d e l e t e 2 params
func (*DeleteEntitlementUsingDELETE2Params) SetTimeout ¶ added in v0.4.0
func (o *DeleteEntitlementUsingDELETE2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete entitlement using d e l e t e 2 params
func (*DeleteEntitlementUsingDELETE2Params) WithAPIVersion ¶ added in v0.4.0
func (o *DeleteEntitlementUsingDELETE2Params) WithAPIVersion(aPIVersion *string) *DeleteEntitlementUsingDELETE2Params
WithAPIVersion adds the aPIVersion to the delete entitlement using d e l e t e 2 params
func (*DeleteEntitlementUsingDELETE2Params) WithContext ¶ added in v0.4.0
func (o *DeleteEntitlementUsingDELETE2Params) WithContext(ctx context.Context) *DeleteEntitlementUsingDELETE2Params
WithContext adds the context to the delete entitlement using d e l e t e 2 params
func (*DeleteEntitlementUsingDELETE2Params) WithDefaults ¶ added in v0.4.0
func (o *DeleteEntitlementUsingDELETE2Params) WithDefaults() *DeleteEntitlementUsingDELETE2Params
WithDefaults hydrates default values in the delete entitlement using d e l e t e 2 params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteEntitlementUsingDELETE2Params) WithHTTPClient ¶ added in v0.4.0
func (o *DeleteEntitlementUsingDELETE2Params) WithHTTPClient(client *http.Client) *DeleteEntitlementUsingDELETE2Params
WithHTTPClient adds the HTTPClient to the delete entitlement using d e l e t e 2 params
func (*DeleteEntitlementUsingDELETE2Params) WithID ¶ added in v0.4.0
func (o *DeleteEntitlementUsingDELETE2Params) WithID(id strfmt.UUID) *DeleteEntitlementUsingDELETE2Params
WithID adds the id to the delete entitlement using d e l e t e 2 params
func (*DeleteEntitlementUsingDELETE2Params) WithTimeout ¶ added in v0.4.0
func (o *DeleteEntitlementUsingDELETE2Params) WithTimeout(timeout time.Duration) *DeleteEntitlementUsingDELETE2Params
WithTimeout adds the timeout to the delete entitlement using d e l e t e 2 params
func (*DeleteEntitlementUsingDELETE2Params) WriteToRequest ¶ added in v0.4.0
func (o *DeleteEntitlementUsingDELETE2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteEntitlementUsingDELETE2Reader ¶ added in v0.4.0
type DeleteEntitlementUsingDELETE2Reader struct {
// contains filtered or unexported fields
}
DeleteEntitlementUsingDELETE2Reader is a Reader for the DeleteEntitlementUsingDELETE2 structure.
func (*DeleteEntitlementUsingDELETE2Reader) ReadResponse ¶ added in v0.4.0
func (o *DeleteEntitlementUsingDELETE2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteEntitlementUsingDELETE2Unauthorized ¶ added in v0.4.0
type DeleteEntitlementUsingDELETE2Unauthorized struct { }
DeleteEntitlementUsingDELETE2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteEntitlementUsingDELETE2Unauthorized ¶ added in v0.4.0
func NewDeleteEntitlementUsingDELETE2Unauthorized() *DeleteEntitlementUsingDELETE2Unauthorized
NewDeleteEntitlementUsingDELETE2Unauthorized creates a DeleteEntitlementUsingDELETE2Unauthorized with default headers values
func (*DeleteEntitlementUsingDELETE2Unauthorized) Error ¶ added in v0.4.0
func (o *DeleteEntitlementUsingDELETE2Unauthorized) Error() string
func (*DeleteEntitlementUsingDELETE2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *DeleteEntitlementUsingDELETE2Unauthorized) IsClientError() bool
IsClientError returns true when this delete entitlement using d e l e t e2 unauthorized response has a 4xx status code
func (*DeleteEntitlementUsingDELETE2Unauthorized) IsCode ¶ added in v0.5.0
func (o *DeleteEntitlementUsingDELETE2Unauthorized) IsCode(code int) bool
IsCode returns true when this delete entitlement using d e l e t e2 unauthorized response a status code equal to that given
func (*DeleteEntitlementUsingDELETE2Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *DeleteEntitlementUsingDELETE2Unauthorized) IsRedirect() bool
IsRedirect returns true when this delete entitlement using d e l e t e2 unauthorized response has a 3xx status code
func (*DeleteEntitlementUsingDELETE2Unauthorized) IsServerError ¶ added in v0.5.0
func (o *DeleteEntitlementUsingDELETE2Unauthorized) IsServerError() bool
IsServerError returns true when this delete entitlement using d e l e t e2 unauthorized response has a 5xx status code
func (*DeleteEntitlementUsingDELETE2Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *DeleteEntitlementUsingDELETE2Unauthorized) IsSuccess() bool
IsSuccess returns true when this delete entitlement using d e l e t e2 unauthorized response has a 2xx status code
func (*DeleteEntitlementUsingDELETE2Unauthorized) String ¶ added in v0.5.0
func (o *DeleteEntitlementUsingDELETE2Unauthorized) String() string
type GetEntitlementsUsingGET2OK ¶ added in v0.4.0
type GetEntitlementsUsingGET2OK struct {
Payload []*models.Entitlement
}
GetEntitlementsUsingGET2OK describes a response with status code 200, with default header values.
OK
func NewGetEntitlementsUsingGET2OK ¶ added in v0.4.0
func NewGetEntitlementsUsingGET2OK() *GetEntitlementsUsingGET2OK
NewGetEntitlementsUsingGET2OK creates a GetEntitlementsUsingGET2OK with default headers values
func (*GetEntitlementsUsingGET2OK) Error ¶ added in v0.4.0
func (o *GetEntitlementsUsingGET2OK) Error() string
func (*GetEntitlementsUsingGET2OK) GetPayload ¶ added in v0.4.0
func (o *GetEntitlementsUsingGET2OK) GetPayload() []*models.Entitlement
func (*GetEntitlementsUsingGET2OK) IsClientError ¶ added in v0.5.0
func (o *GetEntitlementsUsingGET2OK) IsClientError() bool
IsClientError returns true when this get entitlements using g e t2 o k response has a 4xx status code
func (*GetEntitlementsUsingGET2OK) IsCode ¶ added in v0.5.0
func (o *GetEntitlementsUsingGET2OK) IsCode(code int) bool
IsCode returns true when this get entitlements using g e t2 o k response a status code equal to that given
func (*GetEntitlementsUsingGET2OK) IsRedirect ¶ added in v0.5.0
func (o *GetEntitlementsUsingGET2OK) IsRedirect() bool
IsRedirect returns true when this get entitlements using g e t2 o k response has a 3xx status code
func (*GetEntitlementsUsingGET2OK) IsServerError ¶ added in v0.5.0
func (o *GetEntitlementsUsingGET2OK) IsServerError() bool
IsServerError returns true when this get entitlements using g e t2 o k response has a 5xx status code
func (*GetEntitlementsUsingGET2OK) IsSuccess ¶ added in v0.5.0
func (o *GetEntitlementsUsingGET2OK) IsSuccess() bool
IsSuccess returns true when this get entitlements using g e t2 o k response has a 2xx status code
func (*GetEntitlementsUsingGET2OK) String ¶ added in v0.5.0
func (o *GetEntitlementsUsingGET2OK) String() string
type GetEntitlementsUsingGET2Params ¶ added in v0.4.0
type GetEntitlementsUsingGET2Params struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* ProjectID. The project id for which to return . */ ProjectID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEntitlementsUsingGET2Params contains all the parameters to send to the API endpoint
for the get entitlements using g e t 2 operation. Typically these are written to a http.Request.
func NewGetEntitlementsUsingGET2Params ¶ added in v0.4.0
func NewGetEntitlementsUsingGET2Params() *GetEntitlementsUsingGET2Params
NewGetEntitlementsUsingGET2Params creates a new GetEntitlementsUsingGET2Params 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 NewGetEntitlementsUsingGET2ParamsWithContext ¶ added in v0.4.0
func NewGetEntitlementsUsingGET2ParamsWithContext(ctx context.Context) *GetEntitlementsUsingGET2Params
NewGetEntitlementsUsingGET2ParamsWithContext creates a new GetEntitlementsUsingGET2Params object with the ability to set a context for a request.
func NewGetEntitlementsUsingGET2ParamsWithHTTPClient ¶ added in v0.4.0
func NewGetEntitlementsUsingGET2ParamsWithHTTPClient(client *http.Client) *GetEntitlementsUsingGET2Params
NewGetEntitlementsUsingGET2ParamsWithHTTPClient creates a new GetEntitlementsUsingGET2Params object with the ability to set a custom HTTPClient for a request.
func NewGetEntitlementsUsingGET2ParamsWithTimeout ¶ added in v0.4.0
func NewGetEntitlementsUsingGET2ParamsWithTimeout(timeout time.Duration) *GetEntitlementsUsingGET2Params
NewGetEntitlementsUsingGET2ParamsWithTimeout creates a new GetEntitlementsUsingGET2Params object with the ability to set a timeout on a request.
func (*GetEntitlementsUsingGET2Params) SetAPIVersion ¶ added in v0.4.0
func (o *GetEntitlementsUsingGET2Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get entitlements using g e t 2 params
func (*GetEntitlementsUsingGET2Params) SetContext ¶ added in v0.4.0
func (o *GetEntitlementsUsingGET2Params) SetContext(ctx context.Context)
SetContext adds the context to the get entitlements using g e t 2 params
func (*GetEntitlementsUsingGET2Params) SetDefaults ¶ added in v0.4.0
func (o *GetEntitlementsUsingGET2Params) SetDefaults()
SetDefaults hydrates default values in the get entitlements using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetEntitlementsUsingGET2Params) SetHTTPClient ¶ added in v0.4.0
func (o *GetEntitlementsUsingGET2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get entitlements using g e t 2 params
func (*GetEntitlementsUsingGET2Params) SetProjectID ¶ added in v0.4.0
func (o *GetEntitlementsUsingGET2Params) SetProjectID(projectID *string)
SetProjectID adds the projectId to the get entitlements using g e t 2 params
func (*GetEntitlementsUsingGET2Params) SetTimeout ¶ added in v0.4.0
func (o *GetEntitlementsUsingGET2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get entitlements using g e t 2 params
func (*GetEntitlementsUsingGET2Params) WithAPIVersion ¶ added in v0.4.0
func (o *GetEntitlementsUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetEntitlementsUsingGET2Params
WithAPIVersion adds the aPIVersion to the get entitlements using g e t 2 params
func (*GetEntitlementsUsingGET2Params) WithContext ¶ added in v0.4.0
func (o *GetEntitlementsUsingGET2Params) WithContext(ctx context.Context) *GetEntitlementsUsingGET2Params
WithContext adds the context to the get entitlements using g e t 2 params
func (*GetEntitlementsUsingGET2Params) WithDefaults ¶ added in v0.4.0
func (o *GetEntitlementsUsingGET2Params) WithDefaults() *GetEntitlementsUsingGET2Params
WithDefaults hydrates default values in the get entitlements using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetEntitlementsUsingGET2Params) WithHTTPClient ¶ added in v0.4.0
func (o *GetEntitlementsUsingGET2Params) WithHTTPClient(client *http.Client) *GetEntitlementsUsingGET2Params
WithHTTPClient adds the HTTPClient to the get entitlements using g e t 2 params
func (*GetEntitlementsUsingGET2Params) WithProjectID ¶ added in v0.4.0
func (o *GetEntitlementsUsingGET2Params) WithProjectID(projectID *string) *GetEntitlementsUsingGET2Params
WithProjectID adds the projectID to the get entitlements using g e t 2 params
func (*GetEntitlementsUsingGET2Params) WithTimeout ¶ added in v0.4.0
func (o *GetEntitlementsUsingGET2Params) WithTimeout(timeout time.Duration) *GetEntitlementsUsingGET2Params
WithTimeout adds the timeout to the get entitlements using g e t 2 params
func (*GetEntitlementsUsingGET2Params) WriteToRequest ¶ added in v0.4.0
func (o *GetEntitlementsUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEntitlementsUsingGET2Reader ¶ added in v0.4.0
type GetEntitlementsUsingGET2Reader struct {
// contains filtered or unexported fields
}
GetEntitlementsUsingGET2Reader is a Reader for the GetEntitlementsUsingGET2 structure.
func (*GetEntitlementsUsingGET2Reader) ReadResponse ¶ added in v0.4.0
func (o *GetEntitlementsUsingGET2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEntitlementsUsingGET2Unauthorized ¶ added in v0.4.0
type GetEntitlementsUsingGET2Unauthorized struct { }
GetEntitlementsUsingGET2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetEntitlementsUsingGET2Unauthorized ¶ added in v0.4.0
func NewGetEntitlementsUsingGET2Unauthorized() *GetEntitlementsUsingGET2Unauthorized
NewGetEntitlementsUsingGET2Unauthorized creates a GetEntitlementsUsingGET2Unauthorized with default headers values
func (*GetEntitlementsUsingGET2Unauthorized) Error ¶ added in v0.4.0
func (o *GetEntitlementsUsingGET2Unauthorized) Error() string
func (*GetEntitlementsUsingGET2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *GetEntitlementsUsingGET2Unauthorized) IsClientError() bool
IsClientError returns true when this get entitlements using g e t2 unauthorized response has a 4xx status code
func (*GetEntitlementsUsingGET2Unauthorized) IsCode ¶ added in v0.5.0
func (o *GetEntitlementsUsingGET2Unauthorized) IsCode(code int) bool
IsCode returns true when this get entitlements using g e t2 unauthorized response a status code equal to that given
func (*GetEntitlementsUsingGET2Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *GetEntitlementsUsingGET2Unauthorized) IsRedirect() bool
IsRedirect returns true when this get entitlements using g e t2 unauthorized response has a 3xx status code
func (*GetEntitlementsUsingGET2Unauthorized) IsServerError ¶ added in v0.5.0
func (o *GetEntitlementsUsingGET2Unauthorized) IsServerError() bool
IsServerError returns true when this get entitlements using g e t2 unauthorized response has a 5xx status code
func (*GetEntitlementsUsingGET2Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *GetEntitlementsUsingGET2Unauthorized) IsSuccess() bool
IsSuccess returns true when this get entitlements using g e t2 unauthorized response has a 2xx status code
func (*GetEntitlementsUsingGET2Unauthorized) String ¶ added in v0.5.0
func (o *GetEntitlementsUsingGET2Unauthorized) String() string