operations

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddContactToListBadRequest

type AddContactToListBadRequest struct {
	Payload *models.ErrorModel
}

AddContactToListBadRequest handles this case with default header values.

bad request

func NewAddContactToListBadRequest

func NewAddContactToListBadRequest() *AddContactToListBadRequest

NewAddContactToListBadRequest creates a AddContactToListBadRequest with default headers values

func (*AddContactToListBadRequest) Error

type AddContactToListCreated

type AddContactToListCreated struct {
	Payload *models.PostContactInfo
}

AddContactToListCreated handles this case with default header values.

All contacts have been added successfully to the list with details of failed ones

func NewAddContactToListCreated

func NewAddContactToListCreated() *AddContactToListCreated

NewAddContactToListCreated creates a AddContactToListCreated with default headers values

func (*AddContactToListCreated) Error

func (o *AddContactToListCreated) Error() string

type AddContactToListNotFound

type AddContactToListNotFound struct {
	Payload *models.ErrorModel
}

AddContactToListNotFound handles this case with default header values.

List ID not found

func NewAddContactToListNotFound

func NewAddContactToListNotFound() *AddContactToListNotFound

NewAddContactToListNotFound creates a AddContactToListNotFound with default headers values

func (*AddContactToListNotFound) Error

func (o *AddContactToListNotFound) Error() string

type AddContactToListParams

