Documentation
¶
Index ¶
- type Client
- func (a *Client) GetNetworkContentFiltering(params *GetNetworkContentFilteringParams, ...) (*GetNetworkContentFilteringOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNetworkContentFiltering(params *UpdateNetworkContentFilteringParams, ...) (*UpdateNetworkContentFilteringOK, error)
- type ClientService
- type GetNetworkContentFilteringOK
- type GetNetworkContentFilteringParams
- func NewGetNetworkContentFilteringParams() *GetNetworkContentFilteringParams
- func NewGetNetworkContentFilteringParamsWithContext(ctx context.Context) *GetNetworkContentFilteringParams
- func NewGetNetworkContentFilteringParamsWithHTTPClient(client *http.Client) *GetNetworkContentFilteringParams
- func NewGetNetworkContentFilteringParamsWithTimeout(timeout time.Duration) *GetNetworkContentFilteringParams
- func (o *GetNetworkContentFilteringParams) SetContext(ctx context.Context)
- func (o *GetNetworkContentFilteringParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkContentFilteringParams) SetNetworkID(networkID string)
- func (o *GetNetworkContentFilteringParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkContentFilteringParams) WithContext(ctx context.Context) *GetNetworkContentFilteringParams
- func (o *GetNetworkContentFilteringParams) WithHTTPClient(client *http.Client) *GetNetworkContentFilteringParams
- func (o *GetNetworkContentFilteringParams) WithNetworkID(networkID string) *GetNetworkContentFilteringParams
- func (o *GetNetworkContentFilteringParams) WithTimeout(timeout time.Duration) *GetNetworkContentFilteringParams
- func (o *GetNetworkContentFilteringParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkContentFilteringReader
- type UpdateNetworkContentFilteringOK
- type UpdateNetworkContentFilteringParams
- func NewUpdateNetworkContentFilteringParams() *UpdateNetworkContentFilteringParams
- func NewUpdateNetworkContentFilteringParamsWithContext(ctx context.Context) *UpdateNetworkContentFilteringParams
- func NewUpdateNetworkContentFilteringParamsWithHTTPClient(client *http.Client) *UpdateNetworkContentFilteringParams
- func NewUpdateNetworkContentFilteringParamsWithTimeout(timeout time.Duration) *UpdateNetworkContentFilteringParams
- func (o *UpdateNetworkContentFilteringParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkContentFilteringParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkContentFilteringParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkContentFilteringParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkContentFilteringParams) SetUpdateNetworkContentFiltering(updateNetworkContentFiltering *models.UpdateNetworkContentFiltering)
- func (o *UpdateNetworkContentFilteringParams) WithContext(ctx context.Context) *UpdateNetworkContentFilteringParams
- func (o *UpdateNetworkContentFilteringParams) WithHTTPClient(client *http.Client) *UpdateNetworkContentFilteringParams
- func (o *UpdateNetworkContentFilteringParams) WithNetworkID(networkID string) *UpdateNetworkContentFilteringParams
- func (o *UpdateNetworkContentFilteringParams) WithTimeout(timeout time.Duration) *UpdateNetworkContentFilteringParams
- func (o *UpdateNetworkContentFilteringParams) WithUpdateNetworkContentFiltering(updateNetworkContentFiltering *models.UpdateNetworkContentFiltering) *UpdateNetworkContentFilteringParams
- func (o *UpdateNetworkContentFilteringParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkContentFilteringReader
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 content filtering rules API
func (*Client) GetNetworkContentFiltering ¶
func (a *Client) GetNetworkContentFiltering(params *GetNetworkContentFilteringParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkContentFilteringOK, error)
GetNetworkContentFiltering gets network content filtering
Return the content filtering settings for an MX network
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateNetworkContentFiltering ¶
func (a *Client) UpdateNetworkContentFiltering(params *UpdateNetworkContentFilteringParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkContentFilteringOK, error)
UpdateNetworkContentFiltering updates network content filtering
Update the content filtering settings for an MX network
type ClientService ¶
type ClientService interface { GetNetworkContentFiltering(params *GetNetworkContentFilteringParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkContentFilteringOK, error) UpdateNetworkContentFiltering(params *UpdateNetworkContentFilteringParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkContentFilteringOK, 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 content filtering rules API client.
type GetNetworkContentFilteringOK ¶
type GetNetworkContentFilteringOK struct {
Payload interface{}
}
GetNetworkContentFilteringOK handles this case with default header values.
Successful operation
func NewGetNetworkContentFilteringOK ¶
func NewGetNetworkContentFilteringOK() *GetNetworkContentFilteringOK
NewGetNetworkContentFilteringOK creates a GetNetworkContentFilteringOK with default headers values
func (*GetNetworkContentFilteringOK) Error ¶
func (o *GetNetworkContentFilteringOK) Error() string
func (*GetNetworkContentFilteringOK) GetPayload ¶
func (o *GetNetworkContentFilteringOK) GetPayload() interface{}
type GetNetworkContentFilteringParams ¶
type GetNetworkContentFilteringParams struct { /*NetworkID*/ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkContentFilteringParams contains all the parameters to send to the API endpoint for the get network content filtering operation typically these are written to a http.Request
func NewGetNetworkContentFilteringParams ¶
func NewGetNetworkContentFilteringParams() *GetNetworkContentFilteringParams
NewGetNetworkContentFilteringParams creates a new GetNetworkContentFilteringParams object with the default values initialized.
func NewGetNetworkContentFilteringParamsWithContext ¶
func NewGetNetworkContentFilteringParamsWithContext(ctx context.Context) *GetNetworkContentFilteringParams
NewGetNetworkContentFilteringParamsWithContext creates a new GetNetworkContentFilteringParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkContentFilteringParamsWithHTTPClient ¶
func NewGetNetworkContentFilteringParamsWithHTTPClient(client *http.Client) *GetNetworkContentFilteringParams
NewGetNetworkContentFilteringParamsWithHTTPClient creates a new GetNetworkContentFilteringParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkContentFilteringParamsWithTimeout ¶
func NewGetNetworkContentFilteringParamsWithTimeout(timeout time.Duration) *GetNetworkContentFilteringParams
NewGetNetworkContentFilteringParamsWithTimeout creates a new GetNetworkContentFilteringParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkContentFilteringParams) SetContext ¶
func (o *GetNetworkContentFilteringParams) SetContext(ctx context.Context)
SetContext adds the context to the get network content filtering params
func (*GetNetworkContentFilteringParams) SetHTTPClient ¶
func (o *GetNetworkContentFilteringParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network content filtering params
func (*GetNetworkContentFilteringParams) SetNetworkID ¶
func (o *GetNetworkContentFilteringParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network content filtering params
func (*GetNetworkContentFilteringParams) SetTimeout ¶
func (o *GetNetworkContentFilteringParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network content filtering params
func (*GetNetworkContentFilteringParams) WithContext ¶
func (o *GetNetworkContentFilteringParams) WithContext(ctx context.Context) *GetNetworkContentFilteringParams
WithContext adds the context to the get network content filtering params
func (*GetNetworkContentFilteringParams) WithHTTPClient ¶
func (o *GetNetworkContentFilteringParams) WithHTTPClient(client *http.Client) *GetNetworkContentFilteringParams
WithHTTPClient adds the HTTPClient to the get network content filtering params
func (*GetNetworkContentFilteringParams) WithNetworkID ¶
func (o *GetNetworkContentFilteringParams) WithNetworkID(networkID string) *GetNetworkContentFilteringParams
WithNetworkID adds the networkID to the get network content filtering params
func (*GetNetworkContentFilteringParams) WithTimeout ¶
func (o *GetNetworkContentFilteringParams) WithTimeout(timeout time.Duration) *GetNetworkContentFilteringParams
WithTimeout adds the timeout to the get network content filtering params
func (*GetNetworkContentFilteringParams) WriteToRequest ¶
func (o *GetNetworkContentFilteringParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkContentFilteringReader ¶
type GetNetworkContentFilteringReader struct {
// contains filtered or unexported fields
}
GetNetworkContentFilteringReader is a Reader for the GetNetworkContentFiltering structure.
func (*GetNetworkContentFilteringReader) ReadResponse ¶
func (o *GetNetworkContentFilteringReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNetworkContentFilteringOK ¶
type UpdateNetworkContentFilteringOK struct {
Payload interface{}
}
UpdateNetworkContentFilteringOK handles this case with default header values.
Successful operation
func NewUpdateNetworkContentFilteringOK ¶
func NewUpdateNetworkContentFilteringOK() *UpdateNetworkContentFilteringOK
NewUpdateNetworkContentFilteringOK creates a UpdateNetworkContentFilteringOK with default headers values
func (*UpdateNetworkContentFilteringOK) Error ¶
func (o *UpdateNetworkContentFilteringOK) Error() string
func (*UpdateNetworkContentFilteringOK) GetPayload ¶
func (o *UpdateNetworkContentFilteringOK) GetPayload() interface{}
type UpdateNetworkContentFilteringParams ¶
type UpdateNetworkContentFilteringParams struct { /*NetworkID*/ NetworkID string /*UpdateNetworkContentFiltering*/ UpdateNetworkContentFiltering *models.UpdateNetworkContentFiltering Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkContentFilteringParams contains all the parameters to send to the API endpoint for the update network content filtering operation typically these are written to a http.Request
func NewUpdateNetworkContentFilteringParams ¶
func NewUpdateNetworkContentFilteringParams() *UpdateNetworkContentFilteringParams
NewUpdateNetworkContentFilteringParams creates a new UpdateNetworkContentFilteringParams object with the default values initialized.
func NewUpdateNetworkContentFilteringParamsWithContext ¶
func NewUpdateNetworkContentFilteringParamsWithContext(ctx context.Context) *UpdateNetworkContentFilteringParams
NewUpdateNetworkContentFilteringParamsWithContext creates a new UpdateNetworkContentFilteringParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateNetworkContentFilteringParamsWithHTTPClient ¶
func NewUpdateNetworkContentFilteringParamsWithHTTPClient(client *http.Client) *UpdateNetworkContentFilteringParams
NewUpdateNetworkContentFilteringParamsWithHTTPClient creates a new UpdateNetworkContentFilteringParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateNetworkContentFilteringParamsWithTimeout ¶
func NewUpdateNetworkContentFilteringParamsWithTimeout(timeout time.Duration) *UpdateNetworkContentFilteringParams
NewUpdateNetworkContentFilteringParamsWithTimeout creates a new UpdateNetworkContentFilteringParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateNetworkContentFilteringParams) SetContext ¶
func (o *UpdateNetworkContentFilteringParams) SetContext(ctx context.Context)
SetContext adds the context to the update network content filtering params
func (*UpdateNetworkContentFilteringParams) SetHTTPClient ¶
func (o *UpdateNetworkContentFilteringParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update network content filtering params
func (*UpdateNetworkContentFilteringParams) SetNetworkID ¶
func (o *UpdateNetworkContentFilteringParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the update network content filtering params
func (*UpdateNetworkContentFilteringParams) SetTimeout ¶
func (o *UpdateNetworkContentFilteringParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update network content filtering params
func (*UpdateNetworkContentFilteringParams) SetUpdateNetworkContentFiltering ¶
func (o *UpdateNetworkContentFilteringParams) SetUpdateNetworkContentFiltering(updateNetworkContentFiltering *models.UpdateNetworkContentFiltering)
SetUpdateNetworkContentFiltering adds the updateNetworkContentFiltering to the update network content filtering params
func (*UpdateNetworkContentFilteringParams) WithContext ¶
func (o *UpdateNetworkContentFilteringParams) WithContext(ctx context.Context) *UpdateNetworkContentFilteringParams
WithContext adds the context to the update network content filtering params
func (*UpdateNetworkContentFilteringParams) WithHTTPClient ¶
func (o *UpdateNetworkContentFilteringParams) WithHTTPClient(client *http.Client) *UpdateNetworkContentFilteringParams
WithHTTPClient adds the HTTPClient to the update network content filtering params
func (*UpdateNetworkContentFilteringParams) WithNetworkID ¶
func (o *UpdateNetworkContentFilteringParams) WithNetworkID(networkID string) *UpdateNetworkContentFilteringParams
WithNetworkID adds the networkID to the update network content filtering params
func (*UpdateNetworkContentFilteringParams) WithTimeout ¶
func (o *UpdateNetworkContentFilteringParams) WithTimeout(timeout time.Duration) *UpdateNetworkContentFilteringParams
WithTimeout adds the timeout to the update network content filtering params
func (*UpdateNetworkContentFilteringParams) WithUpdateNetworkContentFiltering ¶
func (o *UpdateNetworkContentFilteringParams) WithUpdateNetworkContentFiltering(updateNetworkContentFiltering *models.UpdateNetworkContentFiltering) *UpdateNetworkContentFilteringParams
WithUpdateNetworkContentFiltering adds the updateNetworkContentFiltering to the update network content filtering params
func (*UpdateNetworkContentFilteringParams) WriteToRequest ¶
func (o *UpdateNetworkContentFilteringParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkContentFilteringReader ¶
type UpdateNetworkContentFilteringReader struct {
// contains filtered or unexported fields
}
UpdateNetworkContentFilteringReader is a Reader for the UpdateNetworkContentFiltering structure.
func (*UpdateNetworkContentFilteringReader) ReadResponse ¶
func (o *UpdateNetworkContentFilteringReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.