resources

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 resources API

func (*Client) CreateResourceUsingPOST2 added in v0.4.0

func (a *Client) CreateResourceUsingPOST2(params *CreateResourceUsingPOST2Params, opts ...ClientOption) (*CreateResourceUsingPOST2OK, error)

CreateResourceUsingPOST2 creates a new resource

Returns the resource request response.

func (*Client) GetResourceByIDUsingGET5 added in v0.4.0

func (a *Client) GetResourceByIDUsingGET5(params *GetResourceByIDUsingGET5Params, opts ...ClientOption) (*GetResourceByIDUsingGET5OK, error)

GetResourceByIDUsingGET5 fetches a specific resource

Returns the resource with the supplied ID.

func (*Client) GetResourceFilterByIDUsingGET2 added in v0.4.0

func (a *Client) GetResourceFilterByIDUsingGET2(params *GetResourceFilterByIDUsingGET2Params, opts ...ClientOption) (*GetResourceFilterByIDUsingGET2OK, error)

GetResourceFilterByIDUsingGET2 returns the resource filter with the supplied ID

func (*Client) GetResourceFiltersUsingGET2 added in v0.4.0

func (a *Client) GetResourceFiltersUsingGET2(params *GetResourceFiltersUsingGET2Params, opts ...ClientOption) (*GetResourceFiltersUsingGET2OK, error)

GetResourceFiltersUsingGET2 returns the resource filters in context of given user

func (*Client) GetResourcesUsingGET2 added in v0.4.0

func (a *Client) GetResourcesUsingGET2(params *GetResourcesUsingGET2Params, opts ...ClientOption) (*GetResourcesUsingGET2OK, error)

GetResourcesUsingGET2 fetches all resources

