content

package
v0.0.0-...-9dad3f6 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 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 handles this case 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 handles this case 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 handles this case 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

	*/
	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 values initialized.

func NewAllContentMetadataAccessesParamsWithContext

func NewAllContentMetadataAccessesParamsWithContext(ctx context.Context) *AllContentMetadataAccessesParams

NewAllContentMetadataAccessesParamsWithContext creates a new AllContentMetadataAccessesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 AllContentMetadatasBadRequest

type AllContentMetadatasBadRequest struct {
	Payload *models.Error
}

AllContentMetadatasBadRequest handles this case 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 handles this case 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 handles this case 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.

	*/
	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 values initialized.

func NewAllContentMetadatasParamsWithContext

func NewAllContentMetadatasParamsWithContext(ctx context.Context) *AllContentMetadatasParams

NewAllContentMetadatasParamsWithContext creates a new AllContentMetadatasParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new content API client.

func (*Client) AllContentMetadataAccesses

func (a *Client) AllContentMetadataAccesses(params *AllContentMetadataAccessesParams) (*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) (*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) (*ContentFavoriteOK, error)

ContentFavorite gets favorite content

### Get favorite content by its id

func (*Client) ContentMetadata

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

ContentMetadata gets content metadata

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

func (*Client) ContentValidation

func (a *Client) ContentValidation(params *ContentValidationParams) (*ContentValidationOK, error)

ContentValidation validates content

### Validate All Content Requires Content Validation Labs Feature be enabled

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) (*CreateContentFavoriteOK, error)

CreateContentFavorite creates favorite content

### Create favorite content

func (*Client) CreateContentMetadataAccess

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

CreateContentMetadataAccess creates content metadata access

### Create content metadata access.

func (*Client) DeleteContentFavorite

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

DeleteContentFavorite deletes favorite content

### Delete favorite content

func (*Client) DeleteContentMetadataAccess

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

DeleteContentMetadataAccess deletes content metadata access

### Remove content metadata access.

func (*Client) SearchContentFavorites

func (a *Client) SearchContentFavorites(params *SearchContentFavoritesParams) (*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) (*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) (*UpdateContentMetadataOK, error)

UpdateContentMetadata updates content metadata

### Move a piece of content.

func (*Client) UpdateContentMetadataAccess

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

UpdateContentMetadataAccess updates content metadata access

### Update type of access for content metadata.

type ContentFavoriteBadRequest

type ContentFavoriteBadRequest struct {
	Payload *models.Error
}

ContentFavoriteBadRequest handles this case 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 handles this case 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 handles this case 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

	*/
	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 values initialized.

func NewContentFavoriteParamsWithContext

func NewContentFavoriteParamsWithContext(ctx context.Context) *ContentFavoriteParams

NewContentFavoriteParamsWithContext creates a new ContentFavoriteParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 handles this case 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

	*/
	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 values initialized.

func NewContentMetadataParamsWithContext

func NewContentMetadataParamsWithContext(ctx context.Context) *ContentMetadataParams

NewContentMetadataParamsWithContext creates a new ContentMetadataParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ContentValidationBadRequest

type ContentValidationBadRequest struct {
	Payload *models.Error
}

ContentValidationBadRequest handles this case 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 handles this case 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 handles this case 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 values initialized.

func NewContentValidationParamsWithContext

func NewContentValidationParamsWithContext(ctx context.Context) *ContentValidationParams

NewContentValidationParamsWithContext creates a new ContentValidationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ContentValidationUnprocessableEntity

type ContentValidationUnprocessableEntity struct {
	Payload *models.ValidationError
}

ContentValidationUnprocessableEntity handles this case 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 handles this case 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 handles this case 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 handles this case 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 handles this case 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 values initialized.

func NewCreateContentFavoriteParamsWithContext

func NewCreateContentFavoriteParamsWithContext(ctx context.Context) *CreateContentFavoriteParams

NewCreateContentFavoriteParamsWithContext creates a new CreateContentFavoriteParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 CreateContentFavoriteUnprocessableEntity

type CreateContentFavoriteUnprocessableEntity struct {
	Payload *models.ValidationError
}

CreateContentFavoriteUnprocessableEntity handles this case 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 handles this case 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 CreateContentMetadataAccessNotFound

type CreateContentMetadataAccessNotFound struct {
	Payload *models.Error
}

CreateContentMetadataAccessNotFound handles this case 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 handles this case 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 values initialized.

