Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetNetworkContentFilteringCategoriesOK
- type GetNetworkContentFilteringCategoriesParams
- func NewGetNetworkContentFilteringCategoriesParams() *GetNetworkContentFilteringCategoriesParams
- func NewGetNetworkContentFilteringCategoriesParamsWithContext(ctx context.Context) *GetNetworkContentFilteringCategoriesParams
- func NewGetNetworkContentFilteringCategoriesParamsWithHTTPClient(client *http.Client) *GetNetworkContentFilteringCategoriesParams
- func NewGetNetworkContentFilteringCategoriesParamsWithTimeout(timeout time.Duration) *GetNetworkContentFilteringCategoriesParams
- func (o *GetNetworkContentFilteringCategoriesParams) SetContext(ctx context.Context)
- func (o *GetNetworkContentFilteringCategoriesParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkContentFilteringCategoriesParams) SetNetworkID(networkID string)
- func (o *GetNetworkContentFilteringCategoriesParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkContentFilteringCategoriesParams) WithContext(ctx context.Context) *GetNetworkContentFilteringCategoriesParams
- func (o *GetNetworkContentFilteringCategoriesParams) WithHTTPClient(client *http.Client) *GetNetworkContentFilteringCategoriesParams
- func (o *GetNetworkContentFilteringCategoriesParams) WithNetworkID(networkID string) *GetNetworkContentFilteringCategoriesParams
- func (o *GetNetworkContentFilteringCategoriesParams) WithTimeout(timeout time.Duration) *GetNetworkContentFilteringCategoriesParams
- func (o *GetNetworkContentFilteringCategoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkContentFilteringCategoriesReader
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 categories API
func (*Client) GetNetworkContentFilteringCategories ¶
func (a *Client) GetNetworkContentFilteringCategories(params *GetNetworkContentFilteringCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkContentFilteringCategoriesOK, error)
GetNetworkContentFilteringCategories gets network content filtering categories
List all available content filtering categories for an MX network
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetNetworkContentFilteringCategories(params *GetNetworkContentFilteringCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkContentFilteringCategoriesOK, 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 categories API client.
type GetNetworkContentFilteringCategoriesOK ¶
type GetNetworkContentFilteringCategoriesOK struct {
Payload interface{}
}
GetNetworkContentFilteringCategoriesOK handles this case with default header values.
Successful operation
func NewGetNetworkContentFilteringCategoriesOK ¶
func NewGetNetworkContentFilteringCategoriesOK() *GetNetworkContentFilteringCategoriesOK
NewGetNetworkContentFilteringCategoriesOK creates a GetNetworkContentFilteringCategoriesOK with default headers values
func (*GetNetworkContentFilteringCategoriesOK) Error ¶
func (o *GetNetworkContentFilteringCategoriesOK) Error() string
func (*GetNetworkContentFilteringCategoriesOK) GetPayload ¶
func (o *GetNetworkContentFilteringCategoriesOK) GetPayload() interface{}
type GetNetworkContentFilteringCategoriesParams ¶
type GetNetworkContentFilteringCategoriesParams struct { /*NetworkID*/ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkContentFilteringCategoriesParams contains all the parameters to send to the API endpoint for the get network content filtering categories operation typically these are written to a http.Request
func NewGetNetworkContentFilteringCategoriesParams ¶
func NewGetNetworkContentFilteringCategoriesParams() *GetNetworkContentFilteringCategoriesParams
NewGetNetworkContentFilteringCategoriesParams creates a new GetNetworkContentFilteringCategoriesParams object with the default values initialized.
func NewGetNetworkContentFilteringCategoriesParamsWithContext ¶
func NewGetNetworkContentFilteringCategoriesParamsWithContext(ctx context.Context) *GetNetworkContentFilteringCategoriesParams
NewGetNetworkContentFilteringCategoriesParamsWithContext creates a new GetNetworkContentFilteringCategoriesParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkContentFilteringCategoriesParamsWithHTTPClient ¶
func NewGetNetworkContentFilteringCategoriesParamsWithHTTPClient(client *http.Client) *GetNetworkContentFilteringCategoriesParams
NewGetNetworkContentFilteringCategoriesParamsWithHTTPClient creates a new GetNetworkContentFilteringCategoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkContentFilteringCategoriesParamsWithTimeout ¶
func NewGetNetworkContentFilteringCategoriesParamsWithTimeout(timeout time.Duration) *GetNetworkContentFilteringCategoriesParams
NewGetNetworkContentFilteringCategoriesParamsWithTimeout creates a new GetNetworkContentFilteringCategoriesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkContentFilteringCategoriesParams) SetContext ¶
func (o *GetNetworkContentFilteringCategoriesParams) SetContext(ctx context.Context)
SetContext adds the context to the get network content filtering categories params
func (*GetNetworkContentFilteringCategoriesParams) SetHTTPClient ¶
func (o *GetNetworkContentFilteringCategoriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network content filtering categories params
func (*GetNetworkContentFilteringCategoriesParams) SetNetworkID ¶
func (o *GetNetworkContentFilteringCategoriesParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network content filtering categories params
func (*GetNetworkContentFilteringCategoriesParams) SetTimeout ¶
func (o *GetNetworkContentFilteringCategoriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network content filtering categories params
func (*GetNetworkContentFilteringCategoriesParams) WithContext ¶
func (o *GetNetworkContentFilteringCategoriesParams) WithContext(ctx context.Context) *GetNetworkContentFilteringCategoriesParams
WithContext adds the context to the get network content filtering categories params
func (*GetNetworkContentFilteringCategoriesParams) WithHTTPClient ¶
func (o *GetNetworkContentFilteringCategoriesParams) WithHTTPClient(client *http.Client) *GetNetworkContentFilteringCategoriesParams
WithHTTPClient adds the HTTPClient to the get network content filtering categories params
func (*GetNetworkContentFilteringCategoriesParams) WithNetworkID ¶
func (o *GetNetworkContentFilteringCategoriesParams) WithNetworkID(networkID string) *GetNetworkContentFilteringCategoriesParams
WithNetworkID adds the networkID to the get network content filtering categories params
func (*GetNetworkContentFilteringCategoriesParams) WithTimeout ¶
func (o *GetNetworkContentFilteringCategoriesParams) WithTimeout(timeout time.Duration) *GetNetworkContentFilteringCategoriesParams
WithTimeout adds the timeout to the get network content filtering categories params
func (*GetNetworkContentFilteringCategoriesParams) WriteToRequest ¶
func (o *GetNetworkContentFilteringCategoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkContentFilteringCategoriesReader ¶
type GetNetworkContentFilteringCategoriesReader struct {
// contains filtered or unexported fields
}
GetNetworkContentFilteringCategoriesReader is a Reader for the GetNetworkContentFilteringCategories structure.
func (*GetNetworkContentFilteringCategoriesReader) ReadResponse ¶
func (o *GetNetworkContentFilteringCategoriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.