Returns a paginated list of resources.

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 {
	CreateResourceUsingPOST2(params *CreateResourceUsingPOST2Params, opts ...ClientOption) (*CreateResourceUsingPOST2OK, error)

	GetResourceByIDUsingGET5(params *GetResourceByIDUsingGET5Params, opts ...ClientOption) (*GetResourceByIDUsingGET5OK, error)

	GetResourceFilterByIDUsingGET2(params *GetResourceFilterByIDUsingGET2Params, opts ...ClientOption) (*GetResourceFilterByIDUsingGET2OK, error)

	GetResourceFiltersUsingGET2(params *GetResourceFiltersUsingGET2Params, opts ...ClientOption) (*GetResourceFiltersUsingGET2OK, error)

	GetResourcesUsingGET2(params *GetResourcesUsingGET2Params, opts ...ClientOption) (*GetResourcesUsingGET2OK, 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 resources API client.

type CreateResourceUsingPOST2Forbidden added in v0.5.0

type CreateResourceUsingPOST2Forbidden struct {
}

CreateResourceUsingPOST2Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateResourceUsingPOST2Forbidden added in v0.5.0

func NewCreateResourceUsingPOST2Forbidden() *CreateResourceUsingPOST2Forbidden

NewCreateResourceUsingPOST2Forbidden creates a CreateResourceUsingPOST2Forbidden with default headers values

func (*CreateResourceUsingPOST2Forbidden) Error added in v0.5.0

func (*CreateResourceUsingPOST2Forbidden) IsClientError added in v0.5.0

func (o *CreateResourceUsingPOST2Forbidden) IsClientError() bool

IsClientError returns true when this create resource using p o s t2 forbidden response has a 4xx status code

func (*CreateResourceUsingPOST2Forbidden) IsCode added in v0.5.0

func (o *CreateResourceUsingPOST2Forbidden) IsCode(code int) bool

IsCode returns true when this create resource using p o s t2 forbidden response a status code equal to that given

func (*CreateResourceUsingPOST2Forbidden) IsRedirect added in v0.5.0

func (o *CreateResourceUsingPOST2Forbidden) IsRedirect() bool

IsRedirect returns true when this create resource using p o s t2 forbidden response has a 3xx status code

func (*CreateResourceUsingPOST2Forbidden) IsServerError added in v0.5.0

func (o *CreateResourceUsingPOST2Forbidden) IsServerError() bool

IsServerError returns true when this create resource using p o s t2 forbidden response has a 5xx status code

func (*CreateResourceUsingPOST2Forbidden) IsSuccess added in v0.5.0

func (o *CreateResourceUsingPOST2Forbidden) IsSuccess() bool

IsSuccess returns true when this create resource using p o s t2 forbidden response has a 2xx status code

func (*CreateResourceUsingPOST2Forbidden) String added in v0.5.0

type CreateResourceUsingPOST2OK added in v0.4.0

type CreateResourceUsingPOST2OK struct {
	Payload *models.ResourceRequestResponse
}

CreateResourceUsingPOST2OK describes a response with status code 200, with default header values.

OK

func NewCreateResourceUsingPOST2OK added in v0.4.0

func NewCreateResourceUsingPOST2OK() *CreateResourceUsingPOST2OK

NewCreateResourceUsingPOST2OK creates a CreateResourceUsingPOST2OK with default headers values

func (*CreateResourceUsingPOST2OK) Error added in v0.4.0

func (*CreateResourceUsingPOST2OK) GetPayload added in v0.4.0

func (*CreateResourceUsingPOST2OK) IsClientError added in v0.5.0

func (o *CreateResourceUsingPOST2OK) IsClientError() bool

IsClientError returns true when this create resource using p o s t2 o k response has a 4xx status code

func (*CreateResourceUsingPOST2OK) IsCode added in v0.5.0

func (o *CreateResourceUsingPOST2OK) IsCode(code int) bool

IsCode returns true when this create resource using p o s t2 o k response a status code equal to that given

func (*CreateResourceUsingPOST2OK) IsRedirect added in v0.5.0

func (o *CreateResourceUsingPOST2OK) IsRedirect() bool

IsRedirect returns true when this create resource using p o s t2 o k response has a 3xx status code

func (*CreateResourceUsingPOST2OK) IsServerError added in v0.5.0

func (o *CreateResourceUsingPOST2OK) IsServerError() bool

IsServerError returns true when this create resource using p o s t2 o k response has a 5xx status code

func (*CreateResourceUsingPOST2OK) IsSuccess added in v0.5.0

func (o *CreateResourceUsingPOST2OK) IsSuccess() bool

IsSuccess returns true when this create resource using p o s t2 o k response has a 2xx status code

func (*CreateResourceUsingPOST2OK) String added in v0.5.0

func (o *CreateResourceUsingPOST2OK) String() string

type CreateResourceUsingPOST2Params added in v0.4.0

type CreateResourceUsingPOST2Params 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

	/* Resource.

	   The resource spec to create a resource.
	*/
	Resource *models.ResourceSpecification

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateResourceUsingPOST2Params contains all the parameters to send to the API endpoint

for the create resource using p o s t 2 operation.

Typically these are written to a http.Request.

func NewCreateResourceUsingPOST2Params added in v0.4.0

func NewCreateResourceUsingPOST2Params() *CreateResourceUsingPOST2Params

NewCreateResourceUsingPOST2Params creates a new CreateResourceUsingPOST2Params 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 NewCreateResourceUsingPOST2ParamsWithContext added in v0.4.0

func NewCreateResourceUsingPOST2ParamsWithContext(ctx context.Context) *CreateResourceUsingPOST2Params

NewCreateResourceUsingPOST2ParamsWithContext creates a new CreateResourceUsingPOST2Params object with the ability to set a context for a request.

func NewCreateResourceUsingPOST2ParamsWithHTTPClient added in v0.4.0

func NewCreateResourceUsingPOST2ParamsWithHTTPClient(client *http.Client) *CreateResourceUsingPOST2Params

NewCreateResourceUsingPOST2ParamsWithHTTPClient creates a new CreateResourceUsingPOST2Params object with the ability to set a custom HTTPClient for a request.

func NewCreateResourceUsingPOST2ParamsWithTimeout added in v0.4.0

func NewCreateResourceUsingPOST2ParamsWithTimeout(timeout time.Duration) *CreateResourceUsingPOST2Params

NewCreateResourceUsingPOST2ParamsWithTimeout creates a new CreateResourceUsingPOST2Params object with the ability to set a timeout on a request.

func (*CreateResourceUsingPOST2Params) SetAPIVersion added in v0.4.0

func (o *CreateResourceUsingPOST2Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the create resource using p o s t 2 params

func (*CreateResourceUsingPOST2Params) SetContext added in v0.4.0

func (o *CreateResourceUsingPOST2Params) SetContext(ctx context.Context)

SetContext adds the context to the create resource using p o s t 2 params

func (*CreateResourceUsingPOST2Params) SetDefaults added in v0.4.0

func (o *CreateResourceUsingPOST2Params) SetDefaults()

SetDefaults hydrates default values in the create resource using p o s t 2 params (not the query body).

All values with no default are reset to their zero value.

func (*CreateResourceUsingPOST2Params) SetHTTPClient added in v0.4.0

func (o *CreateResourceUsingPOST2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create resource using p o s t 2 params

func (*CreateResourceUsingPOST2Params) SetResource added in v0.4.0

SetResource adds the resource to the create resource using p o s t 2 params

func (*CreateResourceUsingPOST2Params) SetTimeout added in v0.4.0

func (o *CreateResourceUsingPOST2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create resource using p o s t 2 params

func (*CreateResourceUsingPOST2Params) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the create resource using p o s t 2 params

func (*CreateResourceUsingPOST2Params) WithContext added in v0.4.0

WithContext adds the context to the create resource using p o s t 2 params

func (*CreateResourceUsingPOST2Params) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the create resource using p o s t 2 params (not the query body).

All values with no default are reset to their zero value.

func (*CreateResourceUsingPOST2Params) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the create resource using p o s t 2 params

func (*CreateResourceUsingPOST2Params) WithResource added in v0.4.0

WithResource adds the resource to the create resource using p o s t 2 params

func (*CreateResourceUsingPOST2Params) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the create resource using p o s t 2 params

func (*CreateResourceUsingPOST2Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type CreateResourceUsingPOST2Reader added in v0.4.0

type CreateResourceUsingPOST2Reader struct {
	// contains filtered or unexported fields
}

CreateResourceUsingPOST2Reader is a Reader for the CreateResourceUsingPOST2 structure.

func (*CreateResourceUsingPOST2Reader) ReadResponse added in v0.4.0

func (o *CreateResourceUsingPOST2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateResourceUsingPOST2Unauthorized added in v0.4.0

type CreateResourceUsingPOST2Unauthorized struct {
}

CreateResourceUsingPOST2Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateResourceUsingPOST2Unauthorized added in v0.4.0

func NewCreateResourceUsingPOST2Unauthorized() *CreateResourceUsingPOST2Unauthorized

NewCreateResourceUsingPOST2Unauthorized creates a CreateResourceUsingPOST2Unauthorized with default headers values

func (*CreateResourceUsingPOST2Unauthorized) Error added in v0.4.0

func (*CreateResourceUsingPOST2Unauthorized) IsClientError added in v0.5.0

func (o *CreateResourceUsingPOST2Unauthorized) IsClientError() bool

IsClientError returns true when this create resource using p o s t2 unauthorized response has a 4xx status code

func (*CreateResourceUsingPOST2Unauthorized) IsCode added in v0.5.0

IsCode returns true when this create resource using p o s t2 unauthorized response a status code equal to that given

func (*CreateResourceUsingPOST2Unauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this create resource using p o s t2 unauthorized response has a 3xx status code

func (*CreateResourceUsingPOST2Unauthorized) IsServerError added in v0.5.0

func (o *CreateResourceUsingPOST2Unauthorized) IsServerError() bool

IsServerError returns true when this create resource using p o s t2 unauthorized response has a 5xx status code

func (*CreateResourceUsingPOST2Unauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this create resource using p o s t2 unauthorized response has a 2xx status code

func (*CreateResourceUsingPOST2Unauthorized) String added in v0.5.0

type GetResourceByIDUsingGET5Forbidden added in v0.5.0

type GetResourceByIDUsingGET5Forbidden struct {
}

GetResourceByIDUsingGET5Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetResourceByIDUsingGET5Forbidden added in v0.5.0

func NewGetResourceByIDUsingGET5Forbidden() *GetResourceByIDUsingGET5Forbidden

NewGetResourceByIDUsingGET5Forbidden creates a GetResourceByIDUsingGET5Forbidden with default headers values

func (*GetResourceByIDUsingGET5Forbidden) Error added in v0.5.0

func (*GetResourceByIDUsingGET5Forbidden) IsClientError added in v0.5.0

func (o *GetResourceByIDUsingGET5Forbidden) IsClientError() bool

IsClientError returns true when this get resource by Id using g e t5 forbidden response has a 4xx status code

func (*GetResourceByIDUsingGET5Forbidden) IsCode added in v0.5.0

func (o *GetResourceByIDUsingGET5Forbidden) IsCode(code int) bool

IsCode returns true when this get resource by Id using g e t5 forbidden response a status code equal to that given

func (*GetResourceByIDUsingGET5Forbidden) IsRedirect added in v0.5.0

func (o *GetResourceByIDUsingGET5Forbidden) IsRedirect() bool

IsRedirect returns true when this get resource by Id using g e t5 forbidden response has a 3xx status code

func (*GetResourceByIDUsingGET5Forbidden) IsServerError added in v0.5.0

func (o *GetResourceByIDUsingGET5Forbidden) IsServerError() bool

IsServerError returns true when this get resource by Id using g e t5 forbidden response has a 5xx status code

func (*GetResourceByIDUsingGET5Forbidden) IsSuccess added in v0.5.0

func (o *GetResourceByIDUsingGET5Forbidden) IsSuccess() bool

IsSuccess returns true when this get resource by Id using g e t5 forbidden response has a 2xx status code

func (*GetResourceByIDUsingGET5Forbidden) String added in v0.5.0

type GetResourceByIDUsingGET5OK added in v0.4.0

type GetResourceByIDUsingGET5OK struct {
	Payload *models.Resource
}

GetResourceByIDUsingGET5OK describes a response with status code 200, with default header values.

OK

func NewGetResourceByIDUsingGET5OK added in v0.4.0

func NewGetResourceByIDUsingGET5OK() *GetResourceByIDUsingGET5OK

NewGetResourceByIDUsingGET5OK creates a GetResourceByIDUsingGET5OK with default headers values

func (*GetResourceByIDUsingGET5OK) Error added in v0.4.0

func (*GetResourceByIDUsingGET5OK) GetPayload added in v0.4.0

func (o *GetResourceByIDUsingGET5OK) GetPayload() *models.Resource

func (*GetResourceByIDUsingGET5OK) IsClientError added in v0.5.0

func (o *GetResourceByIDUsingGET5OK) IsClientError() bool

IsClientError returns true when this get resource by Id using g e t5 o k response has a 4xx status code

func (*GetResourceByIDUsingGET5OK) IsCode added in v0.5.0

func (o *GetResourceByIDUsingGET5OK) IsCode(code int) bool

IsCode returns true when this get resource by Id using g e t5 o k response a status code equal to that given

func (*GetResourceByIDUsingGET5OK) IsRedirect added in v0.5.0

func (o *GetResourceByIDUsingGET5OK) IsRedirect() bool

IsRedirect returns true when this get resource by Id using g e t5 o k response has a 3xx status code

func (*GetResourceByIDUsingGET5OK) IsServerError added in v0.5.0

func (o *GetResourceByIDUsingGET5OK) IsServerError() bool

IsServerError returns true when this get resource by Id using g e t5 o k response has a 5xx status code

func (*GetResourceByIDUsingGET5OK) IsSuccess added in v0.5.0

func (o *GetResourceByIDUsingGET5OK) IsSuccess() bool

IsSuccess returns true when this get resource by Id using g e t5 o k response has a 2xx status code

func (*GetResourceByIDUsingGET5OK) String added in v0.5.0

func (o *GetResourceByIDUsingGET5OK) String() string

type GetResourceByIDUsingGET5Params added in v0.4.0

type GetResourceByIDUsingGET5Params 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

	/* Expand.

	   The expanded details of the requested comma separated objects. Ex. project, deployment, currentRequest
	*/
	Expand []string

	/* ResourceID.

	   Resource ID

	   Format: uuid
	*/
	ResourceID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetResourceByIDUsingGET5Params contains all the parameters to send to the API endpoint

for the get resource by Id using g e t 5 operation.

Typically these are written to a http.Request.

func NewGetResourceByIDUsingGET5Params added in v0.4.0

func NewGetResourceByIDUsingGET5Params() *GetResourceByIDUsingGET5Params

NewGetResourceByIDUsingGET5Params creates a new GetResourceByIDUsingGET5Params 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 NewGetResourceByIDUsingGET5ParamsWithContext added in v0.4.0

func NewGetResourceByIDUsingGET5ParamsWithContext(ctx context.Context) *GetResourceByIDUsingGET5Params

NewGetResourceByIDUsingGET5ParamsWithContext creates a new GetResourceByIDUsingGET5Params object with the ability to set a context for a request.

func NewGetResourceByIDUsingGET5ParamsWithHTTPClient added in v0.4.0

func NewGetResourceByIDUsingGET5ParamsWithHTTPClient(client *http.Client) *GetResourceByIDUsingGET5Params

NewGetResourceByIDUsingGET5ParamsWithHTTPClient creates a new GetResourceByIDUsingGET5Params object with the ability to set a custom HTTPClient for a request.

func NewGetResourceByIDUsingGET5ParamsWithTimeout added in v0.4.0

func NewGetResourceByIDUsingGET5ParamsWithTimeout(timeout time.Duration) *GetResourceByIDUsingGET5Params

NewGetResourceByIDUsingGET5ParamsWithTimeout creates a new GetResourceByIDUsingGET5Params object with the ability to set a timeout on a request.

func (*GetResourceByIDUsingGET5Params) SetAPIVersion added in v0.4.0

func (o *GetResourceByIDUsingGET5Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get resource by Id using g e t 5 params

func (*GetResourceByIDUsingGET5Params) SetContext added in v0.4.0

func (o *GetResourceByIDUsingGET5Params) SetContext(ctx context.Context)

SetContext adds the context to the get resource by Id using g e t 5 params

func (*GetResourceByIDUsingGET5Params) SetDefaults added in v0.4.0

func (o *GetResourceByIDUsingGET5Params) SetDefaults()

SetDefaults hydrates default values in the get resource by Id using g e t 5 params (not the query body).

All values with no default are reset to their zero value.

func (*GetResourceByIDUsingGET5Params) SetExpand added in v0.4.0

func (o *GetResourceByIDUsingGET5Params) SetExpand(expand []string)

SetExpand adds the expand to the get resource by Id using g e t 5 params

func (*GetResourceByIDUsingGET5Params) SetHTTPClient added in v0.4.0

func (o *GetResourceByIDUsingGET5Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get resource by Id using g e t 5 params

func (*GetResourceByIDUsingGET5Params) SetResourceID added in v0.4.0

func (o *GetResourceByIDUsingGET5Params) SetResourceID(resourceID strfmt.UUID)

SetResourceID adds the resourceId to the get resource by Id using g e t 5 params

func (*GetResourceByIDUsingGET5Params) SetTimeout added in v0.4.0

func (o *GetResourceByIDUsingGET5Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get resource by Id using g e t 5 params

func (*GetResourceByIDUsingGET5Params) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the get resource by Id using g e t 5 params

func (*GetResourceByIDUsingGET5Params) WithContext added in v0.4.0

WithContext adds the context to the get resource by Id using g e t 5 params

func (*GetResourceByIDUsingGET5Params) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the get resource by Id using g e t 5 params (not the query body).

All values with no default are reset to their zero value.

func (*GetResourceByIDUsingGET5Params) WithExpand added in v0.4.0

WithExpand adds the expand to the get resource by Id using g e t 5 params

func (*GetResourceByIDUsingGET5Params) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the get resource by Id using g e t 5 params

func (*GetResourceByIDUsingGET5Params) WithResourceID added in v0.4.0

WithResourceID adds the resourceID to the get resource by Id using g e t 5 params

func (*GetResourceByIDUsingGET5Params) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get resource by Id using g e t 5 params

func (*GetResourceByIDUsingGET5Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetResourceByIDUsingGET5Reader added in v0.4.0

type GetResourceByIDUsingGET5Reader struct {
	// contains filtered or unexported fields
}

GetResourceByIDUsingGET5Reader is a Reader for the GetResourceByIDUsingGET5 structure.

func (*GetResourceByIDUsingGET5Reader) ReadResponse added in v0.4.0

func (o *GetResourceByIDUsingGET5Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetResourceByIDUsingGET5Unauthorized added in v0.4.0

type GetResourceByIDUsingGET5Unauthorized struct {
}

GetResourceByIDUsingGET5Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetResourceByIDUsingGET5Unauthorized added in v0.4.0

func NewGetResourceByIDUsingGET5Unauthorized() *GetResourceByIDUsingGET5Unauthorized

NewGetResourceByIDUsingGET5Unauthorized creates a GetResourceByIDUsingGET5Unauthorized with default headers values

func (*GetResourceByIDUsingGET5Unauthorized) Error added in v0.4.0

func (*GetResourceByIDUsingGET5Unauthorized) IsClientError added in v0.5.0

func (o *GetResourceByIDUsingGET5Unauthorized) IsClientError() bool

IsClientError returns true when this get resource by Id using g e t5 unauthorized response has a 4xx status code

func (*GetResourceByIDUsingGET5Unauthorized) IsCode added in v0.5.0

IsCode returns true when this get resource by Id using g e t5 unauthorized response a status code equal to that given

func (*GetResourceByIDUsingGET5Unauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this get resource by Id using g e t5 unauthorized response has a 3xx status code

func (*GetResourceByIDUsingGET5Unauthorized) IsServerError added in v0.5.0

func (o *GetResourceByIDUsingGET5Unauthorized) IsServerError() bool

IsServerError returns true when this get resource by Id using g e t5 unauthorized response has a 5xx status code

func (*GetResourceByIDUsingGET5Unauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this get resource by Id using g e t5 unauthorized response has a 2xx status code

func (*GetResourceByIDUsingGET5Unauthorized) String added in v0.5.0

type GetResourceFilterByIDUsingGET2OK added in v0.4.0

type GetResourceFilterByIDUsingGET2OK struct {
	Payload *models.PageOfFilterEntry
}

GetResourceFilterByIDUsingGET2OK describes a response with status code 200, with default header values.

OK

func NewGetResourceFilterByIDUsingGET2OK added in v0.4.0

func NewGetResourceFilterByIDUsingGET2OK() *GetResourceFilterByIDUsingGET2OK

NewGetResourceFilterByIDUsingGET2OK creates a GetResourceFilterByIDUsingGET2OK with default headers values

func (*GetResourceFilterByIDUsingGET2OK) Error added in v0.4.0

func (*GetResourceFilterByIDUsingGET2OK) GetPayload added in v0.4.0

func (*GetResourceFilterByIDUsingGET2OK) IsClientError added in v0.5.0

func (o *GetResourceFilterByIDUsingGET2OK) IsClientError() bool

IsClientError returns true when this get resource filter by Id using g e t2 o k response has a 4xx status code

func (*GetResourceFilterByIDUsingGET2OK) IsCode added in v0.5.0

func (o *GetResourceFilterByIDUsingGET2OK) IsCode(code int) bool

IsCode returns true when this get resource filter by Id using g e t2 o k response a status code equal to that given

func (*GetResourceFilterByIDUsingGET2OK) IsRedirect added in v0.5.0

func (o *GetResourceFilterByIDUsingGET2OK) IsRedirect() bool

IsRedirect returns true when this get resource filter by Id using g e t2 o k response has a 3xx status code

func (*GetResourceFilterByIDUsingGET2OK) IsServerError added in v0.5.0

func (o *GetResourceFilterByIDUsingGET2OK) IsServerError() bool

IsServerError returns true when this get resource filter by Id using g e t2 o k response has a 5xx status code

func (*GetResourceFilterByIDUsingGET2OK) IsSuccess added in v0.5.0

func (o *GetResourceFilterByIDUsingGET2OK) IsSuccess() bool

IsSuccess returns true when this get resource filter by Id using g e t2 o k response has a 2xx status code

func (*GetResourceFilterByIDUsingGET2OK) String added in v0.5.0

type GetResourceFilterByIDUsingGET2Params added in v0.4.0

type GetResourceFilterByIDUsingGET2Params struct {

	/* DollarOrderby.

	   Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
	*/
	DollarOrderby []string

	/* DollarSkip.

	   Number of records you want to skip

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

	   Number of records you want

	   Format: int32
	*/
	DollarTop *int32

	/* 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

	/* FilterID.

	   Filter Id
	*/
	FilterID string

	/* Projects.

	   A comma-separated list. Results must be associated with one of these project IDs.
	*/
	Projects []string

	/* ResourceTypes.

	   A comma-separated list. Only Resources with these types will be included in the results.
	*/
	ResourceTypes []string

	/* Search.

	   Search string for filters
	*/
	Search *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetResourceFilterByIDUsingGET2Params contains all the parameters to send to the API endpoint

for the get resource filter by Id using g e t 2 operation.

Typically these are written to a http.Request.

func NewGetResourceFilterByIDUsingGET2Params added in v0.4.0

func NewGetResourceFilterByIDUsingGET2Params() *GetResourceFilterByIDUsingGET2Params

NewGetResourceFilterByIDUsingGET2Params creates a new GetResourceFilterByIDUsingGET2Params 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 NewGetResourceFilterByIDUsingGET2ParamsWithContext added in v0.4.0

func NewGetResourceFilterByIDUsingGET2ParamsWithContext(ctx context.Context) *GetResourceFilterByIDUsingGET2Params

NewGetResourceFilterByIDUsingGET2ParamsWithContext creates a new GetResourceFilterByIDUsingGET2Params object with the ability to set a context for a request.

func NewGetResourceFilterByIDUsingGET2ParamsWithHTTPClient added in v0.4.0

func NewGetResourceFilterByIDUsingGET2ParamsWithHTTPClient(client *http.Client) *GetResourceFilterByIDUsingGET2Params

NewGetResourceFilterByIDUsingGET2ParamsWithHTTPClient creates a new GetResourceFilterByIDUsingGET2Params object with the ability to set a custom HTTPClient for a request.

func NewGetResourceFilterByIDUsingGET2ParamsWithTimeout added in v0.4.0

func NewGetResourceFilterByIDUsingGET2ParamsWithTimeout(timeout time.Duration) *GetResourceFilterByIDUsingGET2Params

NewGetResourceFilterByIDUsingGET2ParamsWithTimeout creates a new GetResourceFilterByIDUsingGET2Params object with the ability to set a timeout on a request.

func (*GetResourceFilterByIDUsingGET2Params) SetAPIVersion added in v0.4.0

func (o *GetResourceFilterByIDUsingGET2Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) SetContext added in v0.4.0

SetContext adds the context to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) SetDefaults added in v0.4.0

func (o *GetResourceFilterByIDUsingGET2Params) SetDefaults()

SetDefaults hydrates default values in the get resource filter by Id using g e t 2 params (not the query body).

All values with no default are reset to their zero value.

func (*GetResourceFilterByIDUsingGET2Params) SetDollarOrderby added in v0.4.0

func (o *GetResourceFilterByIDUsingGET2Params) SetDollarOrderby(dollarOrderby []string)

SetDollarOrderby adds the dollarOrderby to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) SetDollarSkip added in v0.4.0

func (o *GetResourceFilterByIDUsingGET2Params) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) SetDollarTop added in v0.4.0

func (o *GetResourceFilterByIDUsingGET2Params) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) SetFilterID added in v0.4.0

func (o *GetResourceFilterByIDUsingGET2Params) SetFilterID(filterID string)

SetFilterID adds the filterId to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) SetHTTPClient added in v0.4.0

func (o *GetResourceFilterByIDUsingGET2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) SetProjects added in v0.5.0

func (o *GetResourceFilterByIDUsingGET2Params) SetProjects(projects []string)

SetProjects adds the projects to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) SetResourceTypes added in v0.4.0

func (o *GetResourceFilterByIDUsingGET2Params) SetResourceTypes(resourceTypes []string)

SetResourceTypes adds the resourceTypes to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) SetSearch added in v0.4.0

func (o *GetResourceFilterByIDUsingGET2Params) SetSearch(search *string)

SetSearch adds the search to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) SetTimeout added in v0.4.0

func (o *GetResourceFilterByIDUsingGET2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) WithContext added in v0.4.0

WithContext adds the context to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the get resource filter by Id using g e t 2 params (not the query body).

All values with no default are reset to their zero value.

func (*GetResourceFilterByIDUsingGET2Params) WithDollarOrderby added in v0.4.0

WithDollarOrderby adds the dollarOrderby to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) WithDollarSkip added in v0.4.0

WithDollarSkip adds the dollarSkip to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) WithDollarTop added in v0.4.0

WithDollarTop adds the dollarTop to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) WithFilterID added in v0.4.0

WithFilterID adds the filterID to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) WithProjects added in v0.5.0

WithProjects adds the projects to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) WithResourceTypes added in v0.4.0

WithResourceTypes adds the resourceTypes to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) WithSearch added in v0.4.0

WithSearch adds the search to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get resource filter by Id using g e t 2 params

func (*GetResourceFilterByIDUsingGET2Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetResourceFilterByIDUsingGET2Reader added in v0.4.0

type GetResourceFilterByIDUsingGET2Reader struct {
	// contains filtered or unexported fields
}

GetResourceFilterByIDUsingGET2Reader is a Reader for the GetResourceFilterByIDUsingGET2 structure.

func (*GetResourceFilterByIDUsingGET2Reader) ReadResponse added in v0.4.0

func (o *GetResourceFilterByIDUsingGET2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetResourceFilterByIDUsingGET2Unauthorized added in v0.4.0

type GetResourceFilterByIDUsingGET2Unauthorized struct {
}

GetResourceFilterByIDUsingGET2Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetResourceFilterByIDUsingGET2Unauthorized added in v0.4.0

func NewGetResourceFilterByIDUsingGET2Unauthorized() *GetResourceFilterByIDUsingGET2Unauthorized

NewGetResourceFilterByIDUsingGET2Unauthorized creates a GetResourceFilterByIDUsingGET2Unauthorized with default headers values

func (*GetResourceFilterByIDUsingGET2Unauthorized) Error added in v0.4.0

func (*GetResourceFilterByIDUsingGET2Unauthorized) IsClientError added in v0.5.0

IsClientError returns true when this get resource filter by Id using g e t2 unauthorized response has a 4xx status code

func (*GetResourceFilterByIDUsingGET2Unauthorized) IsCode added in v0.5.0

IsCode returns true when this get resource filter by Id using g e t2 unauthorized response a status code equal to that given

func (*GetResourceFilterByIDUsingGET2Unauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this get resource filter by Id using g e t2 unauthorized response has a 3xx status code

func (*GetResourceFilterByIDUsingGET2Unauthorized) IsServerError added in v0.5.0

IsServerError returns true when this get resource filter by Id using g e t2 unauthorized response has a 5xx status code

func (*GetResourceFilterByIDUsingGET2Unauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this get resource filter by Id using g e t2 unauthorized response has a 2xx status code

func (*GetResourceFilterByIDUsingGET2Unauthorized) String added in v0.5.0

type GetResourceFiltersUsingGET2OK added in v0.4.0

type GetResourceFiltersUsingGET2OK struct {
	Payload *models.DeploymentFilterSchema
}

GetResourceFiltersUsingGET2OK describes a response with status code 200, with default header values.

OK

func NewGetResourceFiltersUsingGET2OK added in v0.4.0

func NewGetResourceFiltersUsingGET2OK() *GetResourceFiltersUsingGET2OK

NewGetResourceFiltersUsingGET2OK creates a GetResourceFiltersUsingGET2OK with default headers values

func (*GetResourceFiltersUsingGET2OK) Error added in v0.4.0

func (*GetResourceFiltersUsingGET2OK) GetPayload added in v0.4.0

func (*GetResourceFiltersUsingGET2OK) IsClientError added in v0.5.0

func (o *GetResourceFiltersUsingGET2OK) IsClientError() bool

IsClientError returns true when this get resource filters using g e t2 o k response has a 4xx status code

func (*GetResourceFiltersUsingGET2OK) IsCode added in v0.5.0

func (o *GetResourceFiltersUsingGET2OK) IsCode(code int) bool

IsCode returns true when this get resource filters using g e t2 o k response a status code equal to that given

func (*GetResourceFiltersUsingGET2OK) IsRedirect added in v0.5.0

func (o *GetResourceFiltersUsingGET2OK) IsRedirect() bool

IsRedirect returns true when this get resource filters using g e t2 o k response has a 3xx status code

func (*GetResourceFiltersUsingGET2OK) IsServerError added in v0.5.0

func (o *GetResourceFiltersUsingGET2OK) IsServerError() bool

IsServerError returns true when this get resource filters using g e t2 o k response has a 5xx status code

func (*GetResourceFiltersUsingGET2OK) IsSuccess added in v0.5.0

func (o *GetResourceFiltersUsingGET2OK) IsSuccess() bool

IsSuccess returns true when this get resource filters using g e t2 o k response has a 2xx status code

func (*GetResourceFiltersUsingGET2OK) String added in v0.5.0

type GetResourceFiltersUsingGET2Params added in v0.4.0

type GetResourceFiltersUsingGET2Params struct {

	// ISO3Country.
	ISO3Country *string

	// ISO3Language.
	ISO3Language *string

	/* 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

	// Country.
	Country *string

	// DisplayCountry.
	DisplayCountry *string

	// DisplayLanguage.
	DisplayLanguage *string

	// DisplayName.
	DisplayName *string

	// DisplayScript.
	DisplayScript *string

	// DisplayVariant.
	DisplayVariant *string

	// Language.
	Language *string

	/* ResourceTypes.

	   A comma-separated list. Only Resources with these types will be included in the results.
	*/
	ResourceTypes []string

	// Script.
	Script *string

	// UnicodeLocaleAttributes.
	UnicodeLocaleAttributes []string

	// UnicodeLocaleKeys.
	UnicodeLocaleKeys []string

	// Variant.
	Variant *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetResourceFiltersUsingGET2Params contains all the parameters to send to the API endpoint

for the get resource filters using g e t 2 operation.

Typically these are written to a http.Request.

func NewGetResourceFiltersUsingGET2Params added in v0.4.0

func NewGetResourceFiltersUsingGET2Params() *GetResourceFiltersUsingGET2Params

NewGetResourceFiltersUsingGET2Params creates a new GetResourceFiltersUsingGET2Params 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 NewGetResourceFiltersUsingGET2ParamsWithContext added in v0.4.0

func NewGetResourceFiltersUsingGET2ParamsWithContext(ctx context.Context) *GetResourceFiltersUsingGET2Params

NewGetResourceFiltersUsingGET2ParamsWithContext creates a new GetResourceFiltersUsingGET2Params object with the ability to set a context for a request.

func NewGetResourceFiltersUsingGET2ParamsWithHTTPClient added in v0.4.0

func NewGetResourceFiltersUsingGET2ParamsWithHTTPClient(client *http.Client) *GetResourceFiltersUsingGET2Params

NewGetResourceFiltersUsingGET2ParamsWithHTTPClient creates a new GetResourceFiltersUsingGET2Params object with the ability to set a custom HTTPClient for a request.

func NewGetResourceFiltersUsingGET2ParamsWithTimeout added in v0.4.0

func NewGetResourceFiltersUsingGET2ParamsWithTimeout(timeout time.Duration) *GetResourceFiltersUsingGET2Params

NewGetResourceFiltersUsingGET2ParamsWithTimeout creates a new GetResourceFiltersUsingGET2Params object with the ability to set a timeout on a request.

func (*GetResourceFiltersUsingGET2Params) SetAPIVersion added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) SetContext added in v0.4.0

SetContext adds the context to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) SetCountry added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) SetCountry(country *string)

SetCountry adds the country to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) SetDefaults added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) SetDefaults()

SetDefaults hydrates default values in the get resource filters using g e t 2 params (not the query body).

All values with no default are reset to their zero value.

func (*GetResourceFiltersUsingGET2Params) SetDisplayCountry added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) SetDisplayCountry(displayCountry *string)

SetDisplayCountry adds the displayCountry to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) SetDisplayLanguage added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) SetDisplayLanguage(displayLanguage *string)