func NewCreateContentMetadataAccessParamsWithContext

func NewCreateContentMetadataAccessParamsWithContext(ctx context.Context) *CreateContentMetadataAccessParams

NewCreateContentMetadataAccessParamsWithContext creates a new CreateContentMetadataAccessParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 DeleteContentFavoriteBadRequest

type DeleteContentFavoriteBadRequest struct {
	Payload *models.Error
}

DeleteContentFavoriteBadRequest handles this case 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 handles this case 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 handles this case 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

	*/
	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 values initialized.

func NewDeleteContentFavoriteParamsWithContext

func NewDeleteContentFavoriteParamsWithContext(ctx context.Context) *DeleteContentFavoriteParams

NewDeleteContentFavoriteParamsWithContext creates a new DeleteContentFavoriteParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 DeleteContentMetadataAccessBadRequest

type DeleteContentMetadataAccessBadRequest struct {
	Payload *models.Error
}

DeleteContentMetadataAccessBadRequest handles this case 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 handles this case 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 handles this case 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

	*/
	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 values initialized.

func NewDeleteContentMetadataAccessParamsWithContext

func NewDeleteContentMetadataAccessParamsWithContext(ctx context.Context) *DeleteContentMetadataAccessParams

NewDeleteContentMetadataAccessParamsWithContext creates a new DeleteContentMetadataAccessParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 SearchContentFavoritesBadRequest

type SearchContentFavoritesBadRequest struct {
	Payload *models.Error
}

SearchContentFavoritesBadRequest handles this case 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 handles this case 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 handles this case 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)

	*/
	ContentMetadataID *int64
	/*DashboardID
	  Match dashboard id(s)

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

	*/
	ID *int64
	/*Limit
	  Number of results to return. (used with offset)

	*/
	Limit *int64
	/*LookID
	  Match look id(s)

	*/
	LookID *int64
	/*Offset
	  Number of results to skip before returning any. (used with limit)

	*/
	Offset *int64
	/*Sorts
	  Fields to sort by.

	*/
	Sorts *string
	/*UserID
	  Match user id(s)

	*/
	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 values initialized.

func NewSearchContentFavoritesParamsWithContext

func NewSearchContentFavoritesParamsWithContext(ctx context.Context) *SearchContentFavoritesParams

NewSearchContentFavoritesParamsWithContext creates a new SearchContentFavoritesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 handles this case 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

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

	*/
	GroupID *int64
	/*Limit
	  Number of results to return. Use with `offset` to manage pagination of results

	*/
	Limit *int64
	/*LookID
	  Match look_id

	*/
	LookID *string
	/*Offset
	  Number of results to skip before returning data

	*/
	Offset *int64
	/*Sorts
	  Fields to sort by

	*/
	Sorts *string
	/*StartOfWeekDate
	  Match start of week date

	*/
	StartOfWeekDate *string
	/*UserID
	  Match user id

	*/
	UserID *int64
	/*ViewCount
	  Match view count

	*/
	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 values initialized.

func NewSearchContentViewsParamsWithContext

func NewSearchContentViewsParamsWithContext(ctx context.Context) *SearchContentViewsParams

NewSearchContentViewsParamsWithContext creates a new SearchContentViewsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 handles this case 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

	*/
	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 values initialized.

func NewUpdateContentMetadataAccessParamsWithContext

func NewUpdateContentMetadataAccessParamsWithContext(ctx context.Context) *UpdateContentMetadataAccessParams

NewUpdateContentMetadataAccessParamsWithContext creates a new UpdateContentMetadataAccessParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 UpdateContentMetadataAccessUnprocessableEntity

type UpdateContentMetadataAccessUnprocessableEntity struct {
	Payload *models.ValidationError
}

UpdateContentMetadataAccessUnprocessableEntity handles this case 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 handles this case 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 handles this case 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 handles this case 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

	*/
	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 values initialized.

func NewUpdateContentMetadataParamsWithContext

func NewUpdateContentMetadataParamsWithContext(ctx context.Context) *UpdateContentMetadataParams

NewUpdateContentMetadataParamsWithContext creates a new UpdateContentMetadataParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 UpdateContentMetadataUnprocessableEntity

type UpdateContentMetadataUnprocessableEntity struct {
	Payload *models.ValidationError
}

UpdateContentMetadataUnprocessableEntity handles this case 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

Jump to

Keyboard shortcuts

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