website_controller

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 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 website controller API

func (*Client) PhishingSiteUsingGET

func (a *Client) PhishingSiteUsingGET(params *PhishingSiteUsingGETParams) (*PhishingSiteUsingGETOK, error)

PhishingSiteUsingGET checks if the the url is a phishing site

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	PhishingSiteUsingGET(params *PhishingSiteUsingGETParams) (*PhishingSiteUsingGETOK, 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 website controller API client.

type PhishingSiteUsingGETForbidden

type PhishingSiteUsingGETForbidden struct {
}

PhishingSiteUsingGETForbidden handles this case with default header values.

Forbidden

func NewPhishingSiteUsingGETForbidden

func NewPhishingSiteUsingGETForbidden() *PhishingSiteUsingGETForbidden

NewPhishingSiteUsingGETForbidden creates a PhishingSiteUsingGETForbidden with default headers values

func (*PhishingSiteUsingGETForbidden) Error

type PhishingSiteUsingGETNotFound

type PhishingSiteUsingGETNotFound struct {
}

PhishingSiteUsingGETNotFound handles this case with default header values.

Not Found

func NewPhishingSiteUsingGETNotFound

func NewPhishingSiteUsingGETNotFound() *PhishingSiteUsingGETNotFound

NewPhishingSiteUsingGETNotFound creates a PhishingSiteUsingGETNotFound with default headers values

func (*PhishingSiteUsingGETNotFound) Error

type PhishingSiteUsingGETOK

type PhishingSiteUsingGETOK struct {
	Payload *models.ResponseWrapperPhishingSite
}

PhishingSiteUsingGETOK handles this case with default header values.

OK

func NewPhishingSiteUsingGETOK

func NewPhishingSiteUsingGETOK() *PhishingSiteUsingGETOK

NewPhishingSiteUsingGETOK creates a PhishingSiteUsingGETOK with default headers values

func (*PhishingSiteUsingGETOK) Error

func (o *PhishingSiteUsingGETOK) Error() string

func (*PhishingSiteUsingGETOK) GetPayload

type PhishingSiteUsingGETParams

type PhishingSiteUsingGETParams struct {

	/*Authorization
	  Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...)

	*/
	Authorization *string
	/*URL
	  Url

	*/
	URL string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PhishingSiteUsingGETParams contains all the parameters to send to the API endpoint for the phishing site using g e t operation typically these are written to a http.Request

func NewPhishingSiteUsingGETParams

func NewPhishingSiteUsingGETParams() *PhishingSiteUsingGETParams

NewPhishingSiteUsingGETParams creates a new PhishingSiteUsingGETParams object with the default values initialized.

func NewPhishingSiteUsingGETParamsWithContext

func NewPhishingSiteUsingGETParamsWithContext(ctx context.Context) *PhishingSiteUsingGETParams

NewPhishingSiteUsingGETParamsWithContext creates a new PhishingSiteUsingGETParams object with the default values initialized, and the ability to set a context for a request

func NewPhishingSiteUsingGETParamsWithHTTPClient

func NewPhishingSiteUsingGETParamsWithHTTPClient(client *http.Client) *PhishingSiteUsingGETParams

NewPhishingSiteUsingGETParamsWithHTTPClient creates a new PhishingSiteUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPhishingSiteUsingGETParamsWithTimeout

func NewPhishingSiteUsingGETParamsWithTimeout(timeout time.Duration) *PhishingSiteUsingGETParams

NewPhishingSiteUsingGETParamsWithTimeout creates a new PhishingSiteUsingGETParams object with the default values initialized, and the ability to set a timeout on a request

func (*PhishingSiteUsingGETParams) SetAuthorization

func (o *PhishingSiteUsingGETParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the phishing site using g e t params

func (*PhishingSiteUsingGETParams) SetContext

func (o *PhishingSiteUsingGETParams) SetContext(ctx context.Context)

SetContext adds the context to the phishing site using g e t params

func (*PhishingSiteUsingGETParams) SetHTTPClient

func (o *PhishingSiteUsingGETParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the phishing site using g e t params

func (*PhishingSiteUsingGETParams) SetTimeout

func (o *PhishingSiteUsingGETParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the phishing site using g e t params

func (*PhishingSiteUsingGETParams) SetURL

func (o *PhishingSiteUsingGETParams) SetURL(url string)

SetURL adds the url to the phishing site using g e t params

func (*PhishingSiteUsingGETParams) WithAuthorization

func (o *PhishingSiteUsingGETParams) WithAuthorization(authorization *string) *PhishingSiteUsingGETParams

WithAuthorization adds the authorization to the phishing site using g e t params

func (*PhishingSiteUsingGETParams) WithContext

WithContext adds the context to the phishing site using g e t params

func (*PhishingSiteUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the phishing site using g e t params

func (*PhishingSiteUsingGETParams) WithTimeout

WithTimeout adds the timeout to the phishing site using g e t params

func (*PhishingSiteUsingGETParams) WithURL

WithURL adds the url to the phishing site using g e t params

func (*PhishingSiteUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PhishingSiteUsingGETReader

type PhishingSiteUsingGETReader struct {
	// contains filtered or unexported fields
}

PhishingSiteUsingGETReader is a Reader for the PhishingSiteUsingGET structure.

func (*PhishingSiteUsingGETReader) ReadResponse

func (o *PhishingSiteUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PhishingSiteUsingGETUnauthorized

type PhishingSiteUsingGETUnauthorized struct {
}

PhishingSiteUsingGETUnauthorized handles this case with default header values.

Unauthorized

func NewPhishingSiteUsingGETUnauthorized

func NewPhishingSiteUsingGETUnauthorized() *PhishingSiteUsingGETUnauthorized

NewPhishingSiteUsingGETUnauthorized creates a PhishingSiteUsingGETUnauthorized with default headers values

func (*PhishingSiteUsingGETUnauthorized) Error

Jump to

Keyboard shortcuts

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