SetDisplayLanguage adds the displayLanguage to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) SetDisplayName added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) SetDisplayName(displayName *string)

SetDisplayName adds the displayName to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) SetDisplayScript added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) SetDisplayScript(displayScript *string)

SetDisplayScript adds the displayScript to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) SetDisplayVariant added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) SetDisplayVariant(displayVariant *string)

SetDisplayVariant adds the displayVariant to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) SetHTTPClient added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) SetISO3Country added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) SetISO3Country(iSO3Country *string)

SetISO3Country adds the iSO3Country to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) SetISO3Language added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) SetISO3Language(iSO3Language *string)

SetISO3Language adds the iSO3Language to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) SetLanguage added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) SetLanguage(language *string)

SetLanguage adds the language to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) SetResourceTypes added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) SetResourceTypes(resourceTypes []string)

SetResourceTypes adds the resourceTypes to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) SetScript added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) SetScript(script *string)

SetScript adds the script to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) SetTimeout added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) SetUnicodeLocaleAttributes added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) SetUnicodeLocaleAttributes(unicodeLocaleAttributes []string)

SetUnicodeLocaleAttributes adds the unicodeLocaleAttributes to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) SetUnicodeLocaleKeys added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) SetUnicodeLocaleKeys(unicodeLocaleKeys []string)

