homepage

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 AllHomepageItemsBadRequest

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

Bad Request

func NewAllHomepageItemsBadRequest

func NewAllHomepageItemsBadRequest() *AllHomepageItemsBadRequest

NewAllHomepageItemsBadRequest creates a AllHomepageItemsBadRequest with default headers values

func (*AllHomepageItemsBadRequest) Error

func (*AllHomepageItemsBadRequest) GetPayload

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

type AllHomepageItemsNotFound

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

Not Found

func NewAllHomepageItemsNotFound

func NewAllHomepageItemsNotFound() *AllHomepageItemsNotFound

NewAllHomepageItemsNotFound creates a AllHomepageItemsNotFound with default headers values

func (*AllHomepageItemsNotFound) Error

func (o *AllHomepageItemsNotFound) Error() string

func (*AllHomepageItemsNotFound) GetPayload

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

type AllHomepageItemsOK

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

Homepage Item

func NewAllHomepageItemsOK

func NewAllHomepageItemsOK() *AllHomepageItemsOK

NewAllHomepageItemsOK creates a AllHomepageItemsOK with default headers values

func (*AllHomepageItemsOK) Error

func (o *AllHomepageItemsOK) Error() string

func (*AllHomepageItemsOK) GetPayload

func (o *AllHomepageItemsOK) GetPayload() []*models.HomepageItem

type AllHomepageItemsParams

type AllHomepageItemsParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* HomepageSectionID.

	   Filter to a specific homepage section
	*/
	HomepageSectionID *string

	/* Sorts.

	   Fields to sort by.
	*/
	Sorts *string

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

AllHomepageItemsParams contains all the parameters to send to the API endpoint

for the all homepage items operation.

Typically these are written to a http.Request.

func NewAllHomepageItemsParams

func NewAllHomepageItemsParams() *AllHomepageItemsParams

NewAllHomepageItemsParams creates a new AllHomepageItemsParams 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 NewAllHomepageItemsParamsWithContext

func NewAllHomepageItemsParamsWithContext(ctx context.Context) *AllHomepageItemsParams

NewAllHomepageItemsParamsWithContext creates a new AllHomepageItemsParams object with the ability to set a context for a request.

func NewAllHomepageItemsParamsWithHTTPClient

func NewAllHomepageItemsParamsWithHTTPClient(client *http.Client) *AllHomepageItemsParams

NewAllHomepageItemsParamsWithHTTPClient creates a new AllHomepageItemsParams object with the ability to set a custom HTTPClient for a request.

func NewAllHomepageItemsParamsWithTimeout

func NewAllHomepageItemsParamsWithTimeout(timeout time.Duration) *AllHomepageItemsParams

NewAllHomepageItemsParamsWithTimeout creates a new AllHomepageItemsParams object with the ability to set a timeout on a request.

func (*AllHomepageItemsParams) SetContext

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

SetContext adds the context to the all homepage items params

func (*AllHomepageItemsParams) SetDefaults

func (o *AllHomepageItemsParams) SetDefaults()

SetDefaults hydrates default values in the all homepage items params (not the query body).

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

func (*AllHomepageItemsParams) SetFields

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

SetFields adds the fields to the all homepage items params

