onboarding_resources

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 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 onboarding resources API

func (*Client) CreateResource

func (a *Client) CreateResource(params *CreateResourceParams, opts ...ClientOption) (*CreateResourceOK, error)

CreateResource creates an onboarding resource

func (*Client) DeleteResourceByID

func (a *Client) DeleteResourceByID(params *DeleteResourceByIDParams, opts ...ClientOption) (*DeleteResourceByIDOK, error)

DeleteResourceByID deletes the selected onboarding resource

func (*Client) GetResourceByID

func (a *Client) GetResourceByID(params *GetResourceByIDParams, opts ...ClientOption) (*GetResourceByIDOK, error)

GetResourceByID gets the selected onboarding resource

func (*Client) QueryResources

func (a *Client) QueryResources(params *QueryResourcesParams, opts ...ClientOption) (*QueryResourcesOK, error)

QueryResources queries for onboarding resources

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateResourceByID

func (a *Client) UpdateResourceByID(params *UpdateResourceByIDParams, opts ...ClientOption) (*UpdateResourceByIDOK, error)

UpdateResourceByID updates the selected onboarding resource

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateResource(params *CreateResourceParams, opts ...ClientOption) (*CreateResourceOK, error)

	DeleteResourceByID(params *DeleteResourceByIDParams, opts ...ClientOption) (*DeleteResourceByIDOK, error)

	GetResourceByID(params *GetResourceByIDParams, opts ...ClientOption) (*GetResourceByIDOK, error)

	QueryResources(params *QueryResourcesParams, opts ...ClientOption) (*QueryResourcesOK, error)

	UpdateResourceByID(params *UpdateResourceByIDParams, opts ...ClientOption) (*UpdateResourceByIDOK, 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 onboarding resources API client.

type CreateResourceOK

type CreateResourceOK struct {
	Payload *models.OnboardingResourceResponse
}

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

Success

func NewCreateResourceOK

func NewCreateResourceOK() *CreateResourceOK

NewCreateResourceOK creates a CreateResourceOK with default headers values

func (*CreateResourceOK) Error

func (o *CreateResourceOK) Error() string

func (*CreateResourceOK) GetPayload

func (*CreateResourceOK) IsClientError

func (o *CreateResourceOK) IsClientError() bool

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

func (*CreateResourceOK) IsCode

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

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

func (*CreateResourceOK) IsRedirect

func (o *CreateResourceOK) IsRedirect() bool

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

func (*CreateResourceOK) IsServerError

func (o *CreateResourceOK) IsServerError() bool

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

func (*CreateResourceOK) IsSuccess

func (o *CreateResourceOK) IsSuccess() bool

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

func (*CreateResourceOK) String

func (o *CreateResourceOK) String() string

type CreateResourceParams

type CreateResourceParams struct {

	// Body.
	Body *models.OnboardingResourceRequest

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

CreateResourceParams contains all the parameters to send to the API endpoint

for the create resource operation.

Typically these are written to a http.Request.

func NewCreateResourceParams

func NewCreateResourceParams() *CreateResourceParams

NewCreateResourceParams creates a new CreateResourceParams 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 NewCreateResourceParamsWithContext

func NewCreateResourceParamsWithContext(ctx context.Context) *CreateResourceParams

NewCreateResourceParamsWithContext creates a new CreateResourceParams object with the ability to set a context for a request.

func NewCreateResourceParamsWithHTTPClient

func NewCreateResourceParamsWithHTTPClient(client *http.Client) *CreateResourceParams

NewCreateResourceParamsWithHTTPClient creates a new CreateResourceParams object with the ability to set a custom HTTPClient for a request.

func NewCreateResourceParamsWithTimeout

func NewCreateResourceParamsWithTimeout(timeout time.Duration) *CreateResourceParams

NewCreateResourceParamsWithTimeout creates a new CreateResourceParams object with the ability to set a timeout on a request.

func (*CreateResourceParams) SetBody

SetBody adds the body to the create resource params

func (*CreateResourceParams) SetContext

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

SetContext adds the context to the create resource params

func (*CreateResourceParams) SetDefaults

func (o *CreateResourceParams) SetDefaults()

SetDefaults hydrates default values in the create resource params (not the query body).

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

func (*CreateResourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create resource params

func (*CreateResourceParams) SetTimeout

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

SetTimeout adds the timeout to the create resource params

func (*CreateResourceParams) WithBody

WithBody adds the body to the create resource params

func (*CreateResourceParams) WithContext

WithContext adds the context to the create resource params

func (*CreateResourceParams) WithDefaults

func (o *CreateResourceParams) WithDefaults() *CreateResourceParams

WithDefaults hydrates default values in the create resource params (not the query body).

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

func (*CreateResourceParams) WithHTTPClient

func (o *CreateResourceParams) WithHTTPClient(client *http.Client) *CreateResourceParams

WithHTTPClient adds the HTTPClient to the create resource params

func (*CreateResourceParams) WithTimeout

func (o *CreateResourceParams) WithTimeout(timeout time.Duration) *CreateResourceParams

WithTimeout adds the timeout to the create resource params

func (*CreateResourceParams) WriteToRequest

func (o *CreateResourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateResourceReader

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

CreateResourceReader is a Reader for the CreateResource structure.

func (*CreateResourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateResourceUnauthorized

type CreateResourceUnauthorized struct {
}

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

Unauthorized

func NewCreateResourceUnauthorized

func NewCreateResourceUnauthorized() *CreateResourceUnauthorized

NewCreateResourceUnauthorized creates a CreateResourceUnauthorized with default headers values

func (*CreateResourceUnauthorized) Error

func (*CreateResourceUnauthorized) IsClientError

func (o *CreateResourceUnauthorized) IsClientError() bool

IsClientError returns true when this create resource unauthorized response has a 4xx status code

func (*CreateResourceUnauthorized) IsCode

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

IsCode returns true when this create resource unauthorized response a status code equal to that given

func (*CreateResourceUnauthorized) IsRedirect

func (o *CreateResourceUnauthorized) IsRedirect() bool

IsRedirect returns true when this create resource unauthorized response has a 3xx status code

func (*CreateResourceUnauthorized) IsServerError

func (o *CreateResourceUnauthorized) IsServerError() bool

IsServerError returns true when this create resource unauthorized response has a 5xx status code

func (*CreateResourceUnauthorized) IsSuccess

func (o *CreateResourceUnauthorized) IsSuccess() bool

IsSuccess returns true when this create resource unauthorized response has a 2xx status code

func (*CreateResourceUnauthorized) String

func (o *CreateResourceUnauthorized) String() string

type DeleteResourceByIDOK

type DeleteResourceByIDOK struct {
}

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

Success

func NewDeleteResourceByIDOK

func NewDeleteResourceByIDOK() *DeleteResourceByIDOK

NewDeleteResourceByIDOK creates a DeleteResourceByIDOK with default headers values

func (*DeleteResourceByIDOK) Error

func (o *DeleteResourceByIDOK) Error() string

func (*DeleteResourceByIDOK) IsClientError

func (o *DeleteResourceByIDOK) IsClientError() bool

IsClientError returns true when this delete resource by Id o k response has a 4xx status code

func (*DeleteResourceByIDOK) IsCode

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

IsCode returns true when this delete resource by Id o k response a status code equal to that given

func (*DeleteResourceByIDOK) IsRedirect

func (o *DeleteResourceByIDOK) IsRedirect() bool

IsRedirect returns true when this delete resource by Id o k response has a 3xx status code

func (*DeleteResourceByIDOK) IsServerError

func (o *DeleteResourceByIDOK) IsServerError() bool

IsServerError returns true when this delete resource by Id o k response has a 5xx status code

func (*DeleteResourceByIDOK) IsSuccess

func (o *DeleteResourceByIDOK) IsSuccess() bool

IsSuccess returns true when this delete resource by Id o k response has a 2xx status code

func (*DeleteResourceByIDOK) String

func (o *DeleteResourceByIDOK) String() string

type DeleteResourceByIDParams

type DeleteResourceByIDParams struct {

	// ID.
	ID string

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

DeleteResourceByIDParams contains all the parameters to send to the API endpoint

for the delete resource by Id operation.

Typically these are written to a http.Request.

func NewDeleteResourceByIDParams

func NewDeleteResourceByIDParams() *DeleteResourceByIDParams

NewDeleteResourceByIDParams creates a new DeleteResourceByIDParams 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 NewDeleteResourceByIDParamsWithContext

func NewDeleteResourceByIDParamsWithContext(ctx context.Context) *DeleteResourceByIDParams

NewDeleteResourceByIDParamsWithContext creates a new DeleteResourceByIDParams object with the ability to set a context for a request.

func NewDeleteResourceByIDParamsWithHTTPClient

func NewDeleteResourceByIDParamsWithHTTPClient(client *http.Client) *DeleteResourceByIDParams

NewDeleteResourceByIDParamsWithHTTPClient creates a new DeleteResourceByIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteResourceByIDParamsWithTimeout

func NewDeleteResourceByIDParamsWithTimeout(timeout time.Duration) *DeleteResourceByIDParams

NewDeleteResourceByIDParamsWithTimeout creates a new DeleteResourceByIDParams object with the ability to set a timeout on a request.

func (*DeleteResourceByIDParams) SetContext

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

SetContext adds the context to the delete resource by Id params

func (*DeleteResourceByIDParams) SetDefaults

func (o *DeleteResourceByIDParams) SetDefaults()

SetDefaults hydrates default values in the delete resource by Id params (not the query body).

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

func (*DeleteResourceByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete resource by Id params

func (*DeleteResourceByIDParams) SetID

func (o *DeleteResourceByIDParams) SetID(id string)

SetID adds the id to the delete resource by Id params

func (*DeleteResourceByIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete resource by Id params

func (*DeleteResourceByIDParams) WithContext

WithContext adds the context to the delete resource by Id params

func (*DeleteResourceByIDParams) WithDefaults

WithDefaults hydrates default values in the delete resource by Id params (not the query body).

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

func (*DeleteResourceByIDParams) WithHTTPClient

func (o *DeleteResourceByIDParams) WithHTTPClient(client *http.Client) *DeleteResourceByIDParams

WithHTTPClient adds the HTTPClient to the delete resource by Id params

func (*DeleteResourceByIDParams) WithID

WithID adds the id to the delete resource by Id params

func (*DeleteResourceByIDParams) WithTimeout

WithTimeout adds the timeout to the delete resource by Id params

func (*DeleteResourceByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteResourceByIDReader

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

DeleteResourceByIDReader is a Reader for the DeleteResourceByID structure.

func (*DeleteResourceByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteResourceByIDUnauthorized

type DeleteResourceByIDUnauthorized struct {
}

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

Unauthorized

func NewDeleteResourceByIDUnauthorized

func NewDeleteResourceByIDUnauthorized() *DeleteResourceByIDUnauthorized

NewDeleteResourceByIDUnauthorized creates a DeleteResourceByIDUnauthorized with default headers values

func (*DeleteResourceByIDUnauthorized) Error

func (*DeleteResourceByIDUnauthorized) IsClientError

func (o *DeleteResourceByIDUnauthorized) IsClientError() bool

IsClientError returns true when this delete resource by Id unauthorized response has a 4xx status code

func (*DeleteResourceByIDUnauthorized) IsCode

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

IsCode returns true when this delete resource by Id unauthorized response a status code equal to that given

func (*DeleteResourceByIDUnauthorized) IsRedirect

func (o *DeleteResourceByIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete resource by Id unauthorized response has a 3xx status code

func (*DeleteResourceByIDUnauthorized) IsServerError

func (o *DeleteResourceByIDUnauthorized) IsServerError() bool

IsServerError returns true when this delete resource by Id unauthorized response has a 5xx status code

func (*DeleteResourceByIDUnauthorized) IsSuccess

func (o *DeleteResourceByIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete resource by Id unauthorized response has a 2xx status code

func (*DeleteResourceByIDUnauthorized) String

type GetResourceByIDOK

type GetResourceByIDOK struct {
	Payload *models.OnboardingResourceResponse
}

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

Success

func NewGetResourceByIDOK

func NewGetResourceByIDOK() *GetResourceByIDOK

NewGetResourceByIDOK creates a GetResourceByIDOK with default headers values

func (*GetResourceByIDOK) Error

func (o *GetResourceByIDOK) Error() string

func (*GetResourceByIDOK) GetPayload

func (*GetResourceByIDOK) IsClientError

func (o *GetResourceByIDOK) IsClientError() bool

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

func (*GetResourceByIDOK) IsCode

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

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

func (*GetResourceByIDOK) IsRedirect

func (o *GetResourceByIDOK) IsRedirect() bool

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

func (*GetResourceByIDOK) IsServerError

func (o *GetResourceByIDOK) IsServerError() bool

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

func (*GetResourceByIDOK) IsSuccess

func (o *GetResourceByIDOK) IsSuccess() bool

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

func (*GetResourceByIDOK) String

func (o *GetResourceByIDOK) String() string

type GetResourceByIDParams

type GetResourceByIDParams struct {

	// ID.
	ID string

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

GetResourceByIDParams contains all the parameters to send to the API endpoint

for the get resource by Id operation.

Typically these are written to a http.Request.

func NewGetResourceByIDParams

func NewGetResourceByIDParams() *GetResourceByIDParams

NewGetResourceByIDParams creates a new GetResourceByIDParams 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 NewGetResourceByIDParamsWithContext

func NewGetResourceByIDParamsWithContext(ctx context.Context) *GetResourceByIDParams

NewGetResourceByIDParamsWithContext creates a new GetResourceByIDParams object with the ability to set a context for a request.

func NewGetResourceByIDParamsWithHTTPClient

func NewGetResourceByIDParamsWithHTTPClient(client *http.Client) *GetResourceByIDParams

NewGetResourceByIDParamsWithHTTPClient creates a new GetResourceByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetResourceByIDParamsWithTimeout

func NewGetResourceByIDParamsWithTimeout(timeout time.Duration) *GetResourceByIDParams

NewGetResourceByIDParamsWithTimeout creates a new GetResourceByIDParams object with the ability to set a timeout on a request.

func (*GetResourceByIDParams) SetContext

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

SetContext adds the context to the get resource by Id params

func (*GetResourceByIDParams) SetDefaults

func (o *GetResourceByIDParams) SetDefaults()

SetDefaults hydrates default values in the get resource by Id params (not the query body).

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

func (*GetResourceByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get resource by Id params

func (*GetResourceByIDParams) SetID

func (o *GetResourceByIDParams) SetID(id string)

SetID adds the id to the get resource by Id params

func (*GetResourceByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get resource by Id params

func (*GetResourceByIDParams) WithContext

WithContext adds the context to the get resource by Id params

func (*GetResourceByIDParams) WithDefaults

func (o *GetResourceByIDParams) WithDefaults() *GetResourceByIDParams

WithDefaults hydrates default values in the get resource by Id params (not the query body).

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

func (*GetResourceByIDParams) WithHTTPClient

func (o *GetResourceByIDParams) WithHTTPClient(client *http.Client) *GetResourceByIDParams

WithHTTPClient adds the HTTPClient to the get resource by Id params

func (*GetResourceByIDParams) WithID

WithID adds the id to the get resource by Id params

func (*GetResourceByIDParams) WithTimeout

func (o *GetResourceByIDParams) WithTimeout(timeout time.Duration) *GetResourceByIDParams

WithTimeout adds the timeout to the get resource by Id params

func (*GetResourceByIDParams) WriteToRequest

func (o *GetResourceByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetResourceByIDReader

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

GetResourceByIDReader is a Reader for the GetResourceByID structure.

func (*GetResourceByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetResourceByIDUnauthorized

type GetResourceByIDUnauthorized struct {
}

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

Unauthorized

func NewGetResourceByIDUnauthorized

func NewGetResourceByIDUnauthorized() *GetResourceByIDUnauthorized

NewGetResourceByIDUnauthorized creates a GetResourceByIDUnauthorized with default headers values

func (*GetResourceByIDUnauthorized) Error

func (*GetResourceByIDUnauthorized) IsClientError

func (o *GetResourceByIDUnauthorized) IsClientError() bool

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

func (*GetResourceByIDUnauthorized) IsCode

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

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

func (*GetResourceByIDUnauthorized) IsRedirect

func (o *GetResourceByIDUnauthorized) IsRedirect() bool

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

func (*GetResourceByIDUnauthorized) IsServerError

func (o *GetResourceByIDUnauthorized) IsServerError() bool

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

func (*GetResourceByIDUnauthorized) IsSuccess

func (o *GetResourceByIDUnauthorized) IsSuccess() bool

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

func (*GetResourceByIDUnauthorized) String

func (o *GetResourceByIDUnauthorized) String() string

type QueryResourcesOK

type QueryResourcesOK struct {
	Payload *models.ServiceDocumentQueryResult
}

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

Success

func NewQueryResourcesOK

func NewQueryResourcesOK() *QueryResourcesOK

NewQueryResourcesOK creates a QueryResourcesOK with default headers values

func (*QueryResourcesOK) Error

func (o *QueryResourcesOK) Error() string

func (*QueryResourcesOK) GetPayload

func (*QueryResourcesOK) IsClientError

func (o *QueryResourcesOK) IsClientError() bool

IsClientError returns true when this query resources o k response has a 4xx status code

func (*QueryResourcesOK) IsCode

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

IsCode returns true when this query resources o k response a status code equal to that given

func (*QueryResourcesOK) IsRedirect

func (o *QueryResourcesOK) IsRedirect() bool

IsRedirect returns true when this query resources o k response has a 3xx status code

func (*QueryResourcesOK) IsServerError

func (o *QueryResourcesOK) IsServerError() bool

IsServerError returns true when this query resources o k response has a 5xx status code

func (*QueryResourcesOK) IsSuccess

func (o *QueryResourcesOK) IsSuccess() bool

IsSuccess returns true when this query resources o k response has a 2xx status code

func (*QueryResourcesOK) String

func (o *QueryResourcesOK) String() string

type QueryResourcesParams

type QueryResourcesParams struct {

	/* DollarExpand.

	   Expand document contents
	*/
	DollarExpand *bool

	/* DollarFilter.

	   OData filter expression
	*/
	DollarFilter *string

	/* DollarLimit.

	   Set maximum number of documents to return in this query
	*/
	DollarLimit *int64

	/* DollarSelect.

	   Comma-separated list of fields to populate in query result
	*/
	DollarSelect *string

	/* DollarTenantLinks.

	   Comma-separated list
	*/
	DollarTenantLinks *string

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

QueryResourcesParams contains all the parameters to send to the API endpoint

for the query resources operation.

Typically these are written to a http.Request.

func NewQueryResourcesParams

func NewQueryResourcesParams() *QueryResourcesParams

NewQueryResourcesParams creates a new QueryResourcesParams 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 NewQueryResourcesParamsWithContext

func NewQueryResourcesParamsWithContext(ctx context.Context) *QueryResourcesParams

NewQueryResourcesParamsWithContext creates a new QueryResourcesParams object with the ability to set a context for a request.

func NewQueryResourcesParamsWithHTTPClient

func NewQueryResourcesParamsWithHTTPClient(client *http.Client) *QueryResourcesParams

NewQueryResourcesParamsWithHTTPClient creates a new QueryResourcesParams object with the ability to set a custom HTTPClient for a request.

func NewQueryResourcesParamsWithTimeout

func NewQueryResourcesParamsWithTimeout(timeout time.Duration) *QueryResourcesParams

NewQueryResourcesParamsWithTimeout creates a new QueryResourcesParams object with the ability to set a timeout on a request.

func (*QueryResourcesParams) SetContext

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

SetContext adds the context to the query resources params

func (*QueryResourcesParams) SetDefaults

func (o *QueryResourcesParams) SetDefaults()

SetDefaults hydrates default values in the query resources params (not the query body).

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

func (*QueryResourcesParams) SetDollarExpand

func (o *QueryResourcesParams) SetDollarExpand(dollarExpand *bool)

SetDollarExpand adds the dollarExpand to the query resources params

func (*QueryResourcesParams) SetDollarFilter

func (o *QueryResourcesParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the query resources params

func (*QueryResourcesParams) SetDollarLimit

func (o *QueryResourcesParams) SetDollarLimit(dollarLimit *int64)

SetDollarLimit adds the dollarLimit to the query resources params

func (*QueryResourcesParams) SetDollarSelect

func (o *QueryResourcesParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the query resources params

func (o *QueryResourcesParams) SetDollarTenantLinks(dollarTenantLinks *string)

SetDollarTenantLinks adds the dollarTenantLinks to the query resources params

func (*QueryResourcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query resources params

func (*QueryResourcesParams) SetTimeout

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

SetTimeout adds the timeout to the query resources params

func (*QueryResourcesParams) WithContext

WithContext adds the context to the query resources params

func (*QueryResourcesParams) WithDefaults

func (o *QueryResourcesParams) WithDefaults() *QueryResourcesParams

WithDefaults hydrates default values in the query resources params (not the query body).

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

func (*QueryResourcesParams) WithDollarExpand

func (o *QueryResourcesParams) WithDollarExpand(dollarExpand *bool) *QueryResourcesParams

WithDollarExpand adds the dollarExpand to the query resources params

func (*QueryResourcesParams) WithDollarFilter

func (o *QueryResourcesParams) WithDollarFilter(dollarFilter *string) *QueryResourcesParams

WithDollarFilter adds the dollarFilter to the query resources params

func (*QueryResourcesParams) WithDollarLimit

func (o *QueryResourcesParams) WithDollarLimit(dollarLimit *int64) *QueryResourcesParams

WithDollarLimit adds the dollarLimit to the query resources params

func (*QueryResourcesParams) WithDollarSelect

func (o *QueryResourcesParams) WithDollarSelect(dollarSelect *string) *QueryResourcesParams

WithDollarSelect adds the dollarSelect to the query resources params

func (o *QueryResourcesParams) WithDollarTenantLinks(dollarTenantLinks *string) *QueryResourcesParams

WithDollarTenantLinks adds the dollarTenantLinks to the query resources params

func (*QueryResourcesParams) WithHTTPClient

func (o *QueryResourcesParams) WithHTTPClient(client *http.Client) *QueryResourcesParams

WithHTTPClient adds the HTTPClient to the query resources params

func (*QueryResourcesParams) WithTimeout

func (o *QueryResourcesParams) WithTimeout(timeout time.Duration) *QueryResourcesParams

WithTimeout adds the timeout to the query resources params

func (*QueryResourcesParams) WriteToRequest

func (o *QueryResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type QueryResourcesReader

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

QueryResourcesReader is a Reader for the QueryResources structure.

func (*QueryResourcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryResourcesUnauthorized

type QueryResourcesUnauthorized struct {
}

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

Unauthorized

func NewQueryResourcesUnauthorized

func NewQueryResourcesUnauthorized() *QueryResourcesUnauthorized

NewQueryResourcesUnauthorized creates a QueryResourcesUnauthorized with default headers values

func (*QueryResourcesUnauthorized) Error

func (*QueryResourcesUnauthorized) IsClientError

func (o *QueryResourcesUnauthorized) IsClientError() bool

IsClientError returns true when this query resources unauthorized response has a 4xx status code

func (*QueryResourcesUnauthorized) IsCode

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

IsCode returns true when this query resources unauthorized response a status code equal to that given

func (*QueryResourcesUnauthorized) IsRedirect

func (o *QueryResourcesUnauthorized) IsRedirect() bool

IsRedirect returns true when this query resources unauthorized response has a 3xx status code

func (*QueryResourcesUnauthorized) IsServerError

func (o *QueryResourcesUnauthorized) IsServerError() bool

IsServerError returns true when this query resources unauthorized response has a 5xx status code

func (*QueryResourcesUnauthorized) IsSuccess

func (o *QueryResourcesUnauthorized) IsSuccess() bool

IsSuccess returns true when this query resources unauthorized response has a 2xx status code

func (*QueryResourcesUnauthorized) String

func (o *QueryResourcesUnauthorized) String() string

type UpdateResourceByIDOK

type UpdateResourceByIDOK struct {
}

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

Success

func NewUpdateResourceByIDOK

func NewUpdateResourceByIDOK() *UpdateResourceByIDOK

NewUpdateResourceByIDOK creates a UpdateResourceByIDOK with default headers values

func (*UpdateResourceByIDOK) Error

func (o *UpdateResourceByIDOK) Error() string

func (*UpdateResourceByIDOK) IsClientError

func (o *UpdateResourceByIDOK) IsClientError() bool

IsClientError returns true when this update resource by Id o k response has a 4xx status code

func (*UpdateResourceByIDOK) IsCode

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

IsCode returns true when this update resource by Id o k response a status code equal to that given

func (*UpdateResourceByIDOK) IsRedirect

func (o *UpdateResourceByIDOK) IsRedirect() bool

IsRedirect returns true when this update resource by Id o k response has a 3xx status code

func (*UpdateResourceByIDOK) IsServerError

func (o *UpdateResourceByIDOK) IsServerError() bool

IsServerError returns true when this update resource by Id o k response has a 5xx status code

func (*UpdateResourceByIDOK) IsSuccess

func (o *UpdateResourceByIDOK) IsSuccess() bool

IsSuccess returns true when this update resource by Id o k response has a 2xx status code

func (*UpdateResourceByIDOK) String

func (o *UpdateResourceByIDOK) String() string

type UpdateResourceByIDParams

type UpdateResourceByIDParams struct {

	// ID.
	ID string

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

UpdateResourceByIDParams contains all the parameters to send to the API endpoint

for the update resource by Id operation.

Typically these are written to a http.Request.

func NewUpdateResourceByIDParams

func NewUpdateResourceByIDParams() *UpdateResourceByIDParams

NewUpdateResourceByIDParams creates a new UpdateResourceByIDParams 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 NewUpdateResourceByIDParamsWithContext

func NewUpdateResourceByIDParamsWithContext(ctx context.Context) *UpdateResourceByIDParams

NewUpdateResourceByIDParamsWithContext creates a new UpdateResourceByIDParams object with the ability to set a context for a request.

func NewUpdateResourceByIDParamsWithHTTPClient

func NewUpdateResourceByIDParamsWithHTTPClient(client *http.Client) *UpdateResourceByIDParams

NewUpdateResourceByIDParamsWithHTTPClient creates a new UpdateResourceByIDParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateResourceByIDParamsWithTimeout

func NewUpdateResourceByIDParamsWithTimeout(timeout time.Duration) *UpdateResourceByIDParams

NewUpdateResourceByIDParamsWithTimeout creates a new UpdateResourceByIDParams object with the ability to set a timeout on a request.

func (*UpdateResourceByIDParams) SetContext

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

SetContext adds the context to the update resource by Id params

func (*UpdateResourceByIDParams) SetDefaults

func (o *UpdateResourceByIDParams) SetDefaults()

SetDefaults hydrates default values in the update resource by Id params (not the query body).

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

func (*UpdateResourceByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update resource by Id params

func (*UpdateResourceByIDParams) SetID

func (o *UpdateResourceByIDParams) SetID(id string)

SetID adds the id to the update resource by Id params

func (*UpdateResourceByIDParams) SetTimeout

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

SetTimeout adds the timeout to the update resource by Id params

func (*UpdateResourceByIDParams) WithContext

WithContext adds the context to the update resource by Id params

func (*UpdateResourceByIDParams) WithDefaults

WithDefaults hydrates default values in the update resource by Id params (not the query body).

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

func (*UpdateResourceByIDParams) WithHTTPClient

func (o *UpdateResourceByIDParams) WithHTTPClient(client *http.Client) *UpdateResourceByIDParams

WithHTTPClient adds the HTTPClient to the update resource by Id params

func (*UpdateResourceByIDParams) WithID

WithID adds the id to the update resource by Id params

func (*UpdateResourceByIDParams) WithTimeout

WithTimeout adds the timeout to the update resource by Id params

func (*UpdateResourceByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateResourceByIDReader

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

UpdateResourceByIDReader is a Reader for the UpdateResourceByID structure.

func (*UpdateResourceByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateResourceByIDUnauthorized

type UpdateResourceByIDUnauthorized struct {
}

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

Unauthorized

func NewUpdateResourceByIDUnauthorized

func NewUpdateResourceByIDUnauthorized() *UpdateResourceByIDUnauthorized

NewUpdateResourceByIDUnauthorized creates a UpdateResourceByIDUnauthorized with default headers values

func (*UpdateResourceByIDUnauthorized) Error

func (*UpdateResourceByIDUnauthorized) IsClientError

func (o *UpdateResourceByIDUnauthorized) IsClientError() bool

IsClientError returns true when this update resource by Id unauthorized response has a 4xx status code

func (*UpdateResourceByIDUnauthorized) IsCode

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

IsCode returns true when this update resource by Id unauthorized response a status code equal to that given

func (*UpdateResourceByIDUnauthorized) IsRedirect

func (o *UpdateResourceByIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this update resource by Id unauthorized response has a 3xx status code

func (*UpdateResourceByIDUnauthorized) IsServerError

func (o *UpdateResourceByIDUnauthorized) IsServerError() bool

IsServerError returns true when this update resource by Id unauthorized response has a 5xx status code

func (*UpdateResourceByIDUnauthorized) IsSuccess

func (o *UpdateResourceByIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this update resource by Id unauthorized response has a 2xx status code

func (*UpdateResourceByIDUnauthorized) String

Jump to

Keyboard shortcuts

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