SetUnicodeLocaleKeys adds the unicodeLocaleKeys to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) SetVariant added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) SetVariant(variant *string)

SetVariant adds the variant to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) WithContext added in v0.4.0

WithContext adds the context to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) WithCountry added in v0.4.0

WithCountry adds the country to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the get resource filters using g e t 2 params (not the query body).

All values with no default are reset to their zero value.

func (*GetResourceFiltersUsingGET2Params) WithDisplayCountry added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) WithDisplayCountry(displayCountry *string) *GetResourceFiltersUsingGET2Params

WithDisplayCountry adds the displayCountry to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) WithDisplayLanguage added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) WithDisplayLanguage(displayLanguage *string) *GetResourceFiltersUsingGET2Params

WithDisplayLanguage adds the displayLanguage to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) WithDisplayName added in v0.4.0

WithDisplayName adds the displayName to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) WithDisplayScript added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) WithDisplayScript(displayScript *string) *GetResourceFiltersUsingGET2Params

WithDisplayScript adds the displayScript to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) WithDisplayVariant added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) WithDisplayVariant(displayVariant *string) *GetResourceFiltersUsingGET2Params

WithDisplayVariant adds the displayVariant to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) WithISO3Country added in v0.4.0

WithISO3Country adds the iSO3Country to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) WithISO3Language added in v0.4.0

