content

package
v0.0.0-...-09f9b81 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllContentMetadataAccessesBadRequest

type AllContentMetadataAccessesBadRequest struct {
	Payload *models.Error
}
AllContentMetadataAccessesBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewAllContentMetadataAccessesBadRequest

func NewAllContentMetadataAccessesBadRequest() *AllContentMetadataAccessesBadRequest

NewAllContentMetadataAccessesBadRequest creates a AllContentMetadataAccessesBadRequest with default headers values

func (*AllContentMetadataAccessesBadRequest) Error

func (*AllContentMetadataAccessesBadRequest) GetPayload

type AllContentMetadataAccessesNotFound

type AllContentMetadataAccessesNotFound struct {
	Payload *models.Error
}
AllContentMetadataAccessesNotFound describes a response with status code 404, with default header values.

Not Found

func NewAllContentMetadataAccessesNotFound

func NewAllContentMetadataAccessesNotFound() *AllContentMetadataAccessesNotFound

NewAllContentMetadataAccessesNotFound creates a AllContentMetadataAccessesNotFound with default headers values

func (*AllContentMetadataAccessesNotFound) Error

func (*AllContentMetadataAccessesNotFound) GetPayload

type AllContentMetadataAccessesOK

type AllContentMetadataAccessesOK struct {
	Payload []*models.ContentMetaGroupUser
}
AllContentMetadataAccessesOK describes a response with status code 200, with default header values.

Content Metadata Access

func NewAllContentMetadataAccessesOK

func NewAllContentMetadataAccessesOK() *AllContentMetadataAccessesOK

NewAllContentMetadataAccessesOK creates a AllContentMetadataAccessesOK with default headers values

func (*AllContentMetadataAccessesOK) Error

func (*AllContentMetadataAccessesOK) GetPayload

type AllContentMetadataAccessesParams

