content_filtering_rules

package
v0.0.0-...-b7c797c Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 (*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

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

WithContext adds the context to the get network content filtering params

func (*GetNetworkContentFilteringParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network content filtering params

func (*GetNetworkContentFilteringParams) WithNetworkID

WithNetworkID adds the networkID to the get network content filtering params

func (*GetNetworkContentFilteringParams) WithTimeout

WithTimeout adds the timeout to the get network content filtering params

func (*GetNetworkContentFilteringParams) WriteToRequest

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 (*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

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

WithContext adds the context to the update network content filtering params

func (*UpdateNetworkContentFilteringParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network content filtering params

func (*UpdateNetworkContentFilteringParams) WithNetworkID

WithNetworkID adds the networkID to the update network content filtering params

func (*UpdateNetworkContentFilteringParams) WithTimeout

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

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.

Jump to

Keyboard shortcuts

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