resources

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 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) GetResourceByIDUsingGET1

func (a *Client) GetResourceByIDUsingGET1(params *GetResourceByIDUsingGET1Params, opts ...ClientOption) (*GetResourceByIDUsingGET1OK, error)

GetResourceByIDUsingGET1 fetches a specific resource

Returns the resource with the supplied ID.

func (*Client) GetResourceFilterByIDUsingGET

func (a *Client) GetResourceFilterByIDUsingGET(params *GetResourceFilterByIDUsingGETParams, opts ...ClientOption) (*GetResourceFilterByIDUsingGETOK, error)

GetResourceFilterByIDUsingGET returns the resource filter with the supplied ID

func (*Client) GetResourceFiltersUsingGET

func (a *Client) GetResourceFiltersUsingGET(params *GetResourceFiltersUsingGETParams, opts ...ClientOption) (*GetResourceFiltersUsingGETOK, error)

GetResourceFiltersUsingGET returns the resource filters in context of given user

func (*Client) GetResourcesUsingGET

func (a *Client) GetResourcesUsingGET(params *GetResourcesUsingGETParams, opts ...ClientOption) (*GetResourcesUsingGETOK, error)

GetResourcesUsingGET 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 {
	GetResourceByIDUsingGET1(params *GetResourceByIDUsingGET1Params, opts ...ClientOption) (*GetResourceByIDUsingGET1OK, error)

	GetResourceFilterByIDUsingGET(params *GetResourceFilterByIDUsingGETParams, opts ...ClientOption) (*GetResourceFilterByIDUsingGETOK, error)

	GetResourceFiltersUsingGET(params *GetResourceFiltersUsingGETParams, opts ...ClientOption) (*GetResourceFiltersUsingGETOK, error)

	GetResourcesUsingGET(params *GetResourcesUsingGETParams, opts ...ClientOption) (*GetResourcesUsingGETOK, 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 GetResourceByIDUsingGET1OK

type GetResourceByIDUsingGET1OK struct {
	Payload *models.Resource
}
GetResourceByIDUsingGET1OK describes a response with status code 200, with default header values.

OK

func NewGetResourceByIDUsingGET1OK

func NewGetResourceByIDUsingGET1OK() *GetResourceByIDUsingGET1OK

NewGetResourceByIDUsingGET1OK creates a GetResourceByIDUsingGET1OK with default headers values

func (*GetResourceByIDUsingGET1OK) Error

func (*GetResourceByIDUsingGET1OK) GetPayload

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

type GetResourceByIDUsingGET1Params

type GetResourceByIDUsingGET1Params 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
}

GetResourceByIDUsingGET1Params contains all the parameters to send to the API endpoint

for the get resource by Id using get1 operation.

Typically these are written to a http.Request.

func NewGetResourceByIDUsingGET1Params

func NewGetResourceByIDUsingGET1Params() *GetResourceByIDUsingGET1Params

NewGetResourceByIDUsingGET1Params creates a new GetResourceByIDUsingGET1Params 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 NewGetResourceByIDUsingGET1ParamsWithContext

func NewGetResourceByIDUsingGET1ParamsWithContext(ctx context.Context) *GetResourceByIDUsingGET1Params

NewGetResourceByIDUsingGET1ParamsWithContext creates a new GetResourceByIDUsingGET1Params object with the ability to set a context for a request.

func NewGetResourceByIDUsingGET1ParamsWithHTTPClient

func NewGetResourceByIDUsingGET1ParamsWithHTTPClient(client *http.Client) *GetResourceByIDUsingGET1Params

NewGetResourceByIDUsingGET1ParamsWithHTTPClient creates a new GetResourceByIDUsingGET1Params object with the ability to set a custom HTTPClient for a request.

func NewGetResourceByIDUsingGET1ParamsWithTimeout

func NewGetResourceByIDUsingGET1ParamsWithTimeout(timeout time.Duration) *GetResourceByIDUsingGET1Params

NewGetResourceByIDUsingGET1ParamsWithTimeout creates a new GetResourceByIDUsingGET1Params object with the ability to set a timeout on a request.

func (*GetResourceByIDUsingGET1Params) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the get resource by Id using get1 params

func (*GetResourceByIDUsingGET1Params) SetContext

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

SetContext adds the context to the get resource by Id using get1 params

func (*GetResourceByIDUsingGET1Params) SetDefaults

func (o *GetResourceByIDUsingGET1Params) SetDefaults()

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

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

func (*GetResourceByIDUsingGET1Params) SetExpand

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

SetExpand adds the expand to the get resource by Id using get1 params

func (*GetResourceByIDUsingGET1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get resource by Id using get1 params

func (*GetResourceByIDUsingGET1Params) SetResourceID

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

SetResourceID adds the resourceId to the get resource by Id using get1 params

func (*GetResourceByIDUsingGET1Params) SetTimeout

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

SetTimeout adds the timeout to the get resource by Id using get1 params

func (*GetResourceByIDUsingGET1Params) WithAPIVersion

WithAPIVersion adds the aPIVersion to the get resource by Id using get1 params

func (*GetResourceByIDUsingGET1Params) WithContext

WithContext adds the context to the get resource by Id using get1 params

func (*GetResourceByIDUsingGET1Params) WithDefaults

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

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

func (*GetResourceByIDUsingGET1Params) WithExpand

WithExpand adds the expand to the get resource by Id using get1 params

func (*GetResourceByIDUsingGET1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get resource by Id using get1 params

func (*GetResourceByIDUsingGET1Params) WithResourceID

WithResourceID adds the resourceID to the get resource by Id using get1 params

func (*GetResourceByIDUsingGET1Params) WithTimeout

WithTimeout adds the timeout to the get resource by Id using get1 params

func (*GetResourceByIDUsingGET1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetResourceByIDUsingGET1Reader

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

GetResourceByIDUsingGET1Reader is a Reader for the GetResourceByIDUsingGET1 structure.

func (*GetResourceByIDUsingGET1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetResourceByIDUsingGET1Unauthorized

type GetResourceByIDUsingGET1Unauthorized struct {
}
GetResourceByIDUsingGET1Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetResourceByIDUsingGET1Unauthorized

func NewGetResourceByIDUsingGET1Unauthorized() *GetResourceByIDUsingGET1Unauthorized

NewGetResourceByIDUsingGET1Unauthorized creates a GetResourceByIDUsingGET1Unauthorized with default headers values

func (*GetResourceByIDUsingGET1Unauthorized) Error

type GetResourceFilterByIDUsingGETOK

type GetResourceFilterByIDUsingGETOK struct {
	Payload *models.PageOfFilterEntry
}
GetResourceFilterByIDUsingGETOK describes a response with status code 200, with default header values.

OK

func NewGetResourceFilterByIDUsingGETOK

func NewGetResourceFilterByIDUsingGETOK() *GetResourceFilterByIDUsingGETOK

NewGetResourceFilterByIDUsingGETOK creates a GetResourceFilterByIDUsingGETOK with default headers values

func (*GetResourceFilterByIDUsingGETOK) Error

func (*GetResourceFilterByIDUsingGETOK) GetPayload

type GetResourceFilterByIDUsingGETParams

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

	/* Search.

	   Search string for filters
	*/
	Search *string

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

GetResourceFilterByIDUsingGETParams contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewGetResourceFilterByIDUsingGETParams

func NewGetResourceFilterByIDUsingGETParams() *GetResourceFilterByIDUsingGETParams

NewGetResourceFilterByIDUsingGETParams creates a new GetResourceFilterByIDUsingGETParams 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 NewGetResourceFilterByIDUsingGETParamsWithContext

func NewGetResourceFilterByIDUsingGETParamsWithContext(ctx context.Context) *GetResourceFilterByIDUsingGETParams

NewGetResourceFilterByIDUsingGETParamsWithContext creates a new GetResourceFilterByIDUsingGETParams object with the ability to set a context for a request.

func NewGetResourceFilterByIDUsingGETParamsWithHTTPClient

func NewGetResourceFilterByIDUsingGETParamsWithHTTPClient(client *http.Client) *GetResourceFilterByIDUsingGETParams

NewGetResourceFilterByIDUsingGETParamsWithHTTPClient creates a new GetResourceFilterByIDUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetResourceFilterByIDUsingGETParamsWithTimeout

func NewGetResourceFilterByIDUsingGETParamsWithTimeout(timeout time.Duration) *GetResourceFilterByIDUsingGETParams

NewGetResourceFilterByIDUsingGETParamsWithTimeout creates a new GetResourceFilterByIDUsingGETParams object with the ability to set a timeout on a request.

func (*GetResourceFilterByIDUsingGETParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the get resource filter by Id using get params

func (*GetResourceFilterByIDUsingGETParams) SetContext

SetContext adds the context to the get resource filter by Id using get params

func (*GetResourceFilterByIDUsingGETParams) SetDefaults

func (o *GetResourceFilterByIDUsingGETParams) SetDefaults()

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

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

func (*GetResourceFilterByIDUsingGETParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the get resource filter by Id using get params

func (*GetResourceFilterByIDUsingGETParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the get resource filter by Id using get params

func (*GetResourceFilterByIDUsingGETParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the get resource filter by Id using get params

func (*GetResourceFilterByIDUsingGETParams) SetFilterID

func (o *GetResourceFilterByIDUsingGETParams) SetFilterID(filterID string)

SetFilterID adds the filterId to the get resource filter by Id using get params

func (*GetResourceFilterByIDUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get resource filter by Id using get params

func (*GetResourceFilterByIDUsingGETParams) SetSearch

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

SetSearch adds the search to the get resource filter by Id using get params

func (*GetResourceFilterByIDUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the get resource filter by Id using get params

func (*GetResourceFilterByIDUsingGETParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the get resource filter by Id using get params

func (*GetResourceFilterByIDUsingGETParams) WithContext

WithContext adds the context to the get resource filter by Id using get params

func (*GetResourceFilterByIDUsingGETParams) WithDefaults

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

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

func (*GetResourceFilterByIDUsingGETParams) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the get resource filter by Id using get params

func (*GetResourceFilterByIDUsingGETParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the get resource filter by Id using get params

func (*GetResourceFilterByIDUsingGETParams) WithDollarTop

WithDollarTop adds the dollarTop to the get resource filter by Id using get params

func (*GetResourceFilterByIDUsingGETParams) WithFilterID

WithFilterID adds the filterID to the get resource filter by Id using get params

func (*GetResourceFilterByIDUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get resource filter by Id using get params

func (*GetResourceFilterByIDUsingGETParams) WithSearch

WithSearch adds the search to the get resource filter by Id using get params

func (*GetResourceFilterByIDUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get resource filter by Id using get params

func (*GetResourceFilterByIDUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetResourceFilterByIDUsingGETReader

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

GetResourceFilterByIDUsingGETReader is a Reader for the GetResourceFilterByIDUsingGET structure.

func (*GetResourceFilterByIDUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetResourceFilterByIDUsingGETUnauthorized

type GetResourceFilterByIDUsingGETUnauthorized struct {
}
GetResourceFilterByIDUsingGETUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetResourceFilterByIDUsingGETUnauthorized

func NewGetResourceFilterByIDUsingGETUnauthorized() *GetResourceFilterByIDUsingGETUnauthorized

NewGetResourceFilterByIDUsingGETUnauthorized creates a GetResourceFilterByIDUsingGETUnauthorized with default headers values

func (*GetResourceFilterByIDUsingGETUnauthorized) Error

type GetResourceFiltersUsingGETOK

type GetResourceFiltersUsingGETOK struct {
	Payload *models.DeploymentFilterSchema
}
GetResourceFiltersUsingGETOK describes a response with status code 200, with default header values.

OK

func NewGetResourceFiltersUsingGETOK

func NewGetResourceFiltersUsingGETOK() *GetResourceFiltersUsingGETOK

NewGetResourceFiltersUsingGETOK creates a GetResourceFiltersUsingGETOK with default headers values

func (*GetResourceFiltersUsingGETOK) Error

func (*GetResourceFiltersUsingGETOK) GetPayload

type GetResourceFiltersUsingGETParams

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

	// Script.
	Script *string

	// UnicodeLocaleAttributes.
	UnicodeLocaleAttributes []string

	// UnicodeLocaleKeys.
	UnicodeLocaleKeys []string

	// Variant.
	Variant *string

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

GetResourceFiltersUsingGETParams contains all the parameters to send to the API endpoint

for the get resource filters using g e t operation.

Typically these are written to a http.Request.

func NewGetResourceFiltersUsingGETParams

func NewGetResourceFiltersUsingGETParams() *GetResourceFiltersUsingGETParams

NewGetResourceFiltersUsingGETParams creates a new GetResourceFiltersUsingGETParams 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 NewGetResourceFiltersUsingGETParamsWithContext

func NewGetResourceFiltersUsingGETParamsWithContext(ctx context.Context) *GetResourceFiltersUsingGETParams

NewGetResourceFiltersUsingGETParamsWithContext creates a new GetResourceFiltersUsingGETParams object with the ability to set a context for a request.

func NewGetResourceFiltersUsingGETParamsWithHTTPClient

func NewGetResourceFiltersUsingGETParamsWithHTTPClient(client *http.Client) *GetResourceFiltersUsingGETParams

NewGetResourceFiltersUsingGETParamsWithHTTPClient creates a new GetResourceFiltersUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetResourceFiltersUsingGETParamsWithTimeout

func NewGetResourceFiltersUsingGETParamsWithTimeout(timeout time.Duration) *GetResourceFiltersUsingGETParams

NewGetResourceFiltersUsingGETParamsWithTimeout creates a new GetResourceFiltersUsingGETParams object with the ability to set a timeout on a request.

func (*GetResourceFiltersUsingGETParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) SetContext

SetContext adds the context to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) SetCountry

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

SetCountry adds the country to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) SetDefaults

func (o *GetResourceFiltersUsingGETParams) SetDefaults()

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

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

func (*GetResourceFiltersUsingGETParams) SetDisplayCountry

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

SetDisplayCountry adds the displayCountry to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) SetDisplayLanguage

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

SetDisplayLanguage adds the displayLanguage to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) SetDisplayName

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

SetDisplayName adds the displayName to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) SetDisplayScript

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

SetDisplayScript adds the displayScript to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) SetDisplayVariant

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

SetDisplayVariant adds the displayVariant to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) SetISO3Country

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

SetISO3Country adds the iSO3Country to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) SetISO3Language

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

SetISO3Language adds the iSO3Language to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) SetLanguage

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

SetLanguage adds the language to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) SetScript

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

SetScript adds the script to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) SetUnicodeLocaleAttributes

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

SetUnicodeLocaleAttributes adds the unicodeLocaleAttributes to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) SetUnicodeLocaleKeys

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

SetUnicodeLocaleKeys adds the unicodeLocaleKeys to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) SetVariant

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

SetVariant adds the variant to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) WithContext

WithContext adds the context to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) WithCountry

WithCountry adds the country to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) WithDefaults

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

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

func (*GetResourceFiltersUsingGETParams) WithDisplayCountry

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

WithDisplayCountry adds the displayCountry to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) WithDisplayLanguage

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