type AllContentMetadataAccessesParams struct {

	/* ContentMetadataID.

	   Id of content metadata

	   Format: int64
	*/
	ContentMetadataID int64

	/* Fields.

	   Requested fields.
	*/
	Fields *string

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

AllContentMetadataAccessesParams contains all the parameters to send to the API endpoint

for the all content metadata accesses operation.

Typically these are written to a http.Request.

func NewAllContentMetadataAccessesParams

func NewAllContentMetadataAccessesParams() *AllContentMetadataAccessesParams

NewAllContentMetadataAccessesParams creates a new AllContentMetadataAccessesParams 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 NewAllContentMetadataAccessesParamsWithContext

func NewAllContentMetadataAccessesParamsWithContext(ctx context.Context) *AllContentMetadataAccessesParams

NewAllContentMetadataAccessesParamsWithContext creates a new AllContentMetadataAccessesParams object with the ability to set a context for a request.

func NewAllContentMetadataAccessesParamsWithHTTPClient

func NewAllContentMetadataAccessesParamsWithHTTPClient(client *http.Client) *AllContentMetadataAccessesParams

NewAllContentMetadataAccessesParamsWithHTTPClient creates a new AllContentMetadataAccessesParams object with the ability to set a custom HTTPClient for a request.

func NewAllContentMetadataAccessesParamsWithTimeout

func NewAllContentMetadataAccessesParamsWithTimeout(timeout time.Duration) *AllContentMetadataAccessesParams

NewAllContentMetadataAccessesParamsWithTimeout creates a new AllContentMetadataAccessesParams object with the ability to set a timeout on a request.

func (*AllContentMetadataAccessesParams) SetContentMetadataID

func (o *AllContentMetadataAccessesParams) SetContentMetadataID(contentMetadataID int64)

SetContentMetadataID adds the contentMetadataId to the all content metadata accesses params

func (*AllContentMetadataAccessesParams) SetContext

SetContext adds the context to the all content metadata accesses params

func (*AllContentMetadataAccessesParams) SetDefaults

func (o *AllContentMetadataAccessesParams) SetDefaults()

SetDefaults hydrates default values in the all content metadata accesses params (not the query body).

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

func (*AllContentMetadataAccessesParams) SetFields

func (o *AllContentMetadataAccessesParams) SetFields(fields *string)

SetFields adds the fields to the all content metadata accesses params

func (*AllContentMetadataAccessesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the all content metadata accesses params

func (*AllContentMetadataAccessesParams) SetTimeout

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

SetTimeout adds the timeout to the all content metadata accesses params

func (*AllContentMetadataAccessesParams) WithContentMetadataID

func (o *AllContentMetadataAccessesParams) WithContentMetadataID(contentMetadataID int64) *AllContentMetadataAccessesParams

WithContentMetadataID adds the contentMetadataID to the all content metadata accesses params

func (*AllContentMetadataAccessesParams) WithContext

WithContext adds the context to the all content metadata accesses params

func (*AllContentMetadataAccessesParams) WithDefaults

WithDefaults hydrates default values in the all content metadata accesses params (not the query body).

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

func (*AllContentMetadataAccessesParams) WithFields

WithFields adds the fields to the all content metadata accesses params

func (*AllContentMetadataAccessesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the all content metadata accesses params

func (*AllContentMetadataAccessesParams) WithTimeout

WithTimeout adds the timeout to the all content metadata accesses params

func (*AllContentMetadataAccessesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AllContentMetadataAccessesReader

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

AllContentMetadataAccessesReader is a Reader for the AllContentMetadataAccesses structure.

func (*AllContentMetadataAccessesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AllContentMetadataAccesssBadRequest

type AllContentMetadataAccesssBadRequest struct {
	Payload *models.Error
}

AllContentMetadataAccesssBadRequest handles this case with default header values.

Bad Request

func NewAllContentMetadataAccesssBadRequest

func NewAllContentMetadataAccesssBadRequest() *AllContentMetadataAccesssBadRequest

NewAllContentMetadataAccesssBadRequest creates a AllContentMetadataAccesssBadRequest with default headers values

func (*AllContentMetadataAccesssBadRequest) Error

type AllContentMetadataAccesssNotFound

type AllContentMetadataAccesssNotFound struct {
	Payload *models.Error
}

AllContentMetadataAccesssNotFound handles this case with default header values.

Not Found

func NewAllContentMetadataAccesssNotFound

func NewAllContentMetadataAccesssNotFound() *AllContentMetadataAccesssNotFound

NewAllContentMetadataAccesssNotFound creates a AllContentMetadataAccesssNotFound with default headers values

func (*AllContentMetadataAccesssNotFound) Error

type AllContentMetadataAccesssOK

type AllContentMetadataAccesssOK struct {
	Payload []*models.ContentMetaGroupUser
}

AllContentMetadataAccesssOK handles this case with default header values.

Content Metadata Access

func NewAllContentMetadataAccesssOK

func NewAllContentMetadataAccesssOK() *AllContentMetadataAccesssOK

NewAllContentMetadataAccesssOK creates a AllContentMetadataAccesssOK with default headers values

func (*AllContentMetadataAccesssOK) Error

type AllContentMetadataAccesssParams

type AllContentMetadataAccesssParams struct {

	/*ContentMetadataID
	  Id of content metadata

	*/
	ContentMetadataID *int64
	/*Fields
	  Requested fields.

	*/
	Fields *string

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

AllContentMetadataAccesssParams contains all the parameters to send to the API endpoint for the all content metadata accesss operation typically these are written to a http.Request

func NewAllContentMetadataAccesssParams

func NewAllContentMetadataAccesssParams() *AllContentMetadataAccesssParams

NewAllContentMetadataAccesssParams creates a new AllContentMetadataAccesssParams object with the default values initialized.

func NewAllContentMetadataAccesssParamsWithContext

func NewAllContentMetadataAccesssParamsWithContext(ctx context.Context) *AllContentMetadataAccesssParams

NewAllContentMetadataAccesssParamsWithContext creates a new AllContentMetadataAccesssParams object with the default values initialized, and the ability to set a context for a request

func NewAllContentMetadataAccesssParamsWithHTTPClient

func NewAllContentMetadataAccesssParamsWithHTTPClient(client *http.Client) *AllContentMetadataAccesssParams

NewAllContentMetadataAccesssParamsWithHTTPClient creates a new AllContentMetadataAccesssParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAllContentMetadataAccesssParamsWithTimeout

func NewAllContentMetadataAccesssParamsWithTimeout(timeout time.Duration) *AllContentMetadataAccesssParams

NewAllContentMetadataAccesssParamsWithTimeout creates a new AllContentMetadataAccesssParams object with the default values initialized, and the ability to set a timeout on a request

func (*AllContentMetadataAccesssParams) SetContentMetadataID

func (o *AllContentMetadataAccesssParams) SetContentMetadataID(contentMetadataID *int64)

SetContentMetadataID adds the contentMetadataId to the all content metadata accesss params

func (*AllContentMetadataAccesssParams) SetContext

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

SetContext adds the context to the all content metadata accesss params

func (*AllContentMetadataAccesssParams) SetFields

func (o *AllContentMetadataAccesssParams) SetFields(fields *string)

SetFields adds the fields to the all content metadata accesss params

func (*AllContentMetadataAccesssParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the all content metadata accesss params

func (*AllContentMetadataAccesssParams) SetTimeout

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

SetTimeout adds the timeout to the all content metadata accesss params

func (*AllContentMetadataAccesssParams) WithContentMetadataID

func (o *AllContentMetadataAccesssParams) WithContentMetadataID(contentMetadataID *int64) *AllContentMetadataAccesssParams

WithContentMetadataID adds the contentMetadataID to the all content metadata accesss params

func (*AllContentMetadataAccesssParams) WithContext

WithContext adds the context to the all content metadata accesss params

func (*AllContentMetadataAccesssParams) WithFields

WithFields adds the fields to the all content metadata accesss params

func (*AllContentMetadataAccesssParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the all content metadata accesss params

func (*AllContentMetadataAccesssParams) WithTimeout

WithTimeout adds the timeout to the all content metadata accesss params

func (*AllContentMetadataAccesssParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AllContentMetadataAccesssReader

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

AllContentMetadataAccesssReader is a Reader for the AllContentMetadataAccesss structure.

func (*AllContentMetadataAccesssReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AllContentMetadatasBadRequest

type AllContentMetadatasBadRequest struct {
	Payload *models.Error
}
AllContentMetadatasBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewAllContentMetadatasBadRequest

func NewAllContentMetadatasBadRequest() *AllContentMetadatasBadRequest

NewAllContentMetadatasBadRequest creates a AllContentMetadatasBadRequest with default headers values

func (*AllContentMetadatasBadRequest) Error

func (*AllContentMetadatasBadRequest) GetPayload

func (o *AllContentMetadatasBadRequest) GetPayload() *models.Error

type AllContentMetadatasNotFound

type AllContentMetadatasNotFound struct {
	Payload *models.Error
}
AllContentMetadatasNotFound describes a response with status code 404, with default header values.

Not Found

func NewAllContentMetadatasNotFound

func NewAllContentMetadatasNotFound() *AllContentMetadatasNotFound

NewAllContentMetadatasNotFound creates a AllContentMetadatasNotFound with default headers values

func (*AllContentMetadatasNotFound) Error

func (*AllContentMetadatasNotFound) GetPayload

func (o *AllContentMetadatasNotFound) GetPayload() *models.Error

type AllContentMetadatasOK

type AllContentMetadatasOK struct {
	Payload []*models.ContentMeta
}
AllContentMetadatasOK describes a response with status code 200, with default header values.

Content Metadata

func NewAllContentMetadatasOK

func NewAllContentMetadatasOK() *AllContentMetadatasOK

NewAllContentMetadatasOK creates a AllContentMetadatasOK with default headers values

func (*AllContentMetadatasOK) Error

func (o *AllContentMetadatasOK) Error() string

func (*AllContentMetadatasOK) GetPayload

func (o *AllContentMetadatasOK) GetPayload() []*models.ContentMeta

type AllContentMetadatasParams

type AllContentMetadatasParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* ParentID.

	   Parent space of content.

	   Format: int64
	*/
	ParentID int64

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

AllContentMetadatasParams contains all the parameters to send to the API endpoint

for the all content metadatas operation.

Typically these are written to a http.Request.

func NewAllContentMetadatasParams

func NewAllContentMetadatasParams() *AllContentMetadatasParams

NewAllContentMetadatasParams creates a new AllContentMetadatasParams 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 NewAllContentMetadatasParamsWithContext

func NewAllContentMetadatasParamsWithContext(ctx context.Context) *AllContentMetadatasParams

NewAllContentMetadatasParamsWithContext creates a new AllContentMetadatasParams object with the ability to set a context for a request.

func NewAllContentMetadatasParamsWithHTTPClient

func NewAllContentMetadatasParamsWithHTTPClient(client *http.Client) *AllContentMetadatasParams

NewAllContentMetadatasParamsWithHTTPClient creates a new AllContentMetadatasParams object with the ability to set a custom HTTPClient for a request.

func NewAllContentMetadatasParamsWithTimeout

func NewAllContentMetadatasParamsWithTimeout(timeout time.Duration) *AllContentMetadatasParams

NewAllContentMetadatasParamsWithTimeout creates a new AllContentMetadatasParams object with the ability to set a timeout on a request.

func (*AllContentMetadatasParams) SetContext

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

SetContext adds the context to the all content metadatas params

func (*AllContentMetadatasParams) SetDefaults

func (o *AllContentMetadatasParams) SetDefaults()

SetDefaults hydrates default values in the all content metadatas params (not the query body).

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

func (*AllContentMetadatasParams) SetFields

func (o *AllContentMetadatasParams) SetFields(fields *string)

SetFields adds the fields to the all content metadatas params

func (*AllContentMetadatasParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the all content metadatas params

func (*AllContentMetadatasParams) SetParentID

func (o *AllContentMetadatasParams) SetParentID(parentID int64)

SetParentID adds the parentId to the all content metadatas params

func (*AllContentMetadatasParams) SetTimeout

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

SetTimeout adds the timeout to the all content metadatas params

func (*AllContentMetadatasParams) WithContext

WithContext adds the context to the all content metadatas params

func (*AllContentMetadatasParams) WithDefaults

WithDefaults hydrates default values in the all content metadatas params (not the query body).

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

func (*AllContentMetadatasParams) WithFields

WithFields adds the fields to the all content metadatas params

func (*AllContentMetadatasParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the all content metadatas params

func (*AllContentMetadatasParams) WithParentID

func (o *AllContentMetadatasParams) WithParentID(parentID int64) *AllContentMetadatasParams

WithParentID adds the parentID to the all content metadatas params

func (*AllContentMetadatasParams) WithTimeout

WithTimeout adds the timeout to the all content metadatas params

func (*AllContentMetadatasParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AllContentMetadatasReader

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

AllContentMetadatasReader is a Reader for the AllContentMetadatas structure.

func (*AllContentMetadatasReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for content API

func (*Client) AllContentMetadataAccesses

func (a *Client) AllContentMetadataAccesses(params *AllContentMetadataAccessesParams, opts ...ClientOption) (*AllContentMetadataAccessesOK, error)

AllContentMetadataAccesses gets all content metadata accesses

### All content metadata access records for a content metadata item.

func (*Client) AllContentMetadatas

func (a *Client) AllContentMetadatas(params *AllContentMetadatasParams, opts ...ClientOption) (*AllContentMetadatasOK, error)

AllContentMetadatas gets all content metadatas

### Get information about all content metadata in a space.

func (*Client) ContentFavorite

func (a *Client) ContentFavorite(params *ContentFavoriteParams, opts ...ClientOption) (*ContentFavoriteOK, error)

ContentFavorite gets favorite content

### Get favorite content by its id

func (*Client) ContentMetadata

func (a *Client) ContentMetadata(params *ContentMetadataParams, opts ...ClientOption) (*ContentMetadataOK, error)

ContentMetadata gets content metadata

### Get information about an individual content metadata record.

func (*Client) ContentThumbnail

func (a *Client) ContentThumbnail(params *ContentThumbnailParams, opts ...ClientOption) (*ContentThumbnailOK, error)
ContentThumbnail gets content thumbnail

### Get an image representing the contents of a dashboard or look.

The returned thumbnail is an abstract representation of the contents of a dashbord or look and does not reflect the actual data displayed in the respective visualizations.

func (*Client) ContentValidation

func (a *Client) ContentValidation(params *ContentValidationParams, opts ...ClientOption) (*ContentValidationOK, error)
ContentValidation validates content

### Validate All Content

Performs validation of all looks and dashboards Returns a list of errors found as well as metadata about the content validation run.

func (*Client) CreateContentFavorite

func (a *Client) CreateContentFavorite(params *CreateContentFavoriteParams, opts ...ClientOption) (*CreateContentFavoriteOK, error)

CreateContentFavorite creates favorite content

### Create favorite content

func (*Client) CreateContentMetadataAccess

func (a *Client) CreateContentMetadataAccess(params *CreateContentMetadataAccessParams, opts ...ClientOption) (*CreateContentMetadataAccessOK, error)

CreateContentMetadataAccess creates content metadata access

### Create content metadata access.

func (*Client) DeleteContentFavorite

func (a *Client) DeleteContentFavorite(params *DeleteContentFavoriteParams, opts ...ClientOption) (*DeleteContentFavoriteNoContent, error)

DeleteContentFavorite deletes favorite content

### Delete favorite content

func (*Client) DeleteContentMetadataAccess

func (a *Client) DeleteContentMetadataAccess(params *DeleteContentMetadataAccessParams, opts ...ClientOption) (*DeleteContentMetadataAccessNoContent, error)

DeleteContentMetadataAccess deletes content metadata access

### Remove content metadata access.

func (*Client) SearchContentFavorites

func (a *Client) SearchContentFavorites(params *SearchContentFavoritesParams, opts ...ClientOption) (*SearchContentFavoritesOK, error)
SearchContentFavorites searches favorite contents

### Search Favorite Content

If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.

If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.

String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"

Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.

Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.

Boolean search params accept only "true" and "false" as values.

func (*Client) SearchContentViews

func (a *Client) SearchContentViews(params *SearchContentViewsParams, opts ...ClientOption) (*SearchContentViewsOK, error)
SearchContentViews searches content views

### Search Content Views

If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.

If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.

String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"

Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.

Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.

Boolean search params accept only "true" and "false" as values.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateContentMetadata

func (a *Client) UpdateContentMetadata(params *UpdateContentMetadataParams, opts ...ClientOption) (*UpdateContentMetadataOK, error)

UpdateContentMetadata updates content metadata

### Move a piece of content.

func (*Client) UpdateContentMetadataAccess

func (a *Client) UpdateContentMetadataAccess(params *UpdateContentMetadataAccessParams, opts ...ClientOption) (*UpdateContentMetadataAccessOK, error)

UpdateContentMetadataAccess updates content metadata access

### Update type of access for content metadata.

func (*Client) VectorThumbnail

func (a *Client) VectorThumbnail(params *VectorThumbnailParams, opts ...ClientOption) (*VectorThumbnailOK, error)
VectorThumbnail gets vector thumbnail

### Get a vector image representing the contents of a dashboard or look.

DEPRECATED: Use [content_thumbnail()](#!/Content/content_thumbnail)

The returned thumbnail is an abstract representation of the contents of a dashbord or look and does not reflect the actual data displayed in the respective visualizations.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AllContentMetadataAccesses(params *AllContentMetadataAccessesParams, opts ...ClientOption) (*AllContentMetadataAccessesOK, error)

	AllContentMetadatas(params *AllContentMetadatasParams, opts ...ClientOption) (*AllContentMetadatasOK, error)

	ContentFavorite(params *ContentFavoriteParams, opts ...ClientOption) (*ContentFavoriteOK, error)

	ContentMetadata(params *ContentMetadataParams, opts ...ClientOption) (*ContentMetadataOK, error)

	ContentThumbnail(params *ContentThumbnailParams, opts ...ClientOption) (*ContentThumbnailOK, error)

	ContentValidation(params *ContentValidationParams, opts ...ClientOption) (*ContentValidationOK, error)

	CreateContentFavorite(params *CreateContentFavoriteParams, opts ...ClientOption) (*CreateContentFavoriteOK, error)

	CreateContentMetadataAccess(params *CreateContentMetadataAccessParams, opts ...ClientOption) (*CreateContentMetadataAccessOK, error)

	DeleteContentFavorite(params *DeleteContentFavoriteParams, opts ...ClientOption) (*DeleteContentFavoriteNoContent, error)

	DeleteContentMetadataAccess(params *DeleteContentMetadataAccessParams, opts ...ClientOption) (*DeleteContentMetadataAccessNoContent, error)

	SearchContentFavorites(params *SearchContentFavoritesParams, opts ...ClientOption) (*SearchContentFavoritesOK, error)

	SearchContentViews(params *SearchContentViewsParams, opts ...ClientOption) (*SearchContentViewsOK, error)

	UpdateContentMetadata(params *UpdateContentMetadataParams, opts ...ClientOption) (*UpdateContentMetadataOK, error)

	UpdateContentMetadataAccess(params *UpdateContentMetadataAccessParams, opts ...ClientOption) (*UpdateContentMetadataAccessOK, error)

	VectorThumbnail(params *VectorThumbnailParams, opts ...ClientOption) (*VectorThumbnailOK, 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 content API client.

type ContentFavoriteBadRequest

type ContentFavoriteBadRequest struct {
	Payload *models.Error
}
ContentFavoriteBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewContentFavoriteBadRequest

func NewContentFavoriteBadRequest() *ContentFavoriteBadRequest

NewContentFavoriteBadRequest creates a ContentFavoriteBadRequest with default headers values

func (*ContentFavoriteBadRequest) Error

func (o *ContentFavoriteBadRequest) Error() string

func (*ContentFavoriteBadRequest) GetPayload

func (o *ContentFavoriteBadRequest) GetPayload() *models.Error

type ContentFavoriteNotFound

type ContentFavoriteNotFound struct {
	Payload *models.Error
}
ContentFavoriteNotFound describes a response with status code 404, with default header values.

Not Found

func NewContentFavoriteNotFound

func NewContentFavoriteNotFound() *ContentFavoriteNotFound

NewContentFavoriteNotFound creates a ContentFavoriteNotFound with default headers values

func (*ContentFavoriteNotFound) Error

func (o *ContentFavoriteNotFound) Error() string

func (*ContentFavoriteNotFound) GetPayload

func (o *ContentFavoriteNotFound) GetPayload() *models.Error

type ContentFavoriteOK

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

Favorite Content

func NewContentFavoriteOK

func NewContentFavoriteOK() *ContentFavoriteOK

NewContentFavoriteOK creates a ContentFavoriteOK with default headers values

func (*ContentFavoriteOK) Error

func (o *ContentFavoriteOK) Error() string

func (*ContentFavoriteOK) GetPayload

func (o *ContentFavoriteOK) GetPayload() *models.ContentFavorite

type ContentFavoriteParams

type ContentFavoriteParams struct {

	/* ContentFavoriteID.

	   Id of favorite content

	   Format: int64
	*/
	ContentFavoriteID int64

	/* Fields.

	   Requested fields.
	*/
	Fields *string

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

ContentFavoriteParams contains all the parameters to send to the API endpoint

for the content favorite operation.

Typically these are written to a http.Request.

func NewContentFavoriteParams

func NewContentFavoriteParams() *ContentFavoriteParams

NewContentFavoriteParams creates a new ContentFavoriteParams 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 NewContentFavoriteParamsWithContext

func NewContentFavoriteParamsWithContext(ctx context.Context) *ContentFavoriteParams

NewContentFavoriteParamsWithContext creates a new ContentFavoriteParams object with the ability to set a context for a request.

func NewContentFavoriteParamsWithHTTPClient

func NewContentFavoriteParamsWithHTTPClient(client *http.Client) *ContentFavoriteParams

NewContentFavoriteParamsWithHTTPClient creates a new ContentFavoriteParams object with the ability to set a custom HTTPClient for a request.

func NewContentFavoriteParamsWithTimeout

func NewContentFavoriteParamsWithTimeout(timeout time.Duration) *ContentFavoriteParams

NewContentFavoriteParamsWithTimeout creates a new ContentFavoriteParams object with the ability to set a timeout on a request.

func (*ContentFavoriteParams) SetContentFavoriteID

func (o *ContentFavoriteParams) SetContentFavoriteID(contentFavoriteID int64)

SetContentFavoriteID adds the contentFavoriteId to the content favorite params

func (*ContentFavoriteParams) SetContext

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

SetContext adds the context to the content favorite params

func (*ContentFavoriteParams) SetDefaults

func (o *ContentFavoriteParams) SetDefaults()

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

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

func (*ContentFavoriteParams) SetFields

func (o *ContentFavoriteParams) SetFields(fields *string)

SetFields adds the fields to the content favorite params

func (*ContentFavoriteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the content favorite params

func (*ContentFavoriteParams) SetTimeout

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

SetTimeout adds the timeout to the content favorite params

func (*ContentFavoriteParams) WithContentFavoriteID

func (o *ContentFavoriteParams) WithContentFavoriteID(contentFavoriteID int64) *ContentFavoriteParams

WithContentFavoriteID adds the contentFavoriteID to the content favorite params

func (*ContentFavoriteParams) WithContext

WithContext adds the context to the content favorite params

func (*ContentFavoriteParams) WithDefaults

func (o *ContentFavoriteParams) WithDefaults() *ContentFavoriteParams

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

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

func (*ContentFavoriteParams) WithFields

func (o *ContentFavoriteParams) WithFields(fields *string) *ContentFavoriteParams

WithFields adds the fields to the content favorite params

func (*ContentFavoriteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the content favorite params

func (*ContentFavoriteParams) WithTimeout

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

WithTimeout adds the timeout to the content favorite params

func (*ContentFavoriteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ContentFavoriteReader

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

ContentFavoriteReader is a Reader for the ContentFavorite structure.

func (*ContentFavoriteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContentMetadataBadRequest

type ContentMetadataBadRequest struct {
	Payload *models.Error
}
ContentMetadataBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewContentMetadataBadRequest

func NewContentMetadataBadRequest() *ContentMetadataBadRequest

NewContentMetadataBadRequest creates a ContentMetadataBadRequest with default headers values

func (*ContentMetadataBadRequest) Error

func (o *ContentMetadataBadRequest) Error() string

func (*ContentMetadataBadRequest) GetPayload

func (o *ContentMetadataBadRequest) GetPayload() *models.Error

type ContentMetadataNotFound

type ContentMetadataNotFound struct {
	Payload *models.Error
}
ContentMetadataNotFound describes a response with status code 404, with default header values.

Not Found

func NewContentMetadataNotFound

func NewContentMetadataNotFound() *ContentMetadataNotFound

NewContentMetadataNotFound creates a ContentMetadataNotFound with default headers values

func (*ContentMetadataNotFound) Error

func (o *ContentMetadataNotFound) Error() string

func (*ContentMetadataNotFound) GetPayload

func (o *ContentMetadataNotFound) GetPayload() *models.Error

type ContentMetadataOK

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

Content Metadata

func NewContentMetadataOK

func NewContentMetadataOK() *ContentMetadataOK

NewContentMetadataOK creates a ContentMetadataOK with default headers values

func (*ContentMetadataOK) Error

func (o *ContentMetadataOK) Error() string

func (*ContentMetadataOK) GetPayload

func (o *ContentMetadataOK) GetPayload() *models.ContentMeta

type ContentMetadataParams

type ContentMetadataParams struct {

	/* ContentMetadataID.

	   Id of content metadata

	   Format: int64
	*/
	ContentMetadataID int64

	/* Fields.

	   Requested fields.
	*/
	Fields *string

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

ContentMetadataParams contains all the parameters to send to the API endpoint

for the content metadata operation.

Typically these are written to a http.Request.

func NewContentMetadataParams

func NewContentMetadataParams() *ContentMetadataParams

NewContentMetadataParams creates a new ContentMetadataParams 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 NewContentMetadataParamsWithContext

func NewContentMetadataParamsWithContext(ctx context.Context) *ContentMetadataParams

NewContentMetadataParamsWithContext creates a new ContentMetadataParams object with the ability to set a context for a request.

func NewContentMetadataParamsWithHTTPClient

func NewContentMetadataParamsWithHTTPClient(client *http.Client) *ContentMetadataParams

NewContentMetadataParamsWithHTTPClient creates a new ContentMetadataParams object with the ability to set a custom HTTPClient for a request.

func NewContentMetadataParamsWithTimeout

func NewContentMetadataParamsWithTimeout(timeout time.Duration) *ContentMetadataParams

NewContentMetadataParamsWithTimeout creates a new ContentMetadataParams object with the ability to set a timeout on a request.

func (*ContentMetadataParams) SetContentMetadataID

func (o *ContentMetadataParams) SetContentMetadataID(contentMetadataID int64)

SetContentMetadataID adds the contentMetadataId to the content metadata params

func (*ContentMetadataParams) SetContext

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

SetContext adds the context to the content metadata params

func (*ContentMetadataParams) SetDefaults

func (o *ContentMetadataParams) SetDefaults()

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

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

func (*ContentMetadataParams) SetFields

func (o *ContentMetadataParams) SetFields(fields *string)

SetFields adds the fields to the content metadata params

func (*ContentMetadataParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the content metadata params

func (*ContentMetadataParams) SetTimeout

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

SetTimeout adds the timeout to the content metadata params

func (*ContentMetadataParams) WithContentMetadataID

func (o *ContentMetadataParams) WithContentMetadataID(contentMetadataID int64) *ContentMetadataParams

WithContentMetadataID adds the contentMetadataID to the content metadata params

func (*ContentMetadataParams) WithContext

WithContext adds the context to the content metadata params

func (*ContentMetadataParams) WithDefaults

func (o *ContentMetadataParams) WithDefaults() *ContentMetadataParams

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

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

func (*ContentMetadataParams) WithFields

func (o *ContentMetadataParams) WithFields(fields *string) *ContentMetadataParams

WithFields adds the fields to the content metadata params

func (*ContentMetadataParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the content metadata params

func (*ContentMetadataParams) WithTimeout

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

WithTimeout adds the timeout to the content metadata params

func (*ContentMetadataParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ContentMetadataReader

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

ContentMetadataReader is a Reader for the ContentMetadata structure.

func (*ContentMetadataReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContentThumbnailBadRequest

type ContentThumbnailBadRequest struct {
	Payload *models.Error
}
ContentThumbnailBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewContentThumbnailBadRequest

func NewContentThumbnailBadRequest() *ContentThumbnailBadRequest

NewContentThumbnailBadRequest creates a ContentThumbnailBadRequest with default headers values

func (*ContentThumbnailBadRequest) Error

func (*ContentThumbnailBadRequest) GetPayload

func (o *ContentThumbnailBadRequest) GetPayload() *models.Error

type ContentThumbnailNotFound

type ContentThumbnailNotFound struct {
	Payload *models.Error
}
ContentThumbnailNotFound describes a response with status code 404, with default header values.

Not Found

func NewContentThumbnailNotFound

func NewContentThumbnailNotFound() *ContentThumbnailNotFound

NewContentThumbnailNotFound creates a ContentThumbnailNotFound with default headers values

func (*ContentThumbnailNotFound) Error

func (o *ContentThumbnailNotFound) Error() string

func (*ContentThumbnailNotFound) GetPayload

func (o *ContentThumbnailNotFound) GetPayload() *models.Error

type ContentThumbnailOK

type ContentThumbnailOK struct {
	Payload string
}
ContentThumbnailOK describes a response with status code 200, with default header values.

Content thumbnail

func NewContentThumbnailOK

func NewContentThumbnailOK() *ContentThumbnailOK

NewContentThumbnailOK creates a ContentThumbnailOK with default headers values

func (*ContentThumbnailOK) Error

func (o *ContentThumbnailOK) Error() string

func (*ContentThumbnailOK) GetPayload

func (o *ContentThumbnailOK) GetPayload() string

type ContentThumbnailParams

type ContentThumbnailParams struct {

	/* Format.

	   A value of png produces a thumbnail in PNG format instead of SVG (default)
	*/
	Format *string

	/* Height.

	   The height of the image if format is supplied

	   Format: int64
	*/
	Height *int64

	/* Reload.

	   Whether or not to refresh the rendered image with the latest content
	*/
	Reload *string

	/* ResourceID.

	   ID of the dashboard or look to render
	*/
	ResourceID string

	/* Type.

	   Either dashboard or look
	*/
	Type string

	/* Width.

	   The width of the image if format is supplied

	   Format: int64
	*/
	Width *int64

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

ContentThumbnailParams contains all the parameters to send to the API endpoint

for the content thumbnail operation.

Typically these are written to a http.Request.

func NewContentThumbnailParams

func NewContentThumbnailParams() *ContentThumbnailParams

NewContentThumbnailParams creates a new ContentThumbnailParams 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 NewContentThumbnailParamsWithContext

func NewContentThumbnailParamsWithContext(ctx context.Context) *ContentThumbnailParams

NewContentThumbnailParamsWithContext creates a new ContentThumbnailParams object with the ability to set a context for a request.

func NewContentThumbnailParamsWithHTTPClient

func NewContentThumbnailParamsWithHTTPClient(client *http.Client) *ContentThumbnailParams

NewContentThumbnailParamsWithHTTPClient creates a new ContentThumbnailParams object with the ability to set a custom HTTPClient for a request.

func NewContentThumbnailParamsWithTimeout

func NewContentThumbnailParamsWithTimeout(timeout time.Duration) *ContentThumbnailParams

NewContentThumbnailParamsWithTimeout creates a new ContentThumbnailParams object with the ability to set a timeout on a request.

func (*ContentThumbnailParams) SetContext

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

SetContext adds the context to the content thumbnail params

func (*ContentThumbnailParams) SetDefaults

func (o *ContentThumbnailParams) SetDefaults()

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

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

func (*ContentThumbnailParams) SetFormat

func (o *ContentThumbnailParams) SetFormat(format *string)

SetFormat adds the format to the content thumbnail params

func (*ContentThumbnailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the content thumbnail params

func (*ContentThumbnailParams) SetHeight

func (o *ContentThumbnailParams) SetHeight(height *int64)

SetHeight adds the height to the content thumbnail params

func (*ContentThumbnailParams) SetReload

func (o *ContentThumbnailParams) SetReload(reload *string)

SetReload adds the reload to the content thumbnail params

func (*ContentThumbnailParams) SetResourceID

func (o *ContentThumbnailParams) SetResourceID(resourceID string)

SetResourceID adds the resourceId to the content thumbnail params

func (*ContentThumbnailParams) SetTimeout

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

SetTimeout adds the timeout to the content thumbnail params

func (*ContentThumbnailParams) SetType

func (o *ContentThumbnailParams) SetType(typeVar string)

SetType adds the type to the content thumbnail params

func (*ContentThumbnailParams) SetWidth

func (o *ContentThumbnailParams) SetWidth(width *int64)

SetWidth adds the width to the content thumbnail params

func (*ContentThumbnailParams) WithContext

WithContext adds the context to the content thumbnail params

func (*ContentThumbnailParams) WithDefaults

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

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

func (*ContentThumbnailParams) WithFormat

func (o *ContentThumbnailParams) WithFormat(format *string) *ContentThumbnailParams

WithFormat adds the format to the content thumbnail params

func (*ContentThumbnailParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the content thumbnail params

func (*ContentThumbnailParams) WithHeight

func (o *ContentThumbnailParams) WithHeight(height *int64) *ContentThumbnailParams

WithHeight adds the height to the content thumbnail params

func (*ContentThumbnailParams) WithReload

func (o *ContentThumbnailParams) WithReload(reload *string) *ContentThumbnailParams

WithReload adds the reload to the content thumbnail params

func (*ContentThumbnailParams) WithResourceID

func (o *ContentThumbnailParams) WithResourceID(resourceID string) *ContentThumbnailParams

WithResourceID adds the resourceID to the content thumbnail params

func (*ContentThumbnailParams) WithTimeout

WithTimeout adds the timeout to the content thumbnail params

func (*ContentThumbnailParams) WithType

WithType adds the typeVar to the content thumbnail params

func (*ContentThumbnailParams) WithWidth

func (o *ContentThumbnailParams) WithWidth(width *int64) *ContentThumbnailParams

WithWidth adds the width to the content thumbnail params

func (*ContentThumbnailParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ContentThumbnailReader

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

ContentThumbnailReader is a Reader for the ContentThumbnail structure.

func (*ContentThumbnailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContentValidationBadRequest

type ContentValidationBadRequest struct {
	Payload *models.Error
}
ContentValidationBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewContentValidationBadRequest

func NewContentValidationBadRequest() *ContentValidationBadRequest

NewContentValidationBadRequest creates a ContentValidationBadRequest with default headers values

func (*ContentValidationBadRequest) Error

func (*ContentValidationBadRequest) GetPayload

func (o *ContentValidationBadRequest) GetPayload() *models.Error

type ContentValidationNotFound

type ContentValidationNotFound struct {
	Payload *models.Error
}
ContentValidationNotFound describes a response with status code 404, with default header values.

Not Found

func NewContentValidationNotFound

func NewContentValidationNotFound() *ContentValidationNotFound

NewContentValidationNotFound creates a ContentValidationNotFound with default headers values

func (*ContentValidationNotFound) Error

func (o *ContentValidationNotFound) Error() string

func (*ContentValidationNotFound) GetPayload

func (o *ContentValidationNotFound) GetPayload() *models.Error

type ContentValidationOK

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

Content validation results

func NewContentValidationOK

func NewContentValidationOK() *ContentValidationOK

NewContentValidationOK creates a ContentValidationOK with default headers values

func (*ContentValidationOK) Error

func (o *ContentValidationOK) Error() string

func (*ContentValidationOK) GetPayload

func (o *ContentValidationOK) GetPayload() *models.ContentValidation

type ContentValidationParams

type ContentValidationParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

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

ContentValidationParams contains all the parameters to send to the API endpoint

for the content validation operation.

Typically these are written to a http.Request.

func NewContentValidationParams

func NewContentValidationParams() *ContentValidationParams

NewContentValidationParams creates a new ContentValidationParams 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 NewContentValidationParamsWithContext

func NewContentValidationParamsWithContext(ctx context.Context) *ContentValidationParams

NewContentValidationParamsWithContext creates a new ContentValidationParams object with the ability to set a context for a request.

func NewContentValidationParamsWithHTTPClient

func NewContentValidationParamsWithHTTPClient(client *http.Client) *ContentValidationParams

NewContentValidationParamsWithHTTPClient creates a new ContentValidationParams object with the ability to set a custom HTTPClient for a request.

func NewContentValidationParamsWithTimeout

func NewContentValidationParamsWithTimeout(timeout time.Duration) *ContentValidationParams

NewContentValidationParamsWithTimeout creates a new ContentValidationParams object with the ability to set a timeout on a request.

func (*ContentValidationParams) SetContext

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

SetContext adds the context to the content validation params

func (*ContentValidationParams) SetDefaults

func (o *ContentValidationParams) SetDefaults()

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

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

func (*ContentValidationParams) SetFields

func (o *ContentValidationParams) SetFields(fields *string)

SetFields adds the fields to the content validation params

func (*ContentValidationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the content validation params

func (*ContentValidationParams) SetTimeout

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

SetTimeout adds the timeout to the content validation params

func (*ContentValidationParams) WithContext

WithContext adds the context to the content validation params

func (*ContentValidationParams) WithDefaults

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

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

func (*ContentValidationParams) WithFields

func (o *ContentValidationParams) WithFields(fields *string) *ContentValidationParams

WithFields adds the fields to the content validation params

func (*ContentValidationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the content validation params

func (*ContentValidationParams) WithTimeout

WithTimeout adds the timeout to the content validation params

func (*ContentValidationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ContentValidationReader

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

ContentValidationReader is a Reader for the ContentValidation structure.

func (*ContentValidationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContentValidationTooManyRequests

type ContentValidationTooManyRequests struct {
	Payload *models.Error
}
ContentValidationTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewContentValidationTooManyRequests

func NewContentValidationTooManyRequests() *ContentValidationTooManyRequests

NewContentValidationTooManyRequests creates a ContentValidationTooManyRequests with default headers values

func (*ContentValidationTooManyRequests) Error

func (*ContentValidationTooManyRequests) GetPayload

type ContentValidationUnprocessableEntity

type ContentValidationUnprocessableEntity struct {
	Payload *models.ValidationError
}
ContentValidationUnprocessableEntity describes a response with status code 422, with default header values.

Validation Error

func NewContentValidationUnprocessableEntity

func NewContentValidationUnprocessableEntity() *ContentValidationUnprocessableEntity

NewContentValidationUnprocessableEntity creates a ContentValidationUnprocessableEntity with default headers values

func (*ContentValidationUnprocessableEntity) Error

func (*ContentValidationUnprocessableEntity) GetPayload

type CreateContentFavoriteBadRequest

type CreateContentFavoriteBadRequest struct {
	Payload *models.Error
}
CreateContentFavoriteBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCreateContentFavoriteBadRequest

func NewCreateContentFavoriteBadRequest() *CreateContentFavoriteBadRequest

NewCreateContentFavoriteBadRequest creates a CreateContentFavoriteBadRequest with default headers values

func (*CreateContentFavoriteBadRequest) Error

func (*CreateContentFavoriteBadRequest) GetPayload

func (o *CreateContentFavoriteBadRequest) GetPayload() *models.Error

type CreateContentFavoriteConflict

type CreateContentFavoriteConflict struct {
	Payload *models.Error
}
CreateContentFavoriteConflict describes a response with status code 409, with default header values.

Resource Already Exists

func NewCreateContentFavoriteConflict

func NewCreateContentFavoriteConflict() *CreateContentFavoriteConflict

NewCreateContentFavoriteConflict creates a CreateContentFavoriteConflict with default headers values

func (*CreateContentFavoriteConflict) Error

func (*CreateContentFavoriteConflict) GetPayload

func (o *CreateContentFavoriteConflict) GetPayload() *models.Error

type CreateContentFavoriteNotFound

type CreateContentFavoriteNotFound struct {
	Payload *models.Error
}
CreateContentFavoriteNotFound describes a response with status code 404, with default header values.

Not Found

func NewCreateContentFavoriteNotFound

func NewCreateContentFavoriteNotFound() *CreateContentFavoriteNotFound

NewCreateContentFavoriteNotFound creates a CreateContentFavoriteNotFound with default headers values

func (*CreateContentFavoriteNotFound) Error

func (*CreateContentFavoriteNotFound) GetPayload

func (o *CreateContentFavoriteNotFound) GetPayload() *models.Error

type CreateContentFavoriteOK

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

Favorite Content

func NewCreateContentFavoriteOK

func NewCreateContentFavoriteOK() *CreateContentFavoriteOK

NewCreateContentFavoriteOK creates a CreateContentFavoriteOK with default headers values

func (*CreateContentFavoriteOK) Error

func (o *CreateContentFavoriteOK) Error() string

func (*CreateContentFavoriteOK) GetPayload

type CreateContentFavoriteParams

type CreateContentFavoriteParams struct {

	/* Body.

	   Favorite Content
	*/
	Body *models.ContentFavorite

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

CreateContentFavoriteParams contains all the parameters to send to the API endpoint

for the create content favorite operation.

Typically these are written to a http.Request.

func NewCreateContentFavoriteParams

func NewCreateContentFavoriteParams() *CreateContentFavoriteParams

NewCreateContentFavoriteParams creates a new CreateContentFavoriteParams 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 NewCreateContentFavoriteParamsWithContext

func NewCreateContentFavoriteParamsWithContext(ctx context.Context) *CreateContentFavoriteParams

NewCreateContentFavoriteParamsWithContext creates a new CreateContentFavoriteParams object with the ability to set a context for a request.

func NewCreateContentFavoriteParamsWithHTTPClient

func NewCreateContentFavoriteParamsWithHTTPClient(client *http.Client) *CreateContentFavoriteParams

NewCreateContentFavoriteParamsWithHTTPClient creates a new CreateContentFavoriteParams object with the ability to set a custom HTTPClient for a request.

func NewCreateContentFavoriteParamsWithTimeout

func NewCreateContentFavoriteParamsWithTimeout(timeout time.Duration) *CreateContentFavoriteParams

NewCreateContentFavoriteParamsWithTimeout creates a new CreateContentFavoriteParams object with the ability to set a timeout on a request.

func (*CreateContentFavoriteParams) SetBody

SetBody adds the body to the create content favorite params

func (*CreateContentFavoriteParams) SetContext

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

SetContext adds the context to the create content favorite params

func (*CreateContentFavoriteParams) SetDefaults

func (o *CreateContentFavoriteParams) SetDefaults()

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

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

func (*CreateContentFavoriteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create content favorite params

func (*CreateContentFavoriteParams) SetTimeout

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

SetTimeout adds the timeout to the create content favorite params

func (*CreateContentFavoriteParams) WithBody

WithBody adds the body to the create content favorite params

func (*CreateContentFavoriteParams) WithContext

WithContext adds the context to the create content favorite params

func (*CreateContentFavoriteParams) WithDefaults

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

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

func (*CreateContentFavoriteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create content favorite params

func (*CreateContentFavoriteParams) WithTimeout

WithTimeout adds the timeout to the create content favorite params

func (*CreateContentFavoriteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateContentFavoriteReader

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

CreateContentFavoriteReader is a Reader for the CreateContentFavorite structure.

func (*CreateContentFavoriteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateContentFavoriteTooManyRequests

type CreateContentFavoriteTooManyRequests struct {
	Payload *models.Error
}
CreateContentFavoriteTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewCreateContentFavoriteTooManyRequests

func NewCreateContentFavoriteTooManyRequests() *CreateContentFavoriteTooManyRequests

NewCreateContentFavoriteTooManyRequests creates a CreateContentFavoriteTooManyRequests with default headers values

func (*CreateContentFavoriteTooManyRequests) Error

func (*CreateContentFavoriteTooManyRequests) GetPayload

type CreateContentFavoriteUnprocessableEntity

type CreateContentFavoriteUnprocessableEntity struct {
	Payload *models.ValidationError
}
CreateContentFavoriteUnprocessableEntity describes a response with status code 422, with default header values.

Validation Error

func NewCreateContentFavoriteUnprocessableEntity

func NewCreateContentFavoriteUnprocessableEntity() *CreateContentFavoriteUnprocessableEntity

NewCreateContentFavoriteUnprocessableEntity creates a CreateContentFavoriteUnprocessableEntity with default headers values

func (*CreateContentFavoriteUnprocessableEntity) Error

func (*CreateContentFavoriteUnprocessableEntity) GetPayload

type CreateContentMetadataAccessBadRequest

type CreateContentMetadataAccessBadRequest struct {
	Payload *models.Error
}
CreateContentMetadataAccessBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCreateContentMetadataAccessBadRequest

func NewCreateContentMetadataAccessBadRequest() *CreateContentMetadataAccessBadRequest

NewCreateContentMetadataAccessBadRequest creates a CreateContentMetadataAccessBadRequest with default headers values

func (*CreateContentMetadataAccessBadRequest) Error

func (*CreateContentMetadataAccessBadRequest) GetPayload

type CreateContentMetadataAccessConflict

type CreateContentMetadataAccessConflict struct {
	Payload *models.Error
}
CreateContentMetadataAccessConflict describes a response with status code 409, with default header values.

Resource Already Exists

func NewCreateContentMetadataAccessConflict

func NewCreateContentMetadataAccessConflict() *CreateContentMetadataAccessConflict

NewCreateContentMetadataAccessConflict creates a CreateContentMetadataAccessConflict with default headers values

func (*CreateContentMetadataAccessConflict) Error

func (*CreateContentMetadataAccessConflict) GetPayload

type CreateContentMetadataAccessNotFound

type CreateContentMetadataAccessNotFound struct {
	Payload *models.Error
}
CreateContentMetadataAccessNotFound describes a response with status code 404, with default header values.

Not Found

func NewCreateContentMetadataAccessNotFound

func NewCreateContentMetadataAccessNotFound() *CreateContentMetadataAccessNotFound

NewCreateContentMetadataAccessNotFound creates a CreateContentMetadataAccessNotFound with default headers values

func (*CreateContentMetadataAccessNotFound) Error

func (*CreateContentMetadataAccessNotFound) GetPayload

type CreateContentMetadataAccessOK

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

Content Metadata Access

func NewCreateContentMetadataAccessOK

func NewCreateContentMetadataAccessOK() *CreateContentMetadataAccessOK

NewCreateContentMetadataAccessOK creates a CreateContentMetadataAccessOK with default headers values

func (*CreateContentMetadataAccessOK) Error

func (*CreateContentMetadataAccessOK) GetPayload

type CreateContentMetadataAccessParams

type CreateContentMetadataAccessParams struct {

	/* Body.

	   Content Metadata Access
	*/
	Body *models.ContentMetaGroupUser

	/* SendBoardsNotificationEmail.

	   Optionally sends notification email when granting access to a board.
	*/
	SendBoardsNotificationEmail *bool

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

CreateContentMetadataAccessParams contains all the parameters to send to the API endpoint

for the create content metadata access operation.

Typically these are written to a http.Request.

func NewCreateContentMetadataAccessParams

func NewCreateContentMetadataAccessParams() *CreateContentMetadataAccessParams

NewCreateContentMetadataAccessParams creates a new CreateContentMetadataAccessParams 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 NewCreateContentMetadataAccessParamsWithContext

func NewCreateContentMetadataAccessParamsWithContext(ctx context.Context) *CreateContentMetadataAccessParams

NewCreateContentMetadataAccessParamsWithContext creates a new CreateContentMetadataAccessParams object with the ability to set a context for a request.

func NewCreateContentMetadataAccessParamsWithHTTPClient

func NewCreateContentMetadataAccessParamsWithHTTPClient(client *http.Client) *CreateContentMetadataAccessParams

NewCreateContentMetadataAccessParamsWithHTTPClient creates a new CreateContentMetadataAccessParams object with the ability to set a custom HTTPClient for a request.

func NewCreateContentMetadataAccessParamsWithTimeout

func NewCreateContentMetadataAccessParamsWithTimeout(timeout time.Duration) *CreateContentMetadataAccessParams

NewCreateContentMetadataAccessParamsWithTimeout creates a new CreateContentMetadataAccessParams object with the ability to set a timeout on a request.

func (*CreateContentMetadataAccessParams) SetBody

SetBody adds the body to the create content metadata access params

func (*CreateContentMetadataAccessParams) SetContext

SetContext adds the context to the create content metadata access params

func (*CreateContentMetadataAccessParams) SetDefaults

func (o *CreateContentMetadataAccessParams) SetDefaults()

SetDefaults hydrates default values in the create content metadata access params (not the query body).

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

func (*CreateContentMetadataAccessParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create content metadata access params

func (*CreateContentMetadataAccessParams) SetSendBoardsNotificationEmail

func (o *CreateContentMetadataAccessParams) SetSendBoardsNotificationEmail(sendBoardsNotificationEmail *bool)

SetSendBoardsNotificationEmail adds the sendBoardsNotificationEmail to the create content metadata access params

func (*CreateContentMetadataAccessParams) SetTimeout

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

SetTimeout adds the timeout to the create content metadata access params

func (*CreateContentMetadataAccessParams) WithBody

WithBody adds the body to the create content metadata access params

func (*CreateContentMetadataAccessParams) WithContext

WithContext adds the context to the create content metadata access params

func (*CreateContentMetadataAccessParams) WithDefaults

WithDefaults hydrates default values in the create content metadata access params (not the query body).

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

func (*CreateContentMetadataAccessParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create content metadata access params

func (*CreateContentMetadataAccessParams) WithSendBoardsNotificationEmail

func (o *CreateContentMetadataAccessParams) WithSendBoardsNotificationEmail(sendBoardsNotificationEmail *bool) *CreateContentMetadataAccessParams

WithSendBoardsNotificationEmail adds the sendBoardsNotificationEmail to the create content metadata access params

func (*CreateContentMetadataAccessParams) WithTimeout

WithTimeout adds the timeout to the create content metadata access params

func (*CreateContentMetadataAccessParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateContentMetadataAccessReader

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

CreateContentMetadataAccessReader is a Reader for the CreateContentMetadataAccess structure.

func (*CreateContentMetadataAccessReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateContentMetadataAccessTooManyRequests

type CreateContentMetadataAccessTooManyRequests struct {
	Payload *models.Error
}
CreateContentMetadataAccessTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewCreateContentMetadataAccessTooManyRequests

func NewCreateContentMetadataAccessTooManyRequests() *CreateContentMetadataAccessTooManyRequests

NewCreateContentMetadataAccessTooManyRequests creates a CreateContentMetadataAccessTooManyRequests with default headers values

func (*CreateContentMetadataAccessTooManyRequests) Error

func (*CreateContentMetadataAccessTooManyRequests) GetPayload

type CreateContentMetadataAccessUnprocessableEntity

type CreateContentMetadataAccessUnprocessableEntity struct {
	Payload *models.ValidationError
}
CreateContentMetadataAccessUnprocessableEntity describes a response with status code 422, with default header values.

Validation Error

func NewCreateContentMetadataAccessUnprocessableEntity

func NewCreateContentMetadataAccessUnprocessableEntity() *CreateContentMetadataAccessUnprocessableEntity

NewCreateContentMetadataAccessUnprocessableEntity creates a CreateContentMetadataAccessUnprocessableEntity with default headers values

func (*CreateContentMetadataAccessUnprocessableEntity) Error

func (*CreateContentMetadataAccessUnprocessableEntity) GetPayload

type DeleteContentFavoriteBadRequest

type DeleteContentFavoriteBadRequest struct {
	Payload *models.Error
}
DeleteContentFavoriteBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteContentFavoriteBadRequest

func NewDeleteContentFavoriteBadRequest() *DeleteContentFavoriteBadRequest

NewDeleteContentFavoriteBadRequest creates a DeleteContentFavoriteBadRequest with default headers values

func (*DeleteContentFavoriteBadRequest) Error

func (*DeleteContentFavoriteBadRequest) GetPayload

func (o *DeleteContentFavoriteBadRequest) GetPayload() *models.Error

type DeleteContentFavoriteNoContent

type DeleteContentFavoriteNoContent struct {
	Payload string
}
DeleteContentFavoriteNoContent describes a response with status code 204, with default header values.

Successfully deleted.

func NewDeleteContentFavoriteNoContent

func NewDeleteContentFavoriteNoContent() *DeleteContentFavoriteNoContent

NewDeleteContentFavoriteNoContent creates a DeleteContentFavoriteNoContent with default headers values

func (*DeleteContentFavoriteNoContent) Error

func (*DeleteContentFavoriteNoContent) GetPayload

func (o *DeleteContentFavoriteNoContent) GetPayload() string

type DeleteContentFavoriteNotFound

type DeleteContentFavoriteNotFound struct {
	Payload *models.Error
}
DeleteContentFavoriteNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteContentFavoriteNotFound

func NewDeleteContentFavoriteNotFound() *DeleteContentFavoriteNotFound

NewDeleteContentFavoriteNotFound creates a DeleteContentFavoriteNotFound with default headers values

func (*DeleteContentFavoriteNotFound) Error

func (*DeleteContentFavoriteNotFound) GetPayload

func (o *DeleteContentFavoriteNotFound) GetPayload() *models.Error

type DeleteContentFavoriteParams

type DeleteContentFavoriteParams struct {

	/* ContentFavoriteID.

	   Id of favorite content

	   Format: int64
	*/
	ContentFavoriteID int64

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

DeleteContentFavoriteParams contains all the parameters to send to the API endpoint

for the delete content favorite operation.

Typically these are written to a http.Request.

func NewDeleteContentFavoriteParams

func NewDeleteContentFavoriteParams() *DeleteContentFavoriteParams

NewDeleteContentFavoriteParams creates a new DeleteContentFavoriteParams 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 NewDeleteContentFavoriteParamsWithContext

func NewDeleteContentFavoriteParamsWithContext(ctx context.Context) *DeleteContentFavoriteParams

NewDeleteContentFavoriteParamsWithContext creates a new DeleteContentFavoriteParams object with the ability to set a context for a request.

func NewDeleteContentFavoriteParamsWithHTTPClient

func NewDeleteContentFavoriteParamsWithHTTPClient(client *http.Client) *DeleteContentFavoriteParams

NewDeleteContentFavoriteParamsWithHTTPClient creates a new DeleteContentFavoriteParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteContentFavoriteParamsWithTimeout

func NewDeleteContentFavoriteParamsWithTimeout(timeout time.Duration) *DeleteContentFavoriteParams

NewDeleteContentFavoriteParamsWithTimeout creates a new DeleteContentFavoriteParams object with the ability to set a timeout on a request.

func (*DeleteContentFavoriteParams) SetContentFavoriteID

func (o *DeleteContentFavoriteParams) SetContentFavoriteID(contentFavoriteID int64)

SetContentFavoriteID adds the contentFavoriteId to the delete content favorite params

func (*DeleteContentFavoriteParams) SetContext

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

SetContext adds the context to the delete content favorite params

func (*DeleteContentFavoriteParams) SetDefaults

func (o *DeleteContentFavoriteParams) SetDefaults()

SetDefaults hydrates default values in the delete content favorite params (not the query body).

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

func (*DeleteContentFavoriteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete content favorite params

func (*DeleteContentFavoriteParams) SetTimeout

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

SetTimeout adds the timeout to the delete content favorite params

func (*DeleteContentFavoriteParams) WithContentFavoriteID

func (o *DeleteContentFavoriteParams) WithContentFavoriteID(contentFavoriteID int64) *DeleteContentFavoriteParams

WithContentFavoriteID adds the contentFavoriteID to the delete content favorite params

func (*DeleteContentFavoriteParams) WithContext

WithContext adds the context to the delete content favorite params

func (*DeleteContentFavoriteParams) WithDefaults

WithDefaults hydrates default values in the delete content favorite params (not the query body).

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

func (*DeleteContentFavoriteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete content favorite params

func (*DeleteContentFavoriteParams) WithTimeout

WithTimeout adds the timeout to the delete content favorite params

func (*DeleteContentFavoriteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteContentFavoriteReader

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

DeleteContentFavoriteReader is a Reader for the DeleteContentFavorite structure.

func (*DeleteContentFavoriteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteContentFavoriteTooManyRequests

type DeleteContentFavoriteTooManyRequests struct {
	Payload *models.Error
}
DeleteContentFavoriteTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeleteContentFavoriteTooManyRequests

func NewDeleteContentFavoriteTooManyRequests() *DeleteContentFavoriteTooManyRequests

NewDeleteContentFavoriteTooManyRequests creates a DeleteContentFavoriteTooManyRequests with default headers values

func (*DeleteContentFavoriteTooManyRequests) Error

func (*DeleteContentFavoriteTooManyRequests) GetPayload

type DeleteContentMetadataAccessBadRequest

type DeleteContentMetadataAccessBadRequest struct {
	Payload *models.Error
}
DeleteContentMetadataAccessBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteContentMetadataAccessBadRequest

func NewDeleteContentMetadataAccessBadRequest() *DeleteContentMetadataAccessBadRequest

NewDeleteContentMetadataAccessBadRequest creates a DeleteContentMetadataAccessBadRequest with default headers values

func (*DeleteContentMetadataAccessBadRequest) Error

func (*DeleteContentMetadataAccessBadRequest) GetPayload

type DeleteContentMetadataAccessNoContent

type DeleteContentMetadataAccessNoContent struct {
	Payload string
}
DeleteContentMetadataAccessNoContent describes a response with status code 204, with default header values.

Successfully deleted.

func NewDeleteContentMetadataAccessNoContent

func NewDeleteContentMetadataAccessNoContent() *DeleteContentMetadataAccessNoContent

NewDeleteContentMetadataAccessNoContent creates a DeleteContentMetadataAccessNoContent with default headers values

func (*DeleteContentMetadataAccessNoContent) Error

func (*DeleteContentMetadataAccessNoContent) GetPayload

type DeleteContentMetadataAccessNotFound

type DeleteContentMetadataAccessNotFound struct {
	Payload *models.Error
}
DeleteContentMetadataAccessNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteContentMetadataAccessNotFound

func NewDeleteContentMetadataAccessNotFound() *DeleteContentMetadataAccessNotFound

NewDeleteContentMetadataAccessNotFound creates a DeleteContentMetadataAccessNotFound with default headers values

func (*DeleteContentMetadataAccessNotFound) Error

func (*DeleteContentMetadataAccessNotFound) GetPayload

type DeleteContentMetadataAccessParams

type DeleteContentMetadataAccessParams struct {

	/* ContentMetadataAccessID.

	   Id of content metadata access

	   Format: int64
	*/
	ContentMetadataAccessID int64

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

DeleteContentMetadataAccessParams contains all the parameters to send to the API endpoint

for the delete content metadata access operation.

Typically these are written to a http.Request.

func NewDeleteContentMetadataAccessParams

func NewDeleteContentMetadataAccessParams() *DeleteContentMetadataAccessParams

NewDeleteContentMetadataAccessParams creates a new DeleteContentMetadataAccessParams 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 NewDeleteContentMetadataAccessParamsWithContext

func NewDeleteContentMetadataAccessParamsWithContext(ctx context.Context) *DeleteContentMetadataAccessParams

NewDeleteContentMetadataAccessParamsWithContext creates a new DeleteContentMetadataAccessParams object with the ability to set a context for a request.

func NewDeleteContentMetadataAccessParamsWithHTTPClient

func NewDeleteContentMetadataAccessParamsWithHTTPClient(client *http.Client) *DeleteContentMetadataAccessParams

NewDeleteContentMetadataAccessParamsWithHTTPClient creates a new DeleteContentMetadataAccessParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteContentMetadataAccessParamsWithTimeout

func NewDeleteContentMetadataAccessParamsWithTimeout(timeout time.Duration) *DeleteContentMetadataAccessParams

NewDeleteContentMetadataAccessParamsWithTimeout creates a new DeleteContentMetadataAccessParams object with the ability to set a timeout on a request.

func (*DeleteContentMetadataAccessParams) SetContentMetadataAccessID

func (o *DeleteContentMetadataAccessParams) SetContentMetadataAccessID(contentMetadataAccessID int64)

SetContentMetadataAccessID adds the contentMetadataAccessId to the delete content metadata access params

func (*DeleteContentMetadataAccessParams) SetContext

SetContext adds the context to the delete content metadata access params

func (*DeleteContentMetadataAccessParams) SetDefaults

func (o *DeleteContentMetadataAccessParams) SetDefaults()

SetDefaults hydrates default values in the delete content metadata access params (not the query body).

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

func (*DeleteContentMetadataAccessParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete content metadata access params

func (*DeleteContentMetadataAccessParams) SetTimeout

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

SetTimeout adds the timeout to the delete content metadata access params

func (*DeleteContentMetadataAccessParams) WithContentMetadataAccessID

func (o *DeleteContentMetadataAccessParams) WithContentMetadataAccessID(contentMetadataAccessID int64) *DeleteContentMetadataAccessParams

WithContentMetadataAccessID adds the contentMetadataAccessID to the delete content metadata access params

func (*DeleteContentMetadataAccessParams) WithContext

WithContext adds the context to the delete content metadata access params

func (*DeleteContentMetadataAccessParams) WithDefaults

WithDefaults hydrates default values in the delete content metadata access params (not the query body).

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

func (*DeleteContentMetadataAccessParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete content metadata access params

func (*DeleteContentMetadataAccessParams) WithTimeout

WithTimeout adds the timeout to the delete content metadata access params

func (*DeleteContentMetadataAccessParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteContentMetadataAccessReader

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

DeleteContentMetadataAccessReader is a Reader for the DeleteContentMetadataAccess structure.

func (*DeleteContentMetadataAccessReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteContentMetadataAccessTooManyRequests

type DeleteContentMetadataAccessTooManyRequests struct {
	Payload *models.Error
}
DeleteContentMetadataAccessTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeleteContentMetadataAccessTooManyRequests

func NewDeleteContentMetadataAccessTooManyRequests() *DeleteContentMetadataAccessTooManyRequests

NewDeleteContentMetadataAccessTooManyRequests creates a DeleteContentMetadataAccessTooManyRequests with default headers values

func (*DeleteContentMetadataAccessTooManyRequests) Error

func (*DeleteContentMetadataAccessTooManyRequests) GetPayload

type SearchContentFavoritesBadRequest

type SearchContentFavoritesBadRequest struct {
	Payload *models.Error
}
SearchContentFavoritesBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewSearchContentFavoritesBadRequest

func NewSearchContentFavoritesBadRequest() *SearchContentFavoritesBadRequest

NewSearchContentFavoritesBadRequest creates a SearchContentFavoritesBadRequest with default headers values

func (*SearchContentFavoritesBadRequest) Error

func (*SearchContentFavoritesBadRequest) GetPayload

type SearchContentFavoritesNotFound

type SearchContentFavoritesNotFound struct {
	Payload *models.Error
}
SearchContentFavoritesNotFound describes a response with status code 404, with default header values.

Not Found

func NewSearchContentFavoritesNotFound

func NewSearchContentFavoritesNotFound() *SearchContentFavoritesNotFound

NewSearchContentFavoritesNotFound creates a SearchContentFavoritesNotFound with default headers values

func (*SearchContentFavoritesNotFound) Error

func (*SearchContentFavoritesNotFound) GetPayload

func (o *SearchContentFavoritesNotFound) GetPayload() *models.Error

type SearchContentFavoritesOK

type SearchContentFavoritesOK struct {
	Payload []*models.ContentFavorite
}
SearchContentFavoritesOK describes a response with status code 200, with default header values.

Favorite Content

func NewSearchContentFavoritesOK

func NewSearchContentFavoritesOK() *SearchContentFavoritesOK

NewSearchContentFavoritesOK creates a SearchContentFavoritesOK with default headers values

func (*SearchContentFavoritesOK) Error

func (o *SearchContentFavoritesOK) Error() string

func (*SearchContentFavoritesOK) GetPayload

func (o *SearchContentFavoritesOK) GetPayload() []*models.ContentFavorite

type SearchContentFavoritesParams

type SearchContentFavoritesParams struct {

	/* ContentMetadataID.

	   Match content metadata id(s)

	   Format: int64
	*/
	ContentMetadataID *int64

	/* DashboardID.

	   Match dashboard id(s)

	   Format: int64
	*/
	DashboardID *int64

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* FilterOr.

	   Combine given search criteria in a boolean OR expression
	*/
	FilterOr *bool

	/* ID.

	   Match content favorite id(s)

	   Format: int64
	*/
	ID *int64

	/* Limit.

	   Number of results to return. (used with offset)

	   Format: int64
	*/
	Limit *int64

	/* LookID.

	   Match look id(s)

	   Format: int64
	*/
	LookID *int64

	/* Offset.

	   Number of results to skip before returning any. (used with limit)

	   Format: int64
	*/
	Offset *int64

	/* Sorts.

	   Fields to sort by.
	*/
	Sorts *string

	/* UserID.

	   Match user id(s)

	   Format: int64
	*/
	UserID *int64

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

SearchContentFavoritesParams contains all the parameters to send to the API endpoint

for the search content favorites operation.

Typically these are written to a http.Request.

func NewSearchContentFavoritesParams

func NewSearchContentFavoritesParams() *SearchContentFavoritesParams

NewSearchContentFavoritesParams creates a new SearchContentFavoritesParams 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 NewSearchContentFavoritesParamsWithContext

func NewSearchContentFavoritesParamsWithContext(ctx context.Context) *SearchContentFavoritesParams

NewSearchContentFavoritesParamsWithContext creates a new SearchContentFavoritesParams object with the ability to set a context for a request.

func NewSearchContentFavoritesParamsWithHTTPClient

func NewSearchContentFavoritesParamsWithHTTPClient(client *http.Client) *SearchContentFavoritesParams

NewSearchContentFavoritesParamsWithHTTPClient creates a new SearchContentFavoritesParams object with the ability to set a custom HTTPClient for a request.

func NewSearchContentFavoritesParamsWithTimeout

func NewSearchContentFavoritesParamsWithTimeout(timeout time.Duration) *SearchContentFavoritesParams

NewSearchContentFavoritesParamsWithTimeout creates a new SearchContentFavoritesParams object with the ability to set a timeout on a request.

func (*SearchContentFavoritesParams) SetContentMetadataID

func (o *SearchContentFavoritesParams) SetContentMetadataID(contentMetadataID *int64)

SetContentMetadataID adds the contentMetadataId to the search content favorites params

func (*SearchContentFavoritesParams) SetContext

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

SetContext adds the context to the search content favorites params

func (*SearchContentFavoritesParams) SetDashboardID

func (o *SearchContentFavoritesParams) SetDashboardID(dashboardID *int64)

SetDashboardID adds the dashboardId to the search content favorites params

func (*SearchContentFavoritesParams) SetDefaults

func (o *SearchContentFavoritesParams) SetDefaults()

SetDefaults hydrates default values in the search content favorites params (not the query body).

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

func (*SearchContentFavoritesParams) SetFields

func (o *SearchContentFavoritesParams) SetFields(fields *string)

SetFields adds the fields to the search content favorites params

func (*SearchContentFavoritesParams) SetFilterOr

func (o *SearchContentFavoritesParams) SetFilterOr(filterOr *bool)

SetFilterOr adds the filterOr to the search content favorites params

func (*SearchContentFavoritesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search content favorites params

func (*SearchContentFavoritesParams) SetID

func (o *SearchContentFavoritesParams) SetID(id *int64)

SetID adds the id to the search content favorites params

func (*SearchContentFavoritesParams) SetLimit

func (o *SearchContentFavoritesParams) SetLimit(limit *int64)

SetLimit adds the limit to the search content favorites params

func (*SearchContentFavoritesParams) SetLookID

func (o *SearchContentFavoritesParams) SetLookID(lookID *int64)

SetLookID adds the lookId to the search content favorites params

func (*SearchContentFavoritesParams) SetOffset

func (o *SearchContentFavoritesParams) SetOffset(offset *int64)

SetOffset adds the offset to the search content favorites params

func (*SearchContentFavoritesParams) SetSorts

func (o *SearchContentFavoritesParams) SetSorts(sorts *string)

SetSorts adds the sorts to the search content favorites params

func (*SearchContentFavoritesParams) SetTimeout

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

SetTimeout adds the timeout to the search content favorites params

func (*SearchContentFavoritesParams) SetUserID

func (o *SearchContentFavoritesParams) SetUserID(userID *int64)

SetUserID adds the userId to the search content favorites params

func (*SearchContentFavoritesParams) WithContentMetadataID

func (o *SearchContentFavoritesParams) WithContentMetadataID(contentMetadataID *int64) *SearchContentFavoritesParams

WithContentMetadataID adds the contentMetadataID to the search content favorites params

func (*SearchContentFavoritesParams) WithContext

WithContext adds the context to the search content favorites params

func (*SearchContentFavoritesParams) WithDashboardID

func (o *SearchContentFavoritesParams) WithDashboardID(dashboardID *int64) *SearchContentFavoritesParams

WithDashboardID adds the dashboardID to the search content favorites params

func (*SearchContentFavoritesParams) WithDefaults

WithDefaults hydrates default values in the search content favorites params (not the query body).

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

func (*SearchContentFavoritesParams) WithFields

WithFields adds the fields to the search content favorites params

func (*SearchContentFavoritesParams) WithFilterOr

WithFilterOr adds the filterOr to the search content favorites params

func (*SearchContentFavoritesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the search content favorites params

func (*SearchContentFavoritesParams) WithID

WithID adds the id to the search content favorites params

func (*SearchContentFavoritesParams) WithLimit

WithLimit adds the limit to the search content favorites params

func (*SearchContentFavoritesParams) WithLookID

WithLookID adds the lookID to the search content favorites params

func (*SearchContentFavoritesParams) WithOffset

WithOffset adds the offset to the search content favorites params

func (*SearchContentFavoritesParams) WithSorts

WithSorts adds the sorts to the search content favorites params

func (*SearchContentFavoritesParams) WithTimeout

WithTimeout adds the timeout to the search content favorites params

func (*SearchContentFavoritesParams) WithUserID

WithUserID adds the userID to the search content favorites params

func (*SearchContentFavoritesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SearchContentFavoritesReader

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

SearchContentFavoritesReader is a Reader for the SearchContentFavorites structure.

func (*SearchContentFavoritesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchContentViewsBadRequest

type SearchContentViewsBadRequest struct {
	Payload *models.Error
}
SearchContentViewsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewSearchContentViewsBadRequest

func NewSearchContentViewsBadRequest() *SearchContentViewsBadRequest

NewSearchContentViewsBadRequest creates a SearchContentViewsBadRequest with default headers values

func (*SearchContentViewsBadRequest) Error

func (*SearchContentViewsBadRequest) GetPayload

func (o *SearchContentViewsBadRequest) GetPayload() *models.Error

type SearchContentViewsNotFound

type SearchContentViewsNotFound struct {
	Payload *models.Error
}
SearchContentViewsNotFound describes a response with status code 404, with default header values.

Not Found

func NewSearchContentViewsNotFound

func NewSearchContentViewsNotFound() *SearchContentViewsNotFound

NewSearchContentViewsNotFound creates a SearchContentViewsNotFound with default headers values

func (*SearchContentViewsNotFound) Error

func (*SearchContentViewsNotFound) GetPayload

func (o *SearchContentViewsNotFound) GetPayload() *models.Error

type SearchContentViewsOK

type SearchContentViewsOK struct {
	Payload []*models.ContentView
}
SearchContentViewsOK describes a response with status code 200, with default header values.

Content View

func NewSearchContentViewsOK

func NewSearchContentViewsOK() *SearchContentViewsOK

NewSearchContentViewsOK creates a SearchContentViewsOK with default headers values

func (*SearchContentViewsOK) Error

func (o *SearchContentViewsOK) Error() string

func (*SearchContentViewsOK) GetPayload

func (o *SearchContentViewsOK) GetPayload() []*models.ContentView

type SearchContentViewsParams

type SearchContentViewsParams struct {

	/* AllTime.

	   True if only all time view records should be returned
	*/
	AllTime *bool

	/* ContentMetadataID.

	   Match content metadata id

	   Format: int64
	*/
	ContentMetadataID *int64

	/* DashboardID.

	   Match dashboard_id
	*/
	DashboardID *string

	/* Fields.

	   Requested fields
	*/
	Fields *string

	/* FilterOr.

	   Combine given search criteria in a boolean OR expression
	*/
	FilterOr *bool

	/* GroupID.

	   Match Group Id

	   Format: int64
	*/
	GroupID *int64

	/* Limit.

	   Number of results to return. Use with `offset` to manage pagination of results

	   Format: int64
	*/
	Limit *int64

	/* LookID.

	   Match look_id
	*/
	LookID *string

	/* Offset.

	   Number of results to skip before returning data

	   Format: int64
	*/
	Offset *int64

	/* Sorts.

	   Fields to sort by
	*/
	Sorts *string

	/* StartOfWeekDate.

	   Match start of week date (format is "YYYY-MM-DD")
	*/
	StartOfWeekDate *string

	/* UserID.

	   Match user id

	   Format: int64
	*/
	UserID *int64

	/* ViewCount.

	   Match view count

	   Format: int64
	*/
	ViewCount *int64

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

SearchContentViewsParams contains all the parameters to send to the API endpoint

for the search content views operation.

Typically these are written to a http.Request.

func NewSearchContentViewsParams

func NewSearchContentViewsParams() *SearchContentViewsParams

NewSearchContentViewsParams creates a new SearchContentViewsParams 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 NewSearchContentViewsParamsWithContext

func NewSearchContentViewsParamsWithContext(ctx context.Context) *SearchContentViewsParams

NewSearchContentViewsParamsWithContext creates a new SearchContentViewsParams object with the ability to set a context for a request.

func NewSearchContentViewsParamsWithHTTPClient

func NewSearchContentViewsParamsWithHTTPClient(client *http.Client) *SearchContentViewsParams

NewSearchContentViewsParamsWithHTTPClient creates a new SearchContentViewsParams object with the ability to set a custom HTTPClient for a request.

func NewSearchContentViewsParamsWithTimeout

func NewSearchContentViewsParamsWithTimeout(timeout time.Duration) *SearchContentViewsParams

NewSearchContentViewsParamsWithTimeout creates a new SearchContentViewsParams object with the ability to set a timeout on a request.

func (*SearchContentViewsParams) SetAllTime

func (o *SearchContentViewsParams) SetAllTime(allTime *bool)

SetAllTime adds the allTime to the search content views params

func (*SearchContentViewsParams) SetContentMetadataID

func (o *SearchContentViewsParams) SetContentMetadataID(contentMetadataID *int64)

SetContentMetadataID adds the contentMetadataId to the search content views params

func (*SearchContentViewsParams) SetContext

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

SetContext adds the context to the search content views params

func (*SearchContentViewsParams) SetDashboardID

func (o *SearchContentViewsParams) SetDashboardID(dashboardID *string)

SetDashboardID adds the dashboardId to the search content views params

func (*SearchContentViewsParams) SetDefaults

func (o *SearchContentViewsParams) SetDefaults()

SetDefaults hydrates default values in the search content views params (not the query body).

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

func (*SearchContentViewsParams) SetFields

func (o *SearchContentViewsParams) SetFields(fields *string)

SetFields adds the fields to the search content views params

func (*SearchContentViewsParams) SetFilterOr

func (o *SearchContentViewsParams) SetFilterOr(filterOr *bool)

SetFilterOr adds the filterOr to the search content views params

func (*SearchContentViewsParams) SetGroupID

func (o *SearchContentViewsParams) SetGroupID(groupID *int64)

SetGroupID adds the groupId to the search content views params

func (*SearchContentViewsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search content views params

func (*SearchContentViewsParams) SetLimit

func (o *SearchContentViewsParams) SetLimit(limit *int64)

SetLimit adds the limit to the search content views params

func (*SearchContentViewsParams) SetLookID

func (o *SearchContentViewsParams) SetLookID(lookID *string)

SetLookID adds the lookId to the search content views params

func (*SearchContentViewsParams) SetOffset

func (o *SearchContentViewsParams) SetOffset(offset *int64)

SetOffset adds the offset to the search content views params

func (*SearchContentViewsParams) SetSorts

func (o *SearchContentViewsParams) SetSorts(sorts *string)

SetSorts adds the sorts to the search content views params

func (*SearchContentViewsParams) SetStartOfWeekDate

func (o *SearchContentViewsParams) SetStartOfWeekDate(startOfWeekDate *string)

SetStartOfWeekDate adds the startOfWeekDate to the search content views params

func (*SearchContentViewsParams) SetTimeout

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

SetTimeout adds the timeout to the search content views params

func (*SearchContentViewsParams) SetUserID

func (o *SearchContentViewsParams) SetUserID(userID *int64)

SetUserID adds the userId to the search content views params

func (*SearchContentViewsParams) SetViewCount

func (o *SearchContentViewsParams) SetViewCount(viewCount *int64)

SetViewCount adds the viewCount to the search content views params

func (*SearchContentViewsParams) WithAllTime

func (o *SearchContentViewsParams) WithAllTime(allTime *bool) *SearchContentViewsParams

WithAllTime adds the allTime to the search content views params

func (*SearchContentViewsParams) WithContentMetadataID

func (o *SearchContentViewsParams) WithContentMetadataID(contentMetadataID *int64) *SearchContentViewsParams

WithContentMetadataID adds the contentMetadataID to the search content views params

func (*SearchContentViewsParams) WithContext

WithContext adds the context to the search content views params

func (*SearchContentViewsParams) WithDashboardID

func (o *SearchContentViewsParams) WithDashboardID(dashboardID *string) *SearchContentViewsParams

WithDashboardID adds the dashboardID to the search content views params

func (*SearchContentViewsParams) WithDefaults

WithDefaults hydrates default values in the search content views params (not the query body).

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

func (*SearchContentViewsParams) WithFields

WithFields adds the fields to the search content views params

func (*SearchContentViewsParams) WithFilterOr

func (o *SearchContentViewsParams) WithFilterOr(filterOr *bool) *SearchContentViewsParams

WithFilterOr adds the filterOr to the search content views params

func (*SearchContentViewsParams) WithGroupID

func (o *SearchContentViewsParams) WithGroupID(groupID *int64) *SearchContentViewsParams

WithGroupID adds the groupID to the search content views params

func (*SearchContentViewsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search content views params

func (*SearchContentViewsParams) WithLimit

WithLimit adds the limit to the search content views params

func (*SearchContentViewsParams) WithLookID

WithLookID adds the lookID to the search content views params

func (*SearchContentViewsParams) WithOffset

WithOffset adds the offset to the search content views params

func (*SearchContentViewsParams) WithSorts

WithSorts adds the sorts to the search content views params

func (*SearchContentViewsParams) WithStartOfWeekDate

func (o *SearchContentViewsParams) WithStartOfWeekDate(startOfWeekDate *string) *SearchContentViewsParams

WithStartOfWeekDate adds the startOfWeekDate to the search content views params

func (*SearchContentViewsParams) WithTimeout

WithTimeout adds the timeout to the search content views params

func (*SearchContentViewsParams) WithUserID

WithUserID adds the userID to the search content views params

func (*SearchContentViewsParams) WithViewCount

func (o *SearchContentViewsParams) WithViewCount(viewCount *int64) *SearchContentViewsParams

WithViewCount adds the viewCount to the search content views params

func (*SearchContentViewsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SearchContentViewsReader

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

SearchContentViewsReader is a Reader for the SearchContentViews structure.

func (*SearchContentViewsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateContentMetadataAccessBadRequest

type UpdateContentMetadataAccessBadRequest struct {
	Payload *models.Error
}
UpdateContentMetadataAccessBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUpdateContentMetadataAccessBadRequest

func NewUpdateContentMetadataAccessBadRequest() *UpdateContentMetadataAccessBadRequest

NewUpdateContentMetadataAccessBadRequest creates a UpdateContentMetadataAccessBadRequest with default headers values

func (*UpdateContentMetadataAccessBadRequest) Error

func (*UpdateContentMetadataAccessBadRequest) GetPayload

type UpdateContentMetadataAccessNotFound

type UpdateContentMetadataAccessNotFound struct {
	Payload *models.Error
}
UpdateContentMetadataAccessNotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdateContentMetadataAccessNotFound

func NewUpdateContentMetadataAccessNotFound() *UpdateContentMetadataAccessNotFound

NewUpdateContentMetadataAccessNotFound creates a UpdateContentMetadataAccessNotFound with default headers values

func (*UpdateContentMetadataAccessNotFound) Error

func (*UpdateContentMetadataAccessNotFound) GetPayload

type UpdateContentMetadataAccessOK

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

Content Metadata Access

func NewUpdateContentMetadataAccessOK

func NewUpdateContentMetadataAccessOK() *UpdateContentMetadataAccessOK

NewUpdateContentMetadataAccessOK creates a UpdateContentMetadataAccessOK with default headers values

func (*UpdateContentMetadataAccessOK) Error

func (*UpdateContentMetadataAccessOK) GetPayload

type UpdateContentMetadataAccessParams

type UpdateContentMetadataAccessParams struct {

	/* Body.

	   Content Metadata Access
	*/
	Body *models.ContentMetaGroupUser

	/* ContentMetadataAccessID.

	   Id of content metadata access

	   Format: int64
	*/
	ContentMetadataAccessID int64

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

UpdateContentMetadataAccessParams contains all the parameters to send to the API endpoint

for the update content metadata access operation.

Typically these are written to a http.Request.

func NewUpdateContentMetadataAccessParams

func NewUpdateContentMetadataAccessParams() *UpdateContentMetadataAccessParams

NewUpdateContentMetadataAccessParams creates a new UpdateContentMetadataAccessParams 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 NewUpdateContentMetadataAccessParamsWithContext

func NewUpdateContentMetadataAccessParamsWithContext(ctx context.Context) *UpdateContentMetadataAccessParams

NewUpdateContentMetadataAccessParamsWithContext creates a new UpdateContentMetadataAccessParams object with the ability to set a context for a request.

func NewUpdateContentMetadataAccessParamsWithHTTPClient

func NewUpdateContentMetadataAccessParamsWithHTTPClient(client *http.Client) *UpdateContentMetadataAccessParams

NewUpdateContentMetadataAccessParamsWithHTTPClient creates a new UpdateContentMetadataAccessParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateContentMetadataAccessParamsWithTimeout

func NewUpdateContentMetadataAccessParamsWithTimeout(timeout time.Duration) *UpdateContentMetadataAccessParams

NewUpdateContentMetadataAccessParamsWithTimeout creates a new UpdateContentMetadataAccessParams object with the ability to set a timeout on a request.

func (*UpdateContentMetadataAccessParams) SetBody

SetBody adds the body to the update content metadata access params

func (*UpdateContentMetadataAccessParams) SetContentMetadataAccessID

func (o *UpdateContentMetadataAccessParams) SetContentMetadataAccessID(contentMetadataAccessID int64)

SetContentMetadataAccessID adds the contentMetadataAccessId to the update content metadata access params

func (*UpdateContentMetadataAccessParams) SetContext

SetContext adds the context to the update content metadata access params

func (*UpdateContentMetadataAccessParams) SetDefaults

func (o *UpdateContentMetadataAccessParams) SetDefaults()

SetDefaults hydrates default values in the update content metadata access params (not the query body).

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

func (*UpdateContentMetadataAccessParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update content metadata access params

func (*UpdateContentMetadataAccessParams) SetTimeout

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

SetTimeout adds the timeout to the update content metadata access params

func (*UpdateContentMetadataAccessParams) WithBody

WithBody adds the body to the update content metadata access params

func (*UpdateContentMetadataAccessParams) WithContentMetadataAccessID

func (o *UpdateContentMetadataAccessParams) WithContentMetadataAccessID(contentMetadataAccessID int64) *UpdateContentMetadataAccessParams

WithContentMetadataAccessID adds the contentMetadataAccessID to the update content metadata access params

func (*UpdateContentMetadataAccessParams) WithContext

WithContext adds the context to the update content metadata access params

func (*UpdateContentMetadataAccessParams) WithDefaults

WithDefaults hydrates default values in the update content metadata access params (not the query body).

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

func (*UpdateContentMetadataAccessParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update content metadata access params

func (*UpdateContentMetadataAccessParams) WithTimeout

WithTimeout adds the timeout to the update content metadata access params

func (*UpdateContentMetadataAccessParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateContentMetadataAccessReader

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

UpdateContentMetadataAccessReader is a Reader for the UpdateContentMetadataAccess structure.

func (*UpdateContentMetadataAccessReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateContentMetadataAccessTooManyRequests

type UpdateContentMetadataAccessTooManyRequests struct {
	Payload *models.Error
}
UpdateContentMetadataAccessTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewUpdateContentMetadataAccessTooManyRequests

func NewUpdateContentMetadataAccessTooManyRequests() *UpdateContentMetadataAccessTooManyRequests

NewUpdateContentMetadataAccessTooManyRequests creates a UpdateContentMetadataAccessTooManyRequests with default headers values

func (*UpdateContentMetadataAccessTooManyRequests) Error

func (*UpdateContentMetadataAccessTooManyRequests) GetPayload

type UpdateContentMetadataAccessUnprocessableEntity

type UpdateContentMetadataAccessUnprocessableEntity struct {
	Payload *models.ValidationError
}
UpdateContentMetadataAccessUnprocessableEntity describes a response with status code 422, with default header values.

Validation Error

func NewUpdateContentMetadataAccessUnprocessableEntity

func NewUpdateContentMetadataAccessUnprocessableEntity() *UpdateContentMetadataAccessUnprocessableEntity

NewUpdateContentMetadataAccessUnprocessableEntity creates a UpdateContentMetadataAccessUnprocessableEntity with default headers values

func (*UpdateContentMetadataAccessUnprocessableEntity) Error

func (*UpdateContentMetadataAccessUnprocessableEntity) GetPayload

type UpdateContentMetadataBadRequest

type UpdateContentMetadataBadRequest struct {
	Payload *models.Error
}
UpdateContentMetadataBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUpdateContentMetadataBadRequest

func NewUpdateContentMetadataBadRequest() *UpdateContentMetadataBadRequest

NewUpdateContentMetadataBadRequest creates a UpdateContentMetadataBadRequest with default headers values

func (*UpdateContentMetadataBadRequest) Error

func (*UpdateContentMetadataBadRequest) GetPayload

func (o *UpdateContentMetadataBadRequest) GetPayload() *models.Error

type UpdateContentMetadataNotFound

type UpdateContentMetadataNotFound struct {
	Payload *models.Error
}
UpdateContentMetadataNotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdateContentMetadataNotFound

func NewUpdateContentMetadataNotFound() *UpdateContentMetadataNotFound

NewUpdateContentMetadataNotFound creates a UpdateContentMetadataNotFound with default headers values

func (*UpdateContentMetadataNotFound) Error

func (*UpdateContentMetadataNotFound) GetPayload

func (o *UpdateContentMetadataNotFound) GetPayload() *models.Error

type UpdateContentMetadataOK

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

Content Metadata

func NewUpdateContentMetadataOK

func NewUpdateContentMetadataOK() *UpdateContentMetadataOK

NewUpdateContentMetadataOK creates a UpdateContentMetadataOK with default headers values

func (*UpdateContentMetadataOK) Error

func (o *UpdateContentMetadataOK) Error() string

func (*UpdateContentMetadataOK) GetPayload

func (o *UpdateContentMetadataOK) GetPayload() *models.ContentMeta

type UpdateContentMetadataParams

type UpdateContentMetadataParams struct {

	/* Body.

	   Content Metadata
	*/
	Body *models.ContentMeta

	/* ContentMetadataID.

	   Id of content metadata

	   Format: int64
	*/
	ContentMetadataID int64

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

UpdateContentMetadataParams contains all the parameters to send to the API endpoint

for the update content metadata operation.

Typically these are written to a http.Request.

func NewUpdateContentMetadataParams

func NewUpdateContentMetadataParams() *UpdateContentMetadataParams

NewUpdateContentMetadataParams creates a new UpdateContentMetadataParams 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 NewUpdateContentMetadataParamsWithContext

func NewUpdateContentMetadataParamsWithContext(ctx context.Context) *UpdateContentMetadataParams

NewUpdateContentMetadataParamsWithContext creates a new UpdateContentMetadataParams object with the ability to set a context for a request.

func NewUpdateContentMetadataParamsWithHTTPClient

func NewUpdateContentMetadataParamsWithHTTPClient(client *http.Client) *UpdateContentMetadataParams

NewUpdateContentMetadataParamsWithHTTPClient creates a new UpdateContentMetadataParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateContentMetadataParamsWithTimeout

func NewUpdateContentMetadataParamsWithTimeout(timeout time.Duration) *UpdateContentMetadataParams

NewUpdateContentMetadataParamsWithTimeout creates a new UpdateContentMetadataParams object with the ability to set a timeout on a request.

func (*UpdateContentMetadataParams) SetBody

SetBody adds the body to the update content metadata params

func (*UpdateContentMetadataParams) SetContentMetadataID

func (o *UpdateContentMetadataParams) SetContentMetadataID(contentMetadataID int64)

SetContentMetadataID adds the contentMetadataId to the update content metadata params

func (*UpdateContentMetadataParams) SetContext

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

SetContext adds the context to the update content metadata params

func (*UpdateContentMetadataParams) SetDefaults

func (o *UpdateContentMetadataParams) SetDefaults()

SetDefaults hydrates default values in the update content metadata params (not the query body).

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

func (*UpdateContentMetadataParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update content metadata params

func (*UpdateContentMetadataParams) SetTimeout

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

SetTimeout adds the timeout to the update content metadata params

func (*UpdateContentMetadataParams) WithBody

WithBody adds the body to the update content metadata params

func (*UpdateContentMetadataParams) WithContentMetadataID

func (o *UpdateContentMetadataParams) WithContentMetadataID(contentMetadataID int64) *UpdateContentMetadataParams

WithContentMetadataID adds the contentMetadataID to the update content metadata params

func (*UpdateContentMetadataParams) WithContext

WithContext adds the context to the update content metadata params

func (*UpdateContentMetadataParams) WithDefaults

WithDefaults hydrates default values in the update content metadata params (not the query body).

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

func (*UpdateContentMetadataParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update content metadata params

func (*UpdateContentMetadataParams) WithTimeout

WithTimeout adds the timeout to the update content metadata params

func (*UpdateContentMetadataParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateContentMetadataReader

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

UpdateContentMetadataReader is a Reader for the UpdateContentMetadata structure.

func (*UpdateContentMetadataReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateContentMetadataTooManyRequests

type UpdateContentMetadataTooManyRequests struct {
	Payload *models.Error
}
UpdateContentMetadataTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewUpdateContentMetadataTooManyRequests

func NewUpdateContentMetadataTooManyRequests() *UpdateContentMetadataTooManyRequests

NewUpdateContentMetadataTooManyRequests creates a UpdateContentMetadataTooManyRequests with default headers values

func (*UpdateContentMetadataTooManyRequests) Error

func (*UpdateContentMetadataTooManyRequests) GetPayload

type UpdateContentMetadataUnprocessableEntity

type UpdateContentMetadataUnprocessableEntity struct {
	Payload *models.ValidationError
}
UpdateContentMetadataUnprocessableEntity describes a response with status code 422, with default header values.

Validation Error

func NewUpdateContentMetadataUnprocessableEntity

func NewUpdateContentMetadataUnprocessableEntity() *UpdateContentMetadataUnprocessableEntity

NewUpdateContentMetadataUnprocessableEntity creates a UpdateContentMetadataUnprocessableEntity with default headers values

func (*UpdateContentMetadataUnprocessableEntity) Error

func (*UpdateContentMetadataUnprocessableEntity) GetPayload

type VectorThumbnailBadRequest

type VectorThumbnailBadRequest struct {
	Payload *models.Error
}
VectorThumbnailBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewVectorThumbnailBadRequest

func NewVectorThumbnailBadRequest() *VectorThumbnailBadRequest

NewVectorThumbnailBadRequest creates a VectorThumbnailBadRequest with default headers values

func (*VectorThumbnailBadRequest) Error

func (o *VectorThumbnailBadRequest) Error() string

func (*VectorThumbnailBadRequest) GetPayload

func (o *VectorThumbnailBadRequest) GetPayload() *models.Error

type VectorThumbnailNotFound

type VectorThumbnailNotFound struct {
	Payload *models.Error
}
VectorThumbnailNotFound describes a response with status code 404, with default header values.

Not Found

func NewVectorThumbnailNotFound

func NewVectorThumbnailNotFound() *VectorThumbnailNotFound

NewVectorThumbnailNotFound creates a VectorThumbnailNotFound with default headers values

func (*VectorThumbnailNotFound) Error

func (o *VectorThumbnailNotFound) Error() string

func (*VectorThumbnailNotFound) GetPayload

func (o *VectorThumbnailNotFound) GetPayload() *models.Error

type VectorThumbnailOK

type VectorThumbnailOK struct {
	Payload string
}
VectorThumbnailOK describes a response with status code 200, with default header values.

Vector thumbnail

func NewVectorThumbnailOK

func NewVectorThumbnailOK() *VectorThumbnailOK

NewVectorThumbnailOK creates a VectorThumbnailOK with default headers values

func (*VectorThumbnailOK) Error

func (o *VectorThumbnailOK) Error() string

func (*VectorThumbnailOK) GetPayload

func (o *VectorThumbnailOK) GetPayload() string

type VectorThumbnailParams

type VectorThumbnailParams struct {

	/* Reload.

	   Whether or not to refresh the rendered image with the latest content
	*/
	Reload *string

	/* ResourceID.

	   ID of the dashboard or look to render
	*/
	ResourceID string

	/* Type.

	   Either dashboard or look
	*/
	Type string

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

VectorThumbnailParams contains all the parameters to send to the API endpoint

for the vector thumbnail operation.

Typically these are written to a http.Request.

func NewVectorThumbnailParams

func NewVectorThumbnailParams() *VectorThumbnailParams

NewVectorThumbnailParams creates a new VectorThumbnailParams 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 NewVectorThumbnailParamsWithContext

func NewVectorThumbnailParamsWithContext(ctx context.Context) *VectorThumbnailParams

NewVectorThumbnailParamsWithContext creates a new VectorThumbnailParams object with the ability to set a context for a request.

func NewVectorThumbnailParamsWithHTTPClient

func NewVectorThumbnailParamsWithHTTPClient(client *http.Client) *VectorThumbnailParams

NewVectorThumbnailParamsWithHTTPClient creates a new VectorThumbnailParams object with the ability to set a custom HTTPClient for a request.

func NewVectorThumbnailParamsWithTimeout

func NewVectorThumbnailParamsWithTimeout(timeout time.Duration) *VectorThumbnailParams

NewVectorThumbnailParamsWithTimeout creates a new VectorThumbnailParams object with the ability to set a timeout on a request.

func (*VectorThumbnailParams) SetContext

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

SetContext adds the context to the vector thumbnail params

func (*VectorThumbnailParams) SetDefaults

func (o *VectorThumbnailParams) SetDefaults()

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

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

func (*VectorThumbnailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the vector thumbnail params

func (*VectorThumbnailParams) SetReload

func (o *VectorThumbnailParams) SetReload(reload *string)

SetReload adds the reload to the vector thumbnail params

func (*VectorThumbnailParams) SetResourceID

func (o *VectorThumbnailParams) SetResourceID(resourceID string)

SetResourceID adds the resourceId to the vector thumbnail params

func (*VectorThumbnailParams) SetTimeout

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

SetTimeout adds the timeout to the vector thumbnail params

func (*VectorThumbnailParams) SetType

func (o *VectorThumbnailParams) SetType(typeVar string)

SetType adds the type to the vector thumbnail params

func (*VectorThumbnailParams) WithContext

WithContext adds the context to the vector thumbnail params

func (*VectorThumbnailParams) WithDefaults

func (o *VectorThumbnailParams) WithDefaults() *VectorThumbnailParams

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

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

func (*VectorThumbnailParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the vector thumbnail params

func (*VectorThumbnailParams) WithReload

func (o *VectorThumbnailParams) WithReload(reload *string) *VectorThumbnailParams

WithReload adds the reload to the vector thumbnail params

func (*VectorThumbnailParams) WithResourceID

func (o *VectorThumbnailParams) WithResourceID(resourceID string) *VectorThumbnailParams

WithResourceID adds the resourceID to the vector thumbnail params

func (*VectorThumbnailParams) WithTimeout

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

WithTimeout adds the timeout to the vector thumbnail params

func (*VectorThumbnailParams) WithType

func (o *VectorThumbnailParams) WithType(typeVar string) *VectorThumbnailParams

WithType adds the typeVar to the vector thumbnail params

func (*VectorThumbnailParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type VectorThumbnailReader

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

VectorThumbnailReader is a Reader for the VectorThumbnail structure.

func (*VectorThumbnailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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