type AddContactToListParams struct {

	/*ContactEmails
	  Emails addresses of the contacts

	*/
	ContactEmails *models.AddRemoveContactToList
	/*ListID
	  Id of the list

	*/
	ListID int64

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

AddContactToListParams contains all the parameters to send to the API endpoint for the add contact to list operation typically these are written to a http.Request

func NewAddContactToListParams

func NewAddContactToListParams() *AddContactToListParams

NewAddContactToListParams creates a new AddContactToListParams object with the default values initialized.

func NewAddContactToListParamsWithContext

func NewAddContactToListParamsWithContext(ctx context.Context) *AddContactToListParams

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

func NewAddContactToListParamsWithHTTPClient

func NewAddContactToListParamsWithHTTPClient(client *http.Client) *AddContactToListParams

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

func NewAddContactToListParamsWithTimeout

func NewAddContactToListParamsWithTimeout(timeout time.Duration) *AddContactToListParams

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

func (*AddContactToListParams) SetContactEmails

func (o *AddContactToListParams) SetContactEmails(contactEmails *models.AddRemoveContactToList)

SetContactEmails adds the contactEmails to the add contact to list params

func (*AddContactToListParams) SetContext

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

SetContext adds the context to the add contact to list params

func (*AddContactToListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add contact to list params

func (*AddContactToListParams) SetListID

func (o *AddContactToListParams) SetListID(listID int64)

SetListID adds the listId to the add contact to list params

func (*AddContactToListParams) SetTimeout

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

SetTimeout adds the timeout to the add contact to list params

func (*AddContactToListParams) WithContactEmails

func (o *AddContactToListParams) WithContactEmails(contactEmails *models.AddRemoveContactToList) *AddContactToListParams

WithContactEmails adds the contactEmails to the add contact to list params

func (*AddContactToListParams) WithContext

WithContext adds the context to the add contact to list params

func (*AddContactToListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add contact to list params

func (*AddContactToListParams) WithListID

func (o *AddContactToListParams) WithListID(listID int64) *AddContactToListParams

WithListID adds the listID to the add contact to list params

func (*AddContactToListParams) WithTimeout

WithTimeout adds the timeout to the add contact to list params

func (*AddContactToListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddContactToListReader

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

AddContactToListReader is a Reader for the AddContactToList structure.

func (*AddContactToListReader) ReadResponse

func (o *AddContactToListReader) 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 operations API

func New

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

New creates a new operations API client.

func (*Client) AddContactToList

func (a *Client) AddContactToList(params *AddContactToListParams, authInfo runtime.ClientAuthInfoWriter) (*AddContactToListCreated, error)

AddContactToList adds existing contacts to a list

func (*Client) CreateAttribute

func (a *Client) CreateAttribute(params *CreateAttributeParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAttributeCreated, error)

CreateAttribute creates contact attribute

func (*Client) CreateFolder

func (a *Client) CreateFolder(params *CreateFolderParams, authInfo runtime.ClientAuthInfoWriter) (*CreateFolderCreated, error)

CreateFolder creates a folder

func (*Client) CreateList

func (a *Client) CreateList(params *CreateListParams, authInfo runtime.ClientAuthInfoWriter) (*CreateListCreated, error)

CreateList creates a list

func (*Client) DeleteAttribute

func (a *Client) DeleteAttribute(params *DeleteAttributeParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAttributeNoContent, error)

DeleteAttribute deletes an attribute

func (*Client) DeleteFolder

func (a *Client) DeleteFolder(params *DeleteFolderParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteFolderNoContent, error)

DeleteFolder deletes a folder and all its lists

func (*Client) DeleteList

func (a *Client) DeleteList(params *DeleteListParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteListNoContent, error)

DeleteList deletes a list

func (*Client) GetAttributes

func (a *Client) GetAttributes(params *GetAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAttributesOK, error)

GetAttributes lists all attributes

func (*Client) GetContactsFromList

func (a *Client) GetContactsFromList(params *GetContactsFromListParams, authInfo runtime.ClientAuthInfoWriter) (*GetContactsFromListOK, error)

GetContactsFromList gets the contacts in a list

func (*Client) GetFolder

func (a *Client) GetFolder(params *GetFolderParams, authInfo runtime.ClientAuthInfoWriter) (*GetFolderOK, error)

GetFolder returns folder details

func (*Client) GetFolderLists

func (a *Client) GetFolderLists(params *GetFolderListsParams, authInfo runtime.ClientAuthInfoWriter) (*GetFolderListsOK, error)

GetFolderLists gets the lists in a folder

func (*Client) GetFolders

func (a *Client) GetFolders(params *GetFoldersParams, authInfo runtime.ClientAuthInfoWriter) (*GetFoldersOK, error)

GetFolders gets all the folders

func (*Client) GetList

func (a *Client) GetList(params *GetListParams, authInfo runtime.ClientAuthInfoWriter) (*GetListOK, error)

GetList gets the details of a list

func (*Client) GetLists

func (a *Client) GetLists(params *GetListsParams, authInfo runtime.ClientAuthInfoWriter) (*GetListsOK, error)

GetLists gets all the lists

func (*Client) RemoveContactToList

func (a *Client) RemoveContactToList(params *RemoveContactToListParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveContactToListCreated, error)

RemoveContactToList removes existing contacts from a list

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateAttribute added in v1.2.0

func (a *Client) UpdateAttribute(params *UpdateAttributeParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAttributeNoContent, error)

UpdateAttribute updates contact attribute

func (*Client) UpdateFolder

func (a *Client) UpdateFolder(params *UpdateFolderParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateFolderNoContent, error)

UpdateFolder updates a contact folder

func (*Client) UpdateList

func (a *Client) UpdateList(params *UpdateListParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateListNoContent, error)

UpdateList updates a list

type CreateAttributeBadRequest

type CreateAttributeBadRequest struct {
	Payload *models.ErrorModel
}

CreateAttributeBadRequest handles this case with default header values.

bad request

func NewCreateAttributeBadRequest

func NewCreateAttributeBadRequest() *CreateAttributeBadRequest

NewCreateAttributeBadRequest creates a CreateAttributeBadRequest with default headers values

func (*CreateAttributeBadRequest) Error

func (o *CreateAttributeBadRequest) Error() string

type CreateAttributeCreated

type CreateAttributeCreated struct {
}

CreateAttributeCreated handles this case with default header values.

Attribute created

func NewCreateAttributeCreated

func NewCreateAttributeCreated() *CreateAttributeCreated

NewCreateAttributeCreated creates a CreateAttributeCreated with default headers values

func (*CreateAttributeCreated) Error

func (o *CreateAttributeCreated) Error() string

type CreateAttributeParams

type CreateAttributeParams struct {

	/*AttributeCategory
	  Category of the attribute

	*/
	AttributeCategory string
	/*AttributeName
	  Name of the attribute

	*/
	AttributeName string
	/*CreateAttribute
	  Values to create an attribute

	*/
	CreateAttribute *models.CreateAttribute

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

CreateAttributeParams contains all the parameters to send to the API endpoint for the create attribute operation typically these are written to a http.Request

func NewCreateAttributeParams

func NewCreateAttributeParams() *CreateAttributeParams

NewCreateAttributeParams creates a new CreateAttributeParams object with the default values initialized.

func NewCreateAttributeParamsWithContext

func NewCreateAttributeParamsWithContext(ctx context.Context) *CreateAttributeParams

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

func NewCreateAttributeParamsWithHTTPClient

func NewCreateAttributeParamsWithHTTPClient(client *http.Client) *CreateAttributeParams

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

func NewCreateAttributeParamsWithTimeout

func NewCreateAttributeParamsWithTimeout(timeout time.Duration) *CreateAttributeParams

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

func (*CreateAttributeParams) SetAttributeCategory added in v1.2.0

func (o *CreateAttributeParams) SetAttributeCategory(attributeCategory string)

SetAttributeCategory adds the attributeCategory to the create attribute params

func (*CreateAttributeParams) SetAttributeName added in v1.2.0

func (o *CreateAttributeParams) SetAttributeName(attributeName string)

SetAttributeName adds the attributeName to the create attribute params

func (*CreateAttributeParams) SetContext

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

SetContext adds the context to the create attribute params

func (*CreateAttributeParams) SetCreateAttribute

func (o *CreateAttributeParams) SetCreateAttribute(createAttribute *models.CreateAttribute)

SetCreateAttribute adds the createAttribute to the create attribute params

func (*CreateAttributeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create attribute params

func (*CreateAttributeParams) SetTimeout

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

SetTimeout adds the timeout to the create attribute params

func (*CreateAttributeParams) WithAttributeCategory added in v1.2.0

func (o *CreateAttributeParams) WithAttributeCategory(attributeCategory string) *CreateAttributeParams

WithAttributeCategory adds the attributeCategory to the create attribute params

func (*CreateAttributeParams) WithAttributeName added in v1.2.0

func (o *CreateAttributeParams) WithAttributeName(attributeName string) *CreateAttributeParams

WithAttributeName adds the attributeName to the create attribute params

func (*CreateAttributeParams) WithContext

WithContext adds the context to the create attribute params

func (*CreateAttributeParams) WithCreateAttribute

func (o *CreateAttributeParams) WithCreateAttribute(createAttribute *models.CreateAttribute) *CreateAttributeParams

WithCreateAttribute adds the createAttribute to the create attribute params

func (*CreateAttributeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create attribute params

func (*CreateAttributeParams) WithTimeout

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

WithTimeout adds the timeout to the create attribute params

func (*CreateAttributeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateAttributeReader

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

CreateAttributeReader is a Reader for the CreateAttribute structure.

func (*CreateAttributeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateFolderBadRequest

type CreateFolderBadRequest struct {
	Payload *models.ErrorModel
}

CreateFolderBadRequest handles this case with default header values.

bad request

func NewCreateFolderBadRequest

func NewCreateFolderBadRequest() *CreateFolderBadRequest

NewCreateFolderBadRequest creates a CreateFolderBadRequest with default headers values

func (*CreateFolderBadRequest) Error

func (o *CreateFolderBadRequest) Error() string

type CreateFolderCreated

type CreateFolderCreated struct {
	Payload *models.CreateModel
}

CreateFolderCreated handles this case with default header values.

Folder created

func NewCreateFolderCreated

func NewCreateFolderCreated() *CreateFolderCreated

NewCreateFolderCreated creates a CreateFolderCreated with default headers values

func (*CreateFolderCreated) Error

func (o *CreateFolderCreated) Error() string

type CreateFolderParams

type CreateFolderParams struct {

	/*CreateFolder
	  Name of the folder

	*/
	CreateFolder *models.CreateUpdateFolder

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

CreateFolderParams contains all the parameters to send to the API endpoint for the create folder operation typically these are written to a http.Request

func NewCreateFolderParams

func NewCreateFolderParams() *CreateFolderParams

NewCreateFolderParams creates a new CreateFolderParams object with the default values initialized.

func NewCreateFolderParamsWithContext

func NewCreateFolderParamsWithContext(ctx context.Context) *CreateFolderParams

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

func NewCreateFolderParamsWithHTTPClient

func NewCreateFolderParamsWithHTTPClient(client *http.Client) *CreateFolderParams

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

func NewCreateFolderParamsWithTimeout

func NewCreateFolderParamsWithTimeout(timeout time.Duration) *CreateFolderParams

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

func (*CreateFolderParams) SetContext

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

SetContext adds the context to the create folder params

func (*CreateFolderParams) SetCreateFolder

func (o *CreateFolderParams) SetCreateFolder(createFolder *models.CreateUpdateFolder)

SetCreateFolder adds the createFolder to the create folder params

func (*CreateFolderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create folder params

func (*CreateFolderParams) SetTimeout

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

SetTimeout adds the timeout to the create folder params

func (*CreateFolderParams) WithContext

WithContext adds the context to the create folder params

func (*CreateFolderParams) WithCreateFolder

func (o *CreateFolderParams) WithCreateFolder(createFolder *models.CreateUpdateFolder) *CreateFolderParams

WithCreateFolder adds the createFolder to the create folder params

func (*CreateFolderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create folder params

func (*CreateFolderParams) WithTimeout

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

WithTimeout adds the timeout to the create folder params

func (*CreateFolderParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateFolderReader

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

CreateFolderReader is a Reader for the CreateFolder structure.

func (*CreateFolderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateListBadRequest

type CreateListBadRequest struct {
	Payload *models.ErrorModel
}

CreateListBadRequest handles this case with default header values.

bad request

func NewCreateListBadRequest

func NewCreateListBadRequest() *CreateListBadRequest

NewCreateListBadRequest creates a CreateListBadRequest with default headers values

func (*CreateListBadRequest) Error

func (o *CreateListBadRequest) Error() string

type CreateListCreated

type CreateListCreated struct {
	Payload *models.CreateModel
}

CreateListCreated handles this case with default header values.

List created

func NewCreateListCreated

func NewCreateListCreated() *CreateListCreated

NewCreateListCreated creates a CreateListCreated with default headers values

func (*CreateListCreated) Error

func (o *CreateListCreated) Error() string

type CreateListParams

type CreateListParams struct {

	/*CreateList
	  Values to create a list

	*/
	CreateList *models.CreateList

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

CreateListParams contains all the parameters to send to the API endpoint for the create list operation typically these are written to a http.Request

func NewCreateListParams

func NewCreateListParams() *CreateListParams

NewCreateListParams creates a new CreateListParams object with the default values initialized.

func NewCreateListParamsWithContext

func NewCreateListParamsWithContext(ctx context.Context) *CreateListParams

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

func NewCreateListParamsWithHTTPClient

func NewCreateListParamsWithHTTPClient(client *http.Client) *CreateListParams

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

func NewCreateListParamsWithTimeout

func NewCreateListParamsWithTimeout(timeout time.Duration) *CreateListParams

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

func (*CreateListParams) SetContext

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

SetContext adds the context to the create list params

func (*CreateListParams) SetCreateList

func (o *CreateListParams) SetCreateList(createList *models.CreateList)

SetCreateList adds the createList to the create list params

func (*CreateListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create list params

func (*CreateListParams) SetTimeout

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

SetTimeout adds the timeout to the create list params

func (*CreateListParams) WithContext

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

WithContext adds the context to the create list params

func (*CreateListParams) WithCreateList

func (o *CreateListParams) WithCreateList(createList *models.CreateList) *CreateListParams

WithCreateList adds the createList to the create list params

func (*CreateListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create list params

func (*CreateListParams) WithTimeout

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

WithTimeout adds the timeout to the create list params

func (*CreateListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateListReader

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

CreateListReader is a Reader for the CreateList structure.

func (*CreateListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAttributeBadRequest

type DeleteAttributeBadRequest struct {
	Payload *models.ErrorModel
}

DeleteAttributeBadRequest handles this case with default header values.

bad request

func NewDeleteAttributeBadRequest

func NewDeleteAttributeBadRequest() *DeleteAttributeBadRequest

NewDeleteAttributeBadRequest creates a DeleteAttributeBadRequest with default headers values

func (*DeleteAttributeBadRequest) Error

func (o *DeleteAttributeBadRequest) Error() string

type DeleteAttributeNoContent

type DeleteAttributeNoContent struct {
}

DeleteAttributeNoContent handles this case with default header values.

Attribute deleted

func NewDeleteAttributeNoContent

func NewDeleteAttributeNoContent() *DeleteAttributeNoContent

NewDeleteAttributeNoContent creates a DeleteAttributeNoContent with default headers values

func (*DeleteAttributeNoContent) Error

func (o *DeleteAttributeNoContent) Error() string

type DeleteAttributeNotFound

type DeleteAttributeNotFound struct {
	Payload *models.ErrorModel
}

DeleteAttributeNotFound handles this case with default header values.

Attribute not found

func NewDeleteAttributeNotFound

func NewDeleteAttributeNotFound() *DeleteAttributeNotFound

NewDeleteAttributeNotFound creates a DeleteAttributeNotFound with default headers values

func (*DeleteAttributeNotFound) Error

func (o *DeleteAttributeNotFound) Error() string

type DeleteAttributeParams

type DeleteAttributeParams struct {

	/*AttributeCategory
	  Category of the attribute

	*/
	AttributeCategory string
	/*AttributeName
	  Name of the existing attribute

	*/
	AttributeName string

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

DeleteAttributeParams contains all the parameters to send to the API endpoint for the delete attribute operation typically these are written to a http.Request

func NewDeleteAttributeParams

func NewDeleteAttributeParams() *DeleteAttributeParams

NewDeleteAttributeParams creates a new DeleteAttributeParams object with the default values initialized.

func NewDeleteAttributeParamsWithContext

func NewDeleteAttributeParamsWithContext(ctx context.Context) *DeleteAttributeParams

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

func NewDeleteAttributeParamsWithHTTPClient

func NewDeleteAttributeParamsWithHTTPClient(client *http.Client) *DeleteAttributeParams

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

func NewDeleteAttributeParamsWithTimeout

func NewDeleteAttributeParamsWithTimeout(timeout time.Duration) *DeleteAttributeParams

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

func (*DeleteAttributeParams) SetAttributeCategory added in v1.2.0

func (o *DeleteAttributeParams) SetAttributeCategory(attributeCategory string)

SetAttributeCategory adds the attributeCategory to the delete attribute params

func (*DeleteAttributeParams) SetAttributeName added in v1.2.0

func (o *DeleteAttributeParams) SetAttributeName(attributeName string)

SetAttributeName adds the attributeName to the delete attribute params

func (*DeleteAttributeParams) SetContext

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

SetContext adds the context to the delete attribute params

func (*DeleteAttributeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete attribute params

func (*DeleteAttributeParams) SetTimeout

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

SetTimeout adds the timeout to the delete attribute params

func (*DeleteAttributeParams) WithAttributeCategory added in v1.2.0

func (o *DeleteAttributeParams) WithAttributeCategory(attributeCategory string) *DeleteAttributeParams

WithAttributeCategory adds the attributeCategory to the delete attribute params

func (*DeleteAttributeParams) WithAttributeName added in v1.2.0

func (o *DeleteAttributeParams) WithAttributeName(attributeName string) *DeleteAttributeParams

WithAttributeName adds the attributeName to the delete attribute params

func (*DeleteAttributeParams) WithContext

WithContext adds the context to the delete attribute params

func (*DeleteAttributeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete attribute params

func (*DeleteAttributeParams) WithTimeout

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

WithTimeout adds the timeout to the delete attribute params

func (*DeleteAttributeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteAttributeReader

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

DeleteAttributeReader is a Reader for the DeleteAttribute structure.

func (*DeleteAttributeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteFolderBadRequest

type DeleteFolderBadRequest struct {
	Payload *models.ErrorModel
}

DeleteFolderBadRequest handles this case with default header values.

bad request

func NewDeleteFolderBadRequest

func NewDeleteFolderBadRequest() *DeleteFolderBadRequest

NewDeleteFolderBadRequest creates a DeleteFolderBadRequest with default headers values

func (*DeleteFolderBadRequest) Error

func (o *DeleteFolderBadRequest) Error() string

type DeleteFolderNoContent

type DeleteFolderNoContent struct {
}

DeleteFolderNoContent handles this case with default header values.

Folder deleted

func NewDeleteFolderNoContent

func NewDeleteFolderNoContent() *DeleteFolderNoContent

NewDeleteFolderNoContent creates a DeleteFolderNoContent with default headers values

func (*DeleteFolderNoContent) Error

func (o *DeleteFolderNoContent) Error() string

type DeleteFolderNotFound

type DeleteFolderNotFound struct {
	Payload *models.ErrorModel
}

DeleteFolderNotFound handles this case with default header values.

Folder ID not found

func NewDeleteFolderNotFound

func NewDeleteFolderNotFound() *DeleteFolderNotFound

NewDeleteFolderNotFound creates a DeleteFolderNotFound with default headers values

func (*DeleteFolderNotFound) Error

func (o *DeleteFolderNotFound) Error() string

type DeleteFolderParams

type DeleteFolderParams struct {

	/*FolderID
	  Id of the folder

	*/
	FolderID int64

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

DeleteFolderParams contains all the parameters to send to the API endpoint for the delete folder operation typically these are written to a http.Request

func NewDeleteFolderParams

func NewDeleteFolderParams() *DeleteFolderParams

NewDeleteFolderParams creates a new DeleteFolderParams object with the default values initialized.

func NewDeleteFolderParamsWithContext

func NewDeleteFolderParamsWithContext(ctx context.Context) *DeleteFolderParams

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

func NewDeleteFolderParamsWithHTTPClient

func NewDeleteFolderParamsWithHTTPClient(client *http.Client) *DeleteFolderParams

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

func NewDeleteFolderParamsWithTimeout

func NewDeleteFolderParamsWithTimeout(timeout time.Duration) *DeleteFolderParams

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

func (*DeleteFolderParams) SetContext

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

SetContext adds the context to the delete folder params

func (*DeleteFolderParams) SetFolderID

func (o *DeleteFolderParams) SetFolderID(folderID int64)

SetFolderID adds the folderId to the delete folder params

func (*DeleteFolderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete folder params

func (*DeleteFolderParams) SetTimeout

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

SetTimeout adds the timeout to the delete folder params

func (*DeleteFolderParams) WithContext

WithContext adds the context to the delete folder params

func (*DeleteFolderParams) WithFolderID

func (o *DeleteFolderParams) WithFolderID(folderID int64) *DeleteFolderParams

WithFolderID adds the folderID to the delete folder params

func (*DeleteFolderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete folder params

func (*DeleteFolderParams) WithTimeout

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

WithTimeout adds the timeout to the delete folder params

func (*DeleteFolderParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteFolderReader

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

DeleteFolderReader is a Reader for the DeleteFolder structure.

func (*DeleteFolderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteListBadRequest

type DeleteListBadRequest struct {
	Payload *models.ErrorModel
}

DeleteListBadRequest handles this case with default header values.

bad request

func NewDeleteListBadRequest

func NewDeleteListBadRequest() *DeleteListBadRequest

NewDeleteListBadRequest creates a DeleteListBadRequest with default headers values

func (*DeleteListBadRequest) Error

func (o *DeleteListBadRequest) Error() string

type DeleteListNoContent

type DeleteListNoContent struct {
}

DeleteListNoContent handles this case with default header values.

List deleted

func NewDeleteListNoContent

func NewDeleteListNoContent() *DeleteListNoContent

NewDeleteListNoContent creates a DeleteListNoContent with default headers values

func (*DeleteListNoContent) Error

func (o *DeleteListNoContent) Error() string

type DeleteListNotFound

type DeleteListNotFound struct {
	Payload *models.ErrorModel
}

DeleteListNotFound handles this case with default header values.

List ID not found

func NewDeleteListNotFound

func NewDeleteListNotFound() *DeleteListNotFound

NewDeleteListNotFound creates a DeleteListNotFound with default headers values

func (*DeleteListNotFound) Error

func (o *DeleteListNotFound) Error() string

type DeleteListParams

type DeleteListParams struct {

	/*ListID
	  Id of the list

	*/
	ListID int64

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

DeleteListParams contains all the parameters to send to the API endpoint for the delete list operation typically these are written to a http.Request

func NewDeleteListParams

func NewDeleteListParams() *DeleteListParams

NewDeleteListParams creates a new DeleteListParams object with the default values initialized.

func NewDeleteListParamsWithContext

func NewDeleteListParamsWithContext(ctx context.Context) *DeleteListParams

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

func NewDeleteListParamsWithHTTPClient

func NewDeleteListParamsWithHTTPClient(client *http.Client) *DeleteListParams

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

func NewDeleteListParamsWithTimeout

func NewDeleteListParamsWithTimeout(timeout time.Duration) *DeleteListParams

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

func (*DeleteListParams) SetContext

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

SetContext adds the context to the delete list params

func (*DeleteListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete list params

func (*DeleteListParams) SetListID

func (o *DeleteListParams) SetListID(listID int64)

SetListID adds the listId to the delete list params

func (*DeleteListParams) SetTimeout

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

SetTimeout adds the timeout to the delete list params

func (*DeleteListParams) WithContext

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

WithContext adds the context to the delete list params

func (*DeleteListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete list params

func (*DeleteListParams) WithListID

func (o *DeleteListParams) WithListID(listID int64) *DeleteListParams

WithListID adds the listID to the delete list params

func (*DeleteListParams) WithTimeout

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

WithTimeout adds the timeout to the delete list params

func (*DeleteListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteListReader

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

DeleteListReader is a Reader for the DeleteList structure.

func (*DeleteListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAttributesOK

type GetAttributesOK struct {
	Payload *models.GetAttributes
}

GetAttributesOK handles this case with default header values.

Attributes listed

func NewGetAttributesOK

func NewGetAttributesOK() *GetAttributesOK

NewGetAttributesOK creates a GetAttributesOK with default headers values

func (*GetAttributesOK) Error

func (o *GetAttributesOK) Error() string

type GetAttributesParams

type GetAttributesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAttributesParams contains all the parameters to send to the API endpoint for the get attributes operation typically these are written to a http.Request

func NewGetAttributesParams

func NewGetAttributesParams() *GetAttributesParams

NewGetAttributesParams creates a new GetAttributesParams object with the default values initialized.

func NewGetAttributesParamsWithContext

func NewGetAttributesParamsWithContext(ctx context.Context) *GetAttributesParams

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

func NewGetAttributesParamsWithHTTPClient

func NewGetAttributesParamsWithHTTPClient(client *http.Client) *GetAttributesParams

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

func NewGetAttributesParamsWithTimeout

func NewGetAttributesParamsWithTimeout(timeout time.Duration) *GetAttributesParams

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

func (*GetAttributesParams) SetContext

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

SetContext adds the context to the get attributes params

func (*GetAttributesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get attributes params

func (*GetAttributesParams) SetTimeout

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

SetTimeout adds the timeout to the get attributes params

func (*GetAttributesParams) WithContext

WithContext adds the context to the get attributes params

func (*GetAttributesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get attributes params

func (*GetAttributesParams) WithTimeout

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

WithTimeout adds the timeout to the get attributes params

func (*GetAttributesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAttributesReader

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

GetAttributesReader is a Reader for the GetAttributes structure.

func (*GetAttributesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetContactsFromListBadRequest

type GetContactsFromListBadRequest struct {
	Payload *models.ErrorModel
}

GetContactsFromListBadRequest handles this case with default header values.

bad request

func NewGetContactsFromListBadRequest

func NewGetContactsFromListBadRequest() *GetContactsFromListBadRequest

NewGetContactsFromListBadRequest creates a GetContactsFromListBadRequest with default headers values

func (*GetContactsFromListBadRequest) Error

type GetContactsFromListNotFound

type GetContactsFromListNotFound struct {
	Payload *models.ErrorModel
}

GetContactsFromListNotFound handles this case with default header values.

List ID not found

func NewGetContactsFromListNotFound

func NewGetContactsFromListNotFound() *GetContactsFromListNotFound

NewGetContactsFromListNotFound creates a GetContactsFromListNotFound with default headers values

func (*GetContactsFromListNotFound) Error

type GetContactsFromListOK

type GetContactsFromListOK struct {
	Payload *models.GetContacts
}

GetContactsFromListOK handles this case with default header values.

Contact informations

func NewGetContactsFromListOK

func NewGetContactsFromListOK() *GetContactsFromListOK

NewGetContactsFromListOK creates a GetContactsFromListOK with default headers values

func (*GetContactsFromListOK) Error

func (o *GetContactsFromListOK) Error() string

type GetContactsFromListParams

type GetContactsFromListParams struct {

	/*Limit
	  Number of documents per page

	*/
	Limit *int64
	/*ListID
	  Id of the list

	*/
	ListID int64
	/*ModifiedSince
	  Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.

	*/
	ModifiedSince *strfmt.DateTime
	/*Offset
	  Index of the first document of the page

	*/
	Offset *int64

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

GetContactsFromListParams contains all the parameters to send to the API endpoint for the get contacts from list operation typically these are written to a http.Request

func NewGetContactsFromListParams

func NewGetContactsFromListParams() *GetContactsFromListParams

NewGetContactsFromListParams creates a new GetContactsFromListParams object with the default values initialized.

func NewGetContactsFromListParamsWithContext

func NewGetContactsFromListParamsWithContext(ctx context.Context) *GetContactsFromListParams

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

func NewGetContactsFromListParamsWithHTTPClient

func NewGetContactsFromListParamsWithHTTPClient(client *http.Client) *GetContactsFromListParams

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

func NewGetContactsFromListParamsWithTimeout

func NewGetContactsFromListParamsWithTimeout(timeout time.Duration) *GetContactsFromListParams

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

func (*GetContactsFromListParams) SetContext

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

SetContext adds the context to the get contacts from list params

func (*GetContactsFromListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get contacts from list params

func (*GetContactsFromListParams) SetLimit

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

SetLimit adds the limit to the get contacts from list params

func (*GetContactsFromListParams) SetListID

func (o *GetContactsFromListParams) SetListID(listID int64)

SetListID adds the listId to the get contacts from list params

func (*GetContactsFromListParams) SetModifiedSince

func (o *GetContactsFromListParams) SetModifiedSince(modifiedSince *strfmt.DateTime)

SetModifiedSince adds the modifiedSince to the get contacts from list params

func (*GetContactsFromListParams) SetOffset

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

SetOffset adds the offset to the get contacts from list params

func (*GetContactsFromListParams) SetTimeout

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

SetTimeout adds the timeout to the get contacts from list params

func (*GetContactsFromListParams) WithContext

WithContext adds the context to the get contacts from list params

func (*GetContactsFromListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get contacts from list params

func (*GetContactsFromListParams) WithLimit

WithLimit adds the limit to the get contacts from list params

func (*GetContactsFromListParams) WithListID

WithListID adds the listID to the get contacts from list params

func (*GetContactsFromListParams) WithModifiedSince

func (o *GetContactsFromListParams) WithModifiedSince(modifiedSince *strfmt.DateTime) *GetContactsFromListParams

WithModifiedSince adds the modifiedSince to the get contacts from list params

func (*GetContactsFromListParams) WithOffset

WithOffset adds the offset to the get contacts from list params

func (*GetContactsFromListParams) WithTimeout

WithTimeout adds the timeout to the get contacts from list params

func (*GetContactsFromListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetContactsFromListReader

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

GetContactsFromListReader is a Reader for the GetContactsFromList structure.

func (*GetContactsFromListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFolderBadRequest

type GetFolderBadRequest struct {
	Payload *models.ErrorModel
}

GetFolderBadRequest handles this case with default header values.

bad request

func NewGetFolderBadRequest

func NewGetFolderBadRequest() *GetFolderBadRequest

NewGetFolderBadRequest creates a GetFolderBadRequest with default headers values

func (*GetFolderBadRequest) Error

func (o *GetFolderBadRequest) Error() string

type GetFolderListsBadRequest

type GetFolderListsBadRequest struct {
	Payload *models.ErrorModel
}

GetFolderListsBadRequest handles this case with default header values.

bad request

func NewGetFolderListsBadRequest

func NewGetFolderListsBadRequest() *GetFolderListsBadRequest

NewGetFolderListsBadRequest creates a GetFolderListsBadRequest with default headers values

func (*GetFolderListsBadRequest) Error

func (o *GetFolderListsBadRequest) Error() string

type GetFolderListsNotFound

type GetFolderListsNotFound struct {
	Payload *models.ErrorModel
}

GetFolderListsNotFound handles this case with default header values.

Folder ID not found

func NewGetFolderListsNotFound

func NewGetFolderListsNotFound() *GetFolderListsNotFound

NewGetFolderListsNotFound creates a GetFolderListsNotFound with default headers values

func (*GetFolderListsNotFound) Error

func (o *GetFolderListsNotFound) Error() string

type GetFolderListsOK

type GetFolderListsOK struct {
	Payload *models.GetFolderLists
}

GetFolderListsOK handles this case with default header values.

Folder's Lists details

func NewGetFolderListsOK

func NewGetFolderListsOK() *GetFolderListsOK

NewGetFolderListsOK creates a GetFolderListsOK with default headers values

func (*GetFolderListsOK) Error

func (o *GetFolderListsOK) Error() string

type GetFolderListsParams

type GetFolderListsParams struct {

	/*FolderID
	  Id of the folder

	*/
	FolderID int64
	/*Limit
	  Number of documents per page

	*/
	Limit *int64
	/*Offset
	  Index of the first document of the page

	*/
	Offset *int64

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

GetFolderListsParams contains all the parameters to send to the API endpoint for the get folder lists operation typically these are written to a http.Request

func NewGetFolderListsParams

func NewGetFolderListsParams() *GetFolderListsParams

NewGetFolderListsParams creates a new GetFolderListsParams object with the default values initialized.

func NewGetFolderListsParamsWithContext

func NewGetFolderListsParamsWithContext(ctx context.Context) *GetFolderListsParams

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

func NewGetFolderListsParamsWithHTTPClient

func NewGetFolderListsParamsWithHTTPClient(client *http.Client) *GetFolderListsParams

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

func NewGetFolderListsParamsWithTimeout

func NewGetFolderListsParamsWithTimeout(timeout time.Duration) *GetFolderListsParams

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

func (*GetFolderListsParams) SetContext

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

SetContext adds the context to the get folder lists params

func (*GetFolderListsParams) SetFolderID

func (o *GetFolderListsParams) SetFolderID(folderID int64)

SetFolderID adds the folderId to the get folder lists params

func (*GetFolderListsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get folder lists params

func (*GetFolderListsParams) SetLimit

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

SetLimit adds the limit to the get folder lists params

func (*GetFolderListsParams) SetOffset

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

SetOffset adds the offset to the get folder lists params

func (*GetFolderListsParams) SetTimeout

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

SetTimeout adds the timeout to the get folder lists params

func (*GetFolderListsParams) WithContext

WithContext adds the context to the get folder lists params

func (*GetFolderListsParams) WithFolderID

func (o *GetFolderListsParams) WithFolderID(folderID int64) *GetFolderListsParams

WithFolderID adds the folderID to the get folder lists params

func (*GetFolderListsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get folder lists params

func (*GetFolderListsParams) WithLimit

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

WithLimit adds the limit to the get folder lists params

func (*GetFolderListsParams) WithOffset

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

WithOffset adds the offset to the get folder lists params

func (*GetFolderListsParams) WithTimeout

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

WithTimeout adds the timeout to the get folder lists params

func (*GetFolderListsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetFolderListsReader

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

GetFolderListsReader is a Reader for the GetFolderLists structure.

func (*GetFolderListsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFolderNotFound

type GetFolderNotFound struct {
	Payload *models.ErrorModel
}

GetFolderNotFound handles this case with default header values.

Folder ID not found

func NewGetFolderNotFound

func NewGetFolderNotFound() *GetFolderNotFound

NewGetFolderNotFound creates a GetFolderNotFound with default headers values

func (*GetFolderNotFound) Error

func (o *GetFolderNotFound) Error() string

type GetFolderOK

type GetFolderOK struct {
	Payload *models.GetFolder
}

GetFolderOK handles this case with default header values.

Folder details

func NewGetFolderOK

func NewGetFolderOK() *GetFolderOK

NewGetFolderOK creates a GetFolderOK with default headers values

func (*GetFolderOK) Error

func (o *GetFolderOK) Error() string

type GetFolderParams

type GetFolderParams struct {

	/*FolderID
	  id of the folder

	*/
	FolderID int64

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

GetFolderParams contains all the parameters to send to the API endpoint for the get folder operation typically these are written to a http.Request

func NewGetFolderParams

func NewGetFolderParams() *GetFolderParams

NewGetFolderParams creates a new GetFolderParams object with the default values initialized.

func NewGetFolderParamsWithContext

func NewGetFolderParamsWithContext(ctx context.Context) *GetFolderParams

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

func NewGetFolderParamsWithHTTPClient

func NewGetFolderParamsWithHTTPClient(client *http.Client) *GetFolderParams

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

func NewGetFolderParamsWithTimeout

func NewGetFolderParamsWithTimeout(timeout time.Duration) *GetFolderParams

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

func (*GetFolderParams) SetContext

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

SetContext adds the context to the get folder params

func (*GetFolderParams) SetFolderID

func (o *GetFolderParams) SetFolderID(folderID int64)

SetFolderID adds the folderId to the get folder params

func (*GetFolderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get folder params

func (*GetFolderParams) SetTimeout

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

SetTimeout adds the timeout to the get folder params

func (*GetFolderParams) WithContext

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

WithContext adds the context to the get folder params

func (*GetFolderParams) WithFolderID

func (o *GetFolderParams) WithFolderID(folderID int64) *GetFolderParams

WithFolderID adds the folderID to the get folder params

func (*GetFolderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get folder params

func (*GetFolderParams) WithTimeout

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

WithTimeout adds the timeout to the get folder params

func (*GetFolderParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetFolderReader

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

GetFolderReader is a Reader for the GetFolder structure.

func (*GetFolderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFoldersBadRequest

type GetFoldersBadRequest struct {
	Payload *models.ErrorModel
}

GetFoldersBadRequest handles this case with default header values.

bad request

func NewGetFoldersBadRequest

func NewGetFoldersBadRequest() *GetFoldersBadRequest

NewGetFoldersBadRequest creates a GetFoldersBadRequest with default headers values

func (*GetFoldersBadRequest) Error

func (o *GetFoldersBadRequest) Error() string

type GetFoldersOK

type GetFoldersOK struct {
	Payload *models.GetFolders
}

GetFoldersOK handles this case with default header values.

Folders informations

func NewGetFoldersOK

func NewGetFoldersOK() *GetFoldersOK

NewGetFoldersOK creates a GetFoldersOK with default headers values

func (*GetFoldersOK) Error

func (o *GetFoldersOK) Error() string

type GetFoldersParams

type GetFoldersParams struct {

	/*Limit
	  Number of documents per page

	*/
	Limit int64
	/*Offset
	  Index of the first document of the page

	*/
	Offset int64

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

GetFoldersParams contains all the parameters to send to the API endpoint for the get folders operation typically these are written to a http.Request

func NewGetFoldersParams

func NewGetFoldersParams() *GetFoldersParams

NewGetFoldersParams creates a new GetFoldersParams object with the default values initialized.

func NewGetFoldersParamsWithContext

func NewGetFoldersParamsWithContext(ctx context.Context) *GetFoldersParams

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

func NewGetFoldersParamsWithHTTPClient

func NewGetFoldersParamsWithHTTPClient(client *http.Client) *GetFoldersParams

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

func NewGetFoldersParamsWithTimeout

func NewGetFoldersParamsWithTimeout(timeout time.Duration) *GetFoldersParams

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

func (*GetFoldersParams) SetContext

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

SetContext adds the context to the get folders params

func (*GetFoldersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get folders params

func (*GetFoldersParams) SetLimit

func (o *GetFoldersParams) SetLimit(limit int64)

SetLimit adds the limit to the get folders params

func (*GetFoldersParams) SetOffset

func (o *GetFoldersParams) SetOffset(offset int64)

SetOffset adds the offset to the get folders params

func (*GetFoldersParams) SetTimeout

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

SetTimeout adds the timeout to the get folders params

func (*GetFoldersParams) WithContext

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

WithContext adds the context to the get folders params

func (*GetFoldersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get folders params

func (*GetFoldersParams) WithLimit

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

WithLimit adds the limit to the get folders params

func (*GetFoldersParams) WithOffset

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

WithOffset adds the offset to the get folders params

func (*GetFoldersParams) WithTimeout

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

WithTimeout adds the timeout to the get folders params

func (*GetFoldersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetFoldersReader

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

GetFoldersReader is a Reader for the GetFolders structure.

func (*GetFoldersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetListBadRequest

type GetListBadRequest struct {
	Payload *models.ErrorModel
}

GetListBadRequest handles this case with default header values.

bad request

func NewGetListBadRequest

func NewGetListBadRequest() *GetListBadRequest

NewGetListBadRequest creates a GetListBadRequest with default headers values

func (*GetListBadRequest) Error

func (o *GetListBadRequest) Error() string

type GetListNotFound

type GetListNotFound struct {
	Payload *models.ErrorModel
}

GetListNotFound handles this case with default header values.

List ID not found

func NewGetListNotFound

func NewGetListNotFound() *GetListNotFound

NewGetListNotFound creates a GetListNotFound with default headers values

func (*GetListNotFound) Error

func (o *GetListNotFound) Error() string

type GetListOK

type GetListOK struct {
	Payload *models.GetExtendedList
}

GetListOK handles this case with default header values.

List informations

func NewGetListOK

func NewGetListOK() *GetListOK

NewGetListOK creates a GetListOK with default headers values

func (*GetListOK) Error

func (o *GetListOK) Error() string

type GetListParams

type GetListParams struct {

	/*ListID
	  Id of the list

	*/
	ListID int64

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

GetListParams contains all the parameters to send to the API endpoint for the get list operation typically these are written to a http.Request

func NewGetListParams

func NewGetListParams() *GetListParams

NewGetListParams creates a new GetListParams object with the default values initialized.

func NewGetListParamsWithContext

func NewGetListParamsWithContext(ctx context.Context) *GetListParams

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

func NewGetListParamsWithHTTPClient

func NewGetListParamsWithHTTPClient(client *http.Client) *GetListParams

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

func NewGetListParamsWithTimeout

func NewGetListParamsWithTimeout(timeout time.Duration) *GetListParams

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

func (*GetListParams) SetContext

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

SetContext adds the context to the get list params

func (*GetListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get list params

func (*GetListParams) SetListID

func (o *GetListParams) SetListID(listID int64)

SetListID adds the listId to the get list params

func (*GetListParams) SetTimeout

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

SetTimeout adds the timeout to the get list params

func (*GetListParams) WithContext

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

WithContext adds the context to the get list params

func (*GetListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get list params

func (*GetListParams) WithListID

func (o *GetListParams) WithListID(listID int64) *GetListParams

WithListID adds the listID to the get list params

func (*GetListParams) WithTimeout

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

WithTimeout adds the timeout to the get list params

func (*GetListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetListReader

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

GetListReader is a Reader for the GetList structure.

func (*GetListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetListsBadRequest

type GetListsBadRequest struct {
	Payload *models.ErrorModel
}

GetListsBadRequest handles this case with default header values.

bad request

func NewGetListsBadRequest

func NewGetListsBadRequest() *GetListsBadRequest

NewGetListsBadRequest creates a GetListsBadRequest with default headers values

func (*GetListsBadRequest) Error

func (o *GetListsBadRequest) Error() string

type GetListsOK

type GetListsOK struct {
	Payload *models.GetLists
}

GetListsOK handles this case with default header values.

Lists informations

func NewGetListsOK

func NewGetListsOK() *GetListsOK

NewGetListsOK creates a GetListsOK with default headers values

func (*GetListsOK) Error

func (o *GetListsOK) Error() string

type GetListsParams

type GetListsParams struct {

	/*Limit
	  Number of documents per page

	*/
	Limit *int64
	/*Offset
	  Index of the first document of the page

	*/
	Offset *int64

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

GetListsParams contains all the parameters to send to the API endpoint for the get lists operation typically these are written to a http.Request

func NewGetListsParams

func NewGetListsParams() *GetListsParams

NewGetListsParams creates a new GetListsParams object with the default values initialized.

func NewGetListsParamsWithContext

func NewGetListsParamsWithContext(ctx context.Context) *GetListsParams

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

func NewGetListsParamsWithHTTPClient

func NewGetListsParamsWithHTTPClient(client *http.Client) *GetListsParams

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

func NewGetListsParamsWithTimeout

func NewGetListsParamsWithTimeout(timeout time.Duration) *GetListsParams

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

func (*GetListsParams) SetContext

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

SetContext adds the context to the get lists params

func (*GetListsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get lists params

func (*GetListsParams) SetLimit

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

SetLimit adds the limit to the get lists params

func (*GetListsParams) SetOffset

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

SetOffset adds the offset to the get lists params

func (*GetListsParams) SetTimeout

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

SetTimeout adds the timeout to the get lists params

func (*GetListsParams) WithContext

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

WithContext adds the context to the get lists params

func (*GetListsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get lists params

func (*GetListsParams) WithLimit

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

WithLimit adds the limit to the get lists params

func (*GetListsParams) WithOffset

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

WithOffset adds the offset to the get lists params

func (*GetListsParams) WithTimeout

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

WithTimeout adds the timeout to the get lists params

func (*GetListsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetListsReader

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

GetListsReader is a Reader for the GetLists structure.

func (*GetListsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveContactToListBadRequest

type RemoveContactToListBadRequest struct {
	Payload *models.ErrorModel
}

RemoveContactToListBadRequest handles this case with default header values.

bad request

func NewRemoveContactToListBadRequest

func NewRemoveContactToListBadRequest() *RemoveContactToListBadRequest

NewRemoveContactToListBadRequest creates a RemoveContactToListBadRequest with default headers values

func (*RemoveContactToListBadRequest) Error

type RemoveContactToListCreated

type RemoveContactToListCreated struct {
	Payload *models.PostContactInfo
}

RemoveContactToListCreated handles this case with default header values.

All contacts have been removed successfully from the list with details of failed ones

func NewRemoveContactToListCreated

func NewRemoveContactToListCreated() *RemoveContactToListCreated

NewRemoveContactToListCreated creates a RemoveContactToListCreated with default headers values

func (*RemoveContactToListCreated) Error

type RemoveContactToListNotFound

type RemoveContactToListNotFound struct {
	Payload *models.ErrorModel
}

RemoveContactToListNotFound handles this case with default header values.

List ID not found

func NewRemoveContactToListNotFound

func NewRemoveContactToListNotFound() *RemoveContactToListNotFound

NewRemoveContactToListNotFound creates a RemoveContactToListNotFound with default headers values

func (*RemoveContactToListNotFound) Error

type RemoveContactToListParams

type RemoveContactToListParams struct {

	/*ContactEmails
	  Emails adresses of the contact

	*/
	ContactEmails *models.AddRemoveContactToList
	/*ListID
	  Id of the list

	*/
	ListID int64

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

RemoveContactToListParams contains all the parameters to send to the API endpoint for the remove contact to list operation typically these are written to a http.Request

func NewRemoveContactToListParams

func NewRemoveContactToListParams() *RemoveContactToListParams

NewRemoveContactToListParams creates a new RemoveContactToListParams object with the default values initialized.

func NewRemoveContactToListParamsWithContext

func NewRemoveContactToListParamsWithContext(ctx context.Context) *RemoveContactToListParams

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

func NewRemoveContactToListParamsWithHTTPClient

func NewRemoveContactToListParamsWithHTTPClient(client *http.Client) *RemoveContactToListParams

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

func NewRemoveContactToListParamsWithTimeout

func NewRemoveContactToListParamsWithTimeout(timeout time.Duration) *RemoveContactToListParams

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

func (*RemoveContactToListParams) SetContactEmails

func (o *RemoveContactToListParams) SetContactEmails(contactEmails *models.AddRemoveContactToList)

SetContactEmails adds the contactEmails to the remove contact to list params

func (*RemoveContactToListParams) SetContext

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

SetContext adds the context to the remove contact to list params

func (*RemoveContactToListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove contact to list params

func (*RemoveContactToListParams) SetListID

func (o *RemoveContactToListParams) SetListID(listID int64)

SetListID adds the listId to the remove contact to list params

func (*RemoveContactToListParams) SetTimeout

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

SetTimeout adds the timeout to the remove contact to list params

func (*RemoveContactToListParams) WithContactEmails

WithContactEmails adds the contactEmails to the remove contact to list params

func (*RemoveContactToListParams) WithContext

WithContext adds the context to the remove contact to list params

func (*RemoveContactToListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove contact to list params

func (*RemoveContactToListParams) WithListID

WithListID adds the listID to the remove contact to list params

func (*RemoveContactToListParams) WithTimeout

WithTimeout adds the timeout to the remove contact to list params

func (*RemoveContactToListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveContactToListReader

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

RemoveContactToListReader is a Reader for the RemoveContactToList structure.

func (*RemoveContactToListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateAttributeBadRequest added in v1.2.0

type UpdateAttributeBadRequest struct {
	Payload *models.ErrorModel
}

UpdateAttributeBadRequest handles this case with default header values.

bad request

func NewUpdateAttributeBadRequest added in v1.2.0

func NewUpdateAttributeBadRequest() *UpdateAttributeBadRequest

NewUpdateAttributeBadRequest creates a UpdateAttributeBadRequest with default headers values

func (*UpdateAttributeBadRequest) Error added in v1.2.0

func (o *UpdateAttributeBadRequest) Error() string

type UpdateAttributeNoContent added in v1.2.0

type UpdateAttributeNoContent struct {
}

UpdateAttributeNoContent handles this case with default header values.

Attribute updated

func NewUpdateAttributeNoContent added in v1.2.0

func NewUpdateAttributeNoContent() *UpdateAttributeNoContent

NewUpdateAttributeNoContent creates a UpdateAttributeNoContent with default headers values

func (*UpdateAttributeNoContent) Error added in v1.2.0

func (o *UpdateAttributeNoContent) Error() string

type UpdateAttributeNotFound added in v1.2.0

type UpdateAttributeNotFound struct {
	Payload *models.ErrorModel
}

UpdateAttributeNotFound handles this case with default header values.

Attribute not found

func NewUpdateAttributeNotFound added in v1.2.0

func NewUpdateAttributeNotFound() *UpdateAttributeNotFound

NewUpdateAttributeNotFound creates a UpdateAttributeNotFound with default headers values

func (*UpdateAttributeNotFound) Error added in v1.2.0

func (o *UpdateAttributeNotFound) Error() string

type UpdateAttributeParams added in v1.2.0

type UpdateAttributeParams struct {

	/*AttributeCategory
	  Category of the attribute

	*/
	AttributeCategory string
	/*AttributeName
	  Name of the existing attribute

	*/
	AttributeName string
	/*UpdateAttribute
	  Values to update an attribute

	*/
	UpdateAttribute *models.UpdateAttribute

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

UpdateAttributeParams contains all the parameters to send to the API endpoint for the update attribute operation typically these are written to a http.Request

func NewUpdateAttributeParams added in v1.2.0

func NewUpdateAttributeParams() *UpdateAttributeParams

NewUpdateAttributeParams creates a new UpdateAttributeParams object with the default values initialized.

func NewUpdateAttributeParamsWithContext added in v1.2.0

func NewUpdateAttributeParamsWithContext(ctx context.Context) *UpdateAttributeParams

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

func NewUpdateAttributeParamsWithHTTPClient added in v1.2.0

func NewUpdateAttributeParamsWithHTTPClient(client *http.Client) *UpdateAttributeParams

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

func NewUpdateAttributeParamsWithTimeout added in v1.2.0

func NewUpdateAttributeParamsWithTimeout(timeout time.Duration) *UpdateAttributeParams

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

func (*UpdateAttributeParams) SetAttributeCategory added in v1.2.0

func (o *UpdateAttributeParams) SetAttributeCategory(attributeCategory string)

SetAttributeCategory adds the attributeCategory to the update attribute params

func (*UpdateAttributeParams) SetAttributeName added in v1.2.0

func (o *UpdateAttributeParams) SetAttributeName(attributeName string)

SetAttributeName adds the attributeName to the update attribute params

func (*UpdateAttributeParams) SetContext added in v1.2.0

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

SetContext adds the context to the update attribute params

func (*UpdateAttributeParams) SetHTTPClient added in v1.2.0

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

SetHTTPClient adds the HTTPClient to the update attribute params

func (*UpdateAttributeParams) SetTimeout added in v1.2.0

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

SetTimeout adds the timeout to the update attribute params

func (*UpdateAttributeParams) SetUpdateAttribute added in v1.2.0

func (o *UpdateAttributeParams) SetUpdateAttribute(updateAttribute *models.UpdateAttribute)

SetUpdateAttribute adds the updateAttribute to the update attribute params

func (*UpdateAttributeParams) WithAttributeCategory added in v1.2.0

func (o *UpdateAttributeParams) WithAttributeCategory(attributeCategory string) *UpdateAttributeParams

WithAttributeCategory adds the attributeCategory to the update attribute params

func (*UpdateAttributeParams) WithAttributeName added in v1.2.0

func (o *UpdateAttributeParams) WithAttributeName(attributeName string) *UpdateAttributeParams

WithAttributeName adds the attributeName to the update attribute params

func (*UpdateAttributeParams) WithContext added in v1.2.0

WithContext adds the context to the update attribute params

func (*UpdateAttributeParams) WithHTTPClient added in v1.2.0

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

WithHTTPClient adds the HTTPClient to the update attribute params

func (*UpdateAttributeParams) WithTimeout added in v1.2.0

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

WithTimeout adds the timeout to the update attribute params

func (*UpdateAttributeParams) WithUpdateAttribute added in v1.2.0

func (o *UpdateAttributeParams) WithUpdateAttribute(updateAttribute *models.UpdateAttribute) *UpdateAttributeParams

WithUpdateAttribute adds the updateAttribute to the update attribute params

func (*UpdateAttributeParams) WriteToRequest added in v1.2.0

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

WriteToRequest writes these params to a swagger request

type UpdateAttributeReader added in v1.2.0

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

UpdateAttributeReader is a Reader for the UpdateAttribute structure.

func (*UpdateAttributeReader) ReadResponse added in v1.2.0

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

ReadResponse reads a server response into the received o.

type UpdateFolderBadRequest

type UpdateFolderBadRequest struct {
	Payload *models.ErrorModel
}

UpdateFolderBadRequest handles this case with default header values.

bad request

func NewUpdateFolderBadRequest

func NewUpdateFolderBadRequest() *UpdateFolderBadRequest

NewUpdateFolderBadRequest creates a UpdateFolderBadRequest with default headers values

func (*UpdateFolderBadRequest) Error

func (o *UpdateFolderBadRequest) Error() string

type UpdateFolderNoContent

type UpdateFolderNoContent struct {
}

UpdateFolderNoContent handles this case with default header values.

Folder updated

func NewUpdateFolderNoContent

func NewUpdateFolderNoContent() *UpdateFolderNoContent

NewUpdateFolderNoContent creates a UpdateFolderNoContent with default headers values

func (*UpdateFolderNoContent) Error

func (o *UpdateFolderNoContent) Error() string

type UpdateFolderNotFound

type UpdateFolderNotFound struct {
	Payload *models.ErrorModel
}

UpdateFolderNotFound handles this case with default header values.

Folder ID not found

func NewUpdateFolderNotFound

func NewUpdateFolderNotFound() *UpdateFolderNotFound

NewUpdateFolderNotFound creates a UpdateFolderNotFound with default headers values

func (*UpdateFolderNotFound) Error

func (o *UpdateFolderNotFound) Error() string

type UpdateFolderParams

type UpdateFolderParams struct {

	/*FolderID
	  Id of the folder

	*/
	FolderID int64
	/*UpdateFolder
	  Name of the folder

	*/
	UpdateFolder *models.CreateUpdateFolder

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

UpdateFolderParams contains all the parameters to send to the API endpoint for the update folder operation typically these are written to a http.Request

func NewUpdateFolderParams

func NewUpdateFolderParams() *UpdateFolderParams

NewUpdateFolderParams creates a new UpdateFolderParams object with the default values initialized.

func NewUpdateFolderParamsWithContext

func NewUpdateFolderParamsWithContext(ctx context.Context) *UpdateFolderParams

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

func NewUpdateFolderParamsWithHTTPClient

func NewUpdateFolderParamsWithHTTPClient(client *http.Client) *UpdateFolderParams

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

func NewUpdateFolderParamsWithTimeout

func NewUpdateFolderParamsWithTimeout(timeout time.Duration) *UpdateFolderParams

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

func (*UpdateFolderParams) SetContext

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

SetContext adds the context to the update folder params

func (*UpdateFolderParams) SetFolderID

func (o *UpdateFolderParams) SetFolderID(folderID int64)

SetFolderID adds the folderId to the update folder params

func (*UpdateFolderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update folder params

func (*UpdateFolderParams) SetTimeout

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

SetTimeout adds the timeout to the update folder params

func (*UpdateFolderParams) SetUpdateFolder

func (o *UpdateFolderParams) SetUpdateFolder(updateFolder *models.CreateUpdateFolder)

SetUpdateFolder adds the updateFolder to the update folder params

func (*UpdateFolderParams) WithContext

WithContext adds the context to the update folder params

func (*UpdateFolderParams) WithFolderID

func (o *UpdateFolderParams) WithFolderID(folderID int64) *UpdateFolderParams

WithFolderID adds the folderID to the update folder params

func (*UpdateFolderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update folder params

func (*UpdateFolderParams) WithTimeout

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

WithTimeout adds the timeout to the update folder params

func (*UpdateFolderParams) WithUpdateFolder

func (o *UpdateFolderParams) WithUpdateFolder(updateFolder *models.CreateUpdateFolder) *UpdateFolderParams

WithUpdateFolder adds the updateFolder to the update folder params

func (*UpdateFolderParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateFolderReader

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

UpdateFolderReader is a Reader for the UpdateFolder structure.

func (*UpdateFolderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateListBadRequest

type UpdateListBadRequest struct {
	Payload *models.ErrorModel
}

UpdateListBadRequest handles this case with default header values.

bad request

func NewUpdateListBadRequest

func NewUpdateListBadRequest() *UpdateListBadRequest

NewUpdateListBadRequest creates a UpdateListBadRequest with default headers values

func (*UpdateListBadRequest) Error

func (o *UpdateListBadRequest) Error() string

type UpdateListNoContent

type UpdateListNoContent struct {
}

UpdateListNoContent handles this case with default header values.

List updated

func NewUpdateListNoContent

func NewUpdateListNoContent() *UpdateListNoContent

NewUpdateListNoContent creates a UpdateListNoContent with default headers values

func (*UpdateListNoContent) Error

func (o *UpdateListNoContent) Error() string

type UpdateListNotFound

type UpdateListNotFound struct {
	Payload *models.ErrorModel
}

UpdateListNotFound handles this case with default header values.

List ID not found

func NewUpdateListNotFound

func NewUpdateListNotFound() *UpdateListNotFound

NewUpdateListNotFound creates a UpdateListNotFound with default headers values

func (*UpdateListNotFound) Error

func (o *UpdateListNotFound) Error() string

type UpdateListParams

type UpdateListParams struct {

	/*ListID
	  Id of the list

	*/
	ListID int64
	/*UpdateList
	  Values to update a list

	*/
	UpdateList *models.UpdateList

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

UpdateListParams contains all the parameters to send to the API endpoint for the update list operation typically these are written to a http.Request

func NewUpdateListParams

func NewUpdateListParams() *UpdateListParams

NewUpdateListParams creates a new UpdateListParams object with the default values initialized.

func NewUpdateListParamsWithContext

func NewUpdateListParamsWithContext(ctx context.Context) *UpdateListParams

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

func NewUpdateListParamsWithHTTPClient

func NewUpdateListParamsWithHTTPClient(client *http.Client) *UpdateListParams

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

func NewUpdateListParamsWithTimeout

func NewUpdateListParamsWithTimeout(timeout time.Duration) *UpdateListParams

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

func (*UpdateListParams) SetContext

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

SetContext adds the context to the update list params

func (*UpdateListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update list params

func (*UpdateListParams) SetListID

func (o *UpdateListParams) SetListID(listID int64)

SetListID adds the listId to the update list params

func (*UpdateListParams) SetTimeout

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

SetTimeout adds the timeout to the update list params

func (*UpdateListParams) SetUpdateList

func (o *UpdateListParams) SetUpdateList(updateList *models.UpdateList)

SetUpdateList adds the updateList to the update list params

func (*UpdateListParams) WithContext

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

WithContext adds the context to the update list params

func (*UpdateListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update list params

func (*UpdateListParams) WithListID

func (o *UpdateListParams) WithListID(listID int64) *UpdateListParams

WithListID adds the listID to the update list params

func (*UpdateListParams) WithTimeout

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

WithTimeout adds the timeout to the update list params

func (*UpdateListParams) WithUpdateList

func (o *UpdateListParams) WithUpdateList(updateList *models.UpdateList) *UpdateListParams

WithUpdateList adds the updateList to the update list params

func (*UpdateListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateListReader

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

UpdateListReader is a Reader for the UpdateList structure.

func (*UpdateListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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