func (*AllHomepageItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the all homepage items params

func (*AllHomepageItemsParams) SetHomepageSectionID

func (o *AllHomepageItemsParams) SetHomepageSectionID(homepageSectionID *string)

SetHomepageSectionID adds the homepageSectionId to the all homepage items params

func (*AllHomepageItemsParams) SetSorts

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

SetSorts adds the sorts to the all homepage items params

func (*AllHomepageItemsParams) SetTimeout

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

SetTimeout adds the timeout to the all homepage items params

func (*AllHomepageItemsParams) WithContext

WithContext adds the context to the all homepage items params

func (*AllHomepageItemsParams) WithDefaults

WithDefaults hydrates default values in the all homepage items params (not the query body).

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

func (*AllHomepageItemsParams) WithFields

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

WithFields adds the fields to the all homepage items params

func (*AllHomepageItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the all homepage items params

func (*AllHomepageItemsParams) WithHomepageSectionID

func (o *AllHomepageItemsParams) WithHomepageSectionID(homepageSectionID *string) *AllHomepageItemsParams

WithHomepageSectionID adds the homepageSectionID to the all homepage items params

func (*AllHomepageItemsParams) WithSorts

WithSorts adds the sorts to the all homepage items params

func (*AllHomepageItemsParams) WithTimeout

WithTimeout adds the timeout to the all homepage items params

func (*AllHomepageItemsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AllHomepageItemsReader

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

AllHomepageItemsReader is a Reader for the AllHomepageItems structure.

func (*AllHomepageItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AllHomepageSectionsBadRequest

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

Bad Request

func NewAllHomepageSectionsBadRequest

func NewAllHomepageSectionsBadRequest() *AllHomepageSectionsBadRequest

NewAllHomepageSectionsBadRequest creates a AllHomepageSectionsBadRequest with default headers values

func (*AllHomepageSectionsBadRequest) Error

func (*AllHomepageSectionsBadRequest) GetPayload

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

type AllHomepageSectionsNotFound

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

Not Found

func NewAllHomepageSectionsNotFound

func NewAllHomepageSectionsNotFound() *AllHomepageSectionsNotFound

NewAllHomepageSectionsNotFound creates a AllHomepageSectionsNotFound with default headers values

func (*AllHomepageSectionsNotFound) Error

func (*AllHomepageSectionsNotFound) GetPayload

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

type AllHomepageSectionsOK

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

Homepage section

func NewAllHomepageSectionsOK

func NewAllHomepageSectionsOK() *AllHomepageSectionsOK

NewAllHomepageSectionsOK creates a AllHomepageSectionsOK with default headers values

func (*AllHomepageSectionsOK) Error

func (o *AllHomepageSectionsOK) Error() string

func (*AllHomepageSectionsOK) GetPayload

func (o *AllHomepageSectionsOK) GetPayload() []*models.HomepageSection

type AllHomepageSectionsParams

type AllHomepageSectionsParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* Sorts.

	   Fields to sort by.
	*/
	Sorts *string

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

AllHomepageSectionsParams contains all the parameters to send to the API endpoint

for the all homepage sections operation.

Typically these are written to a http.Request.

func NewAllHomepageSectionsParams

func NewAllHomepageSectionsParams() *AllHomepageSectionsParams

NewAllHomepageSectionsParams creates a new AllHomepageSectionsParams 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 NewAllHomepageSectionsParamsWithContext

func NewAllHomepageSectionsParamsWithContext(ctx context.Context) *AllHomepageSectionsParams

NewAllHomepageSectionsParamsWithContext creates a new AllHomepageSectionsParams object with the ability to set a context for a request.

func NewAllHomepageSectionsParamsWithHTTPClient

func NewAllHomepageSectionsParamsWithHTTPClient(client *http.Client) *AllHomepageSectionsParams

NewAllHomepageSectionsParamsWithHTTPClient creates a new AllHomepageSectionsParams object with the ability to set a custom HTTPClient for a request.

func NewAllHomepageSectionsParamsWithTimeout

func NewAllHomepageSectionsParamsWithTimeout(timeout time.Duration) *AllHomepageSectionsParams

NewAllHomepageSectionsParamsWithTimeout creates a new AllHomepageSectionsParams object with the ability to set a timeout on a request.

func (*AllHomepageSectionsParams) SetContext

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

SetContext adds the context to the all homepage sections params

func (*AllHomepageSectionsParams) SetDefaults

func (o *AllHomepageSectionsParams) SetDefaults()

SetDefaults hydrates default values in the all homepage sections params (not the query body).

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

func (*AllHomepageSectionsParams) SetFields

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

SetFields adds the fields to the all homepage sections params

func (*AllHomepageSectionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the all homepage sections params

func (*AllHomepageSectionsParams) SetSorts

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

SetSorts adds the sorts to the all homepage sections params

func (*AllHomepageSectionsParams) SetTimeout

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

SetTimeout adds the timeout to the all homepage sections params

func (*AllHomepageSectionsParams) WithContext

WithContext adds the context to the all homepage sections params

func (*AllHomepageSectionsParams) WithDefaults

WithDefaults hydrates default values in the all homepage sections params (not the query body).

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

func (*AllHomepageSectionsParams) WithFields

WithFields adds the fields to the all homepage sections params

func (*AllHomepageSectionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the all homepage sections params

func (*AllHomepageSectionsParams) WithSorts

WithSorts adds the sorts to the all homepage sections params

func (*AllHomepageSectionsParams) WithTimeout

WithTimeout adds the timeout to the all homepage sections params

func (*AllHomepageSectionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AllHomepageSectionsReader

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

AllHomepageSectionsReader is a Reader for the AllHomepageSections structure.

func (*AllHomepageSectionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AllHomepagesBadRequest

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

Bad Request

func NewAllHomepagesBadRequest

func NewAllHomepagesBadRequest() *AllHomepagesBadRequest

NewAllHomepagesBadRequest creates a AllHomepagesBadRequest with default headers values

func (*AllHomepagesBadRequest) Error

func (o *AllHomepagesBadRequest) Error() string

func (*AllHomepagesBadRequest) GetPayload

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

type AllHomepagesNotFound

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

Not Found

func NewAllHomepagesNotFound

func NewAllHomepagesNotFound() *AllHomepagesNotFound

NewAllHomepagesNotFound creates a AllHomepagesNotFound with default headers values

func (*AllHomepagesNotFound) Error

func (o *AllHomepagesNotFound) Error() string

func (*AllHomepagesNotFound) GetPayload

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

type AllHomepagesOK

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

Homepage

func NewAllHomepagesOK

func NewAllHomepagesOK() *AllHomepagesOK

NewAllHomepagesOK creates a AllHomepagesOK with default headers values

func (*AllHomepagesOK) Error

func (o *AllHomepagesOK) Error() string

func (*AllHomepagesOK) GetPayload

func (o *AllHomepagesOK) GetPayload() []*models.Homepage

type AllHomepagesParams

type AllHomepagesParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

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

AllHomepagesParams contains all the parameters to send to the API endpoint

for the all homepages operation.

Typically these are written to a http.Request.

func NewAllHomepagesParams

func NewAllHomepagesParams() *AllHomepagesParams

NewAllHomepagesParams creates a new AllHomepagesParams 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 NewAllHomepagesParamsWithContext

func NewAllHomepagesParamsWithContext(ctx context.Context) *AllHomepagesParams

NewAllHomepagesParamsWithContext creates a new AllHomepagesParams object with the ability to set a context for a request.

func NewAllHomepagesParamsWithHTTPClient

func NewAllHomepagesParamsWithHTTPClient(client *http.Client) *AllHomepagesParams

NewAllHomepagesParamsWithHTTPClient creates a new AllHomepagesParams object with the ability to set a custom HTTPClient for a request.

func NewAllHomepagesParamsWithTimeout

func NewAllHomepagesParamsWithTimeout(timeout time.Duration) *AllHomepagesParams

NewAllHomepagesParamsWithTimeout creates a new AllHomepagesParams object with the ability to set a timeout on a request.

func (*AllHomepagesParams) SetContext

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

SetContext adds the context to the all homepages params

func (*AllHomepagesParams) SetDefaults

func (o *AllHomepagesParams) SetDefaults()

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

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

func (*AllHomepagesParams) SetFields

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

SetFields adds the fields to the all homepages params

func (*AllHomepagesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the all homepages params

func (*AllHomepagesParams) SetTimeout

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

SetTimeout adds the timeout to the all homepages params

func (*AllHomepagesParams) WithContext

WithContext adds the context to the all homepages params

func (*AllHomepagesParams) WithDefaults

func (o *AllHomepagesParams) WithDefaults() *AllHomepagesParams

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

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

func (*AllHomepagesParams) WithFields

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

WithFields adds the fields to the all homepages params

func (*AllHomepagesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the all homepages params

func (*AllHomepagesParams) WithTimeout

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

WithTimeout adds the timeout to the all homepages params

func (*AllHomepagesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AllHomepagesReader

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

AllHomepagesReader is a Reader for the AllHomepages structure.

func (*AllHomepagesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AllPrimaryHomepageSectionsBadRequest

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

Bad Request

func NewAllPrimaryHomepageSectionsBadRequest

func NewAllPrimaryHomepageSectionsBadRequest() *AllPrimaryHomepageSectionsBadRequest

NewAllPrimaryHomepageSectionsBadRequest creates a AllPrimaryHomepageSectionsBadRequest with default headers values

func (*AllPrimaryHomepageSectionsBadRequest) Error

func (*AllPrimaryHomepageSectionsBadRequest) GetPayload

type AllPrimaryHomepageSectionsNotFound

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

Not Found

func NewAllPrimaryHomepageSectionsNotFound

func NewAllPrimaryHomepageSectionsNotFound() *AllPrimaryHomepageSectionsNotFound

NewAllPrimaryHomepageSectionsNotFound creates a AllPrimaryHomepageSectionsNotFound with default headers values

func (*AllPrimaryHomepageSectionsNotFound) Error

func (*AllPrimaryHomepageSectionsNotFound) GetPayload

type AllPrimaryHomepageSectionsOK

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

Primary homepage section

func NewAllPrimaryHomepageSectionsOK

func NewAllPrimaryHomepageSectionsOK() *AllPrimaryHomepageSectionsOK

NewAllPrimaryHomepageSectionsOK creates a AllPrimaryHomepageSectionsOK with default headers values

func (*AllPrimaryHomepageSectionsOK) Error

func (*AllPrimaryHomepageSectionsOK) GetPayload

type AllPrimaryHomepageSectionsParams

type AllPrimaryHomepageSectionsParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

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

AllPrimaryHomepageSectionsParams contains all the parameters to send to the API endpoint

for the all primary homepage sections operation.

Typically these are written to a http.Request.

func NewAllPrimaryHomepageSectionsParams

func NewAllPrimaryHomepageSectionsParams() *AllPrimaryHomepageSectionsParams

NewAllPrimaryHomepageSectionsParams creates a new AllPrimaryHomepageSectionsParams 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 NewAllPrimaryHomepageSectionsParamsWithContext

func NewAllPrimaryHomepageSectionsParamsWithContext(ctx context.Context) *AllPrimaryHomepageSectionsParams

NewAllPrimaryHomepageSectionsParamsWithContext creates a new AllPrimaryHomepageSectionsParams object with the ability to set a context for a request.

func NewAllPrimaryHomepageSectionsParamsWithHTTPClient

func NewAllPrimaryHomepageSectionsParamsWithHTTPClient(client *http.Client) *AllPrimaryHomepageSectionsParams

NewAllPrimaryHomepageSectionsParamsWithHTTPClient creates a new AllPrimaryHomepageSectionsParams object with the ability to set a custom HTTPClient for a request.

func NewAllPrimaryHomepageSectionsParamsWithTimeout

func NewAllPrimaryHomepageSectionsParamsWithTimeout(timeout time.Duration) *AllPrimaryHomepageSectionsParams

NewAllPrimaryHomepageSectionsParamsWithTimeout creates a new AllPrimaryHomepageSectionsParams object with the ability to set a timeout on a request.

func (*AllPrimaryHomepageSectionsParams) SetContext

SetContext adds the context to the all primary homepage sections params

func (*AllPrimaryHomepageSectionsParams) SetDefaults

func (o *AllPrimaryHomepageSectionsParams) SetDefaults()

SetDefaults hydrates default values in the all primary homepage sections params (not the query body).

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

func (*AllPrimaryHomepageSectionsParams) SetFields

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

SetFields adds the fields to the all primary homepage sections params

func (*AllPrimaryHomepageSectionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the all primary homepage sections params

func (*AllPrimaryHomepageSectionsParams) SetTimeout

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

SetTimeout adds the timeout to the all primary homepage sections params

func (*AllPrimaryHomepageSectionsParams) WithContext

WithContext adds the context to the all primary homepage sections params

func (*AllPrimaryHomepageSectionsParams) WithDefaults

WithDefaults hydrates default values in the all primary homepage sections params (not the query body).

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

func (*AllPrimaryHomepageSectionsParams) WithFields

WithFields adds the fields to the all primary homepage sections params

func (*AllPrimaryHomepageSectionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the all primary homepage sections params

func (*AllPrimaryHomepageSectionsParams) WithTimeout

WithTimeout adds the timeout to the all primary homepage sections params

func (*AllPrimaryHomepageSectionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AllPrimaryHomepageSectionsReader

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

AllPrimaryHomepageSectionsReader is a Reader for the AllPrimaryHomepageSections structure.

func (*AllPrimaryHomepageSectionsReader) ReadResponse

func (o *AllPrimaryHomepageSectionsReader) 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 homepage API

func (*Client) AllHomepageItems

func (a *Client) AllHomepageItems(params *AllHomepageItemsParams, opts ...ClientOption) (*AllHomepageItemsOK, error)

AllHomepageItems gets all homepage items

### Get information about all homepage items.

func (*Client) AllHomepageSections

func (a *Client) AllHomepageSections(params *AllHomepageSectionsParams, opts ...ClientOption) (*AllHomepageSectionsOK, error)

AllHomepageSections gets all homepage sections

### Get information about all homepage sections.

func (*Client) AllHomepages

func (a *Client) AllHomepages(params *AllHomepagesParams, opts ...ClientOption) (*AllHomepagesOK, error)

AllHomepages gets all homepages

### Get information about all homepages.

func (*Client) AllPrimaryHomepageSections

func (a *Client) AllPrimaryHomepageSections(params *AllPrimaryHomepageSectionsParams, opts ...ClientOption) (*AllPrimaryHomepageSectionsOK, error)

AllPrimaryHomepageSections gets all primary homepage sections

### Get information about the primary homepage's sections.

func (*Client) CreateHomepage

func (a *Client) CreateHomepage(params *CreateHomepageParams, opts ...ClientOption) (*CreateHomepageOK, error)

CreateHomepage creates homepage

### Create a new homepage.

func (*Client) CreateHomepageItem

func (a *Client) CreateHomepageItem(params *CreateHomepageItemParams, opts ...ClientOption) (*CreateHomepageItemOK, error)

CreateHomepageItem creates homepage item

### Create a new homepage item.

func (*Client) CreateHomepageSection

func (a *Client) CreateHomepageSection(params *CreateHomepageSectionParams, opts ...ClientOption) (*CreateHomepageSectionOK, error)

CreateHomepageSection creates homepage section

### Create a new homepage section.

func (*Client) DeleteHomepage

func (a *Client) DeleteHomepage(params *DeleteHomepageParams, opts ...ClientOption) (*DeleteHomepageNoContent, error)

DeleteHomepage deletes homepage

### Delete a homepage.

func (*Client) DeleteHomepageItem

func (a *Client) DeleteHomepageItem(params *DeleteHomepageItemParams, opts ...ClientOption) (*DeleteHomepageItemNoContent, error)

DeleteHomepageItem deletes homepage item

### Delete a homepage item.

func (*Client) DeleteHomepageSection

func (a *Client) DeleteHomepageSection(params *DeleteHomepageSectionParams, opts ...ClientOption) (*DeleteHomepageSectionNoContent, error)

DeleteHomepageSection deletes homepage section

### Delete a homepage section.

func (*Client) Homepage

func (a *Client) Homepage(params *HomepageParams, opts ...ClientOption) (*HomepageOK, error)

Homepage gets homepage

### Get information about a homepage.

func (*Client) HomepageItem

func (a *Client) HomepageItem(params *HomepageItemParams, opts ...ClientOption) (*HomepageItemOK, error)

HomepageItem gets homepage item

### Get information about a homepage item.

func (*Client) HomepageSection

func (a *Client) HomepageSection(params *HomepageSectionParams, opts ...ClientOption) (*HomepageSectionOK, error)

HomepageSection gets homepage section

### Get information about a homepage section.

func (*Client) SearchHomepages

func (a *Client) SearchHomepages(params *SearchHomepagesParams, opts ...ClientOption) (*SearchHomepagesOK, error)
SearchHomepages searches homepages

### Search Homepages

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) UpdateHomepage

func (a *Client) UpdateHomepage(params *UpdateHomepageParams, opts ...ClientOption) (*UpdateHomepageOK, error)

UpdateHomepage updates homepage

### Update a homepage definition.

func (*Client) UpdateHomepageItem

func (a *Client) UpdateHomepageItem(params *UpdateHomepageItemParams, opts ...ClientOption) (*UpdateHomepageItemOK, error)

UpdateHomepageItem updates homepage item

### Update a homepage item definition.

func (*Client) UpdateHomepageSection

func (a *Client) UpdateHomepageSection(params *UpdateHomepageSectionParams, opts ...ClientOption) (*UpdateHomepageSectionOK, error)

UpdateHomepageSection updates homepage section

### Update a homepage section definition.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AllHomepageItems(params *AllHomepageItemsParams, opts ...ClientOption) (*AllHomepageItemsOK, error)

	AllHomepageSections(params *AllHomepageSectionsParams, opts ...ClientOption) (*AllHomepageSectionsOK, error)

	AllHomepages(params *AllHomepagesParams, opts ...ClientOption) (*AllHomepagesOK, error)

	AllPrimaryHomepageSections(params *AllPrimaryHomepageSectionsParams, opts ...ClientOption) (*AllPrimaryHomepageSectionsOK, error)

	CreateHomepage(params *CreateHomepageParams, opts ...ClientOption) (*CreateHomepageOK, error)

	CreateHomepageItem(params *CreateHomepageItemParams, opts ...ClientOption) (*CreateHomepageItemOK, error)

	CreateHomepageSection(params *CreateHomepageSectionParams, opts ...ClientOption) (*CreateHomepageSectionOK, error)

	DeleteHomepage(params *DeleteHomepageParams, opts ...ClientOption) (*DeleteHomepageNoContent, error)

	DeleteHomepageItem(params *DeleteHomepageItemParams, opts ...ClientOption) (*DeleteHomepageItemNoContent, error)

	DeleteHomepageSection(params *DeleteHomepageSectionParams, opts ...ClientOption) (*DeleteHomepageSectionNoContent, error)

	Homepage(params *HomepageParams, opts ...ClientOption) (*HomepageOK, error)

	HomepageItem(params *HomepageItemParams, opts ...ClientOption) (*HomepageItemOK, error)

	HomepageSection(params *HomepageSectionParams, opts ...ClientOption) (*HomepageSectionOK, error)

	SearchHomepages(params *SearchHomepagesParams, opts ...ClientOption) (*SearchHomepagesOK, error)

	UpdateHomepage(params *UpdateHomepageParams, opts ...ClientOption) (*UpdateHomepageOK, error)

	UpdateHomepageItem(params *UpdateHomepageItemParams, opts ...ClientOption) (*UpdateHomepageItemOK, error)

	UpdateHomepageSection(params *UpdateHomepageSectionParams, opts ...ClientOption) (*UpdateHomepageSectionOK, 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 homepage API client.

type CreateHomepageBadRequest

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

Bad Request

func NewCreateHomepageBadRequest

func NewCreateHomepageBadRequest() *CreateHomepageBadRequest

NewCreateHomepageBadRequest creates a CreateHomepageBadRequest with default headers values

func (*CreateHomepageBadRequest) Error

func (o *CreateHomepageBadRequest) Error() string

func (*CreateHomepageBadRequest) GetPayload

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

type CreateHomepageConflict

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

Resource Already Exists

func NewCreateHomepageConflict

func NewCreateHomepageConflict() *CreateHomepageConflict

NewCreateHomepageConflict creates a CreateHomepageConflict with default headers values

func (*CreateHomepageConflict) Error

func (o *CreateHomepageConflict) Error() string

func (*CreateHomepageConflict) GetPayload

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

type CreateHomepageItemBadRequest

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

Bad Request

func NewCreateHomepageItemBadRequest

func NewCreateHomepageItemBadRequest() *CreateHomepageItemBadRequest

NewCreateHomepageItemBadRequest creates a CreateHomepageItemBadRequest with default headers values

func (*CreateHomepageItemBadRequest) Error

func (*CreateHomepageItemBadRequest) GetPayload

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

type CreateHomepageItemConflict

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

Resource Already Exists

func NewCreateHomepageItemConflict

func NewCreateHomepageItemConflict() *CreateHomepageItemConflict

NewCreateHomepageItemConflict creates a CreateHomepageItemConflict with default headers values

func (*CreateHomepageItemConflict) Error

func (*CreateHomepageItemConflict) GetPayload

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

type CreateHomepageItemNotFound

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

Not Found

func NewCreateHomepageItemNotFound

func NewCreateHomepageItemNotFound() *CreateHomepageItemNotFound

NewCreateHomepageItemNotFound creates a CreateHomepageItemNotFound with default headers values

func (*CreateHomepageItemNotFound) Error

func (*CreateHomepageItemNotFound) GetPayload

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

type CreateHomepageItemOK

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

Homepage Item

func NewCreateHomepageItemOK

func NewCreateHomepageItemOK() *CreateHomepageItemOK

NewCreateHomepageItemOK creates a CreateHomepageItemOK with default headers values

func (*CreateHomepageItemOK) Error

func (o *CreateHomepageItemOK) Error() string

func (*CreateHomepageItemOK) GetPayload

func (o *CreateHomepageItemOK) GetPayload() *models.HomepageItem

type CreateHomepageItemParams

type CreateHomepageItemParams struct {

	/* Body.

	   Homepage Item
	*/
	Body *models.HomepageItem

	/* Fields.

	   Requested fields.
	*/
	Fields *string

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

CreateHomepageItemParams contains all the parameters to send to the API endpoint

for the create homepage item operation.

Typically these are written to a http.Request.

func NewCreateHomepageItemParams

func NewCreateHomepageItemParams() *CreateHomepageItemParams

NewCreateHomepageItemParams creates a new CreateHomepageItemParams 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 NewCreateHomepageItemParamsWithContext

func NewCreateHomepageItemParamsWithContext(ctx context.Context) *CreateHomepageItemParams

NewCreateHomepageItemParamsWithContext creates a new CreateHomepageItemParams object with the ability to set a context for a request.

func NewCreateHomepageItemParamsWithHTTPClient

func NewCreateHomepageItemParamsWithHTTPClient(client *http.Client) *CreateHomepageItemParams

NewCreateHomepageItemParamsWithHTTPClient creates a new CreateHomepageItemParams object with the ability to set a custom HTTPClient for a request.

func NewCreateHomepageItemParamsWithTimeout

func NewCreateHomepageItemParamsWithTimeout(timeout time.Duration) *CreateHomepageItemParams

NewCreateHomepageItemParamsWithTimeout creates a new CreateHomepageItemParams object with the ability to set a timeout on a request.

func (*CreateHomepageItemParams) SetBody

func (o *CreateHomepageItemParams) SetBody(body *models.HomepageItem)

SetBody adds the body to the create homepage item params

func (*CreateHomepageItemParams) SetContext

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

SetContext adds the context to the create homepage item params

func (*CreateHomepageItemParams) SetDefaults

func (o *CreateHomepageItemParams) SetDefaults()

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

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

func (*CreateHomepageItemParams) SetFields

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

SetFields adds the fields to the create homepage item params

func (*CreateHomepageItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create homepage item params

func (*CreateHomepageItemParams) SetTimeout

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

SetTimeout adds the timeout to the create homepage item params

func (*CreateHomepageItemParams) WithBody

WithBody adds the body to the create homepage item params

func (*CreateHomepageItemParams) WithContext

WithContext adds the context to the create homepage item params

func (*CreateHomepageItemParams) WithDefaults

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

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

func (*CreateHomepageItemParams) WithFields

WithFields adds the fields to the create homepage item params

func (*CreateHomepageItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create homepage item params

func (*CreateHomepageItemParams) WithTimeout

WithTimeout adds the timeout to the create homepage item params

func (*CreateHomepageItemParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateHomepageItemReader

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

CreateHomepageItemReader is a Reader for the CreateHomepageItem structure.

func (*CreateHomepageItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateHomepageItemTooManyRequests

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

Too Many Requests

func NewCreateHomepageItemTooManyRequests

func NewCreateHomepageItemTooManyRequests() *CreateHomepageItemTooManyRequests

NewCreateHomepageItemTooManyRequests creates a CreateHomepageItemTooManyRequests with default headers values

func (*CreateHomepageItemTooManyRequests) Error

func (*CreateHomepageItemTooManyRequests) GetPayload

type CreateHomepageItemUnprocessableEntity

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

Validation Error

func NewCreateHomepageItemUnprocessableEntity

func NewCreateHomepageItemUnprocessableEntity() *CreateHomepageItemUnprocessableEntity

NewCreateHomepageItemUnprocessableEntity creates a CreateHomepageItemUnprocessableEntity with default headers values

func (*CreateHomepageItemUnprocessableEntity) Error

func (*CreateHomepageItemUnprocessableEntity) GetPayload

type CreateHomepageNotFound

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

Not Found

func NewCreateHomepageNotFound

func NewCreateHomepageNotFound() *CreateHomepageNotFound

NewCreateHomepageNotFound creates a CreateHomepageNotFound with default headers values

func (*CreateHomepageNotFound) Error

func (o *CreateHomepageNotFound) Error() string

func (*CreateHomepageNotFound) GetPayload

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

type CreateHomepageOK

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

Homepage

func NewCreateHomepageOK

func NewCreateHomepageOK() *CreateHomepageOK

NewCreateHomepageOK creates a CreateHomepageOK with default headers values

func (*CreateHomepageOK) Error

func (o *CreateHomepageOK) Error() string

func (*CreateHomepageOK) GetPayload

func (o *CreateHomepageOK) GetPayload() *models.Homepage

type CreateHomepageParams

type CreateHomepageParams struct {

	/* Body.

	   Homepage
	*/
	Body *models.Homepage

	/* Fields.

	   Requested fields.
	*/
	Fields *string

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

CreateHomepageParams contains all the parameters to send to the API endpoint

for the create homepage operation.

Typically these are written to a http.Request.

func NewCreateHomepageParams

func NewCreateHomepageParams() *CreateHomepageParams

NewCreateHomepageParams creates a new CreateHomepageParams 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 NewCreateHomepageParamsWithContext

func NewCreateHomepageParamsWithContext(ctx context.Context) *CreateHomepageParams

NewCreateHomepageParamsWithContext creates a new CreateHomepageParams object with the ability to set a context for a request.

func NewCreateHomepageParamsWithHTTPClient

func NewCreateHomepageParamsWithHTTPClient(client *http.Client) *CreateHomepageParams

NewCreateHomepageParamsWithHTTPClient creates a new CreateHomepageParams object with the ability to set a custom HTTPClient for a request.

func NewCreateHomepageParamsWithTimeout

func NewCreateHomepageParamsWithTimeout(timeout time.Duration) *CreateHomepageParams

NewCreateHomepageParamsWithTimeout creates a new CreateHomepageParams object with the ability to set a timeout on a request.

func (*CreateHomepageParams) SetBody

func (o *CreateHomepageParams) SetBody(body *models.Homepage)

SetBody adds the body to the create homepage params

func (*CreateHomepageParams) SetContext

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

SetContext adds the context to the create homepage params

func (*CreateHomepageParams) SetDefaults

func (o *CreateHomepageParams) SetDefaults()

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

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

func (*CreateHomepageParams) SetFields

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

SetFields adds the fields to the create homepage params

func (*CreateHomepageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create homepage params

func (*CreateHomepageParams) SetTimeout

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

SetTimeout adds the timeout to the create homepage params

func (*CreateHomepageParams) WithBody

WithBody adds the body to the create homepage params

func (*CreateHomepageParams) WithContext

WithContext adds the context to the create homepage params

func (*CreateHomepageParams) WithDefaults

func (o *CreateHomepageParams) WithDefaults() *CreateHomepageParams

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

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

func (*CreateHomepageParams) WithFields

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

WithFields adds the fields to the create homepage params

func (*CreateHomepageParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create homepage params

func (*CreateHomepageParams) WithTimeout

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

WithTimeout adds the timeout to the create homepage params

func (*CreateHomepageParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateHomepageReader

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

CreateHomepageReader is a Reader for the CreateHomepage structure.

func (*CreateHomepageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateHomepageSectionBadRequest

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

Bad Request

func NewCreateHomepageSectionBadRequest

func NewCreateHomepageSectionBadRequest() *CreateHomepageSectionBadRequest

NewCreateHomepageSectionBadRequest creates a CreateHomepageSectionBadRequest with default headers values

func (*CreateHomepageSectionBadRequest) Error

func (*CreateHomepageSectionBadRequest) GetPayload

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

type CreateHomepageSectionConflict

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

Resource Already Exists

func NewCreateHomepageSectionConflict

func NewCreateHomepageSectionConflict() *CreateHomepageSectionConflict

NewCreateHomepageSectionConflict creates a CreateHomepageSectionConflict with default headers values

func (*CreateHomepageSectionConflict) Error

func (*CreateHomepageSectionConflict) GetPayload

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

type CreateHomepageSectionNotFound

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

Not Found

func NewCreateHomepageSectionNotFound

func NewCreateHomepageSectionNotFound() *CreateHomepageSectionNotFound

NewCreateHomepageSectionNotFound creates a CreateHomepageSectionNotFound with default headers values

func (*CreateHomepageSectionNotFound) Error

func (*CreateHomepageSectionNotFound) GetPayload

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

type CreateHomepageSectionOK

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

Homepage section

func NewCreateHomepageSectionOK

func NewCreateHomepageSectionOK() *CreateHomepageSectionOK

NewCreateHomepageSectionOK creates a CreateHomepageSectionOK with default headers values

func (*CreateHomepageSectionOK) Error

func (o *CreateHomepageSectionOK) Error() string

func (*CreateHomepageSectionOK) GetPayload

type CreateHomepageSectionParams

type CreateHomepageSectionParams struct {

	/* Body.

	   Homepage section
	*/
	Body *models.HomepageSection

	/* Fields.

	   Requested fields.
	*/
	Fields *string

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

CreateHomepageSectionParams contains all the parameters to send to the API endpoint

for the create homepage section operation.

Typically these are written to a http.Request.

func NewCreateHomepageSectionParams

func NewCreateHomepageSectionParams() *CreateHomepageSectionParams

NewCreateHomepageSectionParams creates a new CreateHomepageSectionParams 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 NewCreateHomepageSectionParamsWithContext

func NewCreateHomepageSectionParamsWithContext(ctx context.Context) *CreateHomepageSectionParams

NewCreateHomepageSectionParamsWithContext creates a new CreateHomepageSectionParams object with the ability to set a context for a request.

func NewCreateHomepageSectionParamsWithHTTPClient

func NewCreateHomepageSectionParamsWithHTTPClient(client *http.Client) *CreateHomepageSectionParams

NewCreateHomepageSectionParamsWithHTTPClient creates a new CreateHomepageSectionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateHomepageSectionParamsWithTimeout

func NewCreateHomepageSectionParamsWithTimeout(timeout time.Duration) *CreateHomepageSectionParams

NewCreateHomepageSectionParamsWithTimeout creates a new CreateHomepageSectionParams object with the ability to set a timeout on a request.

func (*CreateHomepageSectionParams) SetBody

SetBody adds the body to the create homepage section params

func (*CreateHomepageSectionParams) SetContext

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

SetContext adds the context to the create homepage section params

func (*CreateHomepageSectionParams) SetDefaults

func (o *CreateHomepageSectionParams) SetDefaults()

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

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

func (*CreateHomepageSectionParams) SetFields

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

SetFields adds the fields to the create homepage section params

func (*CreateHomepageSectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create homepage section params

func (*CreateHomepageSectionParams) SetTimeout

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

SetTimeout adds the timeout to the create homepage section params

func (*CreateHomepageSectionParams) WithBody

WithBody adds the body to the create homepage section params

func (*CreateHomepageSectionParams) WithContext

WithContext adds the context to the create homepage section params

func (*CreateHomepageSectionParams) WithDefaults

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

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

func (*CreateHomepageSectionParams) WithFields

WithFields adds the fields to the create homepage section params

func (*CreateHomepageSectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create homepage section params

func (*CreateHomepageSectionParams) WithTimeout

WithTimeout adds the timeout to the create homepage section params

func (*CreateHomepageSectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateHomepageSectionReader

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

CreateHomepageSectionReader is a Reader for the CreateHomepageSection structure.

func (*CreateHomepageSectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateHomepageSectionTooManyRequests

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

Too Many Requests

func NewCreateHomepageSectionTooManyRequests

func NewCreateHomepageSectionTooManyRequests() *CreateHomepageSectionTooManyRequests

NewCreateHomepageSectionTooManyRequests creates a CreateHomepageSectionTooManyRequests with default headers values

func (*CreateHomepageSectionTooManyRequests) Error

func (*CreateHomepageSectionTooManyRequests) GetPayload

type CreateHomepageSectionUnprocessableEntity

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

Validation Error

func NewCreateHomepageSectionUnprocessableEntity

func NewCreateHomepageSectionUnprocessableEntity() *CreateHomepageSectionUnprocessableEntity

NewCreateHomepageSectionUnprocessableEntity creates a CreateHomepageSectionUnprocessableEntity with default headers values

func (*CreateHomepageSectionUnprocessableEntity) Error

func (*CreateHomepageSectionUnprocessableEntity) GetPayload

type CreateHomepageTooManyRequests

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

Too Many Requests

func NewCreateHomepageTooManyRequests

func NewCreateHomepageTooManyRequests() *CreateHomepageTooManyRequests

NewCreateHomepageTooManyRequests creates a CreateHomepageTooManyRequests with default headers values

func (*CreateHomepageTooManyRequests) Error

func (*CreateHomepageTooManyRequests) GetPayload

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

type CreateHomepageUnprocessableEntity

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

Validation Error

func NewCreateHomepageUnprocessableEntity

func NewCreateHomepageUnprocessableEntity() *CreateHomepageUnprocessableEntity

NewCreateHomepageUnprocessableEntity creates a CreateHomepageUnprocessableEntity with default headers values

func (*CreateHomepageUnprocessableEntity) Error

func (*CreateHomepageUnprocessableEntity) GetPayload

type DeleteHomepageBadRequest

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

Bad Request

func NewDeleteHomepageBadRequest

func NewDeleteHomepageBadRequest() *DeleteHomepageBadRequest

NewDeleteHomepageBadRequest creates a DeleteHomepageBadRequest with default headers values

func (*DeleteHomepageBadRequest) Error

func (o *DeleteHomepageBadRequest) Error() string

func (*DeleteHomepageBadRequest) GetPayload

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

type DeleteHomepageItemBadRequest

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

Bad Request

func NewDeleteHomepageItemBadRequest

func NewDeleteHomepageItemBadRequest() *DeleteHomepageItemBadRequest

NewDeleteHomepageItemBadRequest creates a DeleteHomepageItemBadRequest with default headers values

func (*DeleteHomepageItemBadRequest) Error

func (*DeleteHomepageItemBadRequest) GetPayload

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

type DeleteHomepageItemNoContent

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

Successfully deleted.

func NewDeleteHomepageItemNoContent

func NewDeleteHomepageItemNoContent() *DeleteHomepageItemNoContent

NewDeleteHomepageItemNoContent creates a DeleteHomepageItemNoContent with default headers values

func (*DeleteHomepageItemNoContent) Error

func (*DeleteHomepageItemNoContent) GetPayload

func (o *DeleteHomepageItemNoContent) GetPayload() string

type DeleteHomepageItemNotFound

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

Not Found

func NewDeleteHomepageItemNotFound

func NewDeleteHomepageItemNotFound() *DeleteHomepageItemNotFound

NewDeleteHomepageItemNotFound creates a DeleteHomepageItemNotFound with default headers values

func (*DeleteHomepageItemNotFound) Error

func (*DeleteHomepageItemNotFound) GetPayload

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

type DeleteHomepageItemParams

type DeleteHomepageItemParams struct {

	/* HomepageItemID.

	   Id of homepage_item

	   Format: int64
	*/
	HomepageItemID int64

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

DeleteHomepageItemParams contains all the parameters to send to the API endpoint

for the delete homepage item operation.

Typically these are written to a http.Request.

func NewDeleteHomepageItemParams

func NewDeleteHomepageItemParams() *DeleteHomepageItemParams

NewDeleteHomepageItemParams creates a new DeleteHomepageItemParams 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 NewDeleteHomepageItemParamsWithContext

func NewDeleteHomepageItemParamsWithContext(ctx context.Context) *DeleteHomepageItemParams

NewDeleteHomepageItemParamsWithContext creates a new DeleteHomepageItemParams object with the ability to set a context for a request.

func NewDeleteHomepageItemParamsWithHTTPClient

func NewDeleteHomepageItemParamsWithHTTPClient(client *http.Client) *DeleteHomepageItemParams

NewDeleteHomepageItemParamsWithHTTPClient creates a new DeleteHomepageItemParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteHomepageItemParamsWithTimeout

func NewDeleteHomepageItemParamsWithTimeout(timeout time.Duration) *DeleteHomepageItemParams

NewDeleteHomepageItemParamsWithTimeout creates a new DeleteHomepageItemParams object with the ability to set a timeout on a request.

func (*DeleteHomepageItemParams) SetContext

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

SetContext adds the context to the delete homepage item params

func (*DeleteHomepageItemParams) SetDefaults

func (o *DeleteHomepageItemParams) SetDefaults()

SetDefaults hydrates default values in the delete homepage item params (not the query body).

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

func (*DeleteHomepageItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete homepage item params

func (*DeleteHomepageItemParams) SetHomepageItemID

func (o *DeleteHomepageItemParams) SetHomepageItemID(homepageItemID int64)

SetHomepageItemID adds the homepageItemId to the delete homepage item params

func (*DeleteHomepageItemParams) SetTimeout

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

SetTimeout adds the timeout to the delete homepage item params

func (*DeleteHomepageItemParams) WithContext

WithContext adds the context to the delete homepage item params

func (*DeleteHomepageItemParams) WithDefaults

WithDefaults hydrates default values in the delete homepage item params (not the query body).

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

func (*DeleteHomepageItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete homepage item params

func (*DeleteHomepageItemParams) WithHomepageItemID

func (o *DeleteHomepageItemParams) WithHomepageItemID(homepageItemID int64) *DeleteHomepageItemParams

WithHomepageItemID adds the homepageItemID to the delete homepage item params

func (*DeleteHomepageItemParams) WithTimeout

WithTimeout adds the timeout to the delete homepage item params

func (*DeleteHomepageItemParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteHomepageItemReader

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

DeleteHomepageItemReader is a Reader for the DeleteHomepageItem structure.

func (*DeleteHomepageItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteHomepageItemTooManyRequests

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

Too Many Requests

func NewDeleteHomepageItemTooManyRequests

func NewDeleteHomepageItemTooManyRequests() *DeleteHomepageItemTooManyRequests

NewDeleteHomepageItemTooManyRequests creates a DeleteHomepageItemTooManyRequests with default headers values

func (*DeleteHomepageItemTooManyRequests) Error

func (*DeleteHomepageItemTooManyRequests) GetPayload

type DeleteHomepageNoContent

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

Successfully deleted.

func NewDeleteHomepageNoContent

func NewDeleteHomepageNoContent() *DeleteHomepageNoContent

NewDeleteHomepageNoContent creates a DeleteHomepageNoContent with default headers values

func (*DeleteHomepageNoContent) Error

func (o *DeleteHomepageNoContent) Error() string

func (*DeleteHomepageNoContent) GetPayload

func (o *DeleteHomepageNoContent) GetPayload() string

type DeleteHomepageNotFound

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

Not Found

func NewDeleteHomepageNotFound

func NewDeleteHomepageNotFound() *DeleteHomepageNotFound

NewDeleteHomepageNotFound creates a DeleteHomepageNotFound with default headers values

func (*DeleteHomepageNotFound) Error

func (o *DeleteHomepageNotFound) Error() string

func (*DeleteHomepageNotFound) GetPayload

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

type DeleteHomepageParams

type DeleteHomepageParams struct {

	/* HomepageID.

	   Id of homepage

	   Format: int64
	*/
	HomepageID int64

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

DeleteHomepageParams contains all the parameters to send to the API endpoint

for the delete homepage operation.

Typically these are written to a http.Request.

func NewDeleteHomepageParams

func NewDeleteHomepageParams() *DeleteHomepageParams

NewDeleteHomepageParams creates a new DeleteHomepageParams 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 NewDeleteHomepageParamsWithContext

func NewDeleteHomepageParamsWithContext(ctx context.Context) *DeleteHomepageParams

NewDeleteHomepageParamsWithContext creates a new DeleteHomepageParams object with the ability to set a context for a request.

func NewDeleteHomepageParamsWithHTTPClient

func NewDeleteHomepageParamsWithHTTPClient(client *http.Client) *DeleteHomepageParams

NewDeleteHomepageParamsWithHTTPClient creates a new DeleteHomepageParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteHomepageParamsWithTimeout

func NewDeleteHomepageParamsWithTimeout(timeout time.Duration) *DeleteHomepageParams

NewDeleteHomepageParamsWithTimeout creates a new DeleteHomepageParams object with the ability to set a timeout on a request.

func (*DeleteHomepageParams) SetContext

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

SetContext adds the context to the delete homepage params

func (*DeleteHomepageParams) SetDefaults

func (o *DeleteHomepageParams) SetDefaults()

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

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

func (*DeleteHomepageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete homepage params

func (*DeleteHomepageParams) SetHomepageID

func (o *DeleteHomepageParams) SetHomepageID(homepageID int64)

SetHomepageID adds the homepageId to the delete homepage params

func (*DeleteHomepageParams) SetTimeout

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

SetTimeout adds the timeout to the delete homepage params

func (*DeleteHomepageParams) WithContext

WithContext adds the context to the delete homepage params

func (*DeleteHomepageParams) WithDefaults

func (o *DeleteHomepageParams) WithDefaults() *DeleteHomepageParams

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

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

func (*DeleteHomepageParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete homepage params

func (*DeleteHomepageParams) WithHomepageID

func (o *DeleteHomepageParams) WithHomepageID(homepageID int64) *DeleteHomepageParams

WithHomepageID adds the homepageID to the delete homepage params

func (*DeleteHomepageParams) WithTimeout

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

WithTimeout adds the timeout to the delete homepage params

func (*DeleteHomepageParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteHomepageReader

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

DeleteHomepageReader is a Reader for the DeleteHomepage structure.

func (*DeleteHomepageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteHomepageSectionBadRequest

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

Bad Request

func NewDeleteHomepageSectionBadRequest

func NewDeleteHomepageSectionBadRequest() *DeleteHomepageSectionBadRequest

NewDeleteHomepageSectionBadRequest creates a DeleteHomepageSectionBadRequest with default headers values

func (*DeleteHomepageSectionBadRequest) Error

func (*DeleteHomepageSectionBadRequest) GetPayload

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

type DeleteHomepageSectionNoContent

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

Successfully deleted.

func NewDeleteHomepageSectionNoContent

func NewDeleteHomepageSectionNoContent() *DeleteHomepageSectionNoContent

NewDeleteHomepageSectionNoContent creates a DeleteHomepageSectionNoContent with default headers values

func (*DeleteHomepageSectionNoContent) Error

func (*DeleteHomepageSectionNoContent) GetPayload

func (o *DeleteHomepageSectionNoContent) GetPayload() string

type DeleteHomepageSectionNotFound

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

Not Found

func NewDeleteHomepageSectionNotFound

func NewDeleteHomepageSectionNotFound() *DeleteHomepageSectionNotFound

NewDeleteHomepageSectionNotFound creates a DeleteHomepageSectionNotFound with default headers values

func (*DeleteHomepageSectionNotFound) Error

func (*DeleteHomepageSectionNotFound) GetPayload

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

type DeleteHomepageSectionParams

type DeleteHomepageSectionParams struct {

	/* HomepageSectionID.

	   Id of homepage_section

	   Format: int64
	*/
	HomepageSectionID int64

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

DeleteHomepageSectionParams contains all the parameters to send to the API endpoint

for the delete homepage section operation.

Typically these are written to a http.Request.

func NewDeleteHomepageSectionParams

func NewDeleteHomepageSectionParams() *DeleteHomepageSectionParams

NewDeleteHomepageSectionParams creates a new DeleteHomepageSectionParams 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 NewDeleteHomepageSectionParamsWithContext

func NewDeleteHomepageSectionParamsWithContext(ctx context.Context) *DeleteHomepageSectionParams

NewDeleteHomepageSectionParamsWithContext creates a new DeleteHomepageSectionParams object with the ability to set a context for a request.

func NewDeleteHomepageSectionParamsWithHTTPClient

func NewDeleteHomepageSectionParamsWithHTTPClient(client *http.Client) *DeleteHomepageSectionParams

NewDeleteHomepageSectionParamsWithHTTPClient creates a new DeleteHomepageSectionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteHomepageSectionParamsWithTimeout

func NewDeleteHomepageSectionParamsWithTimeout(timeout time.Duration) *DeleteHomepageSectionParams

NewDeleteHomepageSectionParamsWithTimeout creates a new DeleteHomepageSectionParams object with the ability to set a timeout on a request.

func (*DeleteHomepageSectionParams) SetContext

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

SetContext adds the context to the delete homepage section params

func (*DeleteHomepageSectionParams) SetDefaults

func (o *DeleteHomepageSectionParams) SetDefaults()

SetDefaults hydrates default values in the delete homepage section params (not the query body).

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

func (*DeleteHomepageSectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete homepage section params

func (*DeleteHomepageSectionParams) SetHomepageSectionID

func (o *DeleteHomepageSectionParams) SetHomepageSectionID(homepageSectionID int64)

SetHomepageSectionID adds the homepageSectionId to the delete homepage section params

func (*DeleteHomepageSectionParams) SetTimeout

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

SetTimeout adds the timeout to the delete homepage section params

func (*DeleteHomepageSectionParams) WithContext

WithContext adds the context to the delete homepage section params

func (*DeleteHomepageSectionParams) WithDefaults

WithDefaults hydrates default values in the delete homepage section params (not the query body).

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

func (*DeleteHomepageSectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete homepage section params

func (*DeleteHomepageSectionParams) WithHomepageSectionID

func (o *DeleteHomepageSectionParams) WithHomepageSectionID(homepageSectionID int64) *DeleteHomepageSectionParams

WithHomepageSectionID adds the homepageSectionID to the delete homepage section params

func (*DeleteHomepageSectionParams) WithTimeout

WithTimeout adds the timeout to the delete homepage section params

func (*DeleteHomepageSectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteHomepageSectionReader

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

DeleteHomepageSectionReader is a Reader for the DeleteHomepageSection structure.

func (*DeleteHomepageSectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteHomepageSectionTooManyRequests

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

Too Many Requests

func NewDeleteHomepageSectionTooManyRequests

func NewDeleteHomepageSectionTooManyRequests() *DeleteHomepageSectionTooManyRequests

NewDeleteHomepageSectionTooManyRequests creates a DeleteHomepageSectionTooManyRequests with default headers values

func (*DeleteHomepageSectionTooManyRequests) Error

func (*DeleteHomepageSectionTooManyRequests) GetPayload

type DeleteHomepageTooManyRequests

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

Too Many Requests

func NewDeleteHomepageTooManyRequests

func NewDeleteHomepageTooManyRequests() *DeleteHomepageTooManyRequests

NewDeleteHomepageTooManyRequests creates a DeleteHomepageTooManyRequests with default headers values

func (*DeleteHomepageTooManyRequests) Error

func (*DeleteHomepageTooManyRequests) GetPayload

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

type HomepageBadRequest

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

Bad Request

func NewHomepageBadRequest

func NewHomepageBadRequest() *HomepageBadRequest

NewHomepageBadRequest creates a HomepageBadRequest with default headers values

func (*HomepageBadRequest) Error

func (o *HomepageBadRequest) Error() string

func (*HomepageBadRequest) GetPayload

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

type HomepageItemBadRequest

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

Bad Request

func NewHomepageItemBadRequest

func NewHomepageItemBadRequest() *HomepageItemBadRequest

NewHomepageItemBadRequest creates a HomepageItemBadRequest with default headers values

func (*HomepageItemBadRequest) Error

func (o *HomepageItemBadRequest) Error() string

func (*HomepageItemBadRequest) GetPayload

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

type HomepageItemNotFound

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

Not Found

func NewHomepageItemNotFound

func NewHomepageItemNotFound() *HomepageItemNotFound

NewHomepageItemNotFound creates a HomepageItemNotFound with default headers values

func (*HomepageItemNotFound) Error

func (o *HomepageItemNotFound) Error() string

func (*HomepageItemNotFound) GetPayload

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

type HomepageItemOK

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

Homepage Item

func NewHomepageItemOK

func NewHomepageItemOK() *HomepageItemOK

NewHomepageItemOK creates a HomepageItemOK with default headers values

func (*HomepageItemOK) Error

func (o *HomepageItemOK) Error() string

func (*HomepageItemOK) GetPayload

func (o *HomepageItemOK) GetPayload() *models.HomepageItem

type HomepageItemParams

type HomepageItemParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* HomepageItemID.

	   Id of homepage item

	   Format: int64
	*/
	HomepageItemID int64

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

HomepageItemParams contains all the parameters to send to the API endpoint

for the homepage item operation.

Typically these are written to a http.Request.

func NewHomepageItemParams

func NewHomepageItemParams() *HomepageItemParams

NewHomepageItemParams creates a new HomepageItemParams 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 NewHomepageItemParamsWithContext

func NewHomepageItemParamsWithContext(ctx context.Context) *HomepageItemParams

NewHomepageItemParamsWithContext creates a new HomepageItemParams object with the ability to set a context for a request.

func NewHomepageItemParamsWithHTTPClient

func NewHomepageItemParamsWithHTTPClient(client *http.Client) *HomepageItemParams

NewHomepageItemParamsWithHTTPClient creates a new HomepageItemParams object with the ability to set a custom HTTPClient for a request.

func NewHomepageItemParamsWithTimeout

func NewHomepageItemParamsWithTimeout(timeout time.Duration) *HomepageItemParams

NewHomepageItemParamsWithTimeout creates a new HomepageItemParams object with the ability to set a timeout on a request.

func (*HomepageItemParams) SetContext

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

SetContext adds the context to the homepage item params

func (*HomepageItemParams) SetDefaults

func (o *HomepageItemParams) SetDefaults()

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

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

func (*HomepageItemParams) SetFields

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

SetFields adds the fields to the homepage item params

func (*HomepageItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the homepage item params

func (*HomepageItemParams) SetHomepageItemID

func (o *HomepageItemParams) SetHomepageItemID(homepageItemID int64)

SetHomepageItemID adds the homepageItemId to the homepage item params

func (*HomepageItemParams) SetTimeout

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

SetTimeout adds the timeout to the homepage item params

func (*HomepageItemParams) WithContext

WithContext adds the context to the homepage item params

func (*HomepageItemParams) WithDefaults

func (o *HomepageItemParams) WithDefaults() *HomepageItemParams

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

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

func (*HomepageItemParams) WithFields

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

WithFields adds the fields to the homepage item params

func (*HomepageItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the homepage item params

func (*HomepageItemParams) WithHomepageItemID

func (o *HomepageItemParams) WithHomepageItemID(homepageItemID int64) *HomepageItemParams

WithHomepageItemID adds the homepageItemID to the homepage item params

func (*HomepageItemParams) WithTimeout

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

WithTimeout adds the timeout to the homepage item params

func (*HomepageItemParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type HomepageItemReader

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

HomepageItemReader is a Reader for the HomepageItem structure.

func (*HomepageItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HomepageNotFound

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

Not Found

func NewHomepageNotFound

func NewHomepageNotFound() *HomepageNotFound

NewHomepageNotFound creates a HomepageNotFound with default headers values

func (*HomepageNotFound) Error

func (o *HomepageNotFound) Error() string

func (*HomepageNotFound) GetPayload

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

type HomepageOK

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

Homepage

func NewHomepageOK

func NewHomepageOK() *HomepageOK

NewHomepageOK creates a HomepageOK with default headers values

func (*HomepageOK) Error

func (o *HomepageOK) Error() string

func (*HomepageOK) GetPayload

func (o *HomepageOK) GetPayload() *models.Homepage

type HomepageParams

type HomepageParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* HomepageID.

	   Id of homepage

	   Format: int64
	*/
	HomepageID int64

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

HomepageParams contains all the parameters to send to the API endpoint

for the homepage operation.

Typically these are written to a http.Request.

func NewHomepageParams

func NewHomepageParams() *HomepageParams

NewHomepageParams creates a new HomepageParams 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 NewHomepageParamsWithContext

func NewHomepageParamsWithContext(ctx context.Context) *HomepageParams

NewHomepageParamsWithContext creates a new HomepageParams object with the ability to set a context for a request.

func NewHomepageParamsWithHTTPClient

func NewHomepageParamsWithHTTPClient(client *http.Client) *HomepageParams

NewHomepageParamsWithHTTPClient creates a new HomepageParams object with the ability to set a custom HTTPClient for a request.

func NewHomepageParamsWithTimeout

func NewHomepageParamsWithTimeout(timeout time.Duration) *HomepageParams

NewHomepageParamsWithTimeout creates a new HomepageParams object with the ability to set a timeout on a request.

func (*HomepageParams) SetContext

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

SetContext adds the context to the homepage params

func (*HomepageParams) SetDefaults

func (o *HomepageParams) SetDefaults()

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

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

func (*HomepageParams) SetFields

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

SetFields adds the fields to the homepage params

func (*HomepageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the homepage params

func (*HomepageParams) SetHomepageID

func (o *HomepageParams) SetHomepageID(homepageID int64)

SetHomepageID adds the homepageId to the homepage params

func (*HomepageParams) SetTimeout

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

SetTimeout adds the timeout to the homepage params

func (*HomepageParams) WithContext

func (o *HomepageParams) WithContext(ctx context.Context) *HomepageParams

WithContext adds the context to the homepage params

func (*HomepageParams) WithDefaults

func (o *HomepageParams) WithDefaults() *HomepageParams

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

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

func (*HomepageParams) WithFields

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

WithFields adds the fields to the homepage params

func (*HomepageParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the homepage params

func (*HomepageParams) WithHomepageID

func (o *HomepageParams) WithHomepageID(homepageID int64) *HomepageParams

WithHomepageID adds the homepageID to the homepage params

func (*HomepageParams) WithTimeout

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

WithTimeout adds the timeout to the homepage params

func (*HomepageParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type HomepageReader

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

HomepageReader is a Reader for the Homepage structure.

func (*HomepageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HomepageSectionBadRequest

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

Bad Request

func NewHomepageSectionBadRequest

func NewHomepageSectionBadRequest() *HomepageSectionBadRequest

NewHomepageSectionBadRequest creates a HomepageSectionBadRequest with default headers values

func (*HomepageSectionBadRequest) Error

func (o *HomepageSectionBadRequest) Error() string

func (*HomepageSectionBadRequest) GetPayload

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

type HomepageSectionNotFound

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

Not Found

func NewHomepageSectionNotFound

func NewHomepageSectionNotFound() *HomepageSectionNotFound

NewHomepageSectionNotFound creates a HomepageSectionNotFound with default headers values

func (*HomepageSectionNotFound) Error

func (o *HomepageSectionNotFound) Error() string

func (*HomepageSectionNotFound) GetPayload

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

type HomepageSectionOK

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

Homepage section

func NewHomepageSectionOK

func NewHomepageSectionOK() *HomepageSectionOK

NewHomepageSectionOK creates a HomepageSectionOK with default headers values

func (*HomepageSectionOK) Error

func (o *HomepageSectionOK) Error() string

func (*HomepageSectionOK) GetPayload

func (o *HomepageSectionOK) GetPayload() *models.HomepageSection

type HomepageSectionParams

type HomepageSectionParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* HomepageSectionID.

	   Id of homepage section

	   Format: int64
	*/
	HomepageSectionID int64

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

HomepageSectionParams contains all the parameters to send to the API endpoint

for the homepage section operation.

Typically these are written to a http.Request.

func NewHomepageSectionParams

func NewHomepageSectionParams() *HomepageSectionParams

NewHomepageSectionParams creates a new HomepageSectionParams 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 NewHomepageSectionParamsWithContext

func NewHomepageSectionParamsWithContext(ctx context.Context) *HomepageSectionParams

NewHomepageSectionParamsWithContext creates a new HomepageSectionParams object with the ability to set a context for a request.

func NewHomepageSectionParamsWithHTTPClient

func NewHomepageSectionParamsWithHTTPClient(client *http.Client) *HomepageSectionParams

NewHomepageSectionParamsWithHTTPClient creates a new HomepageSectionParams object with the ability to set a custom HTTPClient for a request.

func NewHomepageSectionParamsWithTimeout

func NewHomepageSectionParamsWithTimeout(timeout time.Duration) *HomepageSectionParams

NewHomepageSectionParamsWithTimeout creates a new HomepageSectionParams object with the ability to set a timeout on a request.

func (*HomepageSectionParams) SetContext

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

SetContext adds the context to the homepage section params

func (*HomepageSectionParams) SetDefaults

func (o *HomepageSectionParams) SetDefaults()

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

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

func (*HomepageSectionParams) SetFields

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

SetFields adds the fields to the homepage section params

func (*HomepageSectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the homepage section params

func (*HomepageSectionParams) SetHomepageSectionID

func (o *HomepageSectionParams) SetHomepageSectionID(homepageSectionID int64)

SetHomepageSectionID adds the homepageSectionId to the homepage section params

func (*HomepageSectionParams) SetTimeout

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

SetTimeout adds the timeout to the homepage section params

func (*HomepageSectionParams) WithContext

WithContext adds the context to the homepage section params

func (*HomepageSectionParams) WithDefaults

func (o *HomepageSectionParams) WithDefaults() *HomepageSectionParams

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

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

func (*HomepageSectionParams) WithFields

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

WithFields adds the fields to the homepage section params

func (*HomepageSectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the homepage section params

func (*HomepageSectionParams) WithHomepageSectionID

func (o *HomepageSectionParams) WithHomepageSectionID(homepageSectionID int64) *HomepageSectionParams

WithHomepageSectionID adds the homepageSectionID to the homepage section params

func (*HomepageSectionParams) WithTimeout

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

WithTimeout adds the timeout to the homepage section params

func (*HomepageSectionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type HomepageSectionReader

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

HomepageSectionReader is a Reader for the HomepageSection structure.

func (*HomepageSectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchHomepagesBadRequest

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

Bad Request

func NewSearchHomepagesBadRequest

func NewSearchHomepagesBadRequest() *SearchHomepagesBadRequest

NewSearchHomepagesBadRequest creates a SearchHomepagesBadRequest with default headers values

func (*SearchHomepagesBadRequest) Error

func (o *SearchHomepagesBadRequest) Error() string

func (*SearchHomepagesBadRequest) GetPayload

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

type SearchHomepagesNotFound

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

Not Found

func NewSearchHomepagesNotFound

func NewSearchHomepagesNotFound() *SearchHomepagesNotFound

NewSearchHomepagesNotFound creates a SearchHomepagesNotFound with default headers values

func (*SearchHomepagesNotFound) Error

func (o *SearchHomepagesNotFound) Error() string

func (*SearchHomepagesNotFound) GetPayload

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

type SearchHomepagesOK

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

homepages

func NewSearchHomepagesOK

func NewSearchHomepagesOK() *SearchHomepagesOK

NewSearchHomepagesOK creates a SearchHomepagesOK with default headers values

func (*SearchHomepagesOK) Error

func (o *SearchHomepagesOK) Error() string

func (*SearchHomepagesOK) GetPayload

func (o *SearchHomepagesOK) GetPayload() []*models.Homepage

type SearchHomepagesParams

type SearchHomepagesParams struct {

	/* CreatedAt.

	   Matches the timestamp for when the homepage was created.
	*/
	CreatedAt *string

	/* CreatorID.

	   Filter on homepages created by a particular user.
	*/
	CreatorID *string

	/* Favorited.

	   Return favorited homepages when true.
	*/
	Favorited *bool

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* FilterOr.

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

	/* FirstName.

	   The first name of the user who created this homepage.
	*/
	FirstName *string

	/* LastName.

	   The last name of the user who created this homepage.
	*/
	LastName *string

	/* Limit.

	   The maximum number of items to return. (used with offset and takes priority over page and per_page)

	   Format: int64
	*/
	Limit *int64

	/* Offset.

	   The number of items to skip before returning any. (used with limit and takes priority over page and per_page)

	   Format: int64
	*/
	Offset *int64

	/* Page.

	   The page to return.

	   Format: int64
	*/
	Page *int64

	/* PerPage.

	   The number of items in the returned page.

	   Format: int64
	*/
	PerPage *int64

	/* Sorts.

	   The fields to sort the results by.
	*/
	Sorts *string

	/* Title.

	   Matches homepage title.
	*/
	Title *string

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

SearchHomepagesParams contains all the parameters to send to the API endpoint

for the search homepages operation.

Typically these are written to a http.Request.

func NewSearchHomepagesParams

func NewSearchHomepagesParams() *SearchHomepagesParams

NewSearchHomepagesParams creates a new SearchHomepagesParams 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 NewSearchHomepagesParamsWithContext

func NewSearchHomepagesParamsWithContext(ctx context.Context) *SearchHomepagesParams

NewSearchHomepagesParamsWithContext creates a new SearchHomepagesParams object with the ability to set a context for a request.

func NewSearchHomepagesParamsWithHTTPClient

func NewSearchHomepagesParamsWithHTTPClient(client *http.Client) *SearchHomepagesParams

NewSearchHomepagesParamsWithHTTPClient creates a new SearchHomepagesParams object with the ability to set a custom HTTPClient for a request.

func NewSearchHomepagesParamsWithTimeout

func NewSearchHomepagesParamsWithTimeout(timeout time.Duration) *SearchHomepagesParams

NewSearchHomepagesParamsWithTimeout creates a new SearchHomepagesParams object with the ability to set a timeout on a request.

func (*SearchHomepagesParams) SetContext

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

SetContext adds the context to the search homepages params

func (*SearchHomepagesParams) SetCreatedAt

func (o *SearchHomepagesParams) SetCreatedAt(createdAt *string)

SetCreatedAt adds the createdAt to the search homepages params

func (*SearchHomepagesParams) SetCreatorID

func (o *SearchHomepagesParams) SetCreatorID(creatorID *string)

SetCreatorID adds the creatorId to the search homepages params

func (*SearchHomepagesParams) SetDefaults

func (o *SearchHomepagesParams) SetDefaults()

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

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

func (*SearchHomepagesParams) SetFavorited

func (o *SearchHomepagesParams) SetFavorited(favorited *bool)

SetFavorited adds the favorited to the search homepages params

func (*SearchHomepagesParams) SetFields

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

SetFields adds the fields to the search homepages params

func (*SearchHomepagesParams) SetFilterOr

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

SetFilterOr adds the filterOr to the search homepages params

func (*SearchHomepagesParams) SetFirstName

func (o *SearchHomepagesParams) SetFirstName(firstName *string)

SetFirstName adds the firstName to the search homepages params

func (*SearchHomepagesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search homepages params

func (*SearchHomepagesParams) SetLastName

func (o *SearchHomepagesParams) SetLastName(lastName *string)

SetLastName adds the lastName to the search homepages params

func (*SearchHomepagesParams) SetLimit

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

SetLimit adds the limit to the search homepages params

func (*SearchHomepagesParams) SetOffset

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

SetOffset adds the offset to the search homepages params

func (*SearchHomepagesParams) SetPage

func (o *SearchHomepagesParams) SetPage(page *int64)

SetPage adds the page to the search homepages params

func (*SearchHomepagesParams) SetPerPage

func (o *SearchHomepagesParams) SetPerPage(perPage *int64)

SetPerPage adds the perPage to the search homepages params

func (*SearchHomepagesParams) SetSorts

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

SetSorts adds the sorts to the search homepages params

func (*SearchHomepagesParams) SetTimeout

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

SetTimeout adds the timeout to the search homepages params

func (*SearchHomepagesParams) SetTitle

func (o *SearchHomepagesParams) SetTitle(title *string)

SetTitle adds the title to the search homepages params

func (*SearchHomepagesParams) WithContext

WithContext adds the context to the search homepages params

func (*SearchHomepagesParams) WithCreatedAt

func (o *SearchHomepagesParams) WithCreatedAt(createdAt *string) *SearchHomepagesParams

WithCreatedAt adds the createdAt to the search homepages params

func (*SearchHomepagesParams) WithCreatorID

func (o *SearchHomepagesParams) WithCreatorID(creatorID *string) *SearchHomepagesParams

WithCreatorID adds the creatorID to the search homepages params

func (*SearchHomepagesParams) WithDefaults

func (o *SearchHomepagesParams) WithDefaults() *SearchHomepagesParams

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

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

func (*SearchHomepagesParams) WithFavorited

func (o *SearchHomepagesParams) WithFavorited(favorited *bool) *SearchHomepagesParams

WithFavorited adds the favorited to the search homepages params

func (*SearchHomepagesParams) WithFields

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

WithFields adds the fields to the search homepages params

func (*SearchHomepagesParams) WithFilterOr

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

WithFilterOr adds the filterOr to the search homepages params

func (*SearchHomepagesParams) WithFirstName

func (o *SearchHomepagesParams) WithFirstName(firstName *string) *SearchHomepagesParams

WithFirstName adds the firstName to the search homepages params

func (*SearchHomepagesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search homepages params

func (*SearchHomepagesParams) WithLastName

func (o *SearchHomepagesParams) WithLastName(lastName *string) *SearchHomepagesParams

WithLastName adds the lastName to the search homepages params

func (*SearchHomepagesParams) WithLimit

func (o *SearchHomepagesParams) WithLimit(limit *int64) *SearchHomepagesParams

WithLimit adds the limit to the search homepages params

func (*SearchHomepagesParams) WithOffset

func (o *SearchHomepagesParams) WithOffset(offset *int64) *SearchHomepagesParams

WithOffset adds the offset to the search homepages params

func (*SearchHomepagesParams) WithPage

WithPage adds the page to the search homepages params

func (*SearchHomepagesParams) WithPerPage

func (o *SearchHomepagesParams) WithPerPage(perPage *int64) *SearchHomepagesParams

WithPerPage adds the perPage to the search homepages params

func (*SearchHomepagesParams) WithSorts

func (o *SearchHomepagesParams) WithSorts(sorts *string) *SearchHomepagesParams

WithSorts adds the sorts to the search homepages params

func (*SearchHomepagesParams) WithTimeout

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

WithTimeout adds the timeout to the search homepages params

func (*SearchHomepagesParams) WithTitle

func (o *SearchHomepagesParams) WithTitle(title *string) *SearchHomepagesParams

WithTitle adds the title to the search homepages params

func (*SearchHomepagesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SearchHomepagesReader

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

SearchHomepagesReader is a Reader for the SearchHomepages structure.

func (*SearchHomepagesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateHomepageBadRequest

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

Bad Request

func NewUpdateHomepageBadRequest

func NewUpdateHomepageBadRequest() *UpdateHomepageBadRequest

NewUpdateHomepageBadRequest creates a UpdateHomepageBadRequest with default headers values

func (*UpdateHomepageBadRequest) Error

func (o *UpdateHomepageBadRequest) Error() string

func (*UpdateHomepageBadRequest) GetPayload

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

type UpdateHomepageItemBadRequest

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

Bad Request

func NewUpdateHomepageItemBadRequest

func NewUpdateHomepageItemBadRequest() *UpdateHomepageItemBadRequest

NewUpdateHomepageItemBadRequest creates a UpdateHomepageItemBadRequest with default headers values

func (*UpdateHomepageItemBadRequest) Error

func (*UpdateHomepageItemBadRequest) GetPayload

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

type UpdateHomepageItemNotFound

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

Not Found

func NewUpdateHomepageItemNotFound

func NewUpdateHomepageItemNotFound() *UpdateHomepageItemNotFound

NewUpdateHomepageItemNotFound creates a UpdateHomepageItemNotFound with default headers values

func (*UpdateHomepageItemNotFound) Error

func (*UpdateHomepageItemNotFound) GetPayload

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

type UpdateHomepageItemOK

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

Homepage Item

func NewUpdateHomepageItemOK

func NewUpdateHomepageItemOK() *UpdateHomepageItemOK

NewUpdateHomepageItemOK creates a UpdateHomepageItemOK with default headers values

func (*UpdateHomepageItemOK) Error

func (o *UpdateHomepageItemOK) Error() string

func (*UpdateHomepageItemOK) GetPayload

func (o *UpdateHomepageItemOK) GetPayload() *models.HomepageItem

type UpdateHomepageItemParams

type UpdateHomepageItemParams struct {

	/* Body.

	   Homepage Item
	*/
	Body *models.HomepageItem

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* HomepageItemID.

	   Id of homepage item

	   Format: int64
	*/
	HomepageItemID int64

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

UpdateHomepageItemParams contains all the parameters to send to the API endpoint

for the update homepage item operation.

Typically these are written to a http.Request.

func NewUpdateHomepageItemParams

func NewUpdateHomepageItemParams() *UpdateHomepageItemParams

NewUpdateHomepageItemParams creates a new UpdateHomepageItemParams 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 NewUpdateHomepageItemParamsWithContext

func NewUpdateHomepageItemParamsWithContext(ctx context.Context) *UpdateHomepageItemParams

NewUpdateHomepageItemParamsWithContext creates a new UpdateHomepageItemParams object with the ability to set a context for a request.

func NewUpdateHomepageItemParamsWithHTTPClient

func NewUpdateHomepageItemParamsWithHTTPClient(client *http.Client) *UpdateHomepageItemParams

NewUpdateHomepageItemParamsWithHTTPClient creates a new UpdateHomepageItemParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateHomepageItemParamsWithTimeout

func NewUpdateHomepageItemParamsWithTimeout(timeout time.Duration) *UpdateHomepageItemParams

NewUpdateHomepageItemParamsWithTimeout creates a new UpdateHomepageItemParams object with the ability to set a timeout on a request.

func (*UpdateHomepageItemParams) SetBody

func (o *UpdateHomepageItemParams) SetBody(body *models.HomepageItem)

SetBody adds the body to the update homepage item params

func (*UpdateHomepageItemParams) SetContext

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

SetContext adds the context to the update homepage item params

func (*UpdateHomepageItemParams) SetDefaults

func (o *UpdateHomepageItemParams) SetDefaults()

SetDefaults hydrates default values in the update homepage item params (not the query body).

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

func (*UpdateHomepageItemParams) SetFields

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

SetFields adds the fields to the update homepage item params

func (*UpdateHomepageItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update homepage item params

func (*UpdateHomepageItemParams) SetHomepageItemID

func (o *UpdateHomepageItemParams) SetHomepageItemID(homepageItemID int64)

SetHomepageItemID adds the homepageItemId to the update homepage item params

func (*UpdateHomepageItemParams) SetTimeout

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

SetTimeout adds the timeout to the update homepage item params

func (*UpdateHomepageItemParams) WithBody

WithBody adds the body to the update homepage item params

func (*UpdateHomepageItemParams) WithContext

WithContext adds the context to the update homepage item params

func (*UpdateHomepageItemParams) WithDefaults

WithDefaults hydrates default values in the update homepage item params (not the query body).

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

func (*UpdateHomepageItemParams) WithFields

WithFields adds the fields to the update homepage item params

func (*UpdateHomepageItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update homepage item params

func (*UpdateHomepageItemParams) WithHomepageItemID

func (o *UpdateHomepageItemParams) WithHomepageItemID(homepageItemID int64) *UpdateHomepageItemParams

WithHomepageItemID adds the homepageItemID to the update homepage item params

func (*UpdateHomepageItemParams) WithTimeout

WithTimeout adds the timeout to the update homepage item params

func (*UpdateHomepageItemParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateHomepageItemReader

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

UpdateHomepageItemReader is a Reader for the UpdateHomepageItem structure.

func (*UpdateHomepageItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateHomepageItemTooManyRequests

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

Too Many Requests

func NewUpdateHomepageItemTooManyRequests

func NewUpdateHomepageItemTooManyRequests() *UpdateHomepageItemTooManyRequests

NewUpdateHomepageItemTooManyRequests creates a UpdateHomepageItemTooManyRequests with default headers values

func (*UpdateHomepageItemTooManyRequests) Error

func (*UpdateHomepageItemTooManyRequests) GetPayload

type UpdateHomepageItemUnprocessableEntity

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

Validation Error

func NewUpdateHomepageItemUnprocessableEntity

func NewUpdateHomepageItemUnprocessableEntity() *UpdateHomepageItemUnprocessableEntity

NewUpdateHomepageItemUnprocessableEntity creates a UpdateHomepageItemUnprocessableEntity with default headers values

func (*UpdateHomepageItemUnprocessableEntity) Error

func (*UpdateHomepageItemUnprocessableEntity) GetPayload

type UpdateHomepageNotFound

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

Not Found

func NewUpdateHomepageNotFound

func NewUpdateHomepageNotFound() *UpdateHomepageNotFound

NewUpdateHomepageNotFound creates a UpdateHomepageNotFound with default headers values

func (*UpdateHomepageNotFound) Error

func (o *UpdateHomepageNotFound) Error() string

func (*UpdateHomepageNotFound) GetPayload

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

type UpdateHomepageOK

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

Homepage

func NewUpdateHomepageOK

func NewUpdateHomepageOK() *UpdateHomepageOK

NewUpdateHomepageOK creates a UpdateHomepageOK with default headers values

func (*UpdateHomepageOK) Error

func (o *UpdateHomepageOK) Error() string

func (*UpdateHomepageOK) GetPayload

func (o *UpdateHomepageOK) GetPayload() *models.Homepage

type UpdateHomepageParams

type UpdateHomepageParams struct {

	/* Body.

	   Homepage
	*/
	Body *models.Homepage

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* HomepageID.

	   Id of homepage

	   Format: int64
	*/
	HomepageID int64

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

UpdateHomepageParams contains all the parameters to send to the API endpoint

for the update homepage operation.

Typically these are written to a http.Request.

func NewUpdateHomepageParams

func NewUpdateHomepageParams() *UpdateHomepageParams

NewUpdateHomepageParams creates a new UpdateHomepageParams 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 NewUpdateHomepageParamsWithContext

func NewUpdateHomepageParamsWithContext(ctx context.Context) *UpdateHomepageParams

NewUpdateHomepageParamsWithContext creates a new UpdateHomepageParams object with the ability to set a context for a request.

func NewUpdateHomepageParamsWithHTTPClient

func NewUpdateHomepageParamsWithHTTPClient(client *http.Client) *UpdateHomepageParams

NewUpdateHomepageParamsWithHTTPClient creates a new UpdateHomepageParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateHomepageParamsWithTimeout

func NewUpdateHomepageParamsWithTimeout(timeout time.Duration) *UpdateHomepageParams

NewUpdateHomepageParamsWithTimeout creates a new UpdateHomepageParams object with the ability to set a timeout on a request.

func (*UpdateHomepageParams) SetBody

func (o *UpdateHomepageParams) SetBody(body *models.Homepage)

SetBody adds the body to the update homepage params

func (*UpdateHomepageParams) SetContext

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

SetContext adds the context to the update homepage params

func (*UpdateHomepageParams) SetDefaults

func (o *UpdateHomepageParams) SetDefaults()

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

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

func (*UpdateHomepageParams) SetFields

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

SetFields adds the fields to the update homepage params

func (*UpdateHomepageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update homepage params

func (*UpdateHomepageParams) SetHomepageID

func (o *UpdateHomepageParams) SetHomepageID(homepageID int64)

SetHomepageID adds the homepageId to the update homepage params

func (*UpdateHomepageParams) SetTimeout

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

SetTimeout adds the timeout to the update homepage params

func (*UpdateHomepageParams) WithBody

WithBody adds the body to the update homepage params

func (*UpdateHomepageParams) WithContext

WithContext adds the context to the update homepage params

func (*UpdateHomepageParams) WithDefaults

func (o *UpdateHomepageParams) WithDefaults() *UpdateHomepageParams

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

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

func (*UpdateHomepageParams) WithFields

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

WithFields adds the fields to the update homepage params

func (*UpdateHomepageParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update homepage params

func (*UpdateHomepageParams) WithHomepageID

func (o *UpdateHomepageParams) WithHomepageID(homepageID int64) *UpdateHomepageParams

WithHomepageID adds the homepageID to the update homepage params

func (*UpdateHomepageParams) WithTimeout

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

WithTimeout adds the timeout to the update homepage params

func (*UpdateHomepageParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateHomepageReader

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

UpdateHomepageReader is a Reader for the UpdateHomepage structure.

func (*UpdateHomepageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateHomepageSectionBadRequest

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

Bad Request

func NewUpdateHomepageSectionBadRequest

func NewUpdateHomepageSectionBadRequest() *UpdateHomepageSectionBadRequest

NewUpdateHomepageSectionBadRequest creates a UpdateHomepageSectionBadRequest with default headers values

func (*UpdateHomepageSectionBadRequest) Error

func (*UpdateHomepageSectionBadRequest) GetPayload

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

type UpdateHomepageSectionNotFound

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

Not Found

func NewUpdateHomepageSectionNotFound

func NewUpdateHomepageSectionNotFound() *UpdateHomepageSectionNotFound

NewUpdateHomepageSectionNotFound creates a UpdateHomepageSectionNotFound with default headers values

func (*UpdateHomepageSectionNotFound) Error

func (*UpdateHomepageSectionNotFound) GetPayload

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

type UpdateHomepageSectionOK

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

Homepage section

func NewUpdateHomepageSectionOK

func NewUpdateHomepageSectionOK() *UpdateHomepageSectionOK

NewUpdateHomepageSectionOK creates a UpdateHomepageSectionOK with default headers values

func (*UpdateHomepageSectionOK) Error

func (o *UpdateHomepageSectionOK) Error() string

func (*UpdateHomepageSectionOK) GetPayload

type UpdateHomepageSectionParams

type UpdateHomepageSectionParams struct {

	/* Body.

	   Homepage section
	*/
	Body *models.HomepageSection

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* HomepageSectionID.

	   Id of homepage section

	   Format: int64
	*/
	HomepageSectionID int64

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

UpdateHomepageSectionParams contains all the parameters to send to the API endpoint

for the update homepage section operation.

Typically these are written to a http.Request.

func NewUpdateHomepageSectionParams

func NewUpdateHomepageSectionParams() *UpdateHomepageSectionParams

NewUpdateHomepageSectionParams creates a new UpdateHomepageSectionParams 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 NewUpdateHomepageSectionParamsWithContext

func NewUpdateHomepageSectionParamsWithContext(ctx context.Context) *UpdateHomepageSectionParams

NewUpdateHomepageSectionParamsWithContext creates a new UpdateHomepageSectionParams object with the ability to set a context for a request.

func NewUpdateHomepageSectionParamsWithHTTPClient

func NewUpdateHomepageSectionParamsWithHTTPClient(client *http.Client) *UpdateHomepageSectionParams

NewUpdateHomepageSectionParamsWithHTTPClient creates a new UpdateHomepageSectionParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateHomepageSectionParamsWithTimeout

func NewUpdateHomepageSectionParamsWithTimeout(timeout time.Duration) *UpdateHomepageSectionParams

NewUpdateHomepageSectionParamsWithTimeout creates a new UpdateHomepageSectionParams object with the ability to set a timeout on a request.

func (*UpdateHomepageSectionParams) SetBody

SetBody adds the body to the update homepage section params

func (*UpdateHomepageSectionParams) SetContext

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

SetContext adds the context to the update homepage section params

func (*UpdateHomepageSectionParams) SetDefaults

func (o *UpdateHomepageSectionParams) SetDefaults()

SetDefaults hydrates default values in the update homepage section params (not the query body).

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

func (*UpdateHomepageSectionParams) SetFields

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

SetFields adds the fields to the update homepage section params

func (*UpdateHomepageSectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update homepage section params

func (*UpdateHomepageSectionParams) SetHomepageSectionID

func (o *UpdateHomepageSectionParams) SetHomepageSectionID(homepageSectionID int64)

SetHomepageSectionID adds the homepageSectionId to the update homepage section params

func (*UpdateHomepageSectionParams) SetTimeout

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

SetTimeout adds the timeout to the update homepage section params

func (*UpdateHomepageSectionParams) WithBody

WithBody adds the body to the update homepage section params

func (*UpdateHomepageSectionParams) WithContext

WithContext adds the context to the update homepage section params

func (*UpdateHomepageSectionParams) WithDefaults

WithDefaults hydrates default values in the update homepage section params (not the query body).

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

func (*UpdateHomepageSectionParams) WithFields

WithFields adds the fields to the update homepage section params

func (*UpdateHomepageSectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update homepage section params

func (*UpdateHomepageSectionParams) WithHomepageSectionID

func (o *UpdateHomepageSectionParams) WithHomepageSectionID(homepageSectionID int64) *UpdateHomepageSectionParams

WithHomepageSectionID adds the homepageSectionID to the update homepage section params

func (*UpdateHomepageSectionParams) WithTimeout

WithTimeout adds the timeout to the update homepage section params

func (*UpdateHomepageSectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateHomepageSectionReader

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

UpdateHomepageSectionReader is a Reader for the UpdateHomepageSection structure.

func (*UpdateHomepageSectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateHomepageSectionTooManyRequests

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

Too Many Requests

func NewUpdateHomepageSectionTooManyRequests

func NewUpdateHomepageSectionTooManyRequests() *UpdateHomepageSectionTooManyRequests

NewUpdateHomepageSectionTooManyRequests creates a UpdateHomepageSectionTooManyRequests with default headers values

func (*UpdateHomepageSectionTooManyRequests) Error

func (*UpdateHomepageSectionTooManyRequests) GetPayload

type UpdateHomepageSectionUnprocessableEntity

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

Validation Error

func NewUpdateHomepageSectionUnprocessableEntity

func NewUpdateHomepageSectionUnprocessableEntity() *UpdateHomepageSectionUnprocessableEntity

NewUpdateHomepageSectionUnprocessableEntity creates a UpdateHomepageSectionUnprocessableEntity with default headers values

func (*UpdateHomepageSectionUnprocessableEntity) Error

func (*UpdateHomepageSectionUnprocessableEntity) GetPayload

type UpdateHomepageTooManyRequests

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

Too Many Requests

func NewUpdateHomepageTooManyRequests

func NewUpdateHomepageTooManyRequests() *UpdateHomepageTooManyRequests

NewUpdateHomepageTooManyRequests creates a UpdateHomepageTooManyRequests with default headers values

func (*UpdateHomepageTooManyRequests) Error

func (*UpdateHomepageTooManyRequests) GetPayload

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

type UpdateHomepageUnprocessableEntity

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

Validation Error

func NewUpdateHomepageUnprocessableEntity

func NewUpdateHomepageUnprocessableEntity() *UpdateHomepageUnprocessableEntity

NewUpdateHomepageUnprocessableEntity creates a UpdateHomepageUnprocessableEntity with default headers values

func (*UpdateHomepageUnprocessableEntity) Error

func (*UpdateHomepageUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

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