Documentation
¶
Index ¶
- type AllHomepageItemsBadRequest
- type AllHomepageItemsNotFound
- type AllHomepageItemsOK
- type AllHomepageItemsParams
- func NewAllHomepageItemsParams() *AllHomepageItemsParams
- func NewAllHomepageItemsParamsWithContext(ctx context.Context) *AllHomepageItemsParams
- func NewAllHomepageItemsParamsWithHTTPClient(client *http.Client) *AllHomepageItemsParams
- func NewAllHomepageItemsParamsWithTimeout(timeout time.Duration) *AllHomepageItemsParams
- func (o *AllHomepageItemsParams) SetContext(ctx context.Context)
- func (o *AllHomepageItemsParams) SetFields(fields *string)
- func (o *AllHomepageItemsParams) SetHTTPClient(client *http.Client)
- func (o *AllHomepageItemsParams) SetHomepageSectionID(homepageSectionID *string)
- func (o *AllHomepageItemsParams) SetSorts(sorts *string)
- func (o *AllHomepageItemsParams) SetTimeout(timeout time.Duration)
- func (o *AllHomepageItemsParams) WithContext(ctx context.Context) *AllHomepageItemsParams
- func (o *AllHomepageItemsParams) WithFields(fields *string) *AllHomepageItemsParams
- func (o *AllHomepageItemsParams) WithHTTPClient(client *http.Client) *AllHomepageItemsParams
- func (o *AllHomepageItemsParams) WithHomepageSectionID(homepageSectionID *string) *AllHomepageItemsParams
- func (o *AllHomepageItemsParams) WithSorts(sorts *string) *AllHomepageItemsParams
- func (o *AllHomepageItemsParams) WithTimeout(timeout time.Duration) *AllHomepageItemsParams
- func (o *AllHomepageItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllHomepageItemsReader
- type AllHomepageSectionsBadRequest
- type AllHomepageSectionsNotFound
- type AllHomepageSectionsOK
- type AllHomepageSectionsParams
- func NewAllHomepageSectionsParams() *AllHomepageSectionsParams
- func NewAllHomepageSectionsParamsWithContext(ctx context.Context) *AllHomepageSectionsParams
- func NewAllHomepageSectionsParamsWithHTTPClient(client *http.Client) *AllHomepageSectionsParams
- func NewAllHomepageSectionsParamsWithTimeout(timeout time.Duration) *AllHomepageSectionsParams
- func (o *AllHomepageSectionsParams) SetContext(ctx context.Context)
- func (o *AllHomepageSectionsParams) SetFields(fields *string)
- func (o *AllHomepageSectionsParams) SetHTTPClient(client *http.Client)
- func (o *AllHomepageSectionsParams) SetSorts(sorts *string)
- func (o *AllHomepageSectionsParams) SetTimeout(timeout time.Duration)
- func (o *AllHomepageSectionsParams) WithContext(ctx context.Context) *AllHomepageSectionsParams
- func (o *AllHomepageSectionsParams) WithFields(fields *string) *AllHomepageSectionsParams
- func (o *AllHomepageSectionsParams) WithHTTPClient(client *http.Client) *AllHomepageSectionsParams
- func (o *AllHomepageSectionsParams) WithSorts(sorts *string) *AllHomepageSectionsParams
- func (o *AllHomepageSectionsParams) WithTimeout(timeout time.Duration) *AllHomepageSectionsParams
- func (o *AllHomepageSectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllHomepageSectionsReader
- type AllHomepagesBadRequest
- type AllHomepagesNotFound
- type AllHomepagesOK
- type AllHomepagesParams
- func (o *AllHomepagesParams) SetContext(ctx context.Context)
- func (o *AllHomepagesParams) SetFields(fields *string)
- func (o *AllHomepagesParams) SetHTTPClient(client *http.Client)
- func (o *AllHomepagesParams) SetTimeout(timeout time.Duration)
- func (o *AllHomepagesParams) WithContext(ctx context.Context) *AllHomepagesParams
- func (o *AllHomepagesParams) WithFields(fields *string) *AllHomepagesParams
- func (o *AllHomepagesParams) WithHTTPClient(client *http.Client) *AllHomepagesParams
- func (o *AllHomepagesParams) WithTimeout(timeout time.Duration) *AllHomepagesParams
- func (o *AllHomepagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllHomepagesReader
- type Client
- func (a *Client) AllHomepageItems(params *AllHomepageItemsParams) (*AllHomepageItemsOK, error)
- func (a *Client) AllHomepageSections(params *AllHomepageSectionsParams) (*AllHomepageSectionsOK, error)
- func (a *Client) AllHomepages(params *AllHomepagesParams) (*AllHomepagesOK, error)
- func (a *Client) CreateHomepage(params *CreateHomepageParams) (*CreateHomepageOK, error)
- func (a *Client) CreateHomepageItem(params *CreateHomepageItemParams) (*CreateHomepageItemOK, error)
- func (a *Client) CreateHomepageSection(params *CreateHomepageSectionParams) (*CreateHomepageSectionOK, error)
- func (a *Client) DeleteHomepage(params *DeleteHomepageParams) (*DeleteHomepageNoContent, error)
- func (a *Client) DeleteHomepageItem(params *DeleteHomepageItemParams) (*DeleteHomepageItemNoContent, error)
- func (a *Client) DeleteHomepageSection(params *DeleteHomepageSectionParams) (*DeleteHomepageSectionNoContent, error)
- func (a *Client) Homepage(params *HomepageParams) (*HomepageOK, error)
- func (a *Client) HomepageItem(params *HomepageItemParams) (*HomepageItemOK, error)
- func (a *Client) HomepageSection(params *HomepageSectionParams) (*HomepageSectionOK, error)
- func (a *Client) SearchHomepages(params *SearchHomepagesParams) (*SearchHomepagesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateHomepage(params *UpdateHomepageParams) (*UpdateHomepageOK, error)
- func (a *Client) UpdateHomepageItem(params *UpdateHomepageItemParams) (*UpdateHomepageItemOK, error)
- func (a *Client) UpdateHomepageSection(params *UpdateHomepageSectionParams) (*UpdateHomepageSectionOK, error)
- type CreateHomepageBadRequest
- type CreateHomepageConflict
- type CreateHomepageItemBadRequest
- type CreateHomepageItemConflict
- type CreateHomepageItemNotFound
- type CreateHomepageItemOK
- type CreateHomepageItemParams
- func NewCreateHomepageItemParams() *CreateHomepageItemParams
- func NewCreateHomepageItemParamsWithContext(ctx context.Context) *CreateHomepageItemParams
- func NewCreateHomepageItemParamsWithHTTPClient(client *http.Client) *CreateHomepageItemParams
- func NewCreateHomepageItemParamsWithTimeout(timeout time.Duration) *CreateHomepageItemParams
- func (o *CreateHomepageItemParams) SetBody(body *models.HomepageItem)
- func (o *CreateHomepageItemParams) SetContext(ctx context.Context)
- func (o *CreateHomepageItemParams) SetFields(fields *string)
- func (o *CreateHomepageItemParams) SetHTTPClient(client *http.Client)
- func (o *CreateHomepageItemParams) SetTimeout(timeout time.Duration)
- func (o *CreateHomepageItemParams) WithBody(body *models.HomepageItem) *CreateHomepageItemParams
- func (o *CreateHomepageItemParams) WithContext(ctx context.Context) *CreateHomepageItemParams
- func (o *CreateHomepageItemParams) WithFields(fields *string) *CreateHomepageItemParams
- func (o *CreateHomepageItemParams) WithHTTPClient(client *http.Client) *CreateHomepageItemParams
- func (o *CreateHomepageItemParams) WithTimeout(timeout time.Duration) *CreateHomepageItemParams
- func (o *CreateHomepageItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateHomepageItemReader
- type CreateHomepageItemUnprocessableEntity
- type CreateHomepageNotFound
- type CreateHomepageOK
- type CreateHomepageParams
- func NewCreateHomepageParams() *CreateHomepageParams
- func NewCreateHomepageParamsWithContext(ctx context.Context) *CreateHomepageParams
- func NewCreateHomepageParamsWithHTTPClient(client *http.Client) *CreateHomepageParams
- func NewCreateHomepageParamsWithTimeout(timeout time.Duration) *CreateHomepageParams
- func (o *CreateHomepageParams) SetBody(body *models.Homepage)
- func (o *CreateHomepageParams) SetContext(ctx context.Context)
- func (o *CreateHomepageParams) SetFields(fields *string)
- func (o *CreateHomepageParams) SetHTTPClient(client *http.Client)
- func (o *CreateHomepageParams) SetTimeout(timeout time.Duration)
- func (o *CreateHomepageParams) WithBody(body *models.Homepage) *CreateHomepageParams
- func (o *CreateHomepageParams) WithContext(ctx context.Context) *CreateHomepageParams
- func (o *CreateHomepageParams) WithFields(fields *string) *CreateHomepageParams
- func (o *CreateHomepageParams) WithHTTPClient(client *http.Client) *CreateHomepageParams
- func (o *CreateHomepageParams) WithTimeout(timeout time.Duration) *CreateHomepageParams
- func (o *CreateHomepageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateHomepageReader
- type CreateHomepageSectionBadRequest
- type CreateHomepageSectionConflict
- type CreateHomepageSectionNotFound
- type CreateHomepageSectionOK
- type CreateHomepageSectionParams
- func NewCreateHomepageSectionParams() *CreateHomepageSectionParams
- func NewCreateHomepageSectionParamsWithContext(ctx context.Context) *CreateHomepageSectionParams
- func NewCreateHomepageSectionParamsWithHTTPClient(client *http.Client) *CreateHomepageSectionParams
- func NewCreateHomepageSectionParamsWithTimeout(timeout time.Duration) *CreateHomepageSectionParams
- func (o *CreateHomepageSectionParams) SetBody(body *models.HomepageSection)
- func (o *CreateHomepageSectionParams) SetContext(ctx context.Context)
- func (o *CreateHomepageSectionParams) SetFields(fields *string)
- func (o *CreateHomepageSectionParams) SetHTTPClient(client *http.Client)
- func (o *CreateHomepageSectionParams) SetTimeout(timeout time.Duration)
- func (o *CreateHomepageSectionParams) WithBody(body *models.HomepageSection) *CreateHomepageSectionParams
- func (o *CreateHomepageSectionParams) WithContext(ctx context.Context) *CreateHomepageSectionParams
- func (o *CreateHomepageSectionParams) WithFields(fields *string) *CreateHomepageSectionParams
- func (o *CreateHomepageSectionParams) WithHTTPClient(client *http.Client) *CreateHomepageSectionParams
- func (o *CreateHomepageSectionParams) WithTimeout(timeout time.Duration) *CreateHomepageSectionParams
- func (o *CreateHomepageSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateHomepageSectionReader
- type CreateHomepageSectionUnprocessableEntity
- type CreateHomepageUnprocessableEntity
- type DeleteHomepageBadRequest
- type DeleteHomepageItemBadRequest
- type DeleteHomepageItemNoContent
- type DeleteHomepageItemNotFound
- type DeleteHomepageItemParams
- func NewDeleteHomepageItemParams() *DeleteHomepageItemParams
- func NewDeleteHomepageItemParamsWithContext(ctx context.Context) *DeleteHomepageItemParams
- func NewDeleteHomepageItemParamsWithHTTPClient(client *http.Client) *DeleteHomepageItemParams
- func NewDeleteHomepageItemParamsWithTimeout(timeout time.Duration) *DeleteHomepageItemParams
- func (o *DeleteHomepageItemParams) SetContext(ctx context.Context)
- func (o *DeleteHomepageItemParams) SetHTTPClient(client *http.Client)
- func (o *DeleteHomepageItemParams) SetHomepageItemID(homepageItemID int64)
- func (o *DeleteHomepageItemParams) SetTimeout(timeout time.Duration)
- func (o *DeleteHomepageItemParams) WithContext(ctx context.Context) *DeleteHomepageItemParams
- func (o *DeleteHomepageItemParams) WithHTTPClient(client *http.Client) *DeleteHomepageItemParams
- func (o *DeleteHomepageItemParams) WithHomepageItemID(homepageItemID int64) *DeleteHomepageItemParams
- func (o *DeleteHomepageItemParams) WithTimeout(timeout time.Duration) *DeleteHomepageItemParams
- func (o *DeleteHomepageItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteHomepageItemReader
- type DeleteHomepageNoContent
- type DeleteHomepageNotFound
- type DeleteHomepageParams
- func NewDeleteHomepageParams() *DeleteHomepageParams
- func NewDeleteHomepageParamsWithContext(ctx context.Context) *DeleteHomepageParams
- func NewDeleteHomepageParamsWithHTTPClient(client *http.Client) *DeleteHomepageParams
- func NewDeleteHomepageParamsWithTimeout(timeout time.Duration) *DeleteHomepageParams
- func (o *DeleteHomepageParams) SetContext(ctx context.Context)
- func (o *DeleteHomepageParams) SetHTTPClient(client *http.Client)
- func (o *DeleteHomepageParams) SetHomepageID(homepageID int64)
- func (o *DeleteHomepageParams) SetTimeout(timeout time.Duration)
- func (o *DeleteHomepageParams) WithContext(ctx context.Context) *DeleteHomepageParams
- func (o *DeleteHomepageParams) WithHTTPClient(client *http.Client) *DeleteHomepageParams
- func (o *DeleteHomepageParams) WithHomepageID(homepageID int64) *DeleteHomepageParams
- func (o *DeleteHomepageParams) WithTimeout(timeout time.Duration) *DeleteHomepageParams
- func (o *DeleteHomepageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteHomepageReader
- type DeleteHomepageSectionBadRequest
- type DeleteHomepageSectionNoContent
- type DeleteHomepageSectionNotFound
- type DeleteHomepageSectionParams
- func NewDeleteHomepageSectionParams() *DeleteHomepageSectionParams
- func NewDeleteHomepageSectionParamsWithContext(ctx context.Context) *DeleteHomepageSectionParams
- func NewDeleteHomepageSectionParamsWithHTTPClient(client *http.Client) *DeleteHomepageSectionParams
- func NewDeleteHomepageSectionParamsWithTimeout(timeout time.Duration) *DeleteHomepageSectionParams
- func (o *DeleteHomepageSectionParams) SetContext(ctx context.Context)
- func (o *DeleteHomepageSectionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteHomepageSectionParams) SetHomepageSectionID(homepageSectionID int64)
- func (o *DeleteHomepageSectionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteHomepageSectionParams) WithContext(ctx context.Context) *DeleteHomepageSectionParams
- func (o *DeleteHomepageSectionParams) WithHTTPClient(client *http.Client) *DeleteHomepageSectionParams
- func (o *DeleteHomepageSectionParams) WithHomepageSectionID(homepageSectionID int64) *DeleteHomepageSectionParams
- func (o *DeleteHomepageSectionParams) WithTimeout(timeout time.Duration) *DeleteHomepageSectionParams
- func (o *DeleteHomepageSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteHomepageSectionReader
- type HomepageBadRequest
- type HomepageItemBadRequest
- type HomepageItemNotFound
- type HomepageItemOK
- type HomepageItemParams
- func (o *HomepageItemParams) SetContext(ctx context.Context)
- func (o *HomepageItemParams) SetFields(fields *string)
- func (o *HomepageItemParams) SetHTTPClient(client *http.Client)
- func (o *HomepageItemParams) SetHomepageItemID(homepageItemID int64)
- func (o *HomepageItemParams) SetTimeout(timeout time.Duration)
- func (o *HomepageItemParams) WithContext(ctx context.Context) *HomepageItemParams
- func (o *HomepageItemParams) WithFields(fields *string) *HomepageItemParams
- func (o *HomepageItemParams) WithHTTPClient(client *http.Client) *HomepageItemParams
- func (o *HomepageItemParams) WithHomepageItemID(homepageItemID int64) *HomepageItemParams
- func (o *HomepageItemParams) WithTimeout(timeout time.Duration) *HomepageItemParams
- func (o *HomepageItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HomepageItemReader
- type HomepageNotFound
- type HomepageOK
- type HomepageParams
- func (o *HomepageParams) SetContext(ctx context.Context)
- func (o *HomepageParams) SetFields(fields *string)
- func (o *HomepageParams) SetHTTPClient(client *http.Client)
- func (o *HomepageParams) SetHomepageID(homepageID int64)
- func (o *HomepageParams) SetTimeout(timeout time.Duration)
- func (o *HomepageParams) WithContext(ctx context.Context) *HomepageParams
- func (o *HomepageParams) WithFields(fields *string) *HomepageParams
- func (o *HomepageParams) WithHTTPClient(client *http.Client) *HomepageParams
- func (o *HomepageParams) WithHomepageID(homepageID int64) *HomepageParams
- func (o *HomepageParams) WithTimeout(timeout time.Duration) *HomepageParams
- func (o *HomepageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HomepageReader
- type HomepageSectionBadRequest
- type HomepageSectionNotFound
- type HomepageSectionOK
- type HomepageSectionParams
- func NewHomepageSectionParams() *HomepageSectionParams
- func NewHomepageSectionParamsWithContext(ctx context.Context) *HomepageSectionParams
- func NewHomepageSectionParamsWithHTTPClient(client *http.Client) *HomepageSectionParams
- func NewHomepageSectionParamsWithTimeout(timeout time.Duration) *HomepageSectionParams
- func (o *HomepageSectionParams) SetContext(ctx context.Context)
- func (o *HomepageSectionParams) SetFields(fields *string)
- func (o *HomepageSectionParams) SetHTTPClient(client *http.Client)
- func (o *HomepageSectionParams) SetHomepageSectionID(homepageSectionID int64)
- func (o *HomepageSectionParams) SetTimeout(timeout time.Duration)
- func (o *HomepageSectionParams) WithContext(ctx context.Context) *HomepageSectionParams
- func (o *HomepageSectionParams) WithFields(fields *string) *HomepageSectionParams
- func (o *HomepageSectionParams) WithHTTPClient(client *http.Client) *HomepageSectionParams
- func (o *HomepageSectionParams) WithHomepageSectionID(homepageSectionID int64) *HomepageSectionParams
- func (o *HomepageSectionParams) WithTimeout(timeout time.Duration) *HomepageSectionParams
- func (o *HomepageSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HomepageSectionReader
- type SearchHomepagesBadRequest
- type SearchHomepagesNotFound
- type SearchHomepagesOK
- type SearchHomepagesParams
- func NewSearchHomepagesParams() *SearchHomepagesParams
- func NewSearchHomepagesParamsWithContext(ctx context.Context) *SearchHomepagesParams
- func NewSearchHomepagesParamsWithHTTPClient(client *http.Client) *SearchHomepagesParams
- func NewSearchHomepagesParamsWithTimeout(timeout time.Duration) *SearchHomepagesParams
- func (o *SearchHomepagesParams) SetContext(ctx context.Context)
- func (o *SearchHomepagesParams) SetCreatedAt(createdAt *string)
- func (o *SearchHomepagesParams) SetCreatorID(creatorID *string)
- func (o *SearchHomepagesParams) SetFavorited(favorited *bool)
- func (o *SearchHomepagesParams) SetFields(fields *string)
- func (o *SearchHomepagesParams) SetFilterOr(filterOr *bool)
- func (o *SearchHomepagesParams) SetFirstName(firstName *string)
- func (o *SearchHomepagesParams) SetHTTPClient(client *http.Client)
- func (o *SearchHomepagesParams) SetLastName(lastName *string)
- func (o *SearchHomepagesParams) SetLimit(limit *int64)
- func (o *SearchHomepagesParams) SetOffset(offset *int64)
- func (o *SearchHomepagesParams) SetPage(page *int64)
- func (o *SearchHomepagesParams) SetPerPage(perPage *int64)
- func (o *SearchHomepagesParams) SetSorts(sorts *string)
- func (o *SearchHomepagesParams) SetTimeout(timeout time.Duration)
- func (o *SearchHomepagesParams) SetTitle(title *string)
- func (o *SearchHomepagesParams) WithContext(ctx context.Context) *SearchHomepagesParams
- func (o *SearchHomepagesParams) WithCreatedAt(createdAt *string) *SearchHomepagesParams
- func (o *SearchHomepagesParams) WithCreatorID(creatorID *string) *SearchHomepagesParams
- func (o *SearchHomepagesParams) WithFavorited(favorited *bool) *SearchHomepagesParams
- func (o *SearchHomepagesParams) WithFields(fields *string) *SearchHomepagesParams
- func (o *SearchHomepagesParams) WithFilterOr(filterOr *bool) *SearchHomepagesParams
- func (o *SearchHomepagesParams) WithFirstName(firstName *string) *SearchHomepagesParams
- func (o *SearchHomepagesParams) WithHTTPClient(client *http.Client) *SearchHomepagesParams
- func (o *SearchHomepagesParams) WithLastName(lastName *string) *SearchHomepagesParams
- func (o *SearchHomepagesParams) WithLimit(limit *int64) *SearchHomepagesParams
- func (o *SearchHomepagesParams) WithOffset(offset *int64) *SearchHomepagesParams
- func (o *SearchHomepagesParams) WithPage(page *int64) *SearchHomepagesParams
- func (o *SearchHomepagesParams) WithPerPage(perPage *int64) *SearchHomepagesParams
- func (o *SearchHomepagesParams) WithSorts(sorts *string) *SearchHomepagesParams
- func (o *SearchHomepagesParams) WithTimeout(timeout time.Duration) *SearchHomepagesParams
- func (o *SearchHomepagesParams) WithTitle(title *string) *SearchHomepagesParams
- func (o *SearchHomepagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchHomepagesReader
- type UpdateHomepageBadRequest
- type UpdateHomepageItemBadRequest
- type UpdateHomepageItemNotFound
- type UpdateHomepageItemOK
- type UpdateHomepageItemParams
- func NewUpdateHomepageItemParams() *UpdateHomepageItemParams
- func NewUpdateHomepageItemParamsWithContext(ctx context.Context) *UpdateHomepageItemParams
- func NewUpdateHomepageItemParamsWithHTTPClient(client *http.Client) *UpdateHomepageItemParams
- func NewUpdateHomepageItemParamsWithTimeout(timeout time.Duration) *UpdateHomepageItemParams
- func (o *UpdateHomepageItemParams) SetBody(body *models.HomepageItem)
- func (o *UpdateHomepageItemParams) SetContext(ctx context.Context)
- func (o *UpdateHomepageItemParams) SetFields(fields *string)
- func (o *UpdateHomepageItemParams) SetHTTPClient(client *http.Client)
- func (o *UpdateHomepageItemParams) SetHomepageItemID(homepageItemID int64)
- func (o *UpdateHomepageItemParams) SetTimeout(timeout time.Duration)
- func (o *UpdateHomepageItemParams) WithBody(body *models.HomepageItem) *UpdateHomepageItemParams
- func (o *UpdateHomepageItemParams) WithContext(ctx context.Context) *UpdateHomepageItemParams
- func (o *UpdateHomepageItemParams) WithFields(fields *string) *UpdateHomepageItemParams
- func (o *UpdateHomepageItemParams) WithHTTPClient(client *http.Client) *UpdateHomepageItemParams
- func (o *UpdateHomepageItemParams) WithHomepageItemID(homepageItemID int64) *UpdateHomepageItemParams
- func (o *UpdateHomepageItemParams) WithTimeout(timeout time.Duration) *UpdateHomepageItemParams
- func (o *UpdateHomepageItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateHomepageItemReader
- type UpdateHomepageItemUnprocessableEntity
- type UpdateHomepageNotFound
- type UpdateHomepageOK
- type UpdateHomepageParams
- func NewUpdateHomepageParams() *UpdateHomepageParams
- func NewUpdateHomepageParamsWithContext(ctx context.Context) *UpdateHomepageParams
- func NewUpdateHomepageParamsWithHTTPClient(client *http.Client) *UpdateHomepageParams
- func NewUpdateHomepageParamsWithTimeout(timeout time.Duration) *UpdateHomepageParams
- func (o *UpdateHomepageParams) SetBody(body *models.Homepage)
- func (o *UpdateHomepageParams) SetContext(ctx context.Context)
- func (o *UpdateHomepageParams) SetFields(fields *string)
- func (o *UpdateHomepageParams) SetHTTPClient(client *http.Client)
- func (o *UpdateHomepageParams) SetHomepageID(homepageID int64)
- func (o *UpdateHomepageParams) SetTimeout(timeout time.Duration)
- func (o *UpdateHomepageParams) WithBody(body *models.Homepage) *UpdateHomepageParams
- func (o *UpdateHomepageParams) WithContext(ctx context.Context) *UpdateHomepageParams
- func (o *UpdateHomepageParams) WithFields(fields *string) *UpdateHomepageParams
- func (o *UpdateHomepageParams) WithHTTPClient(client *http.Client) *UpdateHomepageParams
- func (o *UpdateHomepageParams) WithHomepageID(homepageID int64) *UpdateHomepageParams
- func (o *UpdateHomepageParams) WithTimeout(timeout time.Duration) *UpdateHomepageParams
- func (o *UpdateHomepageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateHomepageReader
- type UpdateHomepageSectionBadRequest
- type UpdateHomepageSectionNotFound
- type UpdateHomepageSectionOK
- type UpdateHomepageSectionParams
- func NewUpdateHomepageSectionParams() *UpdateHomepageSectionParams
- func NewUpdateHomepageSectionParamsWithContext(ctx context.Context) *UpdateHomepageSectionParams
- func NewUpdateHomepageSectionParamsWithHTTPClient(client *http.Client) *UpdateHomepageSectionParams
- func NewUpdateHomepageSectionParamsWithTimeout(timeout time.Duration) *UpdateHomepageSectionParams
- func (o *UpdateHomepageSectionParams) SetBody(body *models.HomepageSection)
- func (o *UpdateHomepageSectionParams) SetContext(ctx context.Context)
- func (o *UpdateHomepageSectionParams) SetFields(fields *string)
- func (o *UpdateHomepageSectionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateHomepageSectionParams) SetHomepageSectionID(homepageSectionID int64)
- func (o *UpdateHomepageSectionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateHomepageSectionParams) WithBody(body *models.HomepageSection) *UpdateHomepageSectionParams
- func (o *UpdateHomepageSectionParams) WithContext(ctx context.Context) *UpdateHomepageSectionParams
- func (o *UpdateHomepageSectionParams) WithFields(fields *string) *UpdateHomepageSectionParams
- func (o *UpdateHomepageSectionParams) WithHTTPClient(client *http.Client) *UpdateHomepageSectionParams
- func (o *UpdateHomepageSectionParams) WithHomepageSectionID(homepageSectionID int64) *UpdateHomepageSectionParams
- func (o *UpdateHomepageSectionParams) WithTimeout(timeout time.Duration) *UpdateHomepageSectionParams
- func (o *UpdateHomepageSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateHomepageSectionReader
- type UpdateHomepageSectionUnprocessableEntity
- type UpdateHomepageUnprocessableEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllHomepageItemsBadRequest ¶
AllHomepageItemsBadRequest handles this case with default header values.
Bad Request
func NewAllHomepageItemsBadRequest ¶
func NewAllHomepageItemsBadRequest() *AllHomepageItemsBadRequest
NewAllHomepageItemsBadRequest creates a AllHomepageItemsBadRequest with default headers values
func (*AllHomepageItemsBadRequest) Error ¶
func (o *AllHomepageItemsBadRequest) Error() string
func (*AllHomepageItemsBadRequest) GetPayload ¶
func (o *AllHomepageItemsBadRequest) GetPayload() *models.Error
type AllHomepageItemsNotFound ¶
AllHomepageItemsNotFound handles this case 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 handles this case 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 values initialized.
func NewAllHomepageItemsParamsWithContext ¶
func NewAllHomepageItemsParamsWithContext(ctx context.Context) *AllHomepageItemsParams
NewAllHomepageItemsParamsWithContext creates a new AllHomepageItemsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *AllHomepageItemsParams) WithContext(ctx context.Context) *AllHomepageItemsParams
WithContext adds the context to the all homepage items params
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 ¶
func (o *AllHomepageItemsParams) WithSorts(sorts *string) *AllHomepageItemsParams
WithSorts adds the sorts to the all homepage items params
func (*AllHomepageItemsParams) WithTimeout ¶
func (o *AllHomepageItemsParams) WithTimeout(timeout time.Duration) *AllHomepageItemsParams
WithTimeout adds the timeout to the all homepage items params
func (*AllHomepageItemsParams) WriteToRequest ¶
func (o *AllHomepageItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
AllHomepageSectionsBadRequest handles this case with default header values.
Bad Request
func NewAllHomepageSectionsBadRequest ¶
func NewAllHomepageSectionsBadRequest() *AllHomepageSectionsBadRequest
NewAllHomepageSectionsBadRequest creates a AllHomepageSectionsBadRequest with default headers values
func (*AllHomepageSectionsBadRequest) Error ¶
func (o *AllHomepageSectionsBadRequest) Error() string
func (*AllHomepageSectionsBadRequest) GetPayload ¶
func (o *AllHomepageSectionsBadRequest) GetPayload() *models.Error
type AllHomepageSectionsNotFound ¶
AllHomepageSectionsNotFound handles this case with default header values.
Not Found
func NewAllHomepageSectionsNotFound ¶
func NewAllHomepageSectionsNotFound() *AllHomepageSectionsNotFound
NewAllHomepageSectionsNotFound creates a AllHomepageSectionsNotFound with default headers values
func (*AllHomepageSectionsNotFound) Error ¶
func (o *AllHomepageSectionsNotFound) Error() string
func (*AllHomepageSectionsNotFound) GetPayload ¶
func (o *AllHomepageSectionsNotFound) GetPayload() *models.Error
type AllHomepageSectionsOK ¶
type AllHomepageSectionsOK struct {
Payload []*models.HomepageSection
}
AllHomepageSectionsOK handles this case 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 values initialized.
func NewAllHomepageSectionsParamsWithContext ¶
func NewAllHomepageSectionsParamsWithContext(ctx context.Context) *AllHomepageSectionsParams
NewAllHomepageSectionsParamsWithContext creates a new AllHomepageSectionsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *AllHomepageSectionsParams) WithContext(ctx context.Context) *AllHomepageSectionsParams
WithContext adds the context to the all homepage sections params
func (*AllHomepageSectionsParams) WithFields ¶
func (o *AllHomepageSectionsParams) WithFields(fields *string) *AllHomepageSectionsParams
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 ¶
func (o *AllHomepageSectionsParams) WithSorts(sorts *string) *AllHomepageSectionsParams
WithSorts adds the sorts to the all homepage sections params
func (*AllHomepageSectionsParams) WithTimeout ¶
func (o *AllHomepageSectionsParams) WithTimeout(timeout time.Duration) *AllHomepageSectionsParams
WithTimeout adds the timeout to the all homepage sections params
func (*AllHomepageSectionsParams) WriteToRequest ¶
func (o *AllHomepageSectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
AllHomepagesBadRequest handles this case 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 ¶
AllHomepagesNotFound handles this case 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 ¶
AllHomepagesOK handles this case 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 values initialized.
func NewAllHomepagesParamsWithContext ¶
func NewAllHomepagesParamsWithContext(ctx context.Context) *AllHomepagesParams
NewAllHomepagesParamsWithContext creates a new AllHomepagesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *AllHomepagesParams) WithContext(ctx context.Context) *AllHomepagesParams
WithContext adds the context to the all homepages params
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 Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for homepage API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new homepage API client.
func (*Client) AllHomepageItems ¶
func (a *Client) AllHomepageItems(params *AllHomepageItemsParams) (*AllHomepageItemsOK, error)
AllHomepageItems gets all homepage items
### Get information about all homepage items.
func (*Client) AllHomepageSections ¶
func (a *Client) AllHomepageSections(params *AllHomepageSectionsParams) (*AllHomepageSectionsOK, error)
AllHomepageSections gets all homepage sections
### Get information about all homepage sections.
func (*Client) AllHomepages ¶
func (a *Client) AllHomepages(params *AllHomepagesParams) (*AllHomepagesOK, error)
AllHomepages gets all homepages
### Get information about all homepages.
func (*Client) CreateHomepage ¶
func (a *Client) CreateHomepage(params *CreateHomepageParams) (*CreateHomepageOK, error)
CreateHomepage creates homepage
### Create a new homepage.
func (*Client) CreateHomepageItem ¶
func (a *Client) CreateHomepageItem(params *CreateHomepageItemParams) (*CreateHomepageItemOK, error)
CreateHomepageItem creates homepage item
### Create a new homepage item.
func (*Client) CreateHomepageSection ¶
func (a *Client) CreateHomepageSection(params *CreateHomepageSectionParams) (*CreateHomepageSectionOK, error)
CreateHomepageSection creates homepage section
### Create a new homepage section.
func (*Client) DeleteHomepage ¶
func (a *Client) DeleteHomepage(params *DeleteHomepageParams) (*DeleteHomepageNoContent, error)
DeleteHomepage deletes homepage
### Delete a homepage.
func (*Client) DeleteHomepageItem ¶
func (a *Client) DeleteHomepageItem(params *DeleteHomepageItemParams) (*DeleteHomepageItemNoContent, error)
DeleteHomepageItem deletes homepage item
### Delete a homepage item.
func (*Client) DeleteHomepageSection ¶
func (a *Client) DeleteHomepageSection(params *DeleteHomepageSectionParams) (*DeleteHomepageSectionNoContent, error)
DeleteHomepageSection deletes homepage section
### Delete a homepage section.
func (*Client) Homepage ¶
func (a *Client) Homepage(params *HomepageParams) (*HomepageOK, error)
Homepage gets homepage
### Get information about a homepage.
func (*Client) HomepageItem ¶
func (a *Client) HomepageItem(params *HomepageItemParams) (*HomepageItemOK, error)
HomepageItem gets homepage item
### Get information about a homepage item.
func (*Client) HomepageSection ¶
func (a *Client) HomepageSection(params *HomepageSectionParams) (*HomepageSectionOK, error)
HomepageSection gets homepage section
### Get information about a homepage section.
func (*Client) SearchHomepages ¶
func (a *Client) SearchHomepages(params *SearchHomepagesParams) (*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) (*UpdateHomepageOK, error)
UpdateHomepage updates homepage
### Update a homepage definition.
func (*Client) UpdateHomepageItem ¶
func (a *Client) UpdateHomepageItem(params *UpdateHomepageItemParams) (*UpdateHomepageItemOK, error)
UpdateHomepageItem updates homepage item
### Update a homepage item definition.
func (*Client) UpdateHomepageSection ¶
func (a *Client) UpdateHomepageSection(params *UpdateHomepageSectionParams) (*UpdateHomepageSectionOK, error)
UpdateHomepageSection updates homepage section
### Update a homepage section definition.
type CreateHomepageBadRequest ¶
CreateHomepageBadRequest handles this case 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 ¶
CreateHomepageConflict handles this case 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 ¶
CreateHomepageItemBadRequest handles this case with default header values.
Bad Request
func NewCreateHomepageItemBadRequest ¶
func NewCreateHomepageItemBadRequest() *CreateHomepageItemBadRequest
NewCreateHomepageItemBadRequest creates a CreateHomepageItemBadRequest with default headers values
func (*CreateHomepageItemBadRequest) Error ¶
func (o *CreateHomepageItemBadRequest) Error() string
func (*CreateHomepageItemBadRequest) GetPayload ¶
func (o *CreateHomepageItemBadRequest) GetPayload() *models.Error
type CreateHomepageItemConflict ¶
CreateHomepageItemConflict handles this case with default header values.
Resource Already Exists
func NewCreateHomepageItemConflict ¶
func NewCreateHomepageItemConflict() *CreateHomepageItemConflict
NewCreateHomepageItemConflict creates a CreateHomepageItemConflict with default headers values
func (*CreateHomepageItemConflict) Error ¶
func (o *CreateHomepageItemConflict) Error() string
func (*CreateHomepageItemConflict) GetPayload ¶
func (o *CreateHomepageItemConflict) GetPayload() *models.Error
type CreateHomepageItemNotFound ¶
CreateHomepageItemNotFound handles this case with default header values.
Not Found
func NewCreateHomepageItemNotFound ¶
func NewCreateHomepageItemNotFound() *CreateHomepageItemNotFound
NewCreateHomepageItemNotFound creates a CreateHomepageItemNotFound with default headers values
func (*CreateHomepageItemNotFound) Error ¶
func (o *CreateHomepageItemNotFound) Error() string
func (*CreateHomepageItemNotFound) GetPayload ¶
func (o *CreateHomepageItemNotFound) GetPayload() *models.Error
type CreateHomepageItemOK ¶
type CreateHomepageItemOK struct {
Payload *models.HomepageItem
}
CreateHomepageItemOK handles this case 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 values initialized.
func NewCreateHomepageItemParamsWithContext ¶
func NewCreateHomepageItemParamsWithContext(ctx context.Context) *CreateHomepageItemParams
NewCreateHomepageItemParamsWithContext creates a new CreateHomepageItemParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *CreateHomepageItemParams) WithBody(body *models.HomepageItem) *CreateHomepageItemParams
WithBody adds the body to the create homepage item params
func (*CreateHomepageItemParams) WithContext ¶
func (o *CreateHomepageItemParams) WithContext(ctx context.Context) *CreateHomepageItemParams
WithContext adds the context to the create homepage item params
func (*CreateHomepageItemParams) WithFields ¶
func (o *CreateHomepageItemParams) WithFields(fields *string) *CreateHomepageItemParams
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 ¶
func (o *CreateHomepageItemParams) WithTimeout(timeout time.Duration) *CreateHomepageItemParams
WithTimeout adds the timeout to the create homepage item params
func (*CreateHomepageItemParams) WriteToRequest ¶
func (o *CreateHomepageItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 CreateHomepageItemUnprocessableEntity ¶
type CreateHomepageItemUnprocessableEntity struct {
Payload *models.ValidationError
}
CreateHomepageItemUnprocessableEntity handles this case with default header values.
Validation Error
func NewCreateHomepageItemUnprocessableEntity ¶
func NewCreateHomepageItemUnprocessableEntity() *CreateHomepageItemUnprocessableEntity
NewCreateHomepageItemUnprocessableEntity creates a CreateHomepageItemUnprocessableEntity with default headers values
func (*CreateHomepageItemUnprocessableEntity) Error ¶
func (o *CreateHomepageItemUnprocessableEntity) Error() string
func (*CreateHomepageItemUnprocessableEntity) GetPayload ¶
func (o *CreateHomepageItemUnprocessableEntity) GetPayload() *models.ValidationError
type CreateHomepageNotFound ¶
CreateHomepageNotFound handles this case 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 ¶
CreateHomepageOK handles this case 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 values initialized.
func NewCreateHomepageParamsWithContext ¶
func NewCreateHomepageParamsWithContext(ctx context.Context) *CreateHomepageParams
NewCreateHomepageParamsWithContext creates a new CreateHomepageParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *CreateHomepageParams) WithBody(body *models.Homepage) *CreateHomepageParams
WithBody adds the body to the create homepage params
func (*CreateHomepageParams) WithContext ¶
func (o *CreateHomepageParams) WithContext(ctx context.Context) *CreateHomepageParams
WithContext adds the context to the create homepage params
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 ¶
CreateHomepageSectionBadRequest handles this case with default header values.
Bad Request
func NewCreateHomepageSectionBadRequest ¶
func NewCreateHomepageSectionBadRequest() *CreateHomepageSectionBadRequest
NewCreateHomepageSectionBadRequest creates a CreateHomepageSectionBadRequest with default headers values
func (*CreateHomepageSectionBadRequest) Error ¶
func (o *CreateHomepageSectionBadRequest) Error() string
func (*CreateHomepageSectionBadRequest) GetPayload ¶
func (o *CreateHomepageSectionBadRequest) GetPayload() *models.Error
type CreateHomepageSectionConflict ¶
CreateHomepageSectionConflict handles this case with default header values.
Resource Already Exists
func NewCreateHomepageSectionConflict ¶
func NewCreateHomepageSectionConflict() *CreateHomepageSectionConflict
NewCreateHomepageSectionConflict creates a CreateHomepageSectionConflict with default headers values
func (*CreateHomepageSectionConflict) Error ¶
func (o *CreateHomepageSectionConflict) Error() string
func (*CreateHomepageSectionConflict) GetPayload ¶
func (o *CreateHomepageSectionConflict) GetPayload() *models.Error
type CreateHomepageSectionNotFound ¶
CreateHomepageSectionNotFound handles this case with default header values.
Not Found
func NewCreateHomepageSectionNotFound ¶
func NewCreateHomepageSectionNotFound() *CreateHomepageSectionNotFound
NewCreateHomepageSectionNotFound creates a CreateHomepageSectionNotFound with default headers values
func (*CreateHomepageSectionNotFound) Error ¶
func (o *CreateHomepageSectionNotFound) Error() string
func (*CreateHomepageSectionNotFound) GetPayload ¶
func (o *CreateHomepageSectionNotFound) GetPayload() *models.Error
type CreateHomepageSectionOK ¶
type CreateHomepageSectionOK struct {
Payload *models.HomepageSection
}
CreateHomepageSectionOK handles this case 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 ¶
func (o *CreateHomepageSectionOK) GetPayload() *models.HomepageSection
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 values initialized.
func NewCreateHomepageSectionParamsWithContext ¶
func NewCreateHomepageSectionParamsWithContext(ctx context.Context) *CreateHomepageSectionParams
NewCreateHomepageSectionParamsWithContext creates a new CreateHomepageSectionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*CreateHomepageSectionParams) SetBody ¶
func (o *CreateHomepageSectionParams) SetBody(body *models.HomepageSection)
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) 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 ¶
func (o *CreateHomepageSectionParams) WithBody(body *models.HomepageSection) *CreateHomepageSectionParams
WithBody adds the body to the create homepage section params
func (*CreateHomepageSectionParams) WithContext ¶
func (o *CreateHomepageSectionParams) WithContext(ctx context.Context) *CreateHomepageSectionParams
WithContext adds the context to the create homepage section params
func (*CreateHomepageSectionParams) WithFields ¶
func (o *CreateHomepageSectionParams) WithFields(fields *string) *CreateHomepageSectionParams
WithFields adds the fields to the create homepage section params
func (*CreateHomepageSectionParams) WithHTTPClient ¶
func (o *CreateHomepageSectionParams) WithHTTPClient(client *http.Client) *CreateHomepageSectionParams
WithHTTPClient adds the HTTPClient to the create homepage section params
func (*CreateHomepageSectionParams) WithTimeout ¶
func (o *CreateHomepageSectionParams) WithTimeout(timeout time.Duration) *CreateHomepageSectionParams
WithTimeout adds the timeout to the create homepage section params
func (*CreateHomepageSectionParams) WriteToRequest ¶
func (o *CreateHomepageSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 CreateHomepageSectionUnprocessableEntity ¶
type CreateHomepageSectionUnprocessableEntity struct {
Payload *models.ValidationError
}
CreateHomepageSectionUnprocessableEntity handles this case with default header values.
Validation Error
func NewCreateHomepageSectionUnprocessableEntity ¶
func NewCreateHomepageSectionUnprocessableEntity() *CreateHomepageSectionUnprocessableEntity
NewCreateHomepageSectionUnprocessableEntity creates a CreateHomepageSectionUnprocessableEntity with default headers values
func (*CreateHomepageSectionUnprocessableEntity) Error ¶
func (o *CreateHomepageSectionUnprocessableEntity) Error() string
func (*CreateHomepageSectionUnprocessableEntity) GetPayload ¶
func (o *CreateHomepageSectionUnprocessableEntity) GetPayload() *models.ValidationError
type CreateHomepageUnprocessableEntity ¶
type CreateHomepageUnprocessableEntity struct {
Payload *models.ValidationError
}
CreateHomepageUnprocessableEntity handles this case with default header values.
Validation Error
func NewCreateHomepageUnprocessableEntity ¶
func NewCreateHomepageUnprocessableEntity() *CreateHomepageUnprocessableEntity
NewCreateHomepageUnprocessableEntity creates a CreateHomepageUnprocessableEntity with default headers values
func (*CreateHomepageUnprocessableEntity) Error ¶
func (o *CreateHomepageUnprocessableEntity) Error() string
func (*CreateHomepageUnprocessableEntity) GetPayload ¶
func (o *CreateHomepageUnprocessableEntity) GetPayload() *models.ValidationError
type DeleteHomepageBadRequest ¶
DeleteHomepageBadRequest handles this case 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 ¶
DeleteHomepageItemBadRequest handles this case with default header values.
Bad Request
func NewDeleteHomepageItemBadRequest ¶
func NewDeleteHomepageItemBadRequest() *DeleteHomepageItemBadRequest
NewDeleteHomepageItemBadRequest creates a DeleteHomepageItemBadRequest with default headers values
func (*DeleteHomepageItemBadRequest) Error ¶
func (o *DeleteHomepageItemBadRequest) Error() string
func (*DeleteHomepageItemBadRequest) GetPayload ¶
func (o *DeleteHomepageItemBadRequest) GetPayload() *models.Error
type DeleteHomepageItemNoContent ¶
type DeleteHomepageItemNoContent struct {
Payload string
}
DeleteHomepageItemNoContent handles this case with default header values.
Successfully deleted.
func NewDeleteHomepageItemNoContent ¶
func NewDeleteHomepageItemNoContent() *DeleteHomepageItemNoContent
NewDeleteHomepageItemNoContent creates a DeleteHomepageItemNoContent with default headers values
func (*DeleteHomepageItemNoContent) Error ¶
func (o *DeleteHomepageItemNoContent) Error() string
func (*DeleteHomepageItemNoContent) GetPayload ¶
func (o *DeleteHomepageItemNoContent) GetPayload() string
type DeleteHomepageItemNotFound ¶
DeleteHomepageItemNotFound handles this case with default header values.
Not Found
func NewDeleteHomepageItemNotFound ¶
func NewDeleteHomepageItemNotFound() *DeleteHomepageItemNotFound
NewDeleteHomepageItemNotFound creates a DeleteHomepageItemNotFound with default headers values
func (*DeleteHomepageItemNotFound) Error ¶
func (o *DeleteHomepageItemNotFound) Error() string
func (*DeleteHomepageItemNotFound) GetPayload ¶
func (o *DeleteHomepageItemNotFound) GetPayload() *models.Error
type DeleteHomepageItemParams ¶
type DeleteHomepageItemParams struct { /*HomepageItemID Id of homepage_item */ 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 values initialized.
func NewDeleteHomepageItemParamsWithContext ¶
func NewDeleteHomepageItemParamsWithContext(ctx context.Context) *DeleteHomepageItemParams
NewDeleteHomepageItemParamsWithContext creates a new DeleteHomepageItemParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *DeleteHomepageItemParams) WithContext(ctx context.Context) *DeleteHomepageItemParams
WithContext adds the context to the delete homepage item params
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 ¶
func (o *DeleteHomepageItemParams) WithTimeout(timeout time.Duration) *DeleteHomepageItemParams
WithTimeout adds the timeout to the delete homepage item params
func (*DeleteHomepageItemParams) WriteToRequest ¶
func (o *DeleteHomepageItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 DeleteHomepageNoContent ¶
type DeleteHomepageNoContent struct {
Payload string
}
DeleteHomepageNoContent handles this case 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 ¶
DeleteHomepageNotFound handles this case 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 */ 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 values initialized.
func NewDeleteHomepageParamsWithContext ¶
func NewDeleteHomepageParamsWithContext(ctx context.Context) *DeleteHomepageParams
NewDeleteHomepageParamsWithContext creates a new DeleteHomepageParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *DeleteHomepageParams) WithContext(ctx context.Context) *DeleteHomepageParams
WithContext adds the context to the delete homepage params
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 ¶
DeleteHomepageSectionBadRequest handles this case with default header values.
Bad Request
func NewDeleteHomepageSectionBadRequest ¶
func NewDeleteHomepageSectionBadRequest() *DeleteHomepageSectionBadRequest
NewDeleteHomepageSectionBadRequest creates a DeleteHomepageSectionBadRequest with default headers values
func (*DeleteHomepageSectionBadRequest) Error ¶
func (o *DeleteHomepageSectionBadRequest) Error() string
func (*DeleteHomepageSectionBadRequest) GetPayload ¶
func (o *DeleteHomepageSectionBadRequest) GetPayload() *models.Error
type DeleteHomepageSectionNoContent ¶
type DeleteHomepageSectionNoContent struct {
Payload string
}
DeleteHomepageSectionNoContent handles this case with default header values.
Successfully deleted.
func NewDeleteHomepageSectionNoContent ¶
func NewDeleteHomepageSectionNoContent() *DeleteHomepageSectionNoContent
NewDeleteHomepageSectionNoContent creates a DeleteHomepageSectionNoContent with default headers values
func (*DeleteHomepageSectionNoContent) Error ¶
func (o *DeleteHomepageSectionNoContent) Error() string
func (*DeleteHomepageSectionNoContent) GetPayload ¶
func (o *DeleteHomepageSectionNoContent) GetPayload() string
type DeleteHomepageSectionNotFound ¶
DeleteHomepageSectionNotFound handles this case with default header values.
Not Found
func NewDeleteHomepageSectionNotFound ¶
func NewDeleteHomepageSectionNotFound() *DeleteHomepageSectionNotFound
NewDeleteHomepageSectionNotFound creates a DeleteHomepageSectionNotFound with default headers values
func (*DeleteHomepageSectionNotFound) Error ¶
func (o *DeleteHomepageSectionNotFound) Error() string
func (*DeleteHomepageSectionNotFound) GetPayload ¶
func (o *DeleteHomepageSectionNotFound) GetPayload() *models.Error
type DeleteHomepageSectionParams ¶
type DeleteHomepageSectionParams struct { /*HomepageSectionID Id of homepage_section */ 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 values initialized.
func NewDeleteHomepageSectionParamsWithContext ¶
func NewDeleteHomepageSectionParamsWithContext(ctx context.Context) *DeleteHomepageSectionParams
NewDeleteHomepageSectionParamsWithContext creates a new DeleteHomepageSectionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *DeleteHomepageSectionParams) WithContext(ctx context.Context) *DeleteHomepageSectionParams
WithContext adds the context to the delete homepage section params
func (*DeleteHomepageSectionParams) WithHTTPClient ¶
func (o *DeleteHomepageSectionParams) WithHTTPClient(client *http.Client) *DeleteHomepageSectionParams
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 ¶
func (o *DeleteHomepageSectionParams) WithTimeout(timeout time.Duration) *DeleteHomepageSectionParams
WithTimeout adds the timeout to the delete homepage section params
func (*DeleteHomepageSectionParams) WriteToRequest ¶
func (o *DeleteHomepageSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 HomepageBadRequest ¶
HomepageBadRequest handles this case 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 ¶
HomepageItemBadRequest handles this case 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 ¶
HomepageItemNotFound handles this case 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 handles this case 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 */ 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 values initialized.
func NewHomepageItemParamsWithContext ¶
func NewHomepageItemParamsWithContext(ctx context.Context) *HomepageItemParams
NewHomepageItemParamsWithContext creates a new HomepageItemParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *HomepageItemParams) WithContext(ctx context.Context) *HomepageItemParams
WithContext adds the context to the homepage item params
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 ¶
HomepageNotFound handles this case 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 ¶
HomepageOK handles this case 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 */ 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 values initialized.
func NewHomepageParamsWithContext ¶
func NewHomepageParamsWithContext(ctx context.Context) *HomepageParams
NewHomepageParamsWithContext creates a new HomepageParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ¶
HomepageSectionBadRequest handles this case 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 ¶
HomepageSectionNotFound handles this case 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 handles this case 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 */ 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 values initialized.
func NewHomepageSectionParamsWithContext ¶
func NewHomepageSectionParamsWithContext(ctx context.Context) *HomepageSectionParams
NewHomepageSectionParamsWithContext creates a new HomepageSectionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *HomepageSectionParams) WithContext(ctx context.Context) *HomepageSectionParams
WithContext adds the context to the homepage section params
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 ¶
SearchHomepagesBadRequest handles this case 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 ¶
SearchHomepagesNotFound handles this case 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 ¶
SearchHomepagesOK handles this case 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) */ Limit *int64 /*Offset The number of items to skip before returning any. (used with limit and takes priority over page and per_page) */ Offset *int64 /*Page The page to return. */ Page *int64 /*PerPage The number of items in the returned page. */ 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 values initialized.
func NewSearchHomepagesParamsWithContext ¶
func NewSearchHomepagesParamsWithContext(ctx context.Context) *SearchHomepagesParams
NewSearchHomepagesParamsWithContext creates a new SearchHomepagesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *SearchHomepagesParams) WithContext(ctx context.Context) *SearchHomepagesParams
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) 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 ¶
func (o *SearchHomepagesParams) WithPage(page *int64) *SearchHomepagesParams
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 ¶
UpdateHomepageBadRequest handles this case 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 ¶
UpdateHomepageItemBadRequest handles this case with default header values.
Bad Request
func NewUpdateHomepageItemBadRequest ¶
func NewUpdateHomepageItemBadRequest() *UpdateHomepageItemBadRequest
NewUpdateHomepageItemBadRequest creates a UpdateHomepageItemBadRequest with default headers values
func (*UpdateHomepageItemBadRequest) Error ¶
func (o *UpdateHomepageItemBadRequest) Error() string
func (*UpdateHomepageItemBadRequest) GetPayload ¶
func (o *UpdateHomepageItemBadRequest) GetPayload() *models.Error
type UpdateHomepageItemNotFound ¶
UpdateHomepageItemNotFound handles this case with default header values.
Not Found
func NewUpdateHomepageItemNotFound ¶
func NewUpdateHomepageItemNotFound() *UpdateHomepageItemNotFound
NewUpdateHomepageItemNotFound creates a UpdateHomepageItemNotFound with default headers values
func (*UpdateHomepageItemNotFound) Error ¶
func (o *UpdateHomepageItemNotFound) Error() string
func (*UpdateHomepageItemNotFound) GetPayload ¶
func (o *UpdateHomepageItemNotFound) GetPayload() *models.Error
type UpdateHomepageItemOK ¶
type UpdateHomepageItemOK struct {
Payload *models.HomepageItem
}
UpdateHomepageItemOK handles this case 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 */ 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 values initialized.
func NewUpdateHomepageItemParamsWithContext ¶
func NewUpdateHomepageItemParamsWithContext(ctx context.Context) *UpdateHomepageItemParams
NewUpdateHomepageItemParamsWithContext creates a new UpdateHomepageItemParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *UpdateHomepageItemParams) WithBody(body *models.HomepageItem) *UpdateHomepageItemParams
WithBody adds the body to the update homepage item params
func (*UpdateHomepageItemParams) WithContext ¶
func (o *UpdateHomepageItemParams) WithContext(ctx context.Context) *UpdateHomepageItemParams
WithContext adds the context to the update homepage item params
func (*UpdateHomepageItemParams) WithFields ¶
func (o *UpdateHomepageItemParams) WithFields(fields *string) *UpdateHomepageItemParams
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 ¶
func (o *UpdateHomepageItemParams) WithTimeout(timeout time.Duration) *UpdateHomepageItemParams
WithTimeout adds the timeout to the update homepage item params
func (*UpdateHomepageItemParams) WriteToRequest ¶
func (o *UpdateHomepageItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 UpdateHomepageItemUnprocessableEntity ¶
type UpdateHomepageItemUnprocessableEntity struct {
Payload *models.ValidationError
}
UpdateHomepageItemUnprocessableEntity handles this case with default header values.
Validation Error
func NewUpdateHomepageItemUnprocessableEntity ¶
func NewUpdateHomepageItemUnprocessableEntity() *UpdateHomepageItemUnprocessableEntity
NewUpdateHomepageItemUnprocessableEntity creates a UpdateHomepageItemUnprocessableEntity with default headers values
func (*UpdateHomepageItemUnprocessableEntity) Error ¶
func (o *UpdateHomepageItemUnprocessableEntity) Error() string
func (*UpdateHomepageItemUnprocessableEntity) GetPayload ¶
func (o *UpdateHomepageItemUnprocessableEntity) GetPayload() *models.ValidationError
type UpdateHomepageNotFound ¶
UpdateHomepageNotFound handles this case 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 ¶
UpdateHomepageOK handles this case 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 */ 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 values initialized.
func NewUpdateHomepageParamsWithContext ¶
func NewUpdateHomepageParamsWithContext(ctx context.Context) *UpdateHomepageParams
NewUpdateHomepageParamsWithContext creates a new UpdateHomepageParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *UpdateHomepageParams) WithBody(body *models.Homepage) *UpdateHomepageParams
WithBody adds the body to the update homepage params
func (*UpdateHomepageParams) WithContext ¶
func (o *UpdateHomepageParams) WithContext(ctx context.Context) *UpdateHomepageParams
WithContext adds the context to the update homepage params
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 ¶
UpdateHomepageSectionBadRequest handles this case with default header values.
Bad Request
func NewUpdateHomepageSectionBadRequest ¶
func NewUpdateHomepageSectionBadRequest() *UpdateHomepageSectionBadRequest
NewUpdateHomepageSectionBadRequest creates a UpdateHomepageSectionBadRequest with default headers values
func (*UpdateHomepageSectionBadRequest) Error ¶
func (o *UpdateHomepageSectionBadRequest) Error() string
func (*UpdateHomepageSectionBadRequest) GetPayload ¶
func (o *UpdateHomepageSectionBadRequest) GetPayload() *models.Error
type UpdateHomepageSectionNotFound ¶
UpdateHomepageSectionNotFound handles this case with default header values.
Not Found
func NewUpdateHomepageSectionNotFound ¶
func NewUpdateHomepageSectionNotFound() *UpdateHomepageSectionNotFound
NewUpdateHomepageSectionNotFound creates a UpdateHomepageSectionNotFound with default headers values
func (*UpdateHomepageSectionNotFound) Error ¶
func (o *UpdateHomepageSectionNotFound) Error() string
func (*UpdateHomepageSectionNotFound) GetPayload ¶
func (o *UpdateHomepageSectionNotFound) GetPayload() *models.Error
type UpdateHomepageSectionOK ¶
type UpdateHomepageSectionOK struct {
Payload *models.HomepageSection
}
UpdateHomepageSectionOK handles this case 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 ¶
func (o *UpdateHomepageSectionOK) GetPayload() *models.HomepageSection
type UpdateHomepageSectionParams ¶
type UpdateHomepageSectionParams struct { /*Body Homepage section */ Body *models.HomepageSection /*Fields Requested fields. */ Fields *string /*HomepageSectionID Id of homepage section */ 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 values initialized.
func NewUpdateHomepageSectionParamsWithContext ¶
func NewUpdateHomepageSectionParamsWithContext(ctx context.Context) *UpdateHomepageSectionParams
NewUpdateHomepageSectionParamsWithContext creates a new UpdateHomepageSectionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*UpdateHomepageSectionParams) SetBody ¶
func (o *UpdateHomepageSectionParams) SetBody(body *models.HomepageSection)
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) 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 ¶
func (o *UpdateHomepageSectionParams) WithBody(body *models.HomepageSection) *UpdateHomepageSectionParams
WithBody adds the body to the update homepage section params
func (*UpdateHomepageSectionParams) WithContext ¶
func (o *UpdateHomepageSectionParams) WithContext(ctx context.Context) *UpdateHomepageSectionParams
WithContext adds the context to the update homepage section params
func (*UpdateHomepageSectionParams) WithFields ¶
func (o *UpdateHomepageSectionParams) WithFields(fields *string) *UpdateHomepageSectionParams
WithFields adds the fields to the update homepage section params
func (*UpdateHomepageSectionParams) WithHTTPClient ¶
func (o *UpdateHomepageSectionParams) WithHTTPClient(client *http.Client) *UpdateHomepageSectionParams
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 ¶
func (o *UpdateHomepageSectionParams) WithTimeout(timeout time.Duration) *UpdateHomepageSectionParams
WithTimeout adds the timeout to the update homepage section params
func (*UpdateHomepageSectionParams) WriteToRequest ¶
func (o *UpdateHomepageSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 UpdateHomepageSectionUnprocessableEntity ¶
type UpdateHomepageSectionUnprocessableEntity struct {
Payload *models.ValidationError
}
UpdateHomepageSectionUnprocessableEntity handles this case with default header values.
Validation Error
func NewUpdateHomepageSectionUnprocessableEntity ¶
func NewUpdateHomepageSectionUnprocessableEntity() *UpdateHomepageSectionUnprocessableEntity
NewUpdateHomepageSectionUnprocessableEntity creates a UpdateHomepageSectionUnprocessableEntity with default headers values
func (*UpdateHomepageSectionUnprocessableEntity) Error ¶
func (o *UpdateHomepageSectionUnprocessableEntity) Error() string
func (*UpdateHomepageSectionUnprocessableEntity) GetPayload ¶
func (o *UpdateHomepageSectionUnprocessableEntity) GetPayload() *models.ValidationError
type UpdateHomepageUnprocessableEntity ¶
type UpdateHomepageUnprocessableEntity struct {
Payload *models.ValidationError
}
UpdateHomepageUnprocessableEntity handles this case with default header values.
Validation Error
func NewUpdateHomepageUnprocessableEntity ¶
func NewUpdateHomepageUnprocessableEntity() *UpdateHomepageUnprocessableEntity
NewUpdateHomepageUnprocessableEntity creates a UpdateHomepageUnprocessableEntity with default headers values
func (*UpdateHomepageUnprocessableEntity) Error ¶
func (o *UpdateHomepageUnprocessableEntity) Error() string
func (*UpdateHomepageUnprocessableEntity) GetPayload ¶
func (o *UpdateHomepageUnprocessableEntity) GetPayload() *models.ValidationError
Source Files
¶
- all_homepage_items_parameters.go
- all_homepage_items_responses.go
- all_homepage_sections_parameters.go
- all_homepage_sections_responses.go
- all_homepages_parameters.go
- all_homepages_responses.go
- create_homepage_item_parameters.go
- create_homepage_item_responses.go
- create_homepage_parameters.go
- create_homepage_responses.go
- create_homepage_section_parameters.go
- create_homepage_section_responses.go
- delete_homepage_item_parameters.go
- delete_homepage_item_responses.go
- delete_homepage_parameters.go
- delete_homepage_responses.go
- delete_homepage_section_parameters.go
- delete_homepage_section_responses.go
- homepage_client.go
- homepage_item_parameters.go
- homepage_item_responses.go
- homepage_parameters.go
- homepage_responses.go
- homepage_section_parameters.go
- homepage_section_responses.go
- search_homepages_parameters.go
- search_homepages_responses.go
- update_homepage_item_parameters.go
- update_homepage_item_responses.go
- update_homepage_parameters.go
- update_homepage_responses.go
- update_homepage_section_parameters.go
- update_homepage_section_responses.go