WithISO3Language adds the iSO3Language to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) WithLanguage added in v0.4.0

WithLanguage adds the language to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) WithResourceTypes added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) WithResourceTypes(resourceTypes []string) *GetResourceFiltersUsingGET2Params

WithResourceTypes adds the resourceTypes to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) WithScript added in v0.4.0

WithScript adds the script to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) WithUnicodeLocaleAttributes added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) WithUnicodeLocaleAttributes(unicodeLocaleAttributes []string) *GetResourceFiltersUsingGET2Params

WithUnicodeLocaleAttributes adds the unicodeLocaleAttributes to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) WithUnicodeLocaleKeys added in v0.4.0

func (o *GetResourceFiltersUsingGET2Params) WithUnicodeLocaleKeys(unicodeLocaleKeys []string) *GetResourceFiltersUsingGET2Params

WithUnicodeLocaleKeys adds the unicodeLocaleKeys to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) WithVariant added in v0.4.0

WithVariant adds the variant to the get resource filters using g e t 2 params

func (*GetResourceFiltersUsingGET2Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetResourceFiltersUsingGET2Reader added in v0.4.0

type GetResourceFiltersUsingGET2Reader struct {
	// contains filtered or unexported fields
}

GetResourceFiltersUsingGET2Reader is a Reader for the GetResourceFiltersUsingGET2 structure.

func (*GetResourceFiltersUsingGET2Reader) ReadResponse added in v0.4.0

func (o *GetResourceFiltersUsingGET2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetResourceFiltersUsingGET2Unauthorized added in v0.4.0

type GetResourceFiltersUsingGET2Unauthorized struct {
}

GetResourceFiltersUsingGET2Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetResourceFiltersUsingGET2Unauthorized added in v0.4.0

func NewGetResourceFiltersUsingGET2Unauthorized() *GetResourceFiltersUsingGET2Unauthorized

NewGetResourceFiltersUsingGET2Unauthorized creates a GetResourceFiltersUsingGET2Unauthorized with default headers values

func (*GetResourceFiltersUsingGET2Unauthorized) Error added in v0.4.0

func (*GetResourceFiltersUsingGET2Unauthorized) IsClientError added in v0.5.0

func (o *GetResourceFiltersUsingGET2Unauthorized) IsClientError() bool

IsClientError returns true when this get resource filters using g e t2 unauthorized response has a 4xx status code

func (*GetResourceFiltersUsingGET2Unauthorized) IsCode added in v0.5.0

IsCode returns true when this get resource filters using g e t2 unauthorized response a status code equal to that given

func (*GetResourceFiltersUsingGET2Unauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this get resource filters using g e t2 unauthorized response has a 3xx status code

func (*GetResourceFiltersUsingGET2Unauthorized) IsServerError added in v0.5.0

func (o *GetResourceFiltersUsingGET2Unauthorized) IsServerError() bool

IsServerError returns true when this get resource filters using g e t2 unauthorized response has a 5xx status code

func (*GetResourceFiltersUsingGET2Unauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this get resource filters using g e t2 unauthorized response has a 2xx status code

func (*GetResourceFiltersUsingGET2Unauthorized) String added in v0.5.0

type GetResourcesUsingGET2Forbidden added in v0.5.0

type GetResourcesUsingGET2Forbidden struct {
}

GetResourcesUsingGET2Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetResourcesUsingGET2Forbidden added in v0.5.0

func NewGetResourcesUsingGET2Forbidden() *GetResourcesUsingGET2Forbidden

NewGetResourcesUsingGET2Forbidden creates a GetResourcesUsingGET2Forbidden with default headers values

func (*GetResourcesUsingGET2Forbidden) Error added in v0.5.0

func (*GetResourcesUsingGET2Forbidden) IsClientError added in v0.5.0

func (o *GetResourcesUsingGET2Forbidden) IsClientError() bool

IsClientError returns true when this get resources using g e t2 forbidden response has a 4xx status code

func (*GetResourcesUsingGET2Forbidden) IsCode added in v0.5.0

func (o *GetResourcesUsingGET2Forbidden) IsCode(code int) bool

IsCode returns true when this get resources using g e t2 forbidden response a status code equal to that given

func (*GetResourcesUsingGET2Forbidden) IsRedirect added in v0.5.0

func (o *GetResourcesUsingGET2Forbidden) IsRedirect() bool

IsRedirect returns true when this get resources using g e t2 forbidden response has a 3xx status code

func (*GetResourcesUsingGET2Forbidden) IsServerError added in v0.5.0

func (o *GetResourcesUsingGET2Forbidden) IsServerError() bool

IsServerError returns true when this get resources using g e t2 forbidden response has a 5xx status code

func (*GetResourcesUsingGET2Forbidden) IsSuccess added in v0.5.0

func (o *GetResourcesUsingGET2Forbidden) IsSuccess() bool

IsSuccess returns true when this get resources using g e t2 forbidden response has a 2xx status code

func (*GetResourcesUsingGET2Forbidden) String added in v0.5.0

type GetResourcesUsingGET2OK added in v0.4.0

type GetResourcesUsingGET2OK struct {
	Payload *models.PageOfResource
}

GetResourcesUsingGET2OK describes a response with status code 200, with default header values.

OK

func NewGetResourcesUsingGET2OK added in v0.4.0

func NewGetResourcesUsingGET2OK() *GetResourcesUsingGET2OK

NewGetResourcesUsingGET2OK creates a GetResourcesUsingGET2OK with default headers values

func (*GetResourcesUsingGET2OK) Error added in v0.4.0

func (o *GetResourcesUsingGET2OK) Error() string

func (*GetResourcesUsingGET2OK) GetPayload added in v0.4.0

func (*GetResourcesUsingGET2OK) IsClientError added in v0.5.0

func (o *GetResourcesUsingGET2OK) IsClientError() bool

IsClientError returns true when this get resources using g e t2 o k response has a 4xx status code

func (*GetResourcesUsingGET2OK) IsCode added in v0.5.0

func (o *GetResourcesUsingGET2OK) IsCode(code int) bool

IsCode returns true when this get resources using g e t2 o k response a status code equal to that given

func (*GetResourcesUsingGET2OK) IsRedirect added in v0.5.0

func (o *GetResourcesUsingGET2OK) IsRedirect() bool

IsRedirect returns true when this get resources using g e t2 o k response has a 3xx status code

func (*GetResourcesUsingGET2OK) IsServerError added in v0.5.0

func (o *GetResourcesUsingGET2OK) IsServerError() bool

IsServerError returns true when this get resources using g e t2 o k response has a 5xx status code

func (*GetResourcesUsingGET2OK) IsSuccess added in v0.5.0

func (o *GetResourcesUsingGET2OK) IsSuccess() bool

IsSuccess returns true when this get resources using g e t2 o k response has a 2xx status code

func (*GetResourcesUsingGET2OK) String added in v0.5.0

func (o *GetResourcesUsingGET2OK) String() string

type GetResourcesUsingGET2Params added in v0.4.0

type GetResourcesUsingGET2Params struct {

	/* DollarOrderby.

	   Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
	*/
	DollarOrderby []string

	/* DollarSkip.

	   Number of records you want to skip

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

	   Number of records you want

	   Format: int32
	*/
	DollarTop *int32

	/* 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

	/* CloudAccounts.

	   A comma-separated list. Results must be associated with one of these cloud accounts.
	*/
	CloudAccounts []string

	/* CloudTypes.

	   A comma-separated list. Results must be associated with one of these cloud Types
	*/
	CloudTypes []string

	/* Expand.

	   The expanded details of the requested comma separated objects. Ex. project, deployment, currentRequest
	*/
	Expand []string

	/* Projects.

	   A comma-separated list. Results must be associated with one of these project IDs.
	*/
	Projects []string

	/* ResourceTypes.

	   A comma-separated list. Results must be associated with one of these resourceType Names.
	*/
	ResourceTypes []string

	/* Search.

	   Given string should be part of a searchable field in one of the resources.
	*/
	Search *string

	/* Tags.

	   A comma-separated list. Results must be associated with one of these tags
	*/
	Tags []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetResourcesUsingGET2Params contains all the parameters to send to the API endpoint

for the get resources using g e t 2 operation.

Typically these are written to a http.Request.

func NewGetResourcesUsingGET2Params added in v0.4.0

func NewGetResourcesUsingGET2Params() *GetResourcesUsingGET2Params

NewGetResourcesUsingGET2Params creates a new GetResourcesUsingGET2Params 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 NewGetResourcesUsingGET2ParamsWithContext added in v0.4.0

func NewGetResourcesUsingGET2ParamsWithContext(ctx context.Context) *GetResourcesUsingGET2Params

NewGetResourcesUsingGET2ParamsWithContext creates a new GetResourcesUsingGET2Params object with the ability to set a context for a request.

func NewGetResourcesUsingGET2ParamsWithHTTPClient added in v0.4.0

func NewGetResourcesUsingGET2ParamsWithHTTPClient(client *http.Client) *GetResourcesUsingGET2Params

NewGetResourcesUsingGET2ParamsWithHTTPClient creates a new GetResourcesUsingGET2Params object with the ability to set a custom HTTPClient for a request.

func NewGetResourcesUsingGET2ParamsWithTimeout added in v0.4.0

func NewGetResourcesUsingGET2ParamsWithTimeout(timeout time.Duration) *GetResourcesUsingGET2Params

NewGetResourcesUsingGET2ParamsWithTimeout creates a new GetResourcesUsingGET2Params object with the ability to set a timeout on a request.

func (*GetResourcesUsingGET2Params) SetAPIVersion added in v0.4.0

func (o *GetResourcesUsingGET2Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) SetCloudAccounts added in v0.4.0

func (o *GetResourcesUsingGET2Params) SetCloudAccounts(cloudAccounts []string)

SetCloudAccounts adds the cloudAccounts to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) SetCloudTypes added in v0.4.0

func (o *GetResourcesUsingGET2Params) SetCloudTypes(cloudTypes []string)

SetCloudTypes adds the cloudTypes to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) SetContext added in v0.4.0

func (o *GetResourcesUsingGET2Params) SetContext(ctx context.Context)

SetContext adds the context to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) SetDefaults added in v0.4.0

func (o *GetResourcesUsingGET2Params) SetDefaults()

SetDefaults hydrates default values in the get resources using g e t 2 params (not the query body).

All values with no default are reset to their zero value.

func (*GetResourcesUsingGET2Params) SetDollarOrderby added in v0.4.0

func (o *GetResourcesUsingGET2Params) SetDollarOrderby(dollarOrderby []string)

SetDollarOrderby adds the dollarOrderby to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) SetDollarSkip added in v0.4.0

func (o *GetResourcesUsingGET2Params) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) SetDollarTop added in v0.4.0