WithDisplayLanguage adds the displayLanguage to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) WithDisplayName

WithDisplayName adds the displayName to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) WithDisplayScript

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

WithDisplayScript adds the displayScript to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) WithDisplayVariant

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

WithDisplayVariant adds the displayVariant to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) WithISO3Country

WithISO3Country adds the iSO3Country to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) WithISO3Language

func (o *GetResourceFiltersUsingGETParams) WithISO3Language(iSO3Language *string) *GetResourceFiltersUsingGETParams

WithISO3Language adds the iSO3Language to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) WithLanguage

WithLanguage adds the language to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) WithScript

WithScript adds the script to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) WithUnicodeLocaleAttributes

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

WithUnicodeLocaleAttributes adds the unicodeLocaleAttributes to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) WithUnicodeLocaleKeys

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

WithUnicodeLocaleKeys adds the unicodeLocaleKeys to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) WithVariant

WithVariant adds the variant to the get resource filters using get params

func (*GetResourceFiltersUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetResourceFiltersUsingGETReader

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

GetResourceFiltersUsingGETReader is a Reader for the GetResourceFiltersUsingGET structure.

func (*GetResourceFiltersUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetResourceFiltersUsingGETUnauthorized

type GetResourceFiltersUsingGETUnauthorized struct {
}
GetResourceFiltersUsingGETUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetResourceFiltersUsingGETUnauthorized

func NewGetResourceFiltersUsingGETUnauthorized() *GetResourceFiltersUsingGETUnauthorized

NewGetResourceFiltersUsingGETUnauthorized creates a GetResourceFiltersUsingGETUnauthorized with default headers values

func (*GetResourceFiltersUsingGETUnauthorized) Error

type GetResourcesUsingGETOK

type GetResourcesUsingGETOK struct {
	Payload *models.PageOfResource
}
GetResourcesUsingGETOK describes a response with status code 200, with default header values.

OK

func NewGetResourcesUsingGETOK

func NewGetResourcesUsingGETOK() *GetResourcesUsingGETOK

NewGetResourcesUsingGETOK creates a GetResourcesUsingGETOK with default headers values

func (*GetResourcesUsingGETOK) Error

func (o *GetResourcesUsingGETOK) Error() string

func (*GetResourcesUsingGETOK) GetPayload

func (o *GetResourcesUsingGETOK) GetPayload() *models.PageOfResource

type GetResourcesUsingGETParams

type GetResourcesUsingGETParams 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
}

GetResourcesUsingGETParams contains all the parameters to send to the API endpoint

for the get resources using g e t operation.

Typically these are written to a http.Request.

func NewGetResourcesUsingGETParams

func NewGetResourcesUsingGETParams() *GetResourcesUsingGETParams

NewGetResourcesUsingGETParams creates a new GetResourcesUsingGETParams 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 NewGetResourcesUsingGETParamsWithContext

func NewGetResourcesUsingGETParamsWithContext(ctx context.Context) *GetResourcesUsingGETParams

NewGetResourcesUsingGETParamsWithContext creates a new GetResourcesUsingGETParams object with the ability to set a context for a request.

func NewGetResourcesUsingGETParamsWithHTTPClient

func NewGetResourcesUsingGETParamsWithHTTPClient(client *http.Client) *GetResourcesUsingGETParams

NewGetResourcesUsingGETParamsWithHTTPClient creates a new GetResourcesUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetResourcesUsingGETParamsWithTimeout

func NewGetResourcesUsingGETParamsWithTimeout(timeout time.Duration) *GetResourcesUsingGETParams

NewGetResourcesUsingGETParamsWithTimeout creates a new GetResourcesUsingGETParams object with the ability to set a timeout on a request.

func (*GetResourcesUsingGETParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the get resources using get params

func (*GetResourcesUsingGETParams) SetCloudAccounts

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

SetCloudAccounts adds the cloudAccounts to the get resources using get params

func (*GetResourcesUsingGETParams) SetCloudTypes

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

SetCloudTypes adds the cloudTypes to the get resources using get params

func (*GetResourcesUsingGETParams) SetContext

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

SetContext adds the context to the get resources using get params

func (*GetResourcesUsingGETParams) SetDefaults

func (o *GetResourcesUsingGETParams) SetDefaults()

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

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

func (*GetResourcesUsingGETParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the get resources using get params

func (*GetResourcesUsingGETParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the get resources using get params

func (*GetResourcesUsingGETParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the get resources using get params

func (*GetResourcesUsingGETParams) SetExpand

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

SetExpand adds the expand to the get resources using get params

func (*GetResourcesUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get resources using get params

func (*GetResourcesUsingGETParams) SetProjects

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

SetProjects adds the projects to the get resources using get params

func (*GetResourcesUsingGETParams) SetResourceTypes

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

SetResourceTypes adds the resourceTypes to the get resources using get params

func (*GetResourcesUsingGETParams) SetSearch

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

SetSearch adds the search to the get resources using get params

func (*GetResourcesUsingGETParams) SetTags

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

SetTags adds the tags to the get resources using get params

func (*GetResourcesUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the get resources using get params

func (*GetResourcesUsingGETParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the get resources using get params

func (*GetResourcesUsingGETParams) WithCloudAccounts

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

WithCloudAccounts adds the cloudAccounts to the get resources using get params

func (*GetResourcesUsingGETParams) WithCloudTypes

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

WithCloudTypes adds the cloudTypes to the get resources using get params

func (*GetResourcesUsingGETParams) WithContext

WithContext adds the context to the get resources using get params

func (*GetResourcesUsingGETParams) WithDefaults

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

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

func (*GetResourcesUsingGETParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the get resources using get params

func (*GetResourcesUsingGETParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the get resources using get params

func (*GetResourcesUsingGETParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the get resources using get params

func (*GetResourcesUsingGETParams) WithExpand

WithExpand adds the expand to the get resources using get params

func (*GetResourcesUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get resources using get params

func (*GetResourcesUsingGETParams) WithProjects

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

WithProjects adds the projects to the get resources using get params

func (*GetResourcesUsingGETParams) WithResourceTypes

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

WithResourceTypes adds the resourceTypes to the get resources using get params

func (*GetResourcesUsingGETParams) WithSearch

WithSearch adds the search to the get resources using get params

func (*GetResourcesUsingGETParams) WithTags

WithTags adds the tags to the get resources using get params

func (*GetResourcesUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get resources using get params

func (*GetResourcesUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetResourcesUsingGETReader

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

GetResourcesUsingGETReader is a Reader for the GetResourcesUsingGET structure.

func (*GetResourcesUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetResourcesUsingGETUnauthorized

type GetResourcesUsingGETUnauthorized struct {
}
GetResourcesUsingGETUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetResourcesUsingGETUnauthorized

func NewGetResourcesUsingGETUnauthorized() *GetResourcesUsingGETUnauthorized

NewGetResourcesUsingGETUnauthorized creates a GetResourcesUsingGETUnauthorized with default headers values

func (*GetResourcesUsingGETUnauthorized) Error

Jump to

Keyboard shortcuts

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