Documentation ¶
Index ¶
- type Client
- type ClientService
- type PhishingSiteUsingGETForbidden
- type PhishingSiteUsingGETNotFound
- type PhishingSiteUsingGETOK
- type PhishingSiteUsingGETParams
- func NewPhishingSiteUsingGETParams() *PhishingSiteUsingGETParams
- func NewPhishingSiteUsingGETParamsWithContext(ctx context.Context) *PhishingSiteUsingGETParams
- func NewPhishingSiteUsingGETParamsWithHTTPClient(client *http.Client) *PhishingSiteUsingGETParams
- func NewPhishingSiteUsingGETParamsWithTimeout(timeout time.Duration) *PhishingSiteUsingGETParams
- func (o *PhishingSiteUsingGETParams) SetAuthorization(authorization *string)
- func (o *PhishingSiteUsingGETParams) SetContext(ctx context.Context)
- func (o *PhishingSiteUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *PhishingSiteUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *PhishingSiteUsingGETParams) SetURL(url string)
- func (o *PhishingSiteUsingGETParams) WithAuthorization(authorization *string) *PhishingSiteUsingGETParams
- func (o *PhishingSiteUsingGETParams) WithContext(ctx context.Context) *PhishingSiteUsingGETParams
- func (o *PhishingSiteUsingGETParams) WithHTTPClient(client *http.Client) *PhishingSiteUsingGETParams
- func (o *PhishingSiteUsingGETParams) WithTimeout(timeout time.Duration) *PhishingSiteUsingGETParams
- func (o *PhishingSiteUsingGETParams) WithURL(url string) *PhishingSiteUsingGETParams
- func (o *PhishingSiteUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PhishingSiteUsingGETReader
- type PhishingSiteUsingGETUnauthorized
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 ¶
func (o *PhishingSiteUsingGETForbidden) Error() string
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 ¶
func (o *PhishingSiteUsingGETNotFound) Error() string
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 ¶
func (o *PhishingSiteUsingGETOK) GetPayload() *models.ResponseWrapperPhishingSite
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 ¶
func (o *PhishingSiteUsingGETParams) WithContext(ctx context.Context) *PhishingSiteUsingGETParams
WithContext adds the context to the phishing site using g e t params
func (*PhishingSiteUsingGETParams) WithHTTPClient ¶
func (o *PhishingSiteUsingGETParams) WithHTTPClient(client *http.Client) *PhishingSiteUsingGETParams
WithHTTPClient adds the HTTPClient to the phishing site using g e t params
func (*PhishingSiteUsingGETParams) WithTimeout ¶
func (o *PhishingSiteUsingGETParams) WithTimeout(timeout time.Duration) *PhishingSiteUsingGETParams
WithTimeout adds the timeout to the phishing site using g e t params
func (*PhishingSiteUsingGETParams) WithURL ¶
func (o *PhishingSiteUsingGETParams) WithURL(url string) *PhishingSiteUsingGETParams
WithURL adds the url to the phishing site using g e t params
func (*PhishingSiteUsingGETParams) WriteToRequest ¶
func (o *PhishingSiteUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PhishingSiteUsingGETUnauthorized) Error() string