func (o *GetResourcesUsingGET2Params) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) SetExpand added in v0.4.0

func (o *GetResourcesUsingGET2Params) SetExpand(expand []string)

SetExpand adds the expand to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) SetHTTPClient added in v0.4.0

func (o *GetResourcesUsingGET2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) SetProjects added in v0.4.0

func (o *GetResourcesUsingGET2Params) SetProjects(projects []string)

SetProjects adds the projects to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) SetResourceTypes added in v0.4.0

func (o *GetResourcesUsingGET2Params) SetResourceTypes(resourceTypes []string)

SetResourceTypes adds the resourceTypes to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) SetSearch added in v0.4.0

func (o *GetResourcesUsingGET2Params) SetSearch(search *string)

SetSearch adds the search to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) SetTags added in v0.4.0

func (o *GetResourcesUsingGET2Params) SetTags(tags []string)

SetTags adds the tags to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) SetTimeout added in v0.4.0

func (o *GetResourcesUsingGET2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) WithAPIVersion added in v0.4.0

func (o *GetResourcesUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetResourcesUsingGET2Params

WithAPIVersion adds the aPIVersion to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) WithCloudAccounts added in v0.4.0

func (o *GetResourcesUsingGET2Params) WithCloudAccounts(cloudAccounts []string) *GetResourcesUsingGET2Params

