Documentation
¶
Index ¶
- type Client
- func (a *Client) GetCrmRoles(params *GetCrmRolesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCrmRolesOK, error)
- func (a *Client) GetCrmServiceplans(params *GetCrmServiceplansParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCrmServiceplansOK, error)
- func (a *Client) PostCrmClients(params *PostCrmClientsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostCrmClientsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetCrmRolesForbidden
- type GetCrmRolesInternalServerError
- type GetCrmRolesOK
- type GetCrmRolesParams
- func (o *GetCrmRolesParams) SetContext(ctx context.Context)
- func (o *GetCrmRolesParams) SetDefaults()
- func (o *GetCrmRolesParams) SetHTTPClient(client *http.Client)
- func (o *GetCrmRolesParams) SetTimeout(timeout time.Duration)
- func (o *GetCrmRolesParams) WithContext(ctx context.Context) *GetCrmRolesParams
- func (o *GetCrmRolesParams) WithDefaults() *GetCrmRolesParams
- func (o *GetCrmRolesParams) WithHTTPClient(client *http.Client) *GetCrmRolesParams
- func (o *GetCrmRolesParams) WithTimeout(timeout time.Duration) *GetCrmRolesParams
- func (o *GetCrmRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCrmRolesReader
- type GetCrmRolesServiceUnavailable
- type GetCrmRolesUnauthorized
- type GetCrmServiceplansForbidden
- type GetCrmServiceplansInternalServerError
- type GetCrmServiceplansOK
- type GetCrmServiceplansParams
- func NewGetCrmServiceplansParams() *GetCrmServiceplansParams
- func NewGetCrmServiceplansParamsWithContext(ctx context.Context) *GetCrmServiceplansParams
- func NewGetCrmServiceplansParamsWithHTTPClient(client *http.Client) *GetCrmServiceplansParams
- func NewGetCrmServiceplansParamsWithTimeout(timeout time.Duration) *GetCrmServiceplansParams
- func (o *GetCrmServiceplansParams) SetContext(ctx context.Context)
- func (o *GetCrmServiceplansParams) SetDefaults()
- func (o *GetCrmServiceplansParams) SetHTTPClient(client *http.Client)
- func (o *GetCrmServiceplansParams) SetTimeout(timeout time.Duration)
- func (o *GetCrmServiceplansParams) WithContext(ctx context.Context) *GetCrmServiceplansParams
- func (o *GetCrmServiceplansParams) WithDefaults() *GetCrmServiceplansParams
- func (o *GetCrmServiceplansParams) WithHTTPClient(client *http.Client) *GetCrmServiceplansParams
- func (o *GetCrmServiceplansParams) WithTimeout(timeout time.Duration) *GetCrmServiceplansParams
- func (o *GetCrmServiceplansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCrmServiceplansReader
- type GetCrmServiceplansServiceUnavailable
- type GetCrmServiceplansUnauthorized
- type PostCrmClientsConflict
- type PostCrmClientsForbidden
- type PostCrmClientsInternalServerError
- type PostCrmClientsOK
- type PostCrmClientsParams
- func NewPostCrmClientsParams() *PostCrmClientsParams
- func NewPostCrmClientsParamsWithContext(ctx context.Context) *PostCrmClientsParams
- func NewPostCrmClientsParamsWithHTTPClient(client *http.Client) *PostCrmClientsParams
- func NewPostCrmClientsParamsWithTimeout(timeout time.Duration) *PostCrmClientsParams
- func (o *PostCrmClientsParams) SetBody(body *models.NewClientSchema)
- func (o *PostCrmClientsParams) SetContext(ctx context.Context)
- func (o *PostCrmClientsParams) SetDefaults()
- func (o *PostCrmClientsParams) SetHTTPClient(client *http.Client)
- func (o *PostCrmClientsParams) SetTimeout(timeout time.Duration)
- func (o *PostCrmClientsParams) WithBody(body *models.NewClientSchema) *PostCrmClientsParams
- func (o *PostCrmClientsParams) WithContext(ctx context.Context) *PostCrmClientsParams
- func (o *PostCrmClientsParams) WithDefaults() *PostCrmClientsParams
- func (o *PostCrmClientsParams) WithHTTPClient(client *http.Client) *PostCrmClientsParams
- func (o *PostCrmClientsParams) WithTimeout(timeout time.Duration) *PostCrmClientsParams
- func (o *PostCrmClientsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostCrmClientsReader
- type PostCrmClientsServiceUnavailable
- type PostCrmClientsUnauthorized
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 c r m API
func (*Client) GetCrmRoles ¶
func (a *Client) GetCrmRoles(params *GetCrmRolesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCrmRolesOK, error)
GetCrmRoles gets c r m admin users
func (*Client) GetCrmServiceplans ¶
func (a *Client) GetCrmServiceplans(params *GetCrmServiceplansParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCrmServiceplansOK, error)
GetCrmServiceplans gets c r m service plans
func (*Client) PostCrmClients ¶
func (a *Client) PostCrmClients(params *PostCrmClientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostCrmClientsOK, error)
PostCrmClients creates c r m client
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 { GetCrmRoles(params *GetCrmRolesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCrmRolesOK, error) GetCrmServiceplans(params *GetCrmServiceplansParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCrmServiceplansOK, error) PostCrmClients(params *PostCrmClientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostCrmClientsOK, 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 c r m API client.
type GetCrmRolesForbidden ¶
GetCrmRolesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetCrmRolesForbidden ¶
func NewGetCrmRolesForbidden() *GetCrmRolesForbidden
NewGetCrmRolesForbidden creates a GetCrmRolesForbidden with default headers values
func (*GetCrmRolesForbidden) Error ¶
func (o *GetCrmRolesForbidden) Error() string
func (*GetCrmRolesForbidden) GetPayload ¶
func (o *GetCrmRolesForbidden) GetPayload() *models.Error
type GetCrmRolesInternalServerError ¶
GetCrmRolesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetCrmRolesInternalServerError ¶
func NewGetCrmRolesInternalServerError() *GetCrmRolesInternalServerError
NewGetCrmRolesInternalServerError creates a GetCrmRolesInternalServerError with default headers values
func (*GetCrmRolesInternalServerError) Error ¶
func (o *GetCrmRolesInternalServerError) Error() string
func (*GetCrmRolesInternalServerError) GetPayload ¶
func (o *GetCrmRolesInternalServerError) GetPayload() *models.Error
type GetCrmRolesOK ¶
type GetCrmRolesOK struct {
Payload models.CrmRoleListSchema
}
GetCrmRolesOK describes a response with status code 200, with default header values.
Successful
func NewGetCrmRolesOK ¶
func NewGetCrmRolesOK() *GetCrmRolesOK
NewGetCrmRolesOK creates a GetCrmRolesOK with default headers values
func (*GetCrmRolesOK) Error ¶
func (o *GetCrmRolesOK) Error() string
func (*GetCrmRolesOK) GetPayload ¶
func (o *GetCrmRolesOK) GetPayload() models.CrmRoleListSchema
type GetCrmRolesParams ¶
type GetCrmRolesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCrmRolesParams contains all the parameters to send to the API endpoint
for the get crm roles operation. Typically these are written to a http.Request.
func NewGetCrmRolesParams ¶
func NewGetCrmRolesParams() *GetCrmRolesParams
NewGetCrmRolesParams creates a new GetCrmRolesParams 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 NewGetCrmRolesParamsWithContext ¶
func NewGetCrmRolesParamsWithContext(ctx context.Context) *GetCrmRolesParams
NewGetCrmRolesParamsWithContext creates a new GetCrmRolesParams object with the ability to set a context for a request.
func NewGetCrmRolesParamsWithHTTPClient ¶
func NewGetCrmRolesParamsWithHTTPClient(client *http.Client) *GetCrmRolesParams
NewGetCrmRolesParamsWithHTTPClient creates a new GetCrmRolesParams object with the ability to set a custom HTTPClient for a request.
func NewGetCrmRolesParamsWithTimeout ¶
func NewGetCrmRolesParamsWithTimeout(timeout time.Duration) *GetCrmRolesParams
NewGetCrmRolesParamsWithTimeout creates a new GetCrmRolesParams object with the ability to set a timeout on a request.
func (*GetCrmRolesParams) SetContext ¶
func (o *GetCrmRolesParams) SetContext(ctx context.Context)
SetContext adds the context to the get crm roles params
func (*GetCrmRolesParams) SetDefaults ¶
func (o *GetCrmRolesParams) SetDefaults()
SetDefaults hydrates default values in the get crm roles params (not the query body).
All values with no default are reset to their zero value.
func (*GetCrmRolesParams) SetHTTPClient ¶
func (o *GetCrmRolesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get crm roles params
func (*GetCrmRolesParams) SetTimeout ¶
func (o *GetCrmRolesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get crm roles params
func (*GetCrmRolesParams) WithContext ¶
func (o *GetCrmRolesParams) WithContext(ctx context.Context) *GetCrmRolesParams
WithContext adds the context to the get crm roles params
func (*GetCrmRolesParams) WithDefaults ¶
func (o *GetCrmRolesParams) WithDefaults() *GetCrmRolesParams
WithDefaults hydrates default values in the get crm roles params (not the query body).
All values with no default are reset to their zero value.
func (*GetCrmRolesParams) WithHTTPClient ¶
func (o *GetCrmRolesParams) WithHTTPClient(client *http.Client) *GetCrmRolesParams
WithHTTPClient adds the HTTPClient to the get crm roles params
func (*GetCrmRolesParams) WithTimeout ¶
func (o *GetCrmRolesParams) WithTimeout(timeout time.Duration) *GetCrmRolesParams
WithTimeout adds the timeout to the get crm roles params
func (*GetCrmRolesParams) WriteToRequest ¶
func (o *GetCrmRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCrmRolesReader ¶
type GetCrmRolesReader struct {
// contains filtered or unexported fields
}
GetCrmRolesReader is a Reader for the GetCrmRoles structure.
func (*GetCrmRolesReader) ReadResponse ¶
func (o *GetCrmRolesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCrmRolesServiceUnavailable ¶
type GetCrmRolesServiceUnavailable struct {
}GetCrmRolesServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable
func NewGetCrmRolesServiceUnavailable ¶
func NewGetCrmRolesServiceUnavailable() *GetCrmRolesServiceUnavailable
NewGetCrmRolesServiceUnavailable creates a GetCrmRolesServiceUnavailable with default headers values
func (*GetCrmRolesServiceUnavailable) Error ¶
func (o *GetCrmRolesServiceUnavailable) Error() string
func (*GetCrmRolesServiceUnavailable) GetPayload ¶
func (o *GetCrmRolesServiceUnavailable) GetPayload() *models.Error
type GetCrmRolesUnauthorized ¶
type GetCrmRolesUnauthorized struct {
}GetCrmRolesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetCrmRolesUnauthorized ¶
func NewGetCrmRolesUnauthorized() *GetCrmRolesUnauthorized
NewGetCrmRolesUnauthorized creates a GetCrmRolesUnauthorized with default headers values
func (*GetCrmRolesUnauthorized) Error ¶
func (o *GetCrmRolesUnauthorized) Error() string
func (*GetCrmRolesUnauthorized) GetPayload ¶
func (o *GetCrmRolesUnauthorized) GetPayload() *models.Error
type GetCrmServiceplansForbidden ¶
GetCrmServiceplansForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetCrmServiceplansForbidden ¶
func NewGetCrmServiceplansForbidden() *GetCrmServiceplansForbidden
NewGetCrmServiceplansForbidden creates a GetCrmServiceplansForbidden with default headers values
func (*GetCrmServiceplansForbidden) Error ¶
func (o *GetCrmServiceplansForbidden) Error() string
func (*GetCrmServiceplansForbidden) GetPayload ¶
func (o *GetCrmServiceplansForbidden) GetPayload() *models.Error
type GetCrmServiceplansInternalServerError ¶
GetCrmServiceplansInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetCrmServiceplansInternalServerError ¶
func NewGetCrmServiceplansInternalServerError() *GetCrmServiceplansInternalServerError
NewGetCrmServiceplansInternalServerError creates a GetCrmServiceplansInternalServerError with default headers values
func (*GetCrmServiceplansInternalServerError) Error ¶
func (o *GetCrmServiceplansInternalServerError) Error() string
func (*GetCrmServiceplansInternalServerError) GetPayload ¶
func (o *GetCrmServiceplansInternalServerError) GetPayload() *models.Error
type GetCrmServiceplansOK ¶
type GetCrmServiceplansOK struct {
Payload models.CrmServicePlanListSchema
}
GetCrmServiceplansOK describes a response with status code 200, with default header values.
Successful
func NewGetCrmServiceplansOK ¶
func NewGetCrmServiceplansOK() *GetCrmServiceplansOK
NewGetCrmServiceplansOK creates a GetCrmServiceplansOK with default headers values
func (*GetCrmServiceplansOK) Error ¶
func (o *GetCrmServiceplansOK) Error() string
func (*GetCrmServiceplansOK) GetPayload ¶
func (o *GetCrmServiceplansOK) GetPayload() models.CrmServicePlanListSchema
type GetCrmServiceplansParams ¶
type GetCrmServiceplansParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCrmServiceplansParams contains all the parameters to send to the API endpoint
for the get crm serviceplans operation. Typically these are written to a http.Request.
func NewGetCrmServiceplansParams ¶
func NewGetCrmServiceplansParams() *GetCrmServiceplansParams
NewGetCrmServiceplansParams creates a new GetCrmServiceplansParams 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 NewGetCrmServiceplansParamsWithContext ¶
func NewGetCrmServiceplansParamsWithContext(ctx context.Context) *GetCrmServiceplansParams
NewGetCrmServiceplansParamsWithContext creates a new GetCrmServiceplansParams object with the ability to set a context for a request.
func NewGetCrmServiceplansParamsWithHTTPClient ¶
func NewGetCrmServiceplansParamsWithHTTPClient(client *http.Client) *GetCrmServiceplansParams
NewGetCrmServiceplansParamsWithHTTPClient creates a new GetCrmServiceplansParams object with the ability to set a custom HTTPClient for a request.
func NewGetCrmServiceplansParamsWithTimeout ¶
func NewGetCrmServiceplansParamsWithTimeout(timeout time.Duration) *GetCrmServiceplansParams
NewGetCrmServiceplansParamsWithTimeout creates a new GetCrmServiceplansParams object with the ability to set a timeout on a request.
func (*GetCrmServiceplansParams) SetContext ¶
func (o *GetCrmServiceplansParams) SetContext(ctx context.Context)
SetContext adds the context to the get crm serviceplans params
func (*GetCrmServiceplansParams) SetDefaults ¶
func (o *GetCrmServiceplansParams) SetDefaults()
SetDefaults hydrates default values in the get crm serviceplans params (not the query body).
All values with no default are reset to their zero value.
func (*GetCrmServiceplansParams) SetHTTPClient ¶
func (o *GetCrmServiceplansParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get crm serviceplans params
func (*GetCrmServiceplansParams) SetTimeout ¶
func (o *GetCrmServiceplansParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get crm serviceplans params
func (*GetCrmServiceplansParams) WithContext ¶
func (o *GetCrmServiceplansParams) WithContext(ctx context.Context) *GetCrmServiceplansParams
WithContext adds the context to the get crm serviceplans params
func (*GetCrmServiceplansParams) WithDefaults ¶
func (o *GetCrmServiceplansParams) WithDefaults() *GetCrmServiceplansParams
WithDefaults hydrates default values in the get crm serviceplans params (not the query body).
All values with no default are reset to their zero value.
func (*GetCrmServiceplansParams) WithHTTPClient ¶
func (o *GetCrmServiceplansParams) WithHTTPClient(client *http.Client) *GetCrmServiceplansParams
WithHTTPClient adds the HTTPClient to the get crm serviceplans params
func (*GetCrmServiceplansParams) WithTimeout ¶
func (o *GetCrmServiceplansParams) WithTimeout(timeout time.Duration) *GetCrmServiceplansParams
WithTimeout adds the timeout to the get crm serviceplans params
func (*GetCrmServiceplansParams) WriteToRequest ¶
func (o *GetCrmServiceplansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCrmServiceplansReader ¶
type GetCrmServiceplansReader struct {
// contains filtered or unexported fields
}
GetCrmServiceplansReader is a Reader for the GetCrmServiceplans structure.
func (*GetCrmServiceplansReader) ReadResponse ¶
func (o *GetCrmServiceplansReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCrmServiceplansServiceUnavailable ¶
type GetCrmServiceplansServiceUnavailable struct {
}GetCrmServiceplansServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable
func NewGetCrmServiceplansServiceUnavailable ¶
func NewGetCrmServiceplansServiceUnavailable() *GetCrmServiceplansServiceUnavailable
NewGetCrmServiceplansServiceUnavailable creates a GetCrmServiceplansServiceUnavailable with default headers values
func (*GetCrmServiceplansServiceUnavailable) Error ¶
func (o *GetCrmServiceplansServiceUnavailable) Error() string
func (*GetCrmServiceplansServiceUnavailable) GetPayload ¶
func (o *GetCrmServiceplansServiceUnavailable) GetPayload() *models.Error
type GetCrmServiceplansUnauthorized ¶
type GetCrmServiceplansUnauthorized struct {
}GetCrmServiceplansUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetCrmServiceplansUnauthorized ¶
func NewGetCrmServiceplansUnauthorized() *GetCrmServiceplansUnauthorized
NewGetCrmServiceplansUnauthorized creates a GetCrmServiceplansUnauthorized with default headers values
func (*GetCrmServiceplansUnauthorized) Error ¶
func (o *GetCrmServiceplansUnauthorized) Error() string
func (*GetCrmServiceplansUnauthorized) GetPayload ¶
func (o *GetCrmServiceplansUnauthorized) GetPayload() *models.Error
type PostCrmClientsConflict ¶
PostCrmClientsConflict describes a response with status code 409, with default header values.
Conflict
func NewPostCrmClientsConflict ¶
func NewPostCrmClientsConflict() *PostCrmClientsConflict
NewPostCrmClientsConflict creates a PostCrmClientsConflict with default headers values
func (*PostCrmClientsConflict) Error ¶
func (o *PostCrmClientsConflict) Error() string
func (*PostCrmClientsConflict) GetPayload ¶
func (o *PostCrmClientsConflict) GetPayload() *models.Error
type PostCrmClientsForbidden ¶
PostCrmClientsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPostCrmClientsForbidden ¶
func NewPostCrmClientsForbidden() *PostCrmClientsForbidden
NewPostCrmClientsForbidden creates a PostCrmClientsForbidden with default headers values
func (*PostCrmClientsForbidden) Error ¶
func (o *PostCrmClientsForbidden) Error() string
func (*PostCrmClientsForbidden) GetPayload ¶
func (o *PostCrmClientsForbidden) GetPayload() *models.Error
type PostCrmClientsInternalServerError ¶
PostCrmClientsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostCrmClientsInternalServerError ¶
func NewPostCrmClientsInternalServerError() *PostCrmClientsInternalServerError
NewPostCrmClientsInternalServerError creates a PostCrmClientsInternalServerError with default headers values
func (*PostCrmClientsInternalServerError) Error ¶
func (o *PostCrmClientsInternalServerError) Error() string
func (*PostCrmClientsInternalServerError) GetPayload ¶
func (o *PostCrmClientsInternalServerError) GetPayload() *models.Error
type PostCrmClientsOK ¶
PostCrmClientsOK describes a response with status code 200, with default header values.
Successful
func NewPostCrmClientsOK ¶
func NewPostCrmClientsOK() *PostCrmClientsOK
NewPostCrmClientsOK creates a PostCrmClientsOK with default headers values
func (*PostCrmClientsOK) Error ¶
func (o *PostCrmClientsOK) Error() string
func (*PostCrmClientsOK) GetPayload ¶
func (o *PostCrmClientsOK) GetPayload() *models.Site
type PostCrmClientsParams ¶
type PostCrmClientsParams struct { // Body. Body *models.NewClientSchema Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostCrmClientsParams contains all the parameters to send to the API endpoint
for the post crm clients operation. Typically these are written to a http.Request.
func NewPostCrmClientsParams ¶
func NewPostCrmClientsParams() *PostCrmClientsParams
NewPostCrmClientsParams creates a new PostCrmClientsParams 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 NewPostCrmClientsParamsWithContext ¶
func NewPostCrmClientsParamsWithContext(ctx context.Context) *PostCrmClientsParams
NewPostCrmClientsParamsWithContext creates a new PostCrmClientsParams object with the ability to set a context for a request.
func NewPostCrmClientsParamsWithHTTPClient ¶
func NewPostCrmClientsParamsWithHTTPClient(client *http.Client) *PostCrmClientsParams
NewPostCrmClientsParamsWithHTTPClient creates a new PostCrmClientsParams object with the ability to set a custom HTTPClient for a request.
func NewPostCrmClientsParamsWithTimeout ¶
func NewPostCrmClientsParamsWithTimeout(timeout time.Duration) *PostCrmClientsParams
NewPostCrmClientsParamsWithTimeout creates a new PostCrmClientsParams object with the ability to set a timeout on a request.
func (*PostCrmClientsParams) SetBody ¶
func (o *PostCrmClientsParams) SetBody(body *models.NewClientSchema)
SetBody adds the body to the post crm clients params
func (*PostCrmClientsParams) SetContext ¶
func (o *PostCrmClientsParams) SetContext(ctx context.Context)
SetContext adds the context to the post crm clients params
func (*PostCrmClientsParams) SetDefaults ¶
func (o *PostCrmClientsParams) SetDefaults()
SetDefaults hydrates default values in the post crm clients params (not the query body).
All values with no default are reset to their zero value.
func (*PostCrmClientsParams) SetHTTPClient ¶
func (o *PostCrmClientsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post crm clients params
func (*PostCrmClientsParams) SetTimeout ¶
func (o *PostCrmClientsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post crm clients params
func (*PostCrmClientsParams) WithBody ¶
func (o *PostCrmClientsParams) WithBody(body *models.NewClientSchema) *PostCrmClientsParams
WithBody adds the body to the post crm clients params
func (*PostCrmClientsParams) WithContext ¶
func (o *PostCrmClientsParams) WithContext(ctx context.Context) *PostCrmClientsParams
WithContext adds the context to the post crm clients params
func (*PostCrmClientsParams) WithDefaults ¶
func (o *PostCrmClientsParams) WithDefaults() *PostCrmClientsParams
WithDefaults hydrates default values in the post crm clients params (not the query body).
All values with no default are reset to their zero value.
func (*PostCrmClientsParams) WithHTTPClient ¶
func (o *PostCrmClientsParams) WithHTTPClient(client *http.Client) *PostCrmClientsParams
WithHTTPClient adds the HTTPClient to the post crm clients params
func (*PostCrmClientsParams) WithTimeout ¶
func (o *PostCrmClientsParams) WithTimeout(timeout time.Duration) *PostCrmClientsParams
WithTimeout adds the timeout to the post crm clients params
func (*PostCrmClientsParams) WriteToRequest ¶
func (o *PostCrmClientsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostCrmClientsReader ¶
type PostCrmClientsReader struct {
// contains filtered or unexported fields
}
PostCrmClientsReader is a Reader for the PostCrmClients structure.
func (*PostCrmClientsReader) ReadResponse ¶
func (o *PostCrmClientsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostCrmClientsServiceUnavailable ¶
type PostCrmClientsServiceUnavailable struct {
}PostCrmClientsServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable
func NewPostCrmClientsServiceUnavailable ¶
func NewPostCrmClientsServiceUnavailable() *PostCrmClientsServiceUnavailable
NewPostCrmClientsServiceUnavailable creates a PostCrmClientsServiceUnavailable with default headers values
func (*PostCrmClientsServiceUnavailable) Error ¶
func (o *PostCrmClientsServiceUnavailable) Error() string
func (*PostCrmClientsServiceUnavailable) GetPayload ¶
func (o *PostCrmClientsServiceUnavailable) GetPayload() *models.Error
type PostCrmClientsUnauthorized ¶
type PostCrmClientsUnauthorized struct {
}PostCrmClientsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostCrmClientsUnauthorized ¶
func NewPostCrmClientsUnauthorized() *PostCrmClientsUnauthorized
NewPostCrmClientsUnauthorized creates a PostCrmClientsUnauthorized with default headers values
func (*PostCrmClientsUnauthorized) Error ¶
func (o *PostCrmClientsUnauthorized) Error() string
func (*PostCrmClientsUnauthorized) GetPayload ¶
func (o *PostCrmClientsUnauthorized) GetPayload() *models.Error