Documentation ¶
Index ¶
- type Client
- func (a *Client) GetProspects(params *GetProspectsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetProspectsOK, *GetProspectsNoContent, error)
- func (a *Client) PostAddProspectsCampaign(params *PostAddProspectsCampaignParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAddProspectsCampaignOK, error)
- func (a *Client) PostAddProspectsList(params *PostAddProspectsListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAddProspectsListOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetProspectsDefault
- type GetProspectsNoContent
- type GetProspectsOK
- type GetProspectsParams
- func (o *GetProspectsParams) SetActivity(activity *string)
- func (o *GetProspectsParams) SetAddress(address *string)
- func (o *GetProspectsParams) SetCampaignsID(campaignsID []int32)
- func (o *GetProspectsParams) SetCity(city *string)
- func (o *GetProspectsParams) SetCompany(company *string)
- func (o *GetProspectsParams) SetContacted(contacted *string)
- func (o *GetProspectsParams) SetContext(ctx context.Context)
- func (o *GetProspectsParams) SetCountry(country *string)
- func (o *GetProspectsParams) SetDefaults()
- func (o *GetProspectsParams) SetDiff(diff *string)
- func (o *GetProspectsParams) SetEmail(email *string)
- func (o *GetProspectsParams) SetFirstName(firstName *string)
- func (o *GetProspectsParams) SetHTTPClient(client *http.Client)
- func (o *GetProspectsParams) SetIndustry(industry *string)
- func (o *GetProspectsParams) SetInterested(interested *string)
- func (o *GetProspectsParams) SetPage(page *float64)
- func (o *GetProspectsParams) SetPerPage(perPage *int32)
- func (o *GetProspectsParams) SetSearch(search *string)
- func (o *GetProspectsParams) SetSecondName(secondName *string)
- func (o *GetProspectsParams) SetSnippet1(snippet1 *string)
- func (o *GetProspectsParams) SetSnippet2(snippet2 *string)
- func (o *GetProspectsParams) SetSnippet3(snippet3 *string)
- func (o *GetProspectsParams) SetSnippet4(snippet4 *string)
- func (o *GetProspectsParams) SetSort(sort *string)
- func (o *GetProspectsParams) SetState(state *string)
- func (o *GetProspectsParams) SetStatus(status *string)
- func (o *GetProspectsParams) SetTags(tags *string)
- func (o *GetProspectsParams) SetTimeout(timeout time.Duration)
- func (o *GetProspectsParams) SetTitle(title *string)
- func (o *GetProspectsParams) SetWebsite(website *string)
- func (o *GetProspectsParams) WithActivity(activity *string) *GetProspectsParams
- func (o *GetProspectsParams) WithAddress(address *string) *GetProspectsParams
- func (o *GetProspectsParams) WithCampaignsID(campaignsID []int32) *GetProspectsParams
- func (o *GetProspectsParams) WithCity(city *string) *GetProspectsParams
- func (o *GetProspectsParams) WithCompany(company *string) *GetProspectsParams
- func (o *GetProspectsParams) WithContacted(contacted *string) *GetProspectsParams
- func (o *GetProspectsParams) WithContext(ctx context.Context) *GetProspectsParams
- func (o *GetProspectsParams) WithCountry(country *string) *GetProspectsParams
- func (o *GetProspectsParams) WithDefaults() *GetProspectsParams
- func (o *GetProspectsParams) WithDiff(diff *string) *GetProspectsParams
- func (o *GetProspectsParams) WithEmail(email *string) *GetProspectsParams
- func (o *GetProspectsParams) WithFirstName(firstName *string) *GetProspectsParams
- func (o *GetProspectsParams) WithHTTPClient(client *http.Client) *GetProspectsParams
- func (o *GetProspectsParams) WithIndustry(industry *string) *GetProspectsParams
- func (o *GetProspectsParams) WithInterested(interested *string) *GetProspectsParams
- func (o *GetProspectsParams) WithPage(page *float64) *GetProspectsParams
- func (o *GetProspectsParams) WithPerPage(perPage *int32) *GetProspectsParams
- func (o *GetProspectsParams) WithSearch(search *string) *GetProspectsParams
- func (o *GetProspectsParams) WithSecondName(secondName *string) *GetProspectsParams
- func (o *GetProspectsParams) WithSnippet1(snippet1 *string) *GetProspectsParams
- func (o *GetProspectsParams) WithSnippet2(snippet2 *string) *GetProspectsParams
- func (o *GetProspectsParams) WithSnippet3(snippet3 *string) *GetProspectsParams
- func (o *GetProspectsParams) WithSnippet4(snippet4 *string) *GetProspectsParams
- func (o *GetProspectsParams) WithSort(sort *string) *GetProspectsParams
- func (o *GetProspectsParams) WithState(state *string) *GetProspectsParams
- func (o *GetProspectsParams) WithStatus(status *string) *GetProspectsParams
- func (o *GetProspectsParams) WithTags(tags *string) *GetProspectsParams
- func (o *GetProspectsParams) WithTimeout(timeout time.Duration) *GetProspectsParams
- func (o *GetProspectsParams) WithTitle(title *string) *GetProspectsParams
- func (o *GetProspectsParams) WithWebsite(website *string) *GetProspectsParams
- func (o *GetProspectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProspectsReader
- type PostAddProspectsCampaignDefault
- type PostAddProspectsCampaignOK
- type PostAddProspectsCampaignParams
- func NewPostAddProspectsCampaignParams() *PostAddProspectsCampaignParams
- func NewPostAddProspectsCampaignParamsWithContext(ctx context.Context) *PostAddProspectsCampaignParams
- func NewPostAddProspectsCampaignParamsWithHTTPClient(client *http.Client) *PostAddProspectsCampaignParams
- func NewPostAddProspectsCampaignParamsWithTimeout(timeout time.Duration) *PostAddProspectsCampaignParams
- func (o *PostAddProspectsCampaignParams) SetBody(body *models.CreateProspect)
- func (o *PostAddProspectsCampaignParams) SetContext(ctx context.Context)
- func (o *PostAddProspectsCampaignParams) SetDefaults()
- func (o *PostAddProspectsCampaignParams) SetHTTPClient(client *http.Client)
- func (o *PostAddProspectsCampaignParams) SetTimeout(timeout time.Duration)
- func (o *PostAddProspectsCampaignParams) WithBody(body *models.CreateProspect) *PostAddProspectsCampaignParams
- func (o *PostAddProspectsCampaignParams) WithContext(ctx context.Context) *PostAddProspectsCampaignParams
- func (o *PostAddProspectsCampaignParams) WithDefaults() *PostAddProspectsCampaignParams
- func (o *PostAddProspectsCampaignParams) WithHTTPClient(client *http.Client) *PostAddProspectsCampaignParams
- func (o *PostAddProspectsCampaignParams) WithTimeout(timeout time.Duration) *PostAddProspectsCampaignParams
- func (o *PostAddProspectsCampaignParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAddProspectsCampaignReader
- type PostAddProspectsListDefault
- type PostAddProspectsListOK
- type PostAddProspectsListParams
- func NewPostAddProspectsListParams() *PostAddProspectsListParams
- func NewPostAddProspectsListParamsWithContext(ctx context.Context) *PostAddProspectsListParams
- func NewPostAddProspectsListParamsWithHTTPClient(client *http.Client) *PostAddProspectsListParams
- func NewPostAddProspectsListParamsWithTimeout(timeout time.Duration) *PostAddProspectsListParams
- func (o *PostAddProspectsListParams) SetBody(body *models.CreateGlobalProspect)
- func (o *PostAddProspectsListParams) SetContext(ctx context.Context)
- func (o *PostAddProspectsListParams) SetDefaults()
- func (o *PostAddProspectsListParams) SetHTTPClient(client *http.Client)
- func (o *PostAddProspectsListParams) SetTimeout(timeout time.Duration)
- func (o *PostAddProspectsListParams) WithBody(body *models.CreateGlobalProspect) *PostAddProspectsListParams
- func (o *PostAddProspectsListParams) WithContext(ctx context.Context) *PostAddProspectsListParams
- func (o *PostAddProspectsListParams) WithDefaults() *PostAddProspectsListParams
- func (o *PostAddProspectsListParams) WithHTTPClient(client *http.Client) *PostAddProspectsListParams
- func (o *PostAddProspectsListParams) WithTimeout(timeout time.Duration) *PostAddProspectsListParams
- func (o *PostAddProspectsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAddProspectsListReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for prospects API
func (*Client) GetProspects ¶
func (a *Client) GetProspects(params *GetProspectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProspectsOK, *GetProspectsNoContent, error)
GetProspects gets the list of prospects
get the list of prospects
func (*Client) PostAddProspectsCampaign ¶
func (a *Client) PostAddProspectsCampaign(params *PostAddProspectsCampaignParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAddProspectsCampaignOK, error)
PostAddProspectsCampaign adds prospects to the campaign
get the list of campaigns
func (*Client) PostAddProspectsList ¶
func (a *Client) PostAddProspectsList(params *PostAddProspectsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAddProspectsListOK, error)
PostAddProspectsList adds prospects to the global prospects list
get the list of campaigns
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetProspects(params *GetProspectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProspectsOK, *GetProspectsNoContent, error) PostAddProspectsCampaign(params *PostAddProspectsCampaignParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAddProspectsCampaignOK, error) PostAddProspectsList(params *PostAddProspectsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAddProspectsListOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new prospects API client.
type GetProspectsDefault ¶
GetProspectsDefault describes a response with status code -1, with default header values.
Unexpected error
func NewGetProspectsDefault ¶
func NewGetProspectsDefault(code int) *GetProspectsDefault
NewGetProspectsDefault creates a GetProspectsDefault with default headers values
func (*GetProspectsDefault) Code ¶
func (o *GetProspectsDefault) Code() int
Code gets the status code for the get prospects default response
func (*GetProspectsDefault) Error ¶
func (o *GetProspectsDefault) Error() string
func (*GetProspectsDefault) GetPayload ¶
func (o *GetProspectsDefault) GetPayload() *models.Error
type GetProspectsNoContent ¶
GetProspectsNoContent describes a response with status code 204, with default header values.
An array of prospects
func NewGetProspectsNoContent ¶
func NewGetProspectsNoContent() *GetProspectsNoContent
NewGetProspectsNoContent creates a GetProspectsNoContent with default headers values
func (*GetProspectsNoContent) Error ¶
func (o *GetProspectsNoContent) Error() string
func (*GetProspectsNoContent) GetPayload ¶
func (o *GetProspectsNoContent) GetPayload() []*models.Prospect
type GetProspectsOK ¶
GetProspectsOK describes a response with status code 200, with default header values.
An array of prospects
func NewGetProspectsOK ¶
func NewGetProspectsOK() *GetProspectsOK
NewGetProspectsOK creates a GetProspectsOK with default headers values
func (*GetProspectsOK) Error ¶
func (o *GetProspectsOK) Error() string
func (*GetProspectsOK) GetPayload ¶
func (o *GetProspectsOK) GetPayload() []*models.Prospect
type GetProspectsParams ¶
type GetProspectsParams struct { /* Activity. Prospect's activity */ Activity *string /* Address. Prospect's physical address of the prospect */ Address *string /* CampaignsID. Campaign ID */ CampaignsID []int32 /* City. Prospect's city */ City *string /* Company. Prospect's company */ Company *string /* Contacted. Whether a Prospect has been contacted or not */ Contacted *string /* Country. Prospect's country */ Country *string /* Diff. Request to see the data that have been changed since any specific date */ Diff *string /* Email. Prospect's email address */ Email *string /* FirstName. Prospect's first name */ FirstName *string /* Industry. Prospect's industry of the company */ Industry *string /* Interested. Prospect's interested */ Interested *string /* Page. Page number Format: integer */ Page *float64 /* PerPage. Per Page results Format: int32 Default: 100 */ PerPage *int32 /* Search. Search string */ Search *string /* SecondName. Prospect's second name */ SecondName *string /* Snippet1. Prospect's custom snippets of the prospect */ Snippet1 *string /* Snippet2. Prospect's custom snippets of the prospect */ Snippet2 *string /* Snippet3. Prospect's custom snippets of the prospect */ Snippet3 *string /* Snippet4. Prospect's custom snippets of the prospect */ Snippet4 *string /* Sort. Sorting field */ Sort *string /* State. Prospect's state */ State *string /* Status. Prospect's status */ Status *string /* Tags. Prospect's tags */ Tags *string /* Title. Prospect's title */ Title *string /* Website. Prospect's website address */ Website *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProspectsParams contains all the parameters to send to the API endpoint
for the get prospects operation. Typically these are written to a http.Request.
func NewGetProspectsParams ¶
func NewGetProspectsParams() *GetProspectsParams
NewGetProspectsParams creates a new GetProspectsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetProspectsParamsWithContext ¶
func NewGetProspectsParamsWithContext(ctx context.Context) *GetProspectsParams
NewGetProspectsParamsWithContext creates a new GetProspectsParams object with the ability to set a context for a request.
func NewGetProspectsParamsWithHTTPClient ¶
func NewGetProspectsParamsWithHTTPClient(client *http.Client) *GetProspectsParams
NewGetProspectsParamsWithHTTPClient creates a new GetProspectsParams object with the ability to set a custom HTTPClient for a request.
func NewGetProspectsParamsWithTimeout ¶
func NewGetProspectsParamsWithTimeout(timeout time.Duration) *GetProspectsParams
NewGetProspectsParamsWithTimeout creates a new GetProspectsParams object with the ability to set a timeout on a request.
func (*GetProspectsParams) SetActivity ¶
func (o *GetProspectsParams) SetActivity(activity *string)
SetActivity adds the activity to the get prospects params
func (*GetProspectsParams) SetAddress ¶
func (o *GetProspectsParams) SetAddress(address *string)
SetAddress adds the address to the get prospects params
func (*GetProspectsParams) SetCampaignsID ¶
func (o *GetProspectsParams) SetCampaignsID(campaignsID []int32)
SetCampaignsID adds the campaignsId to the get prospects params
func (*GetProspectsParams) SetCity ¶
func (o *GetProspectsParams) SetCity(city *string)
SetCity adds the city to the get prospects params
func (*GetProspectsParams) SetCompany ¶
func (o *GetProspectsParams) SetCompany(company *string)
SetCompany adds the company to the get prospects params
func (*GetProspectsParams) SetContacted ¶
func (o *GetProspectsParams) SetContacted(contacted *string)
SetContacted adds the contacted to the get prospects params
func (*GetProspectsParams) SetContext ¶
func (o *GetProspectsParams) SetContext(ctx context.Context)
SetContext adds the context to the get prospects params
func (*GetProspectsParams) SetCountry ¶
func (o *GetProspectsParams) SetCountry(country *string)
SetCountry adds the country to the get prospects params
func (*GetProspectsParams) SetDefaults ¶
func (o *GetProspectsParams) SetDefaults()
SetDefaults hydrates default values in the get prospects params (not the query body).
All values with no default are reset to their zero value.
func (*GetProspectsParams) SetDiff ¶
func (o *GetProspectsParams) SetDiff(diff *string)
SetDiff adds the diff to the get prospects params
func (*GetProspectsParams) SetEmail ¶
func (o *GetProspectsParams) SetEmail(email *string)
SetEmail adds the email to the get prospects params
func (*GetProspectsParams) SetFirstName ¶
func (o *GetProspectsParams) SetFirstName(firstName *string)
SetFirstName adds the firstName to the get prospects params
func (*GetProspectsParams) SetHTTPClient ¶
func (o *GetProspectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get prospects params
func (*GetProspectsParams) SetIndustry ¶
func (o *GetProspectsParams) SetIndustry(industry *string)
SetIndustry adds the industry to the get prospects params
func (*GetProspectsParams) SetInterested ¶
func (o *GetProspectsParams) SetInterested(interested *string)
SetInterested adds the interested to the get prospects params
func (*GetProspectsParams) SetPage ¶
func (o *GetProspectsParams) SetPage(page *float64)
SetPage adds the page to the get prospects params
func (*GetProspectsParams) SetPerPage ¶
func (o *GetProspectsParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get prospects params
func (*GetProspectsParams) SetSearch ¶
func (o *GetProspectsParams) SetSearch(search *string)
SetSearch adds the search to the get prospects params
func (*GetProspectsParams) SetSecondName ¶
func (o *GetProspectsParams) SetSecondName(secondName *string)
SetSecondName adds the secondName to the get prospects params
func (*GetProspectsParams) SetSnippet1 ¶
func (o *GetProspectsParams) SetSnippet1(snippet1 *string)
SetSnippet1 adds the snippet1 to the get prospects params
func (*GetProspectsParams) SetSnippet2 ¶
func (o *GetProspectsParams) SetSnippet2(snippet2 *string)
SetSnippet2 adds the snippet2 to the get prospects params
func (*GetProspectsParams) SetSnippet3 ¶
func (o *GetProspectsParams) SetSnippet3(snippet3 *string)
SetSnippet3 adds the snippet3 to the get prospects params
func (*GetProspectsParams) SetSnippet4 ¶
func (o *GetProspectsParams) SetSnippet4(snippet4 *string)
SetSnippet4 adds the snippet4 to the get prospects params
func (*GetProspectsParams) SetSort ¶
func (o *GetProspectsParams) SetSort(sort *string)
SetSort adds the sort to the get prospects params
func (*GetProspectsParams) SetState ¶
func (o *GetProspectsParams) SetState(state *string)
SetState adds the state to the get prospects params
func (*GetProspectsParams) SetStatus ¶
func (o *GetProspectsParams) SetStatus(status *string)
SetStatus adds the status to the get prospects params
func (*GetProspectsParams) SetTags ¶
func (o *GetProspectsParams) SetTags(tags *string)
SetTags adds the tags to the get prospects params
func (*GetProspectsParams) SetTimeout ¶
func (o *GetProspectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get prospects params
func (*GetProspectsParams) SetTitle ¶
func (o *GetProspectsParams) SetTitle(title *string)
SetTitle adds the title to the get prospects params
func (*GetProspectsParams) SetWebsite ¶
func (o *GetProspectsParams) SetWebsite(website *string)
SetWebsite adds the website to the get prospects params
func (*GetProspectsParams) WithActivity ¶
func (o *GetProspectsParams) WithActivity(activity *string) *GetProspectsParams
WithActivity adds the activity to the get prospects params
func (*GetProspectsParams) WithAddress ¶
func (o *GetProspectsParams) WithAddress(address *string) *GetProspectsParams
WithAddress adds the address to the get prospects params
func (*GetProspectsParams) WithCampaignsID ¶
func (o *GetProspectsParams) WithCampaignsID(campaignsID []int32) *GetProspectsParams
WithCampaignsID adds the campaignsID to the get prospects params
func (*GetProspectsParams) WithCity ¶
func (o *GetProspectsParams) WithCity(city *string) *GetProspectsParams
WithCity adds the city to the get prospects params
func (*GetProspectsParams) WithCompany ¶
func (o *GetProspectsParams) WithCompany(company *string) *GetProspectsParams
WithCompany adds the company to the get prospects params
func (*GetProspectsParams) WithContacted ¶
func (o *GetProspectsParams) WithContacted(contacted *string) *GetProspectsParams
WithContacted adds the contacted to the get prospects params
func (*GetProspectsParams) WithContext ¶
func (o *GetProspectsParams) WithContext(ctx context.Context) *GetProspectsParams
WithContext adds the context to the get prospects params
func (*GetProspectsParams) WithCountry ¶
func (o *GetProspectsParams) WithCountry(country *string) *GetProspectsParams
WithCountry adds the country to the get prospects params
func (*GetProspectsParams) WithDefaults ¶
func (o *GetProspectsParams) WithDefaults() *GetProspectsParams
WithDefaults hydrates default values in the get prospects params (not the query body).
All values with no default are reset to their zero value.
func (*GetProspectsParams) WithDiff ¶
func (o *GetProspectsParams) WithDiff(diff *string) *GetProspectsParams
WithDiff adds the diff to the get prospects params
func (*GetProspectsParams) WithEmail ¶
func (o *GetProspectsParams) WithEmail(email *string) *GetProspectsParams
WithEmail adds the email to the get prospects params
func (*GetProspectsParams) WithFirstName ¶
func (o *GetProspectsParams) WithFirstName(firstName *string) *GetProspectsParams
WithFirstName adds the firstName to the get prospects params
func (*GetProspectsParams) WithHTTPClient ¶
func (o *GetProspectsParams) WithHTTPClient(client *http.Client) *GetProspectsParams
WithHTTPClient adds the HTTPClient to the get prospects params
func (*GetProspectsParams) WithIndustry ¶
func (o *GetProspectsParams) WithIndustry(industry *string) *GetProspectsParams
WithIndustry adds the industry to the get prospects params
func (*GetProspectsParams) WithInterested ¶
func (o *GetProspectsParams) WithInterested(interested *string) *GetProspectsParams
WithInterested adds the interested to the get prospects params
func (*GetProspectsParams) WithPage ¶
func (o *GetProspectsParams) WithPage(page *float64) *GetProspectsParams
WithPage adds the page to the get prospects params
func (*GetProspectsParams) WithPerPage ¶
func (o *GetProspectsParams) WithPerPage(perPage *int32) *GetProspectsParams
WithPerPage adds the perPage to the get prospects params
func (*GetProspectsParams) WithSearch ¶
func (o *GetProspectsParams) WithSearch(search *string) *GetProspectsParams
WithSearch adds the search to the get prospects params
func (*GetProspectsParams) WithSecondName ¶
func (o *GetProspectsParams) WithSecondName(secondName *string) *GetProspectsParams
WithSecondName adds the secondName to the get prospects params
func (*GetProspectsParams) WithSnippet1 ¶
func (o *GetProspectsParams) WithSnippet1(snippet1 *string) *GetProspectsParams
WithSnippet1 adds the snippet1 to the get prospects params
func (*GetProspectsParams) WithSnippet2 ¶
func (o *GetProspectsParams) WithSnippet2(snippet2 *string) *GetProspectsParams
WithSnippet2 adds the snippet2 to the get prospects params
func (*GetProspectsParams) WithSnippet3 ¶
func (o *GetProspectsParams) WithSnippet3(snippet3 *string) *GetProspectsParams
WithSnippet3 adds the snippet3 to the get prospects params
func (*GetProspectsParams) WithSnippet4 ¶
func (o *GetProspectsParams) WithSnippet4(snippet4 *string) *GetProspectsParams
WithSnippet4 adds the snippet4 to the get prospects params
func (*GetProspectsParams) WithSort ¶
func (o *GetProspectsParams) WithSort(sort *string) *GetProspectsParams
WithSort adds the sort to the get prospects params
func (*GetProspectsParams) WithState ¶
func (o *GetProspectsParams) WithState(state *string) *GetProspectsParams
WithState adds the state to the get prospects params
func (*GetProspectsParams) WithStatus ¶
func (o *GetProspectsParams) WithStatus(status *string) *GetProspectsParams
WithStatus adds the status to the get prospects params
func (*GetProspectsParams) WithTags ¶
func (o *GetProspectsParams) WithTags(tags *string) *GetProspectsParams
WithTags adds the tags to the get prospects params
func (*GetProspectsParams) WithTimeout ¶
func (o *GetProspectsParams) WithTimeout(timeout time.Duration) *GetProspectsParams
WithTimeout adds the timeout to the get prospects params
func (*GetProspectsParams) WithTitle ¶
func (o *GetProspectsParams) WithTitle(title *string) *GetProspectsParams
WithTitle adds the title to the get prospects params
func (*GetProspectsParams) WithWebsite ¶
func (o *GetProspectsParams) WithWebsite(website *string) *GetProspectsParams
WithWebsite adds the website to the get prospects params
func (*GetProspectsParams) WriteToRequest ¶
func (o *GetProspectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProspectsReader ¶
type GetProspectsReader struct {
// contains filtered or unexported fields
}
GetProspectsReader is a Reader for the GetProspects structure.
func (*GetProspectsReader) ReadResponse ¶
func (o *GetProspectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAddProspectsCampaignDefault ¶
type PostAddProspectsCampaignDefault struct { Payload *models.Error // contains filtered or unexported fields }
PostAddProspectsCampaignDefault describes a response with status code -1, with default header values.
Unexpected error
func NewPostAddProspectsCampaignDefault ¶
func NewPostAddProspectsCampaignDefault(code int) *PostAddProspectsCampaignDefault
NewPostAddProspectsCampaignDefault creates a PostAddProspectsCampaignDefault with default headers values
func (*PostAddProspectsCampaignDefault) Code ¶
func (o *PostAddProspectsCampaignDefault) Code() int
Code gets the status code for the post add prospects campaign default response
func (*PostAddProspectsCampaignDefault) Error ¶
func (o *PostAddProspectsCampaignDefault) Error() string
func (*PostAddProspectsCampaignDefault) GetPayload ¶
func (o *PostAddProspectsCampaignDefault) GetPayload() *models.Error
type PostAddProspectsCampaignOK ¶
type PostAddProspectsCampaignOK struct {
Payload *models.CreateProspectResponse
}
PostAddProspectsCampaignOK describes a response with status code 200, with default header values.
The created prospect
func NewPostAddProspectsCampaignOK ¶
func NewPostAddProspectsCampaignOK() *PostAddProspectsCampaignOK
NewPostAddProspectsCampaignOK creates a PostAddProspectsCampaignOK with default headers values
func (*PostAddProspectsCampaignOK) Error ¶
func (o *PostAddProspectsCampaignOK) Error() string
func (*PostAddProspectsCampaignOK) GetPayload ¶
func (o *PostAddProspectsCampaignOK) GetPayload() *models.CreateProspectResponse
type PostAddProspectsCampaignParams ¶
type PostAddProspectsCampaignParams struct { // Body. Body *models.CreateProspect Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAddProspectsCampaignParams contains all the parameters to send to the API endpoint
for the post add prospects campaign operation. Typically these are written to a http.Request.
func NewPostAddProspectsCampaignParams ¶
func NewPostAddProspectsCampaignParams() *PostAddProspectsCampaignParams
NewPostAddProspectsCampaignParams creates a new PostAddProspectsCampaignParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAddProspectsCampaignParamsWithContext ¶
func NewPostAddProspectsCampaignParamsWithContext(ctx context.Context) *PostAddProspectsCampaignParams
NewPostAddProspectsCampaignParamsWithContext creates a new PostAddProspectsCampaignParams object with the ability to set a context for a request.
func NewPostAddProspectsCampaignParamsWithHTTPClient ¶
func NewPostAddProspectsCampaignParamsWithHTTPClient(client *http.Client) *PostAddProspectsCampaignParams
NewPostAddProspectsCampaignParamsWithHTTPClient creates a new PostAddProspectsCampaignParams object with the ability to set a custom HTTPClient for a request.
func NewPostAddProspectsCampaignParamsWithTimeout ¶
func NewPostAddProspectsCampaignParamsWithTimeout(timeout time.Duration) *PostAddProspectsCampaignParams
NewPostAddProspectsCampaignParamsWithTimeout creates a new PostAddProspectsCampaignParams object with the ability to set a timeout on a request.
func (*PostAddProspectsCampaignParams) SetBody ¶
func (o *PostAddProspectsCampaignParams) SetBody(body *models.CreateProspect)
SetBody adds the body to the post add prospects campaign params
func (*PostAddProspectsCampaignParams) SetContext ¶
func (o *PostAddProspectsCampaignParams) SetContext(ctx context.Context)
SetContext adds the context to the post add prospects campaign params
func (*PostAddProspectsCampaignParams) SetDefaults ¶
func (o *PostAddProspectsCampaignParams) SetDefaults()
SetDefaults hydrates default values in the post add prospects campaign params (not the query body).
All values with no default are reset to their zero value.
func (*PostAddProspectsCampaignParams) SetHTTPClient ¶
func (o *PostAddProspectsCampaignParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post add prospects campaign params
func (*PostAddProspectsCampaignParams) SetTimeout ¶
func (o *PostAddProspectsCampaignParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post add prospects campaign params
func (*PostAddProspectsCampaignParams) WithBody ¶
func (o *PostAddProspectsCampaignParams) WithBody(body *models.CreateProspect) *PostAddProspectsCampaignParams
WithBody adds the body to the post add prospects campaign params
func (*PostAddProspectsCampaignParams) WithContext ¶
func (o *PostAddProspectsCampaignParams) WithContext(ctx context.Context) *PostAddProspectsCampaignParams
WithContext adds the context to the post add prospects campaign params
func (*PostAddProspectsCampaignParams) WithDefaults ¶
func (o *PostAddProspectsCampaignParams) WithDefaults() *PostAddProspectsCampaignParams
WithDefaults hydrates default values in the post add prospects campaign params (not the query body).
All values with no default are reset to their zero value.
func (*PostAddProspectsCampaignParams) WithHTTPClient ¶
func (o *PostAddProspectsCampaignParams) WithHTTPClient(client *http.Client) *PostAddProspectsCampaignParams
WithHTTPClient adds the HTTPClient to the post add prospects campaign params
func (*PostAddProspectsCampaignParams) WithTimeout ¶
func (o *PostAddProspectsCampaignParams) WithTimeout(timeout time.Duration) *PostAddProspectsCampaignParams
WithTimeout adds the timeout to the post add prospects campaign params
func (*PostAddProspectsCampaignParams) WriteToRequest ¶
func (o *PostAddProspectsCampaignParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAddProspectsCampaignReader ¶
type PostAddProspectsCampaignReader struct {
// contains filtered or unexported fields
}
PostAddProspectsCampaignReader is a Reader for the PostAddProspectsCampaign structure.
func (*PostAddProspectsCampaignReader) ReadResponse ¶
func (o *PostAddProspectsCampaignReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAddProspectsListDefault ¶
type PostAddProspectsListDefault struct { Payload *models.Error // contains filtered or unexported fields }
PostAddProspectsListDefault describes a response with status code -1, with default header values.
Unexpected error
func NewPostAddProspectsListDefault ¶
func NewPostAddProspectsListDefault(code int) *PostAddProspectsListDefault
NewPostAddProspectsListDefault creates a PostAddProspectsListDefault with default headers values
func (*PostAddProspectsListDefault) Code ¶
func (o *PostAddProspectsListDefault) Code() int
Code gets the status code for the post add prospects list default response
func (*PostAddProspectsListDefault) Error ¶
func (o *PostAddProspectsListDefault) Error() string
func (*PostAddProspectsListDefault) GetPayload ¶
func (o *PostAddProspectsListDefault) GetPayload() *models.Error
type PostAddProspectsListOK ¶
type PostAddProspectsListOK struct {
Payload *models.CreateProspectResponse
}
PostAddProspectsListOK describes a response with status code 200, with default header values.
The created prospect
func NewPostAddProspectsListOK ¶
func NewPostAddProspectsListOK() *PostAddProspectsListOK
NewPostAddProspectsListOK creates a PostAddProspectsListOK with default headers values
func (*PostAddProspectsListOK) Error ¶
func (o *PostAddProspectsListOK) Error() string
func (*PostAddProspectsListOK) GetPayload ¶
func (o *PostAddProspectsListOK) GetPayload() *models.CreateProspectResponse
type PostAddProspectsListParams ¶
type PostAddProspectsListParams struct { // Body. Body *models.CreateGlobalProspect Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAddProspectsListParams contains all the parameters to send to the API endpoint
for the post add prospects list operation. Typically these are written to a http.Request.
func NewPostAddProspectsListParams ¶
func NewPostAddProspectsListParams() *PostAddProspectsListParams
NewPostAddProspectsListParams creates a new PostAddProspectsListParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAddProspectsListParamsWithContext ¶
func NewPostAddProspectsListParamsWithContext(ctx context.Context) *PostAddProspectsListParams
NewPostAddProspectsListParamsWithContext creates a new PostAddProspectsListParams object with the ability to set a context for a request.
func NewPostAddProspectsListParamsWithHTTPClient ¶
func NewPostAddProspectsListParamsWithHTTPClient(client *http.Client) *PostAddProspectsListParams
NewPostAddProspectsListParamsWithHTTPClient creates a new PostAddProspectsListParams object with the ability to set a custom HTTPClient for a request.
func NewPostAddProspectsListParamsWithTimeout ¶
func NewPostAddProspectsListParamsWithTimeout(timeout time.Duration) *PostAddProspectsListParams
NewPostAddProspectsListParamsWithTimeout creates a new PostAddProspectsListParams object with the ability to set a timeout on a request.
func (*PostAddProspectsListParams) SetBody ¶
func (o *PostAddProspectsListParams) SetBody(body *models.CreateGlobalProspect)
SetBody adds the body to the post add prospects list params
func (*PostAddProspectsListParams) SetContext ¶
func (o *PostAddProspectsListParams) SetContext(ctx context.Context)
SetContext adds the context to the post add prospects list params
func (*PostAddProspectsListParams) SetDefaults ¶
func (o *PostAddProspectsListParams) SetDefaults()
SetDefaults hydrates default values in the post add prospects list params (not the query body).
All values with no default are reset to their zero value.
func (*PostAddProspectsListParams) SetHTTPClient ¶
func (o *PostAddProspectsListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post add prospects list params
func (*PostAddProspectsListParams) SetTimeout ¶
func (o *PostAddProspectsListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post add prospects list params
func (*PostAddProspectsListParams) WithBody ¶
func (o *PostAddProspectsListParams) WithBody(body *models.CreateGlobalProspect) *PostAddProspectsListParams
WithBody adds the body to the post add prospects list params
func (*PostAddProspectsListParams) WithContext ¶
func (o *PostAddProspectsListParams) WithContext(ctx context.Context) *PostAddProspectsListParams
WithContext adds the context to the post add prospects list params
func (*PostAddProspectsListParams) WithDefaults ¶
func (o *PostAddProspectsListParams) WithDefaults() *PostAddProspectsListParams
WithDefaults hydrates default values in the post add prospects list params (not the query body).
All values with no default are reset to their zero value.
func (*PostAddProspectsListParams) WithHTTPClient ¶
func (o *PostAddProspectsListParams) WithHTTPClient(client *http.Client) *PostAddProspectsListParams
WithHTTPClient adds the HTTPClient to the post add prospects list params
func (*PostAddProspectsListParams) WithTimeout ¶
func (o *PostAddProspectsListParams) WithTimeout(timeout time.Duration) *PostAddProspectsListParams
WithTimeout adds the timeout to the post add prospects list params
func (*PostAddProspectsListParams) WriteToRequest ¶
func (o *PostAddProspectsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAddProspectsListReader ¶
type PostAddProspectsListReader struct {
// contains filtered or unexported fields
}
PostAddProspectsListReader is a Reader for the PostAddProspectsList structure.
func (*PostAddProspectsListReader) ReadResponse ¶
func (o *PostAddProspectsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.