WithCloudAccounts adds the cloudAccounts to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) WithCloudTypes added in v0.4.0

func (o *GetResourcesUsingGET2Params) WithCloudTypes(cloudTypes []string) *GetResourcesUsingGET2Params

WithCloudTypes adds the cloudTypes to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) WithContext added in v0.4.0

WithContext adds the context to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the get resources using g e t 2 params (not the query body).

All values with no default are reset to their zero value.

func (*GetResourcesUsingGET2Params) WithDollarOrderby added in v0.4.0

func (o *GetResourcesUsingGET2Params) WithDollarOrderby(dollarOrderby []string) *GetResourcesUsingGET2Params

WithDollarOrderby adds the dollarOrderby to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) WithDollarSkip added in v0.4.0

func (o *GetResourcesUsingGET2Params) WithDollarSkip(dollarSkip *int32) *GetResourcesUsingGET2Params

WithDollarSkip adds the dollarSkip to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) WithDollarTop added in v0.4.0

func (o *GetResourcesUsingGET2Params) WithDollarTop(dollarTop *int32) *GetResourcesUsingGET2Params

WithDollarTop adds the dollarTop to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) WithExpand added in v0.4.0

WithExpand adds the expand to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) WithProjects added in v0.4.0

func (o *GetResourcesUsingGET2Params) WithProjects(projects []string) *GetResourcesUsingGET2Params

WithProjects adds the projects to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) WithResourceTypes added in v0.4.0

func (o *GetResourcesUsingGET2Params) WithResourceTypes(resourceTypes []string) *GetResourcesUsingGET2Params

WithResourceTypes adds the resourceTypes to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) WithSearch added in v0.4.0

WithSearch adds the search to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) WithTags added in v0.4.0

WithTags adds the tags to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get resources using g e t 2 params

func (*GetResourcesUsingGET2Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetResourcesUsingGET2Reader added in v0.4.0

type GetResourcesUsingGET2Reader struct {
	// contains filtered or unexported fields
}

GetResourcesUsingGET2Reader is a Reader for the GetResourcesUsingGET2 structure.

func (*GetResourcesUsingGET2Reader) ReadResponse added in v0.4.0

func (o *GetResourcesUsingGET2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetResourcesUsingGET2Unauthorized added in v0.4.0

type GetResourcesUsingGET2Unauthorized struct {
}

GetResourcesUsingGET2Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetResourcesUsingGET2Unauthorized added in v0.4.0

func NewGetResourcesUsingGET2Unauthorized() *GetResourcesUsingGET2Unauthorized

NewGetResourcesUsingGET2Unauthorized creates a GetResourcesUsingGET2Unauthorized with default headers values

func (*GetResourcesUsingGET2Unauthorized) Error added in v0.4.0

func (*GetResourcesUsingGET2Unauthorized) IsClientError added in v0.5.0

func (o *GetResourcesUsingGET2Unauthorized) IsClientError() bool

IsClientError returns true when this get resources using g e t2 unauthorized response has a 4xx status code

func (*GetResourcesUsingGET2Unauthorized) IsCode added in v0.5.0

func (o *GetResourcesUsingGET2Unauthorized) IsCode(code int) bool

IsCode returns true when this get resources using g e t2 unauthorized response a status code equal to that given

func (*GetResourcesUsingGET2Unauthorized) IsRedirect added in v0.5.0

func (o *GetResourcesUsingGET2Unauthorized) IsRedirect() bool

IsRedirect returns true when this get resources using g e t2 unauthorized response has a 3xx status code

func (*GetResourcesUsingGET2Unauthorized) IsServerError added in v0.5.0

func (o *GetResourcesUsingGET2Unauthorized) IsServerError() bool

IsServerError returns true when this get resources using g e t2 unauthorized response has a 5xx status code

func (*GetResourcesUsingGET2Unauthorized) IsSuccess added in v0.5.0

func (o *GetResourcesUsingGET2Unauthorized) IsSuccess() bool

IsSuccess returns true when this get resources using g e t2 unauthorized response has a 2xx status code

func (*GetResourcesUsingGET2Unauthorized) String added in v0.5.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL