Documentation ¶
Index ¶
- type AddSocks5ServerBadRequest
- func (o *AddSocks5ServerBadRequest) Code() int
- func (o *AddSocks5ServerBadRequest) Error() string
- func (o *AddSocks5ServerBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *AddSocks5ServerBadRequest) IsClientError() bool
- func (o *AddSocks5ServerBadRequest) IsCode(code int) bool
- func (o *AddSocks5ServerBadRequest) IsRedirect() bool
- func (o *AddSocks5ServerBadRequest) IsServerError() bool
- func (o *AddSocks5ServerBadRequest) IsSuccess() bool
- func (o *AddSocks5ServerBadRequest) String() string
- type AddSocks5ServerConflict
- func (o *AddSocks5ServerConflict) Code() int
- func (o *AddSocks5ServerConflict) Error() string
- func (o *AddSocks5ServerConflict) GetPayload() *vproxy_client_model.Error409
- func (o *AddSocks5ServerConflict) IsClientError() bool
- func (o *AddSocks5ServerConflict) IsCode(code int) bool
- func (o *AddSocks5ServerConflict) IsRedirect() bool
- func (o *AddSocks5ServerConflict) IsServerError() bool
- func (o *AddSocks5ServerConflict) IsSuccess() bool
- func (o *AddSocks5ServerConflict) String() string
- type AddSocks5ServerInternalServerError
- func (o *AddSocks5ServerInternalServerError) Code() int
- func (o *AddSocks5ServerInternalServerError) Error() string
- func (o *AddSocks5ServerInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *AddSocks5ServerInternalServerError) IsClientError() bool
- func (o *AddSocks5ServerInternalServerError) IsCode(code int) bool
- func (o *AddSocks5ServerInternalServerError) IsRedirect() bool
- func (o *AddSocks5ServerInternalServerError) IsServerError() bool
- func (o *AddSocks5ServerInternalServerError) IsSuccess() bool
- func (o *AddSocks5ServerInternalServerError) String() string
- type AddSocks5ServerNoContent
- func (o *AddSocks5ServerNoContent) Code() int
- func (o *AddSocks5ServerNoContent) Error() string
- func (o *AddSocks5ServerNoContent) IsClientError() bool
- func (o *AddSocks5ServerNoContent) IsCode(code int) bool
- func (o *AddSocks5ServerNoContent) IsRedirect() bool
- func (o *AddSocks5ServerNoContent) IsServerError() bool
- func (o *AddSocks5ServerNoContent) IsSuccess() bool
- func (o *AddSocks5ServerNoContent) String() string
- type AddSocks5ServerNotFound
- func (o *AddSocks5ServerNotFound) Code() int
- func (o *AddSocks5ServerNotFound) Error() string
- func (o *AddSocks5ServerNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *AddSocks5ServerNotFound) IsClientError() bool
- func (o *AddSocks5ServerNotFound) IsCode(code int) bool
- func (o *AddSocks5ServerNotFound) IsRedirect() bool
- func (o *AddSocks5ServerNotFound) IsServerError() bool
- func (o *AddSocks5ServerNotFound) IsSuccess() bool
- func (o *AddSocks5ServerNotFound) String() string
- type AddSocks5ServerParams
- func NewAddSocks5ServerParams() *AddSocks5ServerParams
- func NewAddSocks5ServerParamsWithContext(ctx context.Context) *AddSocks5ServerParams
- func NewAddSocks5ServerParamsWithHTTPClient(client *http.Client) *AddSocks5ServerParams
- func NewAddSocks5ServerParamsWithTimeout(timeout time.Duration) *AddSocks5ServerParams
- func (o *AddSocks5ServerParams) SetBody(body *vproxy_client_model.Socks5ServerCreate)
- func (o *AddSocks5ServerParams) SetContext(ctx context.Context)
- func (o *AddSocks5ServerParams) SetDefaults()
- func (o *AddSocks5ServerParams) SetHTTPClient(client *http.Client)
- func (o *AddSocks5ServerParams) SetTimeout(timeout time.Duration)
- func (o *AddSocks5ServerParams) WithBody(body *vproxy_client_model.Socks5ServerCreate) *AddSocks5ServerParams
- func (o *AddSocks5ServerParams) WithContext(ctx context.Context) *AddSocks5ServerParams
- func (o *AddSocks5ServerParams) WithDefaults() *AddSocks5ServerParams
- func (o *AddSocks5ServerParams) WithHTTPClient(client *http.Client) *AddSocks5ServerParams
- func (o *AddSocks5ServerParams) WithTimeout(timeout time.Duration) *AddSocks5ServerParams
- func (o *AddSocks5ServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddSocks5ServerReader
- type Client
- func (a *Client) AddSocks5Server(params *AddSocks5ServerParams, opts ...ClientOption) (*AddSocks5ServerNoContent, error)
- func (a *Client) DescribeSocks5Server(params *DescribeSocks5ServerParams, opts ...ClientOption) (*DescribeSocks5ServerOK, error)
- func (a *Client) GetSocks5Server(params *GetSocks5ServerParams, opts ...ClientOption) (*GetSocks5ServerOK, error)
- func (a *Client) ListSocks5Server(params *ListSocks5ServerParams, opts ...ClientOption) (*ListSocks5ServerOK, error)
- func (a *Client) RemoveSocks5Server(params *RemoveSocks5ServerParams, opts ...ClientOption) (*RemoveSocks5ServerNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSocks5Server(params *UpdateSocks5ServerParams, opts ...ClientOption) (*UpdateSocks5ServerNoContent, error)
- type ClientOption
- type ClientService
- type DescribeSocks5ServerBadRequest
- func (o *DescribeSocks5ServerBadRequest) Code() int
- func (o *DescribeSocks5ServerBadRequest) Error() string
- func (o *DescribeSocks5ServerBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *DescribeSocks5ServerBadRequest) IsClientError() bool
- func (o *DescribeSocks5ServerBadRequest) IsCode(code int) bool
- func (o *DescribeSocks5ServerBadRequest) IsRedirect() bool
- func (o *DescribeSocks5ServerBadRequest) IsServerError() bool
- func (o *DescribeSocks5ServerBadRequest) IsSuccess() bool
- func (o *DescribeSocks5ServerBadRequest) String() string
- type DescribeSocks5ServerConflict
- func (o *DescribeSocks5ServerConflict) Code() int
- func (o *DescribeSocks5ServerConflict) Error() string
- func (o *DescribeSocks5ServerConflict) GetPayload() *vproxy_client_model.Error409
- func (o *DescribeSocks5ServerConflict) IsClientError() bool
- func (o *DescribeSocks5ServerConflict) IsCode(code int) bool
- func (o *DescribeSocks5ServerConflict) IsRedirect() bool
- func (o *DescribeSocks5ServerConflict) IsServerError() bool
- func (o *DescribeSocks5ServerConflict) IsSuccess() bool
- func (o *DescribeSocks5ServerConflict) String() string
- type DescribeSocks5ServerInternalServerError
- func (o *DescribeSocks5ServerInternalServerError) Code() int
- func (o *DescribeSocks5ServerInternalServerError) Error() string
- func (o *DescribeSocks5ServerInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *DescribeSocks5ServerInternalServerError) IsClientError() bool
- func (o *DescribeSocks5ServerInternalServerError) IsCode(code int) bool
- func (o *DescribeSocks5ServerInternalServerError) IsRedirect() bool
- func (o *DescribeSocks5ServerInternalServerError) IsServerError() bool
- func (o *DescribeSocks5ServerInternalServerError) IsSuccess() bool
- func (o *DescribeSocks5ServerInternalServerError) String() string
- type DescribeSocks5ServerNotFound
- func (o *DescribeSocks5ServerNotFound) Code() int
- func (o *DescribeSocks5ServerNotFound) Error() string
- func (o *DescribeSocks5ServerNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *DescribeSocks5ServerNotFound) IsClientError() bool
- func (o *DescribeSocks5ServerNotFound) IsCode(code int) bool
- func (o *DescribeSocks5ServerNotFound) IsRedirect() bool
- func (o *DescribeSocks5ServerNotFound) IsServerError() bool
- func (o *DescribeSocks5ServerNotFound) IsSuccess() bool
- func (o *DescribeSocks5ServerNotFound) String() string
- type DescribeSocks5ServerOK
- func (o *DescribeSocks5ServerOK) Code() int
- func (o *DescribeSocks5ServerOK) Error() string
- func (o *DescribeSocks5ServerOK) GetPayload() *vproxy_client_model.Socks5ServerDetail
- func (o *DescribeSocks5ServerOK) IsClientError() bool
- func (o *DescribeSocks5ServerOK) IsCode(code int) bool
- func (o *DescribeSocks5ServerOK) IsRedirect() bool
- func (o *DescribeSocks5ServerOK) IsServerError() bool
- func (o *DescribeSocks5ServerOK) IsSuccess() bool
- func (o *DescribeSocks5ServerOK) String() string
- type DescribeSocks5ServerParams
- func NewDescribeSocks5ServerParams() *DescribeSocks5ServerParams
- func NewDescribeSocks5ServerParamsWithContext(ctx context.Context) *DescribeSocks5ServerParams
- func NewDescribeSocks5ServerParamsWithHTTPClient(client *http.Client) *DescribeSocks5ServerParams
- func NewDescribeSocks5ServerParamsWithTimeout(timeout time.Duration) *DescribeSocks5ServerParams
- func (o *DescribeSocks5ServerParams) SetContext(ctx context.Context)
- func (o *DescribeSocks5ServerParams) SetDefaults()
- func (o *DescribeSocks5ServerParams) SetHTTPClient(client *http.Client)
- func (o *DescribeSocks5ServerParams) SetSocks5(socks5 string)
- func (o *DescribeSocks5ServerParams) SetTimeout(timeout time.Duration)
- func (o *DescribeSocks5ServerParams) WithContext(ctx context.Context) *DescribeSocks5ServerParams
- func (o *DescribeSocks5ServerParams) WithDefaults() *DescribeSocks5ServerParams
- func (o *DescribeSocks5ServerParams) WithHTTPClient(client *http.Client) *DescribeSocks5ServerParams
- func (o *DescribeSocks5ServerParams) WithSocks5(socks5 string) *DescribeSocks5ServerParams
- func (o *DescribeSocks5ServerParams) WithTimeout(timeout time.Duration) *DescribeSocks5ServerParams
- func (o *DescribeSocks5ServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeSocks5ServerReader
- type GetSocks5ServerBadRequest
- func (o *GetSocks5ServerBadRequest) Code() int
- func (o *GetSocks5ServerBadRequest) Error() string
- func (o *GetSocks5ServerBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *GetSocks5ServerBadRequest) IsClientError() bool
- func (o *GetSocks5ServerBadRequest) IsCode(code int) bool
- func (o *GetSocks5ServerBadRequest) IsRedirect() bool
- func (o *GetSocks5ServerBadRequest) IsServerError() bool
- func (o *GetSocks5ServerBadRequest) IsSuccess() bool
- func (o *GetSocks5ServerBadRequest) String() string
- type GetSocks5ServerConflict
- func (o *GetSocks5ServerConflict) Code() int
- func (o *GetSocks5ServerConflict) Error() string
- func (o *GetSocks5ServerConflict) GetPayload() *vproxy_client_model.Error409
- func (o *GetSocks5ServerConflict) IsClientError() bool
- func (o *GetSocks5ServerConflict) IsCode(code int) bool
- func (o *GetSocks5ServerConflict) IsRedirect() bool
- func (o *GetSocks5ServerConflict) IsServerError() bool
- func (o *GetSocks5ServerConflict) IsSuccess() bool
- func (o *GetSocks5ServerConflict) String() string
- type GetSocks5ServerInternalServerError
- func (o *GetSocks5ServerInternalServerError) Code() int
- func (o *GetSocks5ServerInternalServerError) Error() string
- func (o *GetSocks5ServerInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *GetSocks5ServerInternalServerError) IsClientError() bool
- func (o *GetSocks5ServerInternalServerError) IsCode(code int) bool
- func (o *GetSocks5ServerInternalServerError) IsRedirect() bool
- func (o *GetSocks5ServerInternalServerError) IsServerError() bool
- func (o *GetSocks5ServerInternalServerError) IsSuccess() bool
- func (o *GetSocks5ServerInternalServerError) String() string
- type GetSocks5ServerNotFound
- func (o *GetSocks5ServerNotFound) Code() int
- func (o *GetSocks5ServerNotFound) Error() string
- func (o *GetSocks5ServerNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *GetSocks5ServerNotFound) IsClientError() bool
- func (o *GetSocks5ServerNotFound) IsCode(code int) bool
- func (o *GetSocks5ServerNotFound) IsRedirect() bool
- func (o *GetSocks5ServerNotFound) IsServerError() bool
- func (o *GetSocks5ServerNotFound) IsSuccess() bool
- func (o *GetSocks5ServerNotFound) String() string
- type GetSocks5ServerOK
- func (o *GetSocks5ServerOK) Code() int
- func (o *GetSocks5ServerOK) Error() string
- func (o *GetSocks5ServerOK) GetPayload() *vproxy_client_model.Socks5Server
- func (o *GetSocks5ServerOK) IsClientError() bool
- func (o *GetSocks5ServerOK) IsCode(code int) bool
- func (o *GetSocks5ServerOK) IsRedirect() bool
- func (o *GetSocks5ServerOK) IsServerError() bool
- func (o *GetSocks5ServerOK) IsSuccess() bool
- func (o *GetSocks5ServerOK) String() string
- type GetSocks5ServerParams
- func NewGetSocks5ServerParams() *GetSocks5ServerParams
- func NewGetSocks5ServerParamsWithContext(ctx context.Context) *GetSocks5ServerParams
- func NewGetSocks5ServerParamsWithHTTPClient(client *http.Client) *GetSocks5ServerParams
- func NewGetSocks5ServerParamsWithTimeout(timeout time.Duration) *GetSocks5ServerParams
- func (o *GetSocks5ServerParams) SetContext(ctx context.Context)
- func (o *GetSocks5ServerParams) SetDefaults()
- func (o *GetSocks5ServerParams) SetHTTPClient(client *http.Client)
- func (o *GetSocks5ServerParams) SetSocks5(socks5 string)
- func (o *GetSocks5ServerParams) SetTimeout(timeout time.Duration)
- func (o *GetSocks5ServerParams) WithContext(ctx context.Context) *GetSocks5ServerParams
- func (o *GetSocks5ServerParams) WithDefaults() *GetSocks5ServerParams
- func (o *GetSocks5ServerParams) WithHTTPClient(client *http.Client) *GetSocks5ServerParams
- func (o *GetSocks5ServerParams) WithSocks5(socks5 string) *GetSocks5ServerParams
- func (o *GetSocks5ServerParams) WithTimeout(timeout time.Duration) *GetSocks5ServerParams
- func (o *GetSocks5ServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSocks5ServerReader
- type ListSocks5ServerBadRequest
- func (o *ListSocks5ServerBadRequest) Code() int
- func (o *ListSocks5ServerBadRequest) Error() string
- func (o *ListSocks5ServerBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *ListSocks5ServerBadRequest) IsClientError() bool
- func (o *ListSocks5ServerBadRequest) IsCode(code int) bool
- func (o *ListSocks5ServerBadRequest) IsRedirect() bool
- func (o *ListSocks5ServerBadRequest) IsServerError() bool
- func (o *ListSocks5ServerBadRequest) IsSuccess() bool
- func (o *ListSocks5ServerBadRequest) String() string
- type ListSocks5ServerConflict
- func (o *ListSocks5ServerConflict) Code() int
- func (o *ListSocks5ServerConflict) Error() string
- func (o *ListSocks5ServerConflict) GetPayload() *vproxy_client_model.Error409
- func (o *ListSocks5ServerConflict) IsClientError() bool
- func (o *ListSocks5ServerConflict) IsCode(code int) bool
- func (o *ListSocks5ServerConflict) IsRedirect() bool
- func (o *ListSocks5ServerConflict) IsServerError() bool
- func (o *ListSocks5ServerConflict) IsSuccess() bool
- func (o *ListSocks5ServerConflict) String() string
- type ListSocks5ServerInternalServerError
- func (o *ListSocks5ServerInternalServerError) Code() int
- func (o *ListSocks5ServerInternalServerError) Error() string
- func (o *ListSocks5ServerInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *ListSocks5ServerInternalServerError) IsClientError() bool
- func (o *ListSocks5ServerInternalServerError) IsCode(code int) bool
- func (o *ListSocks5ServerInternalServerError) IsRedirect() bool
- func (o *ListSocks5ServerInternalServerError) IsServerError() bool
- func (o *ListSocks5ServerInternalServerError) IsSuccess() bool
- func (o *ListSocks5ServerInternalServerError) String() string
- type ListSocks5ServerOK
- func (o *ListSocks5ServerOK) Code() int
- func (o *ListSocks5ServerOK) Error() string
- func (o *ListSocks5ServerOK) GetPayload() []*vproxy_client_model.Socks5Server
- func (o *ListSocks5ServerOK) IsClientError() bool
- func (o *ListSocks5ServerOK) IsCode(code int) bool
- func (o *ListSocks5ServerOK) IsRedirect() bool
- func (o *ListSocks5ServerOK) IsServerError() bool
- func (o *ListSocks5ServerOK) IsSuccess() bool
- func (o *ListSocks5ServerOK) String() string
- type ListSocks5ServerParams
- func NewListSocks5ServerParams() *ListSocks5ServerParams
- func NewListSocks5ServerParamsWithContext(ctx context.Context) *ListSocks5ServerParams
- func NewListSocks5ServerParamsWithHTTPClient(client *http.Client) *ListSocks5ServerParams
- func NewListSocks5ServerParamsWithTimeout(timeout time.Duration) *ListSocks5ServerParams
- func (o *ListSocks5ServerParams) SetContext(ctx context.Context)
- func (o *ListSocks5ServerParams) SetDefaults()
- func (o *ListSocks5ServerParams) SetHTTPClient(client *http.Client)
- func (o *ListSocks5ServerParams) SetTimeout(timeout time.Duration)
- func (o *ListSocks5ServerParams) WithContext(ctx context.Context) *ListSocks5ServerParams
- func (o *ListSocks5ServerParams) WithDefaults() *ListSocks5ServerParams
- func (o *ListSocks5ServerParams) WithHTTPClient(client *http.Client) *ListSocks5ServerParams
- func (o *ListSocks5ServerParams) WithTimeout(timeout time.Duration) *ListSocks5ServerParams
- func (o *ListSocks5ServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSocks5ServerReader
- type RemoveSocks5ServerBadRequest
- func (o *RemoveSocks5ServerBadRequest) Code() int
- func (o *RemoveSocks5ServerBadRequest) Error() string
- func (o *RemoveSocks5ServerBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *RemoveSocks5ServerBadRequest) IsClientError() bool
- func (o *RemoveSocks5ServerBadRequest) IsCode(code int) bool
- func (o *RemoveSocks5ServerBadRequest) IsRedirect() bool
- func (o *RemoveSocks5ServerBadRequest) IsServerError() bool
- func (o *RemoveSocks5ServerBadRequest) IsSuccess() bool
- func (o *RemoveSocks5ServerBadRequest) String() string
- type RemoveSocks5ServerConflict
- func (o *RemoveSocks5ServerConflict) Code() int
- func (o *RemoveSocks5ServerConflict) Error() string
- func (o *RemoveSocks5ServerConflict) GetPayload() *vproxy_client_model.Error409
- func (o *RemoveSocks5ServerConflict) IsClientError() bool
- func (o *RemoveSocks5ServerConflict) IsCode(code int) bool
- func (o *RemoveSocks5ServerConflict) IsRedirect() bool
- func (o *RemoveSocks5ServerConflict) IsServerError() bool
- func (o *RemoveSocks5ServerConflict) IsSuccess() bool
- func (o *RemoveSocks5ServerConflict) String() string
- type RemoveSocks5ServerInternalServerError
- func (o *RemoveSocks5ServerInternalServerError) Code() int
- func (o *RemoveSocks5ServerInternalServerError) Error() string
- func (o *RemoveSocks5ServerInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *RemoveSocks5ServerInternalServerError) IsClientError() bool
- func (o *RemoveSocks5ServerInternalServerError) IsCode(code int) bool
- func (o *RemoveSocks5ServerInternalServerError) IsRedirect() bool
- func (o *RemoveSocks5ServerInternalServerError) IsServerError() bool
- func (o *RemoveSocks5ServerInternalServerError) IsSuccess() bool
- func (o *RemoveSocks5ServerInternalServerError) String() string
- type RemoveSocks5ServerNoContent
- func (o *RemoveSocks5ServerNoContent) Code() int
- func (o *RemoveSocks5ServerNoContent) Error() string
- func (o *RemoveSocks5ServerNoContent) IsClientError() bool
- func (o *RemoveSocks5ServerNoContent) IsCode(code int) bool
- func (o *RemoveSocks5ServerNoContent) IsRedirect() bool
- func (o *RemoveSocks5ServerNoContent) IsServerError() bool
- func (o *RemoveSocks5ServerNoContent) IsSuccess() bool
- func (o *RemoveSocks5ServerNoContent) String() string
- type RemoveSocks5ServerNotFound
- func (o *RemoveSocks5ServerNotFound) Code() int
- func (o *RemoveSocks5ServerNotFound) Error() string
- func (o *RemoveSocks5ServerNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *RemoveSocks5ServerNotFound) IsClientError() bool
- func (o *RemoveSocks5ServerNotFound) IsCode(code int) bool
- func (o *RemoveSocks5ServerNotFound) IsRedirect() bool
- func (o *RemoveSocks5ServerNotFound) IsServerError() bool
- func (o *RemoveSocks5ServerNotFound) IsSuccess() bool
- func (o *RemoveSocks5ServerNotFound) String() string
- type RemoveSocks5ServerParams
- func NewRemoveSocks5ServerParams() *RemoveSocks5ServerParams
- func NewRemoveSocks5ServerParamsWithContext(ctx context.Context) *RemoveSocks5ServerParams
- func NewRemoveSocks5ServerParamsWithHTTPClient(client *http.Client) *RemoveSocks5ServerParams
- func NewRemoveSocks5ServerParamsWithTimeout(timeout time.Duration) *RemoveSocks5ServerParams
- func (o *RemoveSocks5ServerParams) SetContext(ctx context.Context)
- func (o *RemoveSocks5ServerParams) SetDefaults()
- func (o *RemoveSocks5ServerParams) SetHTTPClient(client *http.Client)
- func (o *RemoveSocks5ServerParams) SetSocks5(socks5 string)
- func (o *RemoveSocks5ServerParams) SetTimeout(timeout time.Duration)
- func (o *RemoveSocks5ServerParams) WithContext(ctx context.Context) *RemoveSocks5ServerParams
- func (o *RemoveSocks5ServerParams) WithDefaults() *RemoveSocks5ServerParams
- func (o *RemoveSocks5ServerParams) WithHTTPClient(client *http.Client) *RemoveSocks5ServerParams
- func (o *RemoveSocks5ServerParams) WithSocks5(socks5 string) *RemoveSocks5ServerParams
- func (o *RemoveSocks5ServerParams) WithTimeout(timeout time.Duration) *RemoveSocks5ServerParams
- func (o *RemoveSocks5ServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveSocks5ServerReader
- type UpdateSocks5ServerBadRequest
- func (o *UpdateSocks5ServerBadRequest) Code() int
- func (o *UpdateSocks5ServerBadRequest) Error() string
- func (o *UpdateSocks5ServerBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *UpdateSocks5ServerBadRequest) IsClientError() bool
- func (o *UpdateSocks5ServerBadRequest) IsCode(code int) bool
- func (o *UpdateSocks5ServerBadRequest) IsRedirect() bool
- func (o *UpdateSocks5ServerBadRequest) IsServerError() bool
- func (o *UpdateSocks5ServerBadRequest) IsSuccess() bool
- func (o *UpdateSocks5ServerBadRequest) String() string
- type UpdateSocks5ServerConflict
- func (o *UpdateSocks5ServerConflict) Code() int
- func (o *UpdateSocks5ServerConflict) Error() string
- func (o *UpdateSocks5ServerConflict) GetPayload() *vproxy_client_model.Error409
- func (o *UpdateSocks5ServerConflict) IsClientError() bool
- func (o *UpdateSocks5ServerConflict) IsCode(code int) bool
- func (o *UpdateSocks5ServerConflict) IsRedirect() bool
- func (o *UpdateSocks5ServerConflict) IsServerError() bool
- func (o *UpdateSocks5ServerConflict) IsSuccess() bool
- func (o *UpdateSocks5ServerConflict) String() string
- type UpdateSocks5ServerInternalServerError
- func (o *UpdateSocks5ServerInternalServerError) Code() int
- func (o *UpdateSocks5ServerInternalServerError) Error() string
- func (o *UpdateSocks5ServerInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *UpdateSocks5ServerInternalServerError) IsClientError() bool
- func (o *UpdateSocks5ServerInternalServerError) IsCode(code int) bool
- func (o *UpdateSocks5ServerInternalServerError) IsRedirect() bool
- func (o *UpdateSocks5ServerInternalServerError) IsServerError() bool
- func (o *UpdateSocks5ServerInternalServerError) IsSuccess() bool
- func (o *UpdateSocks5ServerInternalServerError) String() string
- type UpdateSocks5ServerNoContent
- func (o *UpdateSocks5ServerNoContent) Code() int
- func (o *UpdateSocks5ServerNoContent) Error() string
- func (o *UpdateSocks5ServerNoContent) IsClientError() bool
- func (o *UpdateSocks5ServerNoContent) IsCode(code int) bool
- func (o *UpdateSocks5ServerNoContent) IsRedirect() bool
- func (o *UpdateSocks5ServerNoContent) IsServerError() bool
- func (o *UpdateSocks5ServerNoContent) IsSuccess() bool
- func (o *UpdateSocks5ServerNoContent) String() string
- type UpdateSocks5ServerNotFound
- func (o *UpdateSocks5ServerNotFound) Code() int
- func (o *UpdateSocks5ServerNotFound) Error() string
- func (o *UpdateSocks5ServerNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *UpdateSocks5ServerNotFound) IsClientError() bool
- func (o *UpdateSocks5ServerNotFound) IsCode(code int) bool
- func (o *UpdateSocks5ServerNotFound) IsRedirect() bool
- func (o *UpdateSocks5ServerNotFound) IsServerError() bool
- func (o *UpdateSocks5ServerNotFound) IsSuccess() bool
- func (o *UpdateSocks5ServerNotFound) String() string
- type UpdateSocks5ServerParams
- func NewUpdateSocks5ServerParams() *UpdateSocks5ServerParams
- func NewUpdateSocks5ServerParamsWithContext(ctx context.Context) *UpdateSocks5ServerParams
- func NewUpdateSocks5ServerParamsWithHTTPClient(client *http.Client) *UpdateSocks5ServerParams
- func NewUpdateSocks5ServerParamsWithTimeout(timeout time.Duration) *UpdateSocks5ServerParams
- func (o *UpdateSocks5ServerParams) SetBody(body *vproxy_client_model.Socks5ServerUpdate)
- func (o *UpdateSocks5ServerParams) SetContext(ctx context.Context)
- func (o *UpdateSocks5ServerParams) SetDefaults()
- func (o *UpdateSocks5ServerParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSocks5ServerParams) SetSocks5(socks5 string)
- func (o *UpdateSocks5ServerParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSocks5ServerParams) WithBody(body *vproxy_client_model.Socks5ServerUpdate) *UpdateSocks5ServerParams
- func (o *UpdateSocks5ServerParams) WithContext(ctx context.Context) *UpdateSocks5ServerParams
- func (o *UpdateSocks5ServerParams) WithDefaults() *UpdateSocks5ServerParams
- func (o *UpdateSocks5ServerParams) WithHTTPClient(client *http.Client) *UpdateSocks5ServerParams
- func (o *UpdateSocks5ServerParams) WithSocks5(socks5 string) *UpdateSocks5ServerParams
- func (o *UpdateSocks5ServerParams) WithTimeout(timeout time.Duration) *UpdateSocks5ServerParams
- func (o *UpdateSocks5ServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSocks5ServerReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddSocks5ServerBadRequest ¶
type AddSocks5ServerBadRequest struct {
Payload *vproxy_client_model.Error400
}
AddSocks5ServerBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewAddSocks5ServerBadRequest ¶
func NewAddSocks5ServerBadRequest() *AddSocks5ServerBadRequest
NewAddSocks5ServerBadRequest creates a AddSocks5ServerBadRequest with default headers values
func (*AddSocks5ServerBadRequest) Code ¶
func (o *AddSocks5ServerBadRequest) Code() int
Code gets the status code for the add socks5 server bad request response
func (*AddSocks5ServerBadRequest) Error ¶
func (o *AddSocks5ServerBadRequest) Error() string
func (*AddSocks5ServerBadRequest) GetPayload ¶
func (o *AddSocks5ServerBadRequest) GetPayload() *vproxy_client_model.Error400
func (*AddSocks5ServerBadRequest) IsClientError ¶
func (o *AddSocks5ServerBadRequest) IsClientError() bool
IsClientError returns true when this add socks5 server bad request response has a 4xx status code
func (*AddSocks5ServerBadRequest) IsCode ¶
func (o *AddSocks5ServerBadRequest) IsCode(code int) bool
IsCode returns true when this add socks5 server bad request response a status code equal to that given
func (*AddSocks5ServerBadRequest) IsRedirect ¶
func (o *AddSocks5ServerBadRequest) IsRedirect() bool
IsRedirect returns true when this add socks5 server bad request response has a 3xx status code
func (*AddSocks5ServerBadRequest) IsServerError ¶
func (o *AddSocks5ServerBadRequest) IsServerError() bool
IsServerError returns true when this add socks5 server bad request response has a 5xx status code
func (*AddSocks5ServerBadRequest) IsSuccess ¶
func (o *AddSocks5ServerBadRequest) IsSuccess() bool
IsSuccess returns true when this add socks5 server bad request response has a 2xx status code
func (*AddSocks5ServerBadRequest) String ¶
func (o *AddSocks5ServerBadRequest) String() string
type AddSocks5ServerConflict ¶
type AddSocks5ServerConflict struct {
Payload *vproxy_client_model.Error409
}
AddSocks5ServerConflict describes a response with status code 409, with default header values.
conflict
func NewAddSocks5ServerConflict ¶
func NewAddSocks5ServerConflict() *AddSocks5ServerConflict
NewAddSocks5ServerConflict creates a AddSocks5ServerConflict with default headers values
func (*AddSocks5ServerConflict) Code ¶
func (o *AddSocks5ServerConflict) Code() int
Code gets the status code for the add socks5 server conflict response
func (*AddSocks5ServerConflict) Error ¶
func (o *AddSocks5ServerConflict) Error() string
func (*AddSocks5ServerConflict) GetPayload ¶
func (o *AddSocks5ServerConflict) GetPayload() *vproxy_client_model.Error409
func (*AddSocks5ServerConflict) IsClientError ¶
func (o *AddSocks5ServerConflict) IsClientError() bool
IsClientError returns true when this add socks5 server conflict response has a 4xx status code
func (*AddSocks5ServerConflict) IsCode ¶
func (o *AddSocks5ServerConflict) IsCode(code int) bool
IsCode returns true when this add socks5 server conflict response a status code equal to that given
func (*AddSocks5ServerConflict) IsRedirect ¶
func (o *AddSocks5ServerConflict) IsRedirect() bool
IsRedirect returns true when this add socks5 server conflict response has a 3xx status code
func (*AddSocks5ServerConflict) IsServerError ¶
func (o *AddSocks5ServerConflict) IsServerError() bool
IsServerError returns true when this add socks5 server conflict response has a 5xx status code
func (*AddSocks5ServerConflict) IsSuccess ¶
func (o *AddSocks5ServerConflict) IsSuccess() bool
IsSuccess returns true when this add socks5 server conflict response has a 2xx status code
func (*AddSocks5ServerConflict) String ¶
func (o *AddSocks5ServerConflict) String() string
type AddSocks5ServerInternalServerError ¶
type AddSocks5ServerInternalServerError struct {
Payload *vproxy_client_model.Error500
}
AddSocks5ServerInternalServerError describes a response with status code 500, with default header values.
internal error
func NewAddSocks5ServerInternalServerError ¶
func NewAddSocks5ServerInternalServerError() *AddSocks5ServerInternalServerError
NewAddSocks5ServerInternalServerError creates a AddSocks5ServerInternalServerError with default headers values
func (*AddSocks5ServerInternalServerError) Code ¶
func (o *AddSocks5ServerInternalServerError) Code() int
Code gets the status code for the add socks5 server internal server error response
func (*AddSocks5ServerInternalServerError) Error ¶
func (o *AddSocks5ServerInternalServerError) Error() string
func (*AddSocks5ServerInternalServerError) GetPayload ¶
func (o *AddSocks5ServerInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*AddSocks5ServerInternalServerError) IsClientError ¶
func (o *AddSocks5ServerInternalServerError) IsClientError() bool
IsClientError returns true when this add socks5 server internal server error response has a 4xx status code
func (*AddSocks5ServerInternalServerError) IsCode ¶
func (o *AddSocks5ServerInternalServerError) IsCode(code int) bool
IsCode returns true when this add socks5 server internal server error response a status code equal to that given
func (*AddSocks5ServerInternalServerError) IsRedirect ¶
func (o *AddSocks5ServerInternalServerError) IsRedirect() bool
IsRedirect returns true when this add socks5 server internal server error response has a 3xx status code
func (*AddSocks5ServerInternalServerError) IsServerError ¶
func (o *AddSocks5ServerInternalServerError) IsServerError() bool
IsServerError returns true when this add socks5 server internal server error response has a 5xx status code
func (*AddSocks5ServerInternalServerError) IsSuccess ¶
func (o *AddSocks5ServerInternalServerError) IsSuccess() bool
IsSuccess returns true when this add socks5 server internal server error response has a 2xx status code
func (*AddSocks5ServerInternalServerError) String ¶
func (o *AddSocks5ServerInternalServerError) String() string
type AddSocks5ServerNoContent ¶
type AddSocks5ServerNoContent struct { }
AddSocks5ServerNoContent describes a response with status code 204, with default header values.
ok
func NewAddSocks5ServerNoContent ¶
func NewAddSocks5ServerNoContent() *AddSocks5ServerNoContent
NewAddSocks5ServerNoContent creates a AddSocks5ServerNoContent with default headers values
func (*AddSocks5ServerNoContent) Code ¶
func (o *AddSocks5ServerNoContent) Code() int
Code gets the status code for the add socks5 server no content response
func (*AddSocks5ServerNoContent) Error ¶
func (o *AddSocks5ServerNoContent) Error() string
func (*AddSocks5ServerNoContent) IsClientError ¶
func (o *AddSocks5ServerNoContent) IsClientError() bool
IsClientError returns true when this add socks5 server no content response has a 4xx status code
func (*AddSocks5ServerNoContent) IsCode ¶
func (o *AddSocks5ServerNoContent) IsCode(code int) bool
IsCode returns true when this add socks5 server no content response a status code equal to that given
func (*AddSocks5ServerNoContent) IsRedirect ¶
func (o *AddSocks5ServerNoContent) IsRedirect() bool
IsRedirect returns true when this add socks5 server no content response has a 3xx status code
func (*AddSocks5ServerNoContent) IsServerError ¶
func (o *AddSocks5ServerNoContent) IsServerError() bool
IsServerError returns true when this add socks5 server no content response has a 5xx status code
func (*AddSocks5ServerNoContent) IsSuccess ¶
func (o *AddSocks5ServerNoContent) IsSuccess() bool
IsSuccess returns true when this add socks5 server no content response has a 2xx status code
func (*AddSocks5ServerNoContent) String ¶
func (o *AddSocks5ServerNoContent) String() string
type AddSocks5ServerNotFound ¶
type AddSocks5ServerNotFound struct {
Payload *vproxy_client_model.Error404
}
AddSocks5ServerNotFound describes a response with status code 404, with default header values.
resource not found
func NewAddSocks5ServerNotFound ¶
func NewAddSocks5ServerNotFound() *AddSocks5ServerNotFound
NewAddSocks5ServerNotFound creates a AddSocks5ServerNotFound with default headers values
func (*AddSocks5ServerNotFound) Code ¶
func (o *AddSocks5ServerNotFound) Code() int
Code gets the status code for the add socks5 server not found response
func (*AddSocks5ServerNotFound) Error ¶
func (o *AddSocks5ServerNotFound) Error() string
func (*AddSocks5ServerNotFound) GetPayload ¶
func (o *AddSocks5ServerNotFound) GetPayload() *vproxy_client_model.Error404
func (*AddSocks5ServerNotFound) IsClientError ¶
func (o *AddSocks5ServerNotFound) IsClientError() bool
IsClientError returns true when this add socks5 server not found response has a 4xx status code
func (*AddSocks5ServerNotFound) IsCode ¶
func (o *AddSocks5ServerNotFound) IsCode(code int) bool
IsCode returns true when this add socks5 server not found response a status code equal to that given
func (*AddSocks5ServerNotFound) IsRedirect ¶
func (o *AddSocks5ServerNotFound) IsRedirect() bool
IsRedirect returns true when this add socks5 server not found response has a 3xx status code
func (*AddSocks5ServerNotFound) IsServerError ¶
func (o *AddSocks5ServerNotFound) IsServerError() bool
IsServerError returns true when this add socks5 server not found response has a 5xx status code
func (*AddSocks5ServerNotFound) IsSuccess ¶
func (o *AddSocks5ServerNotFound) IsSuccess() bool
IsSuccess returns true when this add socks5 server not found response has a 2xx status code
func (*AddSocks5ServerNotFound) String ¶
func (o *AddSocks5ServerNotFound) String() string
type AddSocks5ServerParams ¶
type AddSocks5ServerParams struct { // Body. Body *vproxy_client_model.Socks5ServerCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddSocks5ServerParams contains all the parameters to send to the API endpoint
for the add socks5 server operation. Typically these are written to a http.Request.
func NewAddSocks5ServerParams ¶
func NewAddSocks5ServerParams() *AddSocks5ServerParams
NewAddSocks5ServerParams creates a new AddSocks5ServerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddSocks5ServerParamsWithContext ¶
func NewAddSocks5ServerParamsWithContext(ctx context.Context) *AddSocks5ServerParams
NewAddSocks5ServerParamsWithContext creates a new AddSocks5ServerParams object with the ability to set a context for a request.
func NewAddSocks5ServerParamsWithHTTPClient ¶
func NewAddSocks5ServerParamsWithHTTPClient(client *http.Client) *AddSocks5ServerParams
NewAddSocks5ServerParamsWithHTTPClient creates a new AddSocks5ServerParams object with the ability to set a custom HTTPClient for a request.
func NewAddSocks5ServerParamsWithTimeout ¶
func NewAddSocks5ServerParamsWithTimeout(timeout time.Duration) *AddSocks5ServerParams
NewAddSocks5ServerParamsWithTimeout creates a new AddSocks5ServerParams object with the ability to set a timeout on a request.
func (*AddSocks5ServerParams) SetBody ¶
func (o *AddSocks5ServerParams) SetBody(body *vproxy_client_model.Socks5ServerCreate)
SetBody adds the body to the add socks5 server params
func (*AddSocks5ServerParams) SetContext ¶
func (o *AddSocks5ServerParams) SetContext(ctx context.Context)
SetContext adds the context to the add socks5 server params
func (*AddSocks5ServerParams) SetDefaults ¶
func (o *AddSocks5ServerParams) SetDefaults()
SetDefaults hydrates default values in the add socks5 server params (not the query body).
All values with no default are reset to their zero value.
func (*AddSocks5ServerParams) SetHTTPClient ¶
func (o *AddSocks5ServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add socks5 server params
func (*AddSocks5ServerParams) SetTimeout ¶
func (o *AddSocks5ServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add socks5 server params
func (*AddSocks5ServerParams) WithBody ¶
func (o *AddSocks5ServerParams) WithBody(body *vproxy_client_model.Socks5ServerCreate) *AddSocks5ServerParams
WithBody adds the body to the add socks5 server params
func (*AddSocks5ServerParams) WithContext ¶
func (o *AddSocks5ServerParams) WithContext(ctx context.Context) *AddSocks5ServerParams
WithContext adds the context to the add socks5 server params
func (*AddSocks5ServerParams) WithDefaults ¶
func (o *AddSocks5ServerParams) WithDefaults() *AddSocks5ServerParams
WithDefaults hydrates default values in the add socks5 server params (not the query body).
All values with no default are reset to their zero value.
func (*AddSocks5ServerParams) WithHTTPClient ¶
func (o *AddSocks5ServerParams) WithHTTPClient(client *http.Client) *AddSocks5ServerParams
WithHTTPClient adds the HTTPClient to the add socks5 server params
func (*AddSocks5ServerParams) WithTimeout ¶
func (o *AddSocks5ServerParams) WithTimeout(timeout time.Duration) *AddSocks5ServerParams
WithTimeout adds the timeout to the add socks5 server params
func (*AddSocks5ServerParams) WriteToRequest ¶
func (o *AddSocks5ServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddSocks5ServerReader ¶
type AddSocks5ServerReader struct {
// contains filtered or unexported fields
}
AddSocks5ServerReader is a Reader for the AddSocks5Server structure.
func (*AddSocks5ServerReader) ReadResponse ¶
func (o *AddSocks5ServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for socks5 server API
func (*Client) AddSocks5Server ¶
func (a *Client) AddSocks5Server(params *AddSocks5ServerParams, opts ...ClientOption) (*AddSocks5ServerNoContent, error)
AddSocks5Server adds socks5 server
func (*Client) DescribeSocks5Server ¶
func (a *Client) DescribeSocks5Server(params *DescribeSocks5ServerParams, opts ...ClientOption) (*DescribeSocks5ServerOK, error)
DescribeSocks5Server gets detailed info of one socks5 server
func (*Client) GetSocks5Server ¶
func (a *Client) GetSocks5Server(params *GetSocks5ServerParams, opts ...ClientOption) (*GetSocks5ServerOK, error)
GetSocks5Server gets socks5 server
func (*Client) ListSocks5Server ¶
func (a *Client) ListSocks5Server(params *ListSocks5ServerParams, opts ...ClientOption) (*ListSocks5ServerOK, error)
ListSocks5Server retrieves socks5 server list
func (*Client) RemoveSocks5Server ¶
func (a *Client) RemoveSocks5Server(params *RemoveSocks5ServerParams, opts ...ClientOption) (*RemoveSocks5ServerNoContent, error)
RemoveSocks5Server removes socks5 server
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateSocks5Server ¶
func (a *Client) UpdateSocks5Server(params *UpdateSocks5ServerParams, opts ...ClientOption) (*UpdateSocks5ServerNoContent, error)
UpdateSocks5Server updates socks5 server
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AddSocks5Server(params *AddSocks5ServerParams, opts ...ClientOption) (*AddSocks5ServerNoContent, error) DescribeSocks5Server(params *DescribeSocks5ServerParams, opts ...ClientOption) (*DescribeSocks5ServerOK, error) GetSocks5Server(params *GetSocks5ServerParams, opts ...ClientOption) (*GetSocks5ServerOK, error) ListSocks5Server(params *ListSocks5ServerParams, opts ...ClientOption) (*ListSocks5ServerOK, error) RemoveSocks5Server(params *RemoveSocks5ServerParams, opts ...ClientOption) (*RemoveSocks5ServerNoContent, error) UpdateSocks5Server(params *UpdateSocks5ServerParams, opts ...ClientOption) (*UpdateSocks5ServerNoContent, 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 socks5 server API client.
type DescribeSocks5ServerBadRequest ¶
type DescribeSocks5ServerBadRequest struct {
Payload *vproxy_client_model.Error400
}
DescribeSocks5ServerBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewDescribeSocks5ServerBadRequest ¶
func NewDescribeSocks5ServerBadRequest() *DescribeSocks5ServerBadRequest
NewDescribeSocks5ServerBadRequest creates a DescribeSocks5ServerBadRequest with default headers values
func (*DescribeSocks5ServerBadRequest) Code ¶
func (o *DescribeSocks5ServerBadRequest) Code() int
Code gets the status code for the describe socks5 server bad request response
func (*DescribeSocks5ServerBadRequest) Error ¶
func (o *DescribeSocks5ServerBadRequest) Error() string
func (*DescribeSocks5ServerBadRequest) GetPayload ¶
func (o *DescribeSocks5ServerBadRequest) GetPayload() *vproxy_client_model.Error400
func (*DescribeSocks5ServerBadRequest) IsClientError ¶
func (o *DescribeSocks5ServerBadRequest) IsClientError() bool
IsClientError returns true when this describe socks5 server bad request response has a 4xx status code
func (*DescribeSocks5ServerBadRequest) IsCode ¶
func (o *DescribeSocks5ServerBadRequest) IsCode(code int) bool
IsCode returns true when this describe socks5 server bad request response a status code equal to that given
func (*DescribeSocks5ServerBadRequest) IsRedirect ¶
func (o *DescribeSocks5ServerBadRequest) IsRedirect() bool
IsRedirect returns true when this describe socks5 server bad request response has a 3xx status code
func (*DescribeSocks5ServerBadRequest) IsServerError ¶
func (o *DescribeSocks5ServerBadRequest) IsServerError() bool
IsServerError returns true when this describe socks5 server bad request response has a 5xx status code
func (*DescribeSocks5ServerBadRequest) IsSuccess ¶
func (o *DescribeSocks5ServerBadRequest) IsSuccess() bool
IsSuccess returns true when this describe socks5 server bad request response has a 2xx status code
func (*DescribeSocks5ServerBadRequest) String ¶
func (o *DescribeSocks5ServerBadRequest) String() string
type DescribeSocks5ServerConflict ¶
type DescribeSocks5ServerConflict struct {
Payload *vproxy_client_model.Error409
}
DescribeSocks5ServerConflict describes a response with status code 409, with default header values.
conflict
func NewDescribeSocks5ServerConflict ¶
func NewDescribeSocks5ServerConflict() *DescribeSocks5ServerConflict
NewDescribeSocks5ServerConflict creates a DescribeSocks5ServerConflict with default headers values
func (*DescribeSocks5ServerConflict) Code ¶
func (o *DescribeSocks5ServerConflict) Code() int
Code gets the status code for the describe socks5 server conflict response
func (*DescribeSocks5ServerConflict) Error ¶
func (o *DescribeSocks5ServerConflict) Error() string
func (*DescribeSocks5ServerConflict) GetPayload ¶
func (o *DescribeSocks5ServerConflict) GetPayload() *vproxy_client_model.Error409
func (*DescribeSocks5ServerConflict) IsClientError ¶
func (o *DescribeSocks5ServerConflict) IsClientError() bool
IsClientError returns true when this describe socks5 server conflict response has a 4xx status code
func (*DescribeSocks5ServerConflict) IsCode ¶
func (o *DescribeSocks5ServerConflict) IsCode(code int) bool
IsCode returns true when this describe socks5 server conflict response a status code equal to that given
func (*DescribeSocks5ServerConflict) IsRedirect ¶
func (o *DescribeSocks5ServerConflict) IsRedirect() bool
IsRedirect returns true when this describe socks5 server conflict response has a 3xx status code
func (*DescribeSocks5ServerConflict) IsServerError ¶
func (o *DescribeSocks5ServerConflict) IsServerError() bool
IsServerError returns true when this describe socks5 server conflict response has a 5xx status code
func (*DescribeSocks5ServerConflict) IsSuccess ¶
func (o *DescribeSocks5ServerConflict) IsSuccess() bool
IsSuccess returns true when this describe socks5 server conflict response has a 2xx status code
func (*DescribeSocks5ServerConflict) String ¶
func (o *DescribeSocks5ServerConflict) String() string
type DescribeSocks5ServerInternalServerError ¶
type DescribeSocks5ServerInternalServerError struct {
Payload *vproxy_client_model.Error500
}
DescribeSocks5ServerInternalServerError describes a response with status code 500, with default header values.
internal error
func NewDescribeSocks5ServerInternalServerError ¶
func NewDescribeSocks5ServerInternalServerError() *DescribeSocks5ServerInternalServerError
NewDescribeSocks5ServerInternalServerError creates a DescribeSocks5ServerInternalServerError with default headers values
func (*DescribeSocks5ServerInternalServerError) Code ¶
func (o *DescribeSocks5ServerInternalServerError) Code() int
Code gets the status code for the describe socks5 server internal server error response
func (*DescribeSocks5ServerInternalServerError) Error ¶
func (o *DescribeSocks5ServerInternalServerError) Error() string
func (*DescribeSocks5ServerInternalServerError) GetPayload ¶
func (o *DescribeSocks5ServerInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*DescribeSocks5ServerInternalServerError) IsClientError ¶
func (o *DescribeSocks5ServerInternalServerError) IsClientError() bool
IsClientError returns true when this describe socks5 server internal server error response has a 4xx status code
func (*DescribeSocks5ServerInternalServerError) IsCode ¶
func (o *DescribeSocks5ServerInternalServerError) IsCode(code int) bool
IsCode returns true when this describe socks5 server internal server error response a status code equal to that given
func (*DescribeSocks5ServerInternalServerError) IsRedirect ¶
func (o *DescribeSocks5ServerInternalServerError) IsRedirect() bool
IsRedirect returns true when this describe socks5 server internal server error response has a 3xx status code
func (*DescribeSocks5ServerInternalServerError) IsServerError ¶
func (o *DescribeSocks5ServerInternalServerError) IsServerError() bool
IsServerError returns true when this describe socks5 server internal server error response has a 5xx status code
func (*DescribeSocks5ServerInternalServerError) IsSuccess ¶
func (o *DescribeSocks5ServerInternalServerError) IsSuccess() bool
IsSuccess returns true when this describe socks5 server internal server error response has a 2xx status code
func (*DescribeSocks5ServerInternalServerError) String ¶
func (o *DescribeSocks5ServerInternalServerError) String() string
type DescribeSocks5ServerNotFound ¶
type DescribeSocks5ServerNotFound struct {
Payload *vproxy_client_model.Error404
}
DescribeSocks5ServerNotFound describes a response with status code 404, with default header values.
resource not found
func NewDescribeSocks5ServerNotFound ¶
func NewDescribeSocks5ServerNotFound() *DescribeSocks5ServerNotFound
NewDescribeSocks5ServerNotFound creates a DescribeSocks5ServerNotFound with default headers values
func (*DescribeSocks5ServerNotFound) Code ¶
func (o *DescribeSocks5ServerNotFound) Code() int
Code gets the status code for the describe socks5 server not found response
func (*DescribeSocks5ServerNotFound) Error ¶
func (o *DescribeSocks5ServerNotFound) Error() string
func (*DescribeSocks5ServerNotFound) GetPayload ¶
func (o *DescribeSocks5ServerNotFound) GetPayload() *vproxy_client_model.Error404
func (*DescribeSocks5ServerNotFound) IsClientError ¶
func (o *DescribeSocks5ServerNotFound) IsClientError() bool
IsClientError returns true when this describe socks5 server not found response has a 4xx status code
func (*DescribeSocks5ServerNotFound) IsCode ¶
func (o *DescribeSocks5ServerNotFound) IsCode(code int) bool
IsCode returns true when this describe socks5 server not found response a status code equal to that given
func (*DescribeSocks5ServerNotFound) IsRedirect ¶
func (o *DescribeSocks5ServerNotFound) IsRedirect() bool
IsRedirect returns true when this describe socks5 server not found response has a 3xx status code
func (*DescribeSocks5ServerNotFound) IsServerError ¶
func (o *DescribeSocks5ServerNotFound) IsServerError() bool
IsServerError returns true when this describe socks5 server not found response has a 5xx status code
func (*DescribeSocks5ServerNotFound) IsSuccess ¶
func (o *DescribeSocks5ServerNotFound) IsSuccess() bool
IsSuccess returns true when this describe socks5 server not found response has a 2xx status code
func (*DescribeSocks5ServerNotFound) String ¶
func (o *DescribeSocks5ServerNotFound) String() string
type DescribeSocks5ServerOK ¶
type DescribeSocks5ServerOK struct {
Payload *vproxy_client_model.Socks5ServerDetail
}
DescribeSocks5ServerOK describes a response with status code 200, with default header values.
ok
func NewDescribeSocks5ServerOK ¶
func NewDescribeSocks5ServerOK() *DescribeSocks5ServerOK
NewDescribeSocks5ServerOK creates a DescribeSocks5ServerOK with default headers values
func (*DescribeSocks5ServerOK) Code ¶
func (o *DescribeSocks5ServerOK) Code() int
Code gets the status code for the describe socks5 server o k response
func (*DescribeSocks5ServerOK) Error ¶
func (o *DescribeSocks5ServerOK) Error() string
func (*DescribeSocks5ServerOK) GetPayload ¶
func (o *DescribeSocks5ServerOK) GetPayload() *vproxy_client_model.Socks5ServerDetail
func (*DescribeSocks5ServerOK) IsClientError ¶
func (o *DescribeSocks5ServerOK) IsClientError() bool
IsClientError returns true when this describe socks5 server o k response has a 4xx status code
func (*DescribeSocks5ServerOK) IsCode ¶
func (o *DescribeSocks5ServerOK) IsCode(code int) bool
IsCode returns true when this describe socks5 server o k response a status code equal to that given
func (*DescribeSocks5ServerOK) IsRedirect ¶
func (o *DescribeSocks5ServerOK) IsRedirect() bool
IsRedirect returns true when this describe socks5 server o k response has a 3xx status code
func (*DescribeSocks5ServerOK) IsServerError ¶
func (o *DescribeSocks5ServerOK) IsServerError() bool
IsServerError returns true when this describe socks5 server o k response has a 5xx status code
func (*DescribeSocks5ServerOK) IsSuccess ¶
func (o *DescribeSocks5ServerOK) IsSuccess() bool
IsSuccess returns true when this describe socks5 server o k response has a 2xx status code
func (*DescribeSocks5ServerOK) String ¶
func (o *DescribeSocks5ServerOK) String() string
type DescribeSocks5ServerParams ¶
type DescribeSocks5ServerParams struct { /* Socks5. name of the socks5-server */ Socks5 string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DescribeSocks5ServerParams contains all the parameters to send to the API endpoint
for the describe socks5 server operation. Typically these are written to a http.Request.
func NewDescribeSocks5ServerParams ¶
func NewDescribeSocks5ServerParams() *DescribeSocks5ServerParams
NewDescribeSocks5ServerParams creates a new DescribeSocks5ServerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDescribeSocks5ServerParamsWithContext ¶
func NewDescribeSocks5ServerParamsWithContext(ctx context.Context) *DescribeSocks5ServerParams
NewDescribeSocks5ServerParamsWithContext creates a new DescribeSocks5ServerParams object with the ability to set a context for a request.
func NewDescribeSocks5ServerParamsWithHTTPClient ¶
func NewDescribeSocks5ServerParamsWithHTTPClient(client *http.Client) *DescribeSocks5ServerParams
NewDescribeSocks5ServerParamsWithHTTPClient creates a new DescribeSocks5ServerParams object with the ability to set a custom HTTPClient for a request.
func NewDescribeSocks5ServerParamsWithTimeout ¶
func NewDescribeSocks5ServerParamsWithTimeout(timeout time.Duration) *DescribeSocks5ServerParams
NewDescribeSocks5ServerParamsWithTimeout creates a new DescribeSocks5ServerParams object with the ability to set a timeout on a request.
func (*DescribeSocks5ServerParams) SetContext ¶
func (o *DescribeSocks5ServerParams) SetContext(ctx context.Context)
SetContext adds the context to the describe socks5 server params
func (*DescribeSocks5ServerParams) SetDefaults ¶
func (o *DescribeSocks5ServerParams) SetDefaults()
SetDefaults hydrates default values in the describe socks5 server params (not the query body).
All values with no default are reset to their zero value.
func (*DescribeSocks5ServerParams) SetHTTPClient ¶
func (o *DescribeSocks5ServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the describe socks5 server params
func (*DescribeSocks5ServerParams) SetSocks5 ¶
func (o *DescribeSocks5ServerParams) SetSocks5(socks5 string)
SetSocks5 adds the socks5 to the describe socks5 server params
func (*DescribeSocks5ServerParams) SetTimeout ¶
func (o *DescribeSocks5ServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the describe socks5 server params
func (*DescribeSocks5ServerParams) WithContext ¶
func (o *DescribeSocks5ServerParams) WithContext(ctx context.Context) *DescribeSocks5ServerParams
WithContext adds the context to the describe socks5 server params
func (*DescribeSocks5ServerParams) WithDefaults ¶
func (o *DescribeSocks5ServerParams) WithDefaults() *DescribeSocks5ServerParams
WithDefaults hydrates default values in the describe socks5 server params (not the query body).
All values with no default are reset to their zero value.
func (*DescribeSocks5ServerParams) WithHTTPClient ¶
func (o *DescribeSocks5ServerParams) WithHTTPClient(client *http.Client) *DescribeSocks5ServerParams
WithHTTPClient adds the HTTPClient to the describe socks5 server params
func (*DescribeSocks5ServerParams) WithSocks5 ¶
func (o *DescribeSocks5ServerParams) WithSocks5(socks5 string) *DescribeSocks5ServerParams
WithSocks5 adds the socks5 to the describe socks5 server params
func (*DescribeSocks5ServerParams) WithTimeout ¶
func (o *DescribeSocks5ServerParams) WithTimeout(timeout time.Duration) *DescribeSocks5ServerParams
WithTimeout adds the timeout to the describe socks5 server params
func (*DescribeSocks5ServerParams) WriteToRequest ¶
func (o *DescribeSocks5ServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DescribeSocks5ServerReader ¶
type DescribeSocks5ServerReader struct {
// contains filtered or unexported fields
}
DescribeSocks5ServerReader is a Reader for the DescribeSocks5Server structure.
func (*DescribeSocks5ServerReader) ReadResponse ¶
func (o *DescribeSocks5ServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSocks5ServerBadRequest ¶
type GetSocks5ServerBadRequest struct {
Payload *vproxy_client_model.Error400
}
GetSocks5ServerBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewGetSocks5ServerBadRequest ¶
func NewGetSocks5ServerBadRequest() *GetSocks5ServerBadRequest
NewGetSocks5ServerBadRequest creates a GetSocks5ServerBadRequest with default headers values
func (*GetSocks5ServerBadRequest) Code ¶
func (o *GetSocks5ServerBadRequest) Code() int
Code gets the status code for the get socks5 server bad request response
func (*GetSocks5ServerBadRequest) Error ¶
func (o *GetSocks5ServerBadRequest) Error() string
func (*GetSocks5ServerBadRequest) GetPayload ¶
func (o *GetSocks5ServerBadRequest) GetPayload() *vproxy_client_model.Error400
func (*GetSocks5ServerBadRequest) IsClientError ¶
func (o *GetSocks5ServerBadRequest) IsClientError() bool
IsClientError returns true when this get socks5 server bad request response has a 4xx status code
func (*GetSocks5ServerBadRequest) IsCode ¶
func (o *GetSocks5ServerBadRequest) IsCode(code int) bool
IsCode returns true when this get socks5 server bad request response a status code equal to that given
func (*GetSocks5ServerBadRequest) IsRedirect ¶
func (o *GetSocks5ServerBadRequest) IsRedirect() bool
IsRedirect returns true when this get socks5 server bad request response has a 3xx status code
func (*GetSocks5ServerBadRequest) IsServerError ¶
func (o *GetSocks5ServerBadRequest) IsServerError() bool
IsServerError returns true when this get socks5 server bad request response has a 5xx status code
func (*GetSocks5ServerBadRequest) IsSuccess ¶
func (o *GetSocks5ServerBadRequest) IsSuccess() bool
IsSuccess returns true when this get socks5 server bad request response has a 2xx status code
func (*GetSocks5ServerBadRequest) String ¶
func (o *GetSocks5ServerBadRequest) String() string
type GetSocks5ServerConflict ¶
type GetSocks5ServerConflict struct {
Payload *vproxy_client_model.Error409
}
GetSocks5ServerConflict describes a response with status code 409, with default header values.
conflict
func NewGetSocks5ServerConflict ¶
func NewGetSocks5ServerConflict() *GetSocks5ServerConflict
NewGetSocks5ServerConflict creates a GetSocks5ServerConflict with default headers values
func (*GetSocks5ServerConflict) Code ¶
func (o *GetSocks5ServerConflict) Code() int
Code gets the status code for the get socks5 server conflict response
func (*GetSocks5ServerConflict) Error ¶
func (o *GetSocks5ServerConflict) Error() string
func (*GetSocks5ServerConflict) GetPayload ¶
func (o *GetSocks5ServerConflict) GetPayload() *vproxy_client_model.Error409
func (*GetSocks5ServerConflict) IsClientError ¶
func (o *GetSocks5ServerConflict) IsClientError() bool
IsClientError returns true when this get socks5 server conflict response has a 4xx status code
func (*GetSocks5ServerConflict) IsCode ¶
func (o *GetSocks5ServerConflict) IsCode(code int) bool
IsCode returns true when this get socks5 server conflict response a status code equal to that given
func (*GetSocks5ServerConflict) IsRedirect ¶
func (o *GetSocks5ServerConflict) IsRedirect() bool
IsRedirect returns true when this get socks5 server conflict response has a 3xx status code
func (*GetSocks5ServerConflict) IsServerError ¶
func (o *GetSocks5ServerConflict) IsServerError() bool
IsServerError returns true when this get socks5 server conflict response has a 5xx status code
func (*GetSocks5ServerConflict) IsSuccess ¶
func (o *GetSocks5ServerConflict) IsSuccess() bool
IsSuccess returns true when this get socks5 server conflict response has a 2xx status code
func (*GetSocks5ServerConflict) String ¶
func (o *GetSocks5ServerConflict) String() string
type GetSocks5ServerInternalServerError ¶
type GetSocks5ServerInternalServerError struct {
Payload *vproxy_client_model.Error500
}
GetSocks5ServerInternalServerError describes a response with status code 500, with default header values.
internal error
func NewGetSocks5ServerInternalServerError ¶
func NewGetSocks5ServerInternalServerError() *GetSocks5ServerInternalServerError
NewGetSocks5ServerInternalServerError creates a GetSocks5ServerInternalServerError with default headers values
func (*GetSocks5ServerInternalServerError) Code ¶
func (o *GetSocks5ServerInternalServerError) Code() int
Code gets the status code for the get socks5 server internal server error response
func (*GetSocks5ServerInternalServerError) Error ¶
func (o *GetSocks5ServerInternalServerError) Error() string
func (*GetSocks5ServerInternalServerError) GetPayload ¶
func (o *GetSocks5ServerInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*GetSocks5ServerInternalServerError) IsClientError ¶
func (o *GetSocks5ServerInternalServerError) IsClientError() bool
IsClientError returns true when this get socks5 server internal server error response has a 4xx status code
func (*GetSocks5ServerInternalServerError) IsCode ¶
func (o *GetSocks5ServerInternalServerError) IsCode(code int) bool
IsCode returns true when this get socks5 server internal server error response a status code equal to that given
func (*GetSocks5ServerInternalServerError) IsRedirect ¶
func (o *GetSocks5ServerInternalServerError) IsRedirect() bool
IsRedirect returns true when this get socks5 server internal server error response has a 3xx status code
func (*GetSocks5ServerInternalServerError) IsServerError ¶
func (o *GetSocks5ServerInternalServerError) IsServerError() bool
IsServerError returns true when this get socks5 server internal server error response has a 5xx status code
func (*GetSocks5ServerInternalServerError) IsSuccess ¶
func (o *GetSocks5ServerInternalServerError) IsSuccess() bool
IsSuccess returns true when this get socks5 server internal server error response has a 2xx status code
func (*GetSocks5ServerInternalServerError) String ¶
func (o *GetSocks5ServerInternalServerError) String() string
type GetSocks5ServerNotFound ¶
type GetSocks5ServerNotFound struct {
Payload *vproxy_client_model.Error404
}
GetSocks5ServerNotFound describes a response with status code 404, with default header values.
resource not found
func NewGetSocks5ServerNotFound ¶
func NewGetSocks5ServerNotFound() *GetSocks5ServerNotFound
NewGetSocks5ServerNotFound creates a GetSocks5ServerNotFound with default headers values
func (*GetSocks5ServerNotFound) Code ¶
func (o *GetSocks5ServerNotFound) Code() int
Code gets the status code for the get socks5 server not found response
func (*GetSocks5ServerNotFound) Error ¶
func (o *GetSocks5ServerNotFound) Error() string
func (*GetSocks5ServerNotFound) GetPayload ¶
func (o *GetSocks5ServerNotFound) GetPayload() *vproxy_client_model.Error404
func (*GetSocks5ServerNotFound) IsClientError ¶
func (o *GetSocks5ServerNotFound) IsClientError() bool
IsClientError returns true when this get socks5 server not found response has a 4xx status code
func (*GetSocks5ServerNotFound) IsCode ¶
func (o *GetSocks5ServerNotFound) IsCode(code int) bool
IsCode returns true when this get socks5 server not found response a status code equal to that given
func (*GetSocks5ServerNotFound) IsRedirect ¶
func (o *GetSocks5ServerNotFound) IsRedirect() bool
IsRedirect returns true when this get socks5 server not found response has a 3xx status code
func (*GetSocks5ServerNotFound) IsServerError ¶
func (o *GetSocks5ServerNotFound) IsServerError() bool
IsServerError returns true when this get socks5 server not found response has a 5xx status code
func (*GetSocks5ServerNotFound) IsSuccess ¶
func (o *GetSocks5ServerNotFound) IsSuccess() bool
IsSuccess returns true when this get socks5 server not found response has a 2xx status code
func (*GetSocks5ServerNotFound) String ¶
func (o *GetSocks5ServerNotFound) String() string
type GetSocks5ServerOK ¶
type GetSocks5ServerOK struct {
Payload *vproxy_client_model.Socks5Server
}
GetSocks5ServerOK describes a response with status code 200, with default header values.
ok
func NewGetSocks5ServerOK ¶
func NewGetSocks5ServerOK() *GetSocks5ServerOK
NewGetSocks5ServerOK creates a GetSocks5ServerOK with default headers values
func (*GetSocks5ServerOK) Code ¶
func (o *GetSocks5ServerOK) Code() int
Code gets the status code for the get socks5 server o k response
func (*GetSocks5ServerOK) Error ¶
func (o *GetSocks5ServerOK) Error() string
func (*GetSocks5ServerOK) GetPayload ¶
func (o *GetSocks5ServerOK) GetPayload() *vproxy_client_model.Socks5Server
func (*GetSocks5ServerOK) IsClientError ¶
func (o *GetSocks5ServerOK) IsClientError() bool
IsClientError returns true when this get socks5 server o k response has a 4xx status code
func (*GetSocks5ServerOK) IsCode ¶
func (o *GetSocks5ServerOK) IsCode(code int) bool
IsCode returns true when this get socks5 server o k response a status code equal to that given
func (*GetSocks5ServerOK) IsRedirect ¶
func (o *GetSocks5ServerOK) IsRedirect() bool
IsRedirect returns true when this get socks5 server o k response has a 3xx status code
func (*GetSocks5ServerOK) IsServerError ¶
func (o *GetSocks5ServerOK) IsServerError() bool
IsServerError returns true when this get socks5 server o k response has a 5xx status code
func (*GetSocks5ServerOK) IsSuccess ¶
func (o *GetSocks5ServerOK) IsSuccess() bool
IsSuccess returns true when this get socks5 server o k response has a 2xx status code
func (*GetSocks5ServerOK) String ¶
func (o *GetSocks5ServerOK) String() string
type GetSocks5ServerParams ¶
type GetSocks5ServerParams struct { /* Socks5. name of the socks5-server */ Socks5 string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSocks5ServerParams contains all the parameters to send to the API endpoint
for the get socks5 server operation. Typically these are written to a http.Request.
func NewGetSocks5ServerParams ¶
func NewGetSocks5ServerParams() *GetSocks5ServerParams
NewGetSocks5ServerParams creates a new GetSocks5ServerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSocks5ServerParamsWithContext ¶
func NewGetSocks5ServerParamsWithContext(ctx context.Context) *GetSocks5ServerParams
NewGetSocks5ServerParamsWithContext creates a new GetSocks5ServerParams object with the ability to set a context for a request.
func NewGetSocks5ServerParamsWithHTTPClient ¶
func NewGetSocks5ServerParamsWithHTTPClient(client *http.Client) *GetSocks5ServerParams
NewGetSocks5ServerParamsWithHTTPClient creates a new GetSocks5ServerParams object with the ability to set a custom HTTPClient for a request.
func NewGetSocks5ServerParamsWithTimeout ¶
func NewGetSocks5ServerParamsWithTimeout(timeout time.Duration) *GetSocks5ServerParams
NewGetSocks5ServerParamsWithTimeout creates a new GetSocks5ServerParams object with the ability to set a timeout on a request.
func (*GetSocks5ServerParams) SetContext ¶
func (o *GetSocks5ServerParams) SetContext(ctx context.Context)
SetContext adds the context to the get socks5 server params
func (*GetSocks5ServerParams) SetDefaults ¶
func (o *GetSocks5ServerParams) SetDefaults()
SetDefaults hydrates default values in the get socks5 server params (not the query body).
All values with no default are reset to their zero value.
func (*GetSocks5ServerParams) SetHTTPClient ¶
func (o *GetSocks5ServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get socks5 server params
func (*GetSocks5ServerParams) SetSocks5 ¶
func (o *GetSocks5ServerParams) SetSocks5(socks5 string)
SetSocks5 adds the socks5 to the get socks5 server params
func (*GetSocks5ServerParams) SetTimeout ¶
func (o *GetSocks5ServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get socks5 server params
func (*GetSocks5ServerParams) WithContext ¶
func (o *GetSocks5ServerParams) WithContext(ctx context.Context) *GetSocks5ServerParams
WithContext adds the context to the get socks5 server params
func (*GetSocks5ServerParams) WithDefaults ¶
func (o *GetSocks5ServerParams) WithDefaults() *GetSocks5ServerParams
WithDefaults hydrates default values in the get socks5 server params (not the query body).
All values with no default are reset to their zero value.
func (*GetSocks5ServerParams) WithHTTPClient ¶
func (o *GetSocks5ServerParams) WithHTTPClient(client *http.Client) *GetSocks5ServerParams
WithHTTPClient adds the HTTPClient to the get socks5 server params
func (*GetSocks5ServerParams) WithSocks5 ¶
func (o *GetSocks5ServerParams) WithSocks5(socks5 string) *GetSocks5ServerParams
WithSocks5 adds the socks5 to the get socks5 server params
func (*GetSocks5ServerParams) WithTimeout ¶
func (o *GetSocks5ServerParams) WithTimeout(timeout time.Duration) *GetSocks5ServerParams
WithTimeout adds the timeout to the get socks5 server params
func (*GetSocks5ServerParams) WriteToRequest ¶
func (o *GetSocks5ServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSocks5ServerReader ¶
type GetSocks5ServerReader struct {
// contains filtered or unexported fields
}
GetSocks5ServerReader is a Reader for the GetSocks5Server structure.
func (*GetSocks5ServerReader) ReadResponse ¶
func (o *GetSocks5ServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListSocks5ServerBadRequest ¶
type ListSocks5ServerBadRequest struct {
Payload *vproxy_client_model.Error400
}
ListSocks5ServerBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewListSocks5ServerBadRequest ¶
func NewListSocks5ServerBadRequest() *ListSocks5ServerBadRequest
NewListSocks5ServerBadRequest creates a ListSocks5ServerBadRequest with default headers values
func (*ListSocks5ServerBadRequest) Code ¶
func (o *ListSocks5ServerBadRequest) Code() int
Code gets the status code for the list socks5 server bad request response
func (*ListSocks5ServerBadRequest) Error ¶
func (o *ListSocks5ServerBadRequest) Error() string
func (*ListSocks5ServerBadRequest) GetPayload ¶
func (o *ListSocks5ServerBadRequest) GetPayload() *vproxy_client_model.Error400
func (*ListSocks5ServerBadRequest) IsClientError ¶
func (o *ListSocks5ServerBadRequest) IsClientError() bool
IsClientError returns true when this list socks5 server bad request response has a 4xx status code
func (*ListSocks5ServerBadRequest) IsCode ¶
func (o *ListSocks5ServerBadRequest) IsCode(code int) bool
IsCode returns true when this list socks5 server bad request response a status code equal to that given
func (*ListSocks5ServerBadRequest) IsRedirect ¶
func (o *ListSocks5ServerBadRequest) IsRedirect() bool
IsRedirect returns true when this list socks5 server bad request response has a 3xx status code
func (*ListSocks5ServerBadRequest) IsServerError ¶
func (o *ListSocks5ServerBadRequest) IsServerError() bool
IsServerError returns true when this list socks5 server bad request response has a 5xx status code
func (*ListSocks5ServerBadRequest) IsSuccess ¶
func (o *ListSocks5ServerBadRequest) IsSuccess() bool
IsSuccess returns true when this list socks5 server bad request response has a 2xx status code
func (*ListSocks5ServerBadRequest) String ¶
func (o *ListSocks5ServerBadRequest) String() string
type ListSocks5ServerConflict ¶
type ListSocks5ServerConflict struct {
Payload *vproxy_client_model.Error409
}
ListSocks5ServerConflict describes a response with status code 409, with default header values.
conflict
func NewListSocks5ServerConflict ¶
func NewListSocks5ServerConflict() *ListSocks5ServerConflict
NewListSocks5ServerConflict creates a ListSocks5ServerConflict with default headers values
func (*ListSocks5ServerConflict) Code ¶
func (o *ListSocks5ServerConflict) Code() int
Code gets the status code for the list socks5 server conflict response
func (*ListSocks5ServerConflict) Error ¶
func (o *ListSocks5ServerConflict) Error() string
func (*ListSocks5ServerConflict) GetPayload ¶
func (o *ListSocks5ServerConflict) GetPayload() *vproxy_client_model.Error409
func (*ListSocks5ServerConflict) IsClientError ¶
func (o *ListSocks5ServerConflict) IsClientError() bool
IsClientError returns true when this list socks5 server conflict response has a 4xx status code
func (*ListSocks5ServerConflict) IsCode ¶
func (o *ListSocks5ServerConflict) IsCode(code int) bool
IsCode returns true when this list socks5 server conflict response a status code equal to that given
func (*ListSocks5ServerConflict) IsRedirect ¶
func (o *ListSocks5ServerConflict) IsRedirect() bool
IsRedirect returns true when this list socks5 server conflict response has a 3xx status code
func (*ListSocks5ServerConflict) IsServerError ¶
func (o *ListSocks5ServerConflict) IsServerError() bool
IsServerError returns true when this list socks5 server conflict response has a 5xx status code
func (*ListSocks5ServerConflict) IsSuccess ¶
func (o *ListSocks5ServerConflict) IsSuccess() bool
IsSuccess returns true when this list socks5 server conflict response has a 2xx status code
func (*ListSocks5ServerConflict) String ¶
func (o *ListSocks5ServerConflict) String() string
type ListSocks5ServerInternalServerError ¶
type ListSocks5ServerInternalServerError struct {
Payload *vproxy_client_model.Error500
}
ListSocks5ServerInternalServerError describes a response with status code 500, with default header values.
internal error
func NewListSocks5ServerInternalServerError ¶
func NewListSocks5ServerInternalServerError() *ListSocks5ServerInternalServerError
NewListSocks5ServerInternalServerError creates a ListSocks5ServerInternalServerError with default headers values
func (*ListSocks5ServerInternalServerError) Code ¶
func (o *ListSocks5ServerInternalServerError) Code() int
Code gets the status code for the list socks5 server internal server error response
func (*ListSocks5ServerInternalServerError) Error ¶
func (o *ListSocks5ServerInternalServerError) Error() string
func (*ListSocks5ServerInternalServerError) GetPayload ¶
func (o *ListSocks5ServerInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*ListSocks5ServerInternalServerError) IsClientError ¶
func (o *ListSocks5ServerInternalServerError) IsClientError() bool
IsClientError returns true when this list socks5 server internal server error response has a 4xx status code
func (*ListSocks5ServerInternalServerError) IsCode ¶
func (o *ListSocks5ServerInternalServerError) IsCode(code int) bool
IsCode returns true when this list socks5 server internal server error response a status code equal to that given
func (*ListSocks5ServerInternalServerError) IsRedirect ¶
func (o *ListSocks5ServerInternalServerError) IsRedirect() bool
IsRedirect returns true when this list socks5 server internal server error response has a 3xx status code
func (*ListSocks5ServerInternalServerError) IsServerError ¶
func (o *ListSocks5ServerInternalServerError) IsServerError() bool
IsServerError returns true when this list socks5 server internal server error response has a 5xx status code
func (*ListSocks5ServerInternalServerError) IsSuccess ¶
func (o *ListSocks5ServerInternalServerError) IsSuccess() bool
IsSuccess returns true when this list socks5 server internal server error response has a 2xx status code
func (*ListSocks5ServerInternalServerError) String ¶
func (o *ListSocks5ServerInternalServerError) String() string
type ListSocks5ServerOK ¶
type ListSocks5ServerOK struct {
Payload []*vproxy_client_model.Socks5Server
}
ListSocks5ServerOK describes a response with status code 200, with default header values.
ok
func NewListSocks5ServerOK ¶
func NewListSocks5ServerOK() *ListSocks5ServerOK
NewListSocks5ServerOK creates a ListSocks5ServerOK with default headers values
func (*ListSocks5ServerOK) Code ¶
func (o *ListSocks5ServerOK) Code() int
Code gets the status code for the list socks5 server o k response
func (*ListSocks5ServerOK) Error ¶
func (o *ListSocks5ServerOK) Error() string
func (*ListSocks5ServerOK) GetPayload ¶
func (o *ListSocks5ServerOK) GetPayload() []*vproxy_client_model.Socks5Server
func (*ListSocks5ServerOK) IsClientError ¶
func (o *ListSocks5ServerOK) IsClientError() bool
IsClientError returns true when this list socks5 server o k response has a 4xx status code
func (*ListSocks5ServerOK) IsCode ¶
func (o *ListSocks5ServerOK) IsCode(code int) bool
IsCode returns true when this list socks5 server o k response a status code equal to that given
func (*ListSocks5ServerOK) IsRedirect ¶
func (o *ListSocks5ServerOK) IsRedirect() bool
IsRedirect returns true when this list socks5 server o k response has a 3xx status code
func (*ListSocks5ServerOK) IsServerError ¶
func (o *ListSocks5ServerOK) IsServerError() bool
IsServerError returns true when this list socks5 server o k response has a 5xx status code
func (*ListSocks5ServerOK) IsSuccess ¶
func (o *ListSocks5ServerOK) IsSuccess() bool
IsSuccess returns true when this list socks5 server o k response has a 2xx status code
func (*ListSocks5ServerOK) String ¶
func (o *ListSocks5ServerOK) String() string
type ListSocks5ServerParams ¶
type ListSocks5ServerParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListSocks5ServerParams contains all the parameters to send to the API endpoint
for the list socks5 server operation. Typically these are written to a http.Request.
func NewListSocks5ServerParams ¶
func NewListSocks5ServerParams() *ListSocks5ServerParams
NewListSocks5ServerParams creates a new ListSocks5ServerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListSocks5ServerParamsWithContext ¶
func NewListSocks5ServerParamsWithContext(ctx context.Context) *ListSocks5ServerParams
NewListSocks5ServerParamsWithContext creates a new ListSocks5ServerParams object with the ability to set a context for a request.
func NewListSocks5ServerParamsWithHTTPClient ¶
func NewListSocks5ServerParamsWithHTTPClient(client *http.Client) *ListSocks5ServerParams
NewListSocks5ServerParamsWithHTTPClient creates a new ListSocks5ServerParams object with the ability to set a custom HTTPClient for a request.
func NewListSocks5ServerParamsWithTimeout ¶
func NewListSocks5ServerParamsWithTimeout(timeout time.Duration) *ListSocks5ServerParams
NewListSocks5ServerParamsWithTimeout creates a new ListSocks5ServerParams object with the ability to set a timeout on a request.
func (*ListSocks5ServerParams) SetContext ¶
func (o *ListSocks5ServerParams) SetContext(ctx context.Context)
SetContext adds the context to the list socks5 server params
func (*ListSocks5ServerParams) SetDefaults ¶
func (o *ListSocks5ServerParams) SetDefaults()
SetDefaults hydrates default values in the list socks5 server params (not the query body).
All values with no default are reset to their zero value.
func (*ListSocks5ServerParams) SetHTTPClient ¶
func (o *ListSocks5ServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list socks5 server params
func (*ListSocks5ServerParams) SetTimeout ¶
func (o *ListSocks5ServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list socks5 server params
func (*ListSocks5ServerParams) WithContext ¶
func (o *ListSocks5ServerParams) WithContext(ctx context.Context) *ListSocks5ServerParams
WithContext adds the context to the list socks5 server params
func (*ListSocks5ServerParams) WithDefaults ¶
func (o *ListSocks5ServerParams) WithDefaults() *ListSocks5ServerParams
WithDefaults hydrates default values in the list socks5 server params (not the query body).
All values with no default are reset to their zero value.
func (*ListSocks5ServerParams) WithHTTPClient ¶
func (o *ListSocks5ServerParams) WithHTTPClient(client *http.Client) *ListSocks5ServerParams
WithHTTPClient adds the HTTPClient to the list socks5 server params
func (*ListSocks5ServerParams) WithTimeout ¶
func (o *ListSocks5ServerParams) WithTimeout(timeout time.Duration) *ListSocks5ServerParams
WithTimeout adds the timeout to the list socks5 server params
func (*ListSocks5ServerParams) WriteToRequest ¶
func (o *ListSocks5ServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListSocks5ServerReader ¶
type ListSocks5ServerReader struct {
// contains filtered or unexported fields
}
ListSocks5ServerReader is a Reader for the ListSocks5Server structure.
func (*ListSocks5ServerReader) ReadResponse ¶
func (o *ListSocks5ServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveSocks5ServerBadRequest ¶
type RemoveSocks5ServerBadRequest struct {
Payload *vproxy_client_model.Error400
}
RemoveSocks5ServerBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewRemoveSocks5ServerBadRequest ¶
func NewRemoveSocks5ServerBadRequest() *RemoveSocks5ServerBadRequest
NewRemoveSocks5ServerBadRequest creates a RemoveSocks5ServerBadRequest with default headers values
func (*RemoveSocks5ServerBadRequest) Code ¶
func (o *RemoveSocks5ServerBadRequest) Code() int
Code gets the status code for the remove socks5 server bad request response
func (*RemoveSocks5ServerBadRequest) Error ¶
func (o *RemoveSocks5ServerBadRequest) Error() string
func (*RemoveSocks5ServerBadRequest) GetPayload ¶
func (o *RemoveSocks5ServerBadRequest) GetPayload() *vproxy_client_model.Error400
func (*RemoveSocks5ServerBadRequest) IsClientError ¶
func (o *RemoveSocks5ServerBadRequest) IsClientError() bool
IsClientError returns true when this remove socks5 server bad request response has a 4xx status code
func (*RemoveSocks5ServerBadRequest) IsCode ¶
func (o *RemoveSocks5ServerBadRequest) IsCode(code int) bool
IsCode returns true when this remove socks5 server bad request response a status code equal to that given
func (*RemoveSocks5ServerBadRequest) IsRedirect ¶
func (o *RemoveSocks5ServerBadRequest) IsRedirect() bool
IsRedirect returns true when this remove socks5 server bad request response has a 3xx status code
func (*RemoveSocks5ServerBadRequest) IsServerError ¶
func (o *RemoveSocks5ServerBadRequest) IsServerError() bool
IsServerError returns true when this remove socks5 server bad request response has a 5xx status code
func (*RemoveSocks5ServerBadRequest) IsSuccess ¶
func (o *RemoveSocks5ServerBadRequest) IsSuccess() bool
IsSuccess returns true when this remove socks5 server bad request response has a 2xx status code
func (*RemoveSocks5ServerBadRequest) String ¶
func (o *RemoveSocks5ServerBadRequest) String() string
type RemoveSocks5ServerConflict ¶
type RemoveSocks5ServerConflict struct {
Payload *vproxy_client_model.Error409
}
RemoveSocks5ServerConflict describes a response with status code 409, with default header values.
conflict
func NewRemoveSocks5ServerConflict ¶
func NewRemoveSocks5ServerConflict() *RemoveSocks5ServerConflict
NewRemoveSocks5ServerConflict creates a RemoveSocks5ServerConflict with default headers values
func (*RemoveSocks5ServerConflict) Code ¶
func (o *RemoveSocks5ServerConflict) Code() int
Code gets the status code for the remove socks5 server conflict response
func (*RemoveSocks5ServerConflict) Error ¶
func (o *RemoveSocks5ServerConflict) Error() string
func (*RemoveSocks5ServerConflict) GetPayload ¶
func (o *RemoveSocks5ServerConflict) GetPayload() *vproxy_client_model.Error409
func (*RemoveSocks5ServerConflict) IsClientError ¶
func (o *RemoveSocks5ServerConflict) IsClientError() bool
IsClientError returns true when this remove socks5 server conflict response has a 4xx status code
func (*RemoveSocks5ServerConflict) IsCode ¶
func (o *RemoveSocks5ServerConflict) IsCode(code int) bool
IsCode returns true when this remove socks5 server conflict response a status code equal to that given
func (*RemoveSocks5ServerConflict) IsRedirect ¶
func (o *RemoveSocks5ServerConflict) IsRedirect() bool
IsRedirect returns true when this remove socks5 server conflict response has a 3xx status code
func (*RemoveSocks5ServerConflict) IsServerError ¶
func (o *RemoveSocks5ServerConflict) IsServerError() bool
IsServerError returns true when this remove socks5 server conflict response has a 5xx status code
func (*RemoveSocks5ServerConflict) IsSuccess ¶
func (o *RemoveSocks5ServerConflict) IsSuccess() bool
IsSuccess returns true when this remove socks5 server conflict response has a 2xx status code
func (*RemoveSocks5ServerConflict) String ¶
func (o *RemoveSocks5ServerConflict) String() string
type RemoveSocks5ServerInternalServerError ¶
type RemoveSocks5ServerInternalServerError struct {
Payload *vproxy_client_model.Error500
}
RemoveSocks5ServerInternalServerError describes a response with status code 500, with default header values.
internal error
func NewRemoveSocks5ServerInternalServerError ¶
func NewRemoveSocks5ServerInternalServerError() *RemoveSocks5ServerInternalServerError
NewRemoveSocks5ServerInternalServerError creates a RemoveSocks5ServerInternalServerError with default headers values
func (*RemoveSocks5ServerInternalServerError) Code ¶
func (o *RemoveSocks5ServerInternalServerError) Code() int
Code gets the status code for the remove socks5 server internal server error response
func (*RemoveSocks5ServerInternalServerError) Error ¶
func (o *RemoveSocks5ServerInternalServerError) Error() string
func (*RemoveSocks5ServerInternalServerError) GetPayload ¶
func (o *RemoveSocks5ServerInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*RemoveSocks5ServerInternalServerError) IsClientError ¶
func (o *RemoveSocks5ServerInternalServerError) IsClientError() bool
IsClientError returns true when this remove socks5 server internal server error response has a 4xx status code
func (*RemoveSocks5ServerInternalServerError) IsCode ¶
func (o *RemoveSocks5ServerInternalServerError) IsCode(code int) bool
IsCode returns true when this remove socks5 server internal server error response a status code equal to that given
func (*RemoveSocks5ServerInternalServerError) IsRedirect ¶
func (o *RemoveSocks5ServerInternalServerError) IsRedirect() bool
IsRedirect returns true when this remove socks5 server internal server error response has a 3xx status code
func (*RemoveSocks5ServerInternalServerError) IsServerError ¶
func (o *RemoveSocks5ServerInternalServerError) IsServerError() bool
IsServerError returns true when this remove socks5 server internal server error response has a 5xx status code
func (*RemoveSocks5ServerInternalServerError) IsSuccess ¶
func (o *RemoveSocks5ServerInternalServerError) IsSuccess() bool
IsSuccess returns true when this remove socks5 server internal server error response has a 2xx status code
func (*RemoveSocks5ServerInternalServerError) String ¶
func (o *RemoveSocks5ServerInternalServerError) String() string
type RemoveSocks5ServerNoContent ¶
type RemoveSocks5ServerNoContent struct { }
RemoveSocks5ServerNoContent describes a response with status code 204, with default header values.
ok
func NewRemoveSocks5ServerNoContent ¶
func NewRemoveSocks5ServerNoContent() *RemoveSocks5ServerNoContent
NewRemoveSocks5ServerNoContent creates a RemoveSocks5ServerNoContent with default headers values
func (*RemoveSocks5ServerNoContent) Code ¶
func (o *RemoveSocks5ServerNoContent) Code() int
Code gets the status code for the remove socks5 server no content response
func (*RemoveSocks5ServerNoContent) Error ¶
func (o *RemoveSocks5ServerNoContent) Error() string
func (*RemoveSocks5ServerNoContent) IsClientError ¶
func (o *RemoveSocks5ServerNoContent) IsClientError() bool
IsClientError returns true when this remove socks5 server no content response has a 4xx status code
func (*RemoveSocks5ServerNoContent) IsCode ¶
func (o *RemoveSocks5ServerNoContent) IsCode(code int) bool
IsCode returns true when this remove socks5 server no content response a status code equal to that given
func (*RemoveSocks5ServerNoContent) IsRedirect ¶
func (o *RemoveSocks5ServerNoContent) IsRedirect() bool
IsRedirect returns true when this remove socks5 server no content response has a 3xx status code
func (*RemoveSocks5ServerNoContent) IsServerError ¶
func (o *RemoveSocks5ServerNoContent) IsServerError() bool
IsServerError returns true when this remove socks5 server no content response has a 5xx status code
func (*RemoveSocks5ServerNoContent) IsSuccess ¶
func (o *RemoveSocks5ServerNoContent) IsSuccess() bool
IsSuccess returns true when this remove socks5 server no content response has a 2xx status code
func (*RemoveSocks5ServerNoContent) String ¶
func (o *RemoveSocks5ServerNoContent) String() string
type RemoveSocks5ServerNotFound ¶
type RemoveSocks5ServerNotFound struct {
Payload *vproxy_client_model.Error404
}
RemoveSocks5ServerNotFound describes a response with status code 404, with default header values.
resource not found
func NewRemoveSocks5ServerNotFound ¶
func NewRemoveSocks5ServerNotFound() *RemoveSocks5ServerNotFound
NewRemoveSocks5ServerNotFound creates a RemoveSocks5ServerNotFound with default headers values
func (*RemoveSocks5ServerNotFound) Code ¶
func (o *RemoveSocks5ServerNotFound) Code() int
Code gets the status code for the remove socks5 server not found response
func (*RemoveSocks5ServerNotFound) Error ¶
func (o *RemoveSocks5ServerNotFound) Error() string
func (*RemoveSocks5ServerNotFound) GetPayload ¶
func (o *RemoveSocks5ServerNotFound) GetPayload() *vproxy_client_model.Error404
func (*RemoveSocks5ServerNotFound) IsClientError ¶
func (o *RemoveSocks5ServerNotFound) IsClientError() bool
IsClientError returns true when this remove socks5 server not found response has a 4xx status code
func (*RemoveSocks5ServerNotFound) IsCode ¶
func (o *RemoveSocks5ServerNotFound) IsCode(code int) bool
IsCode returns true when this remove socks5 server not found response a status code equal to that given
func (*RemoveSocks5ServerNotFound) IsRedirect ¶
func (o *RemoveSocks5ServerNotFound) IsRedirect() bool
IsRedirect returns true when this remove socks5 server not found response has a 3xx status code
func (*RemoveSocks5ServerNotFound) IsServerError ¶
func (o *RemoveSocks5ServerNotFound) IsServerError() bool
IsServerError returns true when this remove socks5 server not found response has a 5xx status code
func (*RemoveSocks5ServerNotFound) IsSuccess ¶
func (o *RemoveSocks5ServerNotFound) IsSuccess() bool
IsSuccess returns true when this remove socks5 server not found response has a 2xx status code
func (*RemoveSocks5ServerNotFound) String ¶
func (o *RemoveSocks5ServerNotFound) String() string
type RemoveSocks5ServerParams ¶
type RemoveSocks5ServerParams struct { /* Socks5. name of the socks5-server */ Socks5 string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveSocks5ServerParams contains all the parameters to send to the API endpoint
for the remove socks5 server operation. Typically these are written to a http.Request.
func NewRemoveSocks5ServerParams ¶
func NewRemoveSocks5ServerParams() *RemoveSocks5ServerParams
NewRemoveSocks5ServerParams creates a new RemoveSocks5ServerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRemoveSocks5ServerParamsWithContext ¶
func NewRemoveSocks5ServerParamsWithContext(ctx context.Context) *RemoveSocks5ServerParams
NewRemoveSocks5ServerParamsWithContext creates a new RemoveSocks5ServerParams object with the ability to set a context for a request.
func NewRemoveSocks5ServerParamsWithHTTPClient ¶
func NewRemoveSocks5ServerParamsWithHTTPClient(client *http.Client) *RemoveSocks5ServerParams
NewRemoveSocks5ServerParamsWithHTTPClient creates a new RemoveSocks5ServerParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveSocks5ServerParamsWithTimeout ¶
func NewRemoveSocks5ServerParamsWithTimeout(timeout time.Duration) *RemoveSocks5ServerParams
NewRemoveSocks5ServerParamsWithTimeout creates a new RemoveSocks5ServerParams object with the ability to set a timeout on a request.
func (*RemoveSocks5ServerParams) SetContext ¶
func (o *RemoveSocks5ServerParams) SetContext(ctx context.Context)
SetContext adds the context to the remove socks5 server params
func (*RemoveSocks5ServerParams) SetDefaults ¶
func (o *RemoveSocks5ServerParams) SetDefaults()
SetDefaults hydrates default values in the remove socks5 server params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveSocks5ServerParams) SetHTTPClient ¶
func (o *RemoveSocks5ServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove socks5 server params
func (*RemoveSocks5ServerParams) SetSocks5 ¶
func (o *RemoveSocks5ServerParams) SetSocks5(socks5 string)
SetSocks5 adds the socks5 to the remove socks5 server params
func (*RemoveSocks5ServerParams) SetTimeout ¶
func (o *RemoveSocks5ServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove socks5 server params
func (*RemoveSocks5ServerParams) WithContext ¶
func (o *RemoveSocks5ServerParams) WithContext(ctx context.Context) *RemoveSocks5ServerParams
WithContext adds the context to the remove socks5 server params
func (*RemoveSocks5ServerParams) WithDefaults ¶
func (o *RemoveSocks5ServerParams) WithDefaults() *RemoveSocks5ServerParams
WithDefaults hydrates default values in the remove socks5 server params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveSocks5ServerParams) WithHTTPClient ¶
func (o *RemoveSocks5ServerParams) WithHTTPClient(client *http.Client) *RemoveSocks5ServerParams
WithHTTPClient adds the HTTPClient to the remove socks5 server params
func (*RemoveSocks5ServerParams) WithSocks5 ¶
func (o *RemoveSocks5ServerParams) WithSocks5(socks5 string) *RemoveSocks5ServerParams
WithSocks5 adds the socks5 to the remove socks5 server params
func (*RemoveSocks5ServerParams) WithTimeout ¶
func (o *RemoveSocks5ServerParams) WithTimeout(timeout time.Duration) *RemoveSocks5ServerParams
WithTimeout adds the timeout to the remove socks5 server params
func (*RemoveSocks5ServerParams) WriteToRequest ¶
func (o *RemoveSocks5ServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveSocks5ServerReader ¶
type RemoveSocks5ServerReader struct {
// contains filtered or unexported fields
}
RemoveSocks5ServerReader is a Reader for the RemoveSocks5Server structure.
func (*RemoveSocks5ServerReader) ReadResponse ¶
func (o *RemoveSocks5ServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSocks5ServerBadRequest ¶
type UpdateSocks5ServerBadRequest struct {
Payload *vproxy_client_model.Error400
}
UpdateSocks5ServerBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewUpdateSocks5ServerBadRequest ¶
func NewUpdateSocks5ServerBadRequest() *UpdateSocks5ServerBadRequest
NewUpdateSocks5ServerBadRequest creates a UpdateSocks5ServerBadRequest with default headers values
func (*UpdateSocks5ServerBadRequest) Code ¶
func (o *UpdateSocks5ServerBadRequest) Code() int
Code gets the status code for the update socks5 server bad request response
func (*UpdateSocks5ServerBadRequest) Error ¶
func (o *UpdateSocks5ServerBadRequest) Error() string
func (*UpdateSocks5ServerBadRequest) GetPayload ¶
func (o *UpdateSocks5ServerBadRequest) GetPayload() *vproxy_client_model.Error400
func (*UpdateSocks5ServerBadRequest) IsClientError ¶
func (o *UpdateSocks5ServerBadRequest) IsClientError() bool
IsClientError returns true when this update socks5 server bad request response has a 4xx status code
func (*UpdateSocks5ServerBadRequest) IsCode ¶
func (o *UpdateSocks5ServerBadRequest) IsCode(code int) bool
IsCode returns true when this update socks5 server bad request response a status code equal to that given
func (*UpdateSocks5ServerBadRequest) IsRedirect ¶
func (o *UpdateSocks5ServerBadRequest) IsRedirect() bool
IsRedirect returns true when this update socks5 server bad request response has a 3xx status code
func (*UpdateSocks5ServerBadRequest) IsServerError ¶
func (o *UpdateSocks5ServerBadRequest) IsServerError() bool
IsServerError returns true when this update socks5 server bad request response has a 5xx status code
func (*UpdateSocks5ServerBadRequest) IsSuccess ¶
func (o *UpdateSocks5ServerBadRequest) IsSuccess() bool
IsSuccess returns true when this update socks5 server bad request response has a 2xx status code
func (*UpdateSocks5ServerBadRequest) String ¶
func (o *UpdateSocks5ServerBadRequest) String() string
type UpdateSocks5ServerConflict ¶
type UpdateSocks5ServerConflict struct {
Payload *vproxy_client_model.Error409
}
UpdateSocks5ServerConflict describes a response with status code 409, with default header values.
conflict
func NewUpdateSocks5ServerConflict ¶
func NewUpdateSocks5ServerConflict() *UpdateSocks5ServerConflict
NewUpdateSocks5ServerConflict creates a UpdateSocks5ServerConflict with default headers values
func (*UpdateSocks5ServerConflict) Code ¶
func (o *UpdateSocks5ServerConflict) Code() int
Code gets the status code for the update socks5 server conflict response
func (*UpdateSocks5ServerConflict) Error ¶
func (o *UpdateSocks5ServerConflict) Error() string
func (*UpdateSocks5ServerConflict) GetPayload ¶
func (o *UpdateSocks5ServerConflict) GetPayload() *vproxy_client_model.Error409
func (*UpdateSocks5ServerConflict) IsClientError ¶
func (o *UpdateSocks5ServerConflict) IsClientError() bool
IsClientError returns true when this update socks5 server conflict response has a 4xx status code
func (*UpdateSocks5ServerConflict) IsCode ¶
func (o *UpdateSocks5ServerConflict) IsCode(code int) bool
IsCode returns true when this update socks5 server conflict response a status code equal to that given
func (*UpdateSocks5ServerConflict) IsRedirect ¶
func (o *UpdateSocks5ServerConflict) IsRedirect() bool
IsRedirect returns true when this update socks5 server conflict response has a 3xx status code
func (*UpdateSocks5ServerConflict) IsServerError ¶
func (o *UpdateSocks5ServerConflict) IsServerError() bool
IsServerError returns true when this update socks5 server conflict response has a 5xx status code
func (*UpdateSocks5ServerConflict) IsSuccess ¶
func (o *UpdateSocks5ServerConflict) IsSuccess() bool
IsSuccess returns true when this update socks5 server conflict response has a 2xx status code
func (*UpdateSocks5ServerConflict) String ¶
func (o *UpdateSocks5ServerConflict) String() string
type UpdateSocks5ServerInternalServerError ¶
type UpdateSocks5ServerInternalServerError struct {
Payload *vproxy_client_model.Error500
}
UpdateSocks5ServerInternalServerError describes a response with status code 500, with default header values.
internal error
func NewUpdateSocks5ServerInternalServerError ¶
func NewUpdateSocks5ServerInternalServerError() *UpdateSocks5ServerInternalServerError
NewUpdateSocks5ServerInternalServerError creates a UpdateSocks5ServerInternalServerError with default headers values
func (*UpdateSocks5ServerInternalServerError) Code ¶
func (o *UpdateSocks5ServerInternalServerError) Code() int
Code gets the status code for the update socks5 server internal server error response
func (*UpdateSocks5ServerInternalServerError) Error ¶
func (o *UpdateSocks5ServerInternalServerError) Error() string
func (*UpdateSocks5ServerInternalServerError) GetPayload ¶
func (o *UpdateSocks5ServerInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*UpdateSocks5ServerInternalServerError) IsClientError ¶
func (o *UpdateSocks5ServerInternalServerError) IsClientError() bool
IsClientError returns true when this update socks5 server internal server error response has a 4xx status code
func (*UpdateSocks5ServerInternalServerError) IsCode ¶
func (o *UpdateSocks5ServerInternalServerError) IsCode(code int) bool
IsCode returns true when this update socks5 server internal server error response a status code equal to that given
func (*UpdateSocks5ServerInternalServerError) IsRedirect ¶
func (o *UpdateSocks5ServerInternalServerError) IsRedirect() bool
IsRedirect returns true when this update socks5 server internal server error response has a 3xx status code
func (*UpdateSocks5ServerInternalServerError) IsServerError ¶
func (o *UpdateSocks5ServerInternalServerError) IsServerError() bool
IsServerError returns true when this update socks5 server internal server error response has a 5xx status code
func (*UpdateSocks5ServerInternalServerError) IsSuccess ¶
func (o *UpdateSocks5ServerInternalServerError) IsSuccess() bool
IsSuccess returns true when this update socks5 server internal server error response has a 2xx status code
func (*UpdateSocks5ServerInternalServerError) String ¶
func (o *UpdateSocks5ServerInternalServerError) String() string
type UpdateSocks5ServerNoContent ¶
type UpdateSocks5ServerNoContent struct { }
UpdateSocks5ServerNoContent describes a response with status code 204, with default header values.
ok
func NewUpdateSocks5ServerNoContent ¶
func NewUpdateSocks5ServerNoContent() *UpdateSocks5ServerNoContent
NewUpdateSocks5ServerNoContent creates a UpdateSocks5ServerNoContent with default headers values
func (*UpdateSocks5ServerNoContent) Code ¶
func (o *UpdateSocks5ServerNoContent) Code() int
Code gets the status code for the update socks5 server no content response
func (*UpdateSocks5ServerNoContent) Error ¶
func (o *UpdateSocks5ServerNoContent) Error() string
func (*UpdateSocks5ServerNoContent) IsClientError ¶
func (o *UpdateSocks5ServerNoContent) IsClientError() bool
IsClientError returns true when this update socks5 server no content response has a 4xx status code
func (*UpdateSocks5ServerNoContent) IsCode ¶
func (o *UpdateSocks5ServerNoContent) IsCode(code int) bool
IsCode returns true when this update socks5 server no content response a status code equal to that given
func (*UpdateSocks5ServerNoContent) IsRedirect ¶
func (o *UpdateSocks5ServerNoContent) IsRedirect() bool
IsRedirect returns true when this update socks5 server no content response has a 3xx status code
func (*UpdateSocks5ServerNoContent) IsServerError ¶
func (o *UpdateSocks5ServerNoContent) IsServerError() bool
IsServerError returns true when this update socks5 server no content response has a 5xx status code
func (*UpdateSocks5ServerNoContent) IsSuccess ¶
func (o *UpdateSocks5ServerNoContent) IsSuccess() bool
IsSuccess returns true when this update socks5 server no content response has a 2xx status code
func (*UpdateSocks5ServerNoContent) String ¶
func (o *UpdateSocks5ServerNoContent) String() string
type UpdateSocks5ServerNotFound ¶
type UpdateSocks5ServerNotFound struct {
Payload *vproxy_client_model.Error404
}
UpdateSocks5ServerNotFound describes a response with status code 404, with default header values.
resource not found
func NewUpdateSocks5ServerNotFound ¶
func NewUpdateSocks5ServerNotFound() *UpdateSocks5ServerNotFound
NewUpdateSocks5ServerNotFound creates a UpdateSocks5ServerNotFound with default headers values
func (*UpdateSocks5ServerNotFound) Code ¶
func (o *UpdateSocks5ServerNotFound) Code() int
Code gets the status code for the update socks5 server not found response
func (*UpdateSocks5ServerNotFound) Error ¶
func (o *UpdateSocks5ServerNotFound) Error() string
func (*UpdateSocks5ServerNotFound) GetPayload ¶
func (o *UpdateSocks5ServerNotFound) GetPayload() *vproxy_client_model.Error404
func (*UpdateSocks5ServerNotFound) IsClientError ¶
func (o *UpdateSocks5ServerNotFound) IsClientError() bool
IsClientError returns true when this update socks5 server not found response has a 4xx status code
func (*UpdateSocks5ServerNotFound) IsCode ¶
func (o *UpdateSocks5ServerNotFound) IsCode(code int) bool
IsCode returns true when this update socks5 server not found response a status code equal to that given
func (*UpdateSocks5ServerNotFound) IsRedirect ¶
func (o *UpdateSocks5ServerNotFound) IsRedirect() bool
IsRedirect returns true when this update socks5 server not found response has a 3xx status code
func (*UpdateSocks5ServerNotFound) IsServerError ¶
func (o *UpdateSocks5ServerNotFound) IsServerError() bool
IsServerError returns true when this update socks5 server not found response has a 5xx status code
func (*UpdateSocks5ServerNotFound) IsSuccess ¶
func (o *UpdateSocks5ServerNotFound) IsSuccess() bool
IsSuccess returns true when this update socks5 server not found response has a 2xx status code
func (*UpdateSocks5ServerNotFound) String ¶
func (o *UpdateSocks5ServerNotFound) String() string
type UpdateSocks5ServerParams ¶
type UpdateSocks5ServerParams struct { // Body. Body *vproxy_client_model.Socks5ServerUpdate /* Socks5. name of the socks5-server */ Socks5 string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSocks5ServerParams contains all the parameters to send to the API endpoint
for the update socks5 server operation. Typically these are written to a http.Request.
func NewUpdateSocks5ServerParams ¶
func NewUpdateSocks5ServerParams() *UpdateSocks5ServerParams
NewUpdateSocks5ServerParams creates a new UpdateSocks5ServerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateSocks5ServerParamsWithContext ¶
func NewUpdateSocks5ServerParamsWithContext(ctx context.Context) *UpdateSocks5ServerParams
NewUpdateSocks5ServerParamsWithContext creates a new UpdateSocks5ServerParams object with the ability to set a context for a request.
func NewUpdateSocks5ServerParamsWithHTTPClient ¶
func NewUpdateSocks5ServerParamsWithHTTPClient(client *http.Client) *UpdateSocks5ServerParams
NewUpdateSocks5ServerParamsWithHTTPClient creates a new UpdateSocks5ServerParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateSocks5ServerParamsWithTimeout ¶
func NewUpdateSocks5ServerParamsWithTimeout(timeout time.Duration) *UpdateSocks5ServerParams
NewUpdateSocks5ServerParamsWithTimeout creates a new UpdateSocks5ServerParams object with the ability to set a timeout on a request.
func (*UpdateSocks5ServerParams) SetBody ¶
func (o *UpdateSocks5ServerParams) SetBody(body *vproxy_client_model.Socks5ServerUpdate)
SetBody adds the body to the update socks5 server params
func (*UpdateSocks5ServerParams) SetContext ¶
func (o *UpdateSocks5ServerParams) SetContext(ctx context.Context)
SetContext adds the context to the update socks5 server params
func (*UpdateSocks5ServerParams) SetDefaults ¶
func (o *UpdateSocks5ServerParams) SetDefaults()
SetDefaults hydrates default values in the update socks5 server params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSocks5ServerParams) SetHTTPClient ¶
func (o *UpdateSocks5ServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update socks5 server params
func (*UpdateSocks5ServerParams) SetSocks5 ¶
func (o *UpdateSocks5ServerParams) SetSocks5(socks5 string)
SetSocks5 adds the socks5 to the update socks5 server params
func (*UpdateSocks5ServerParams) SetTimeout ¶
func (o *UpdateSocks5ServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update socks5 server params
func (*UpdateSocks5ServerParams) WithBody ¶
func (o *UpdateSocks5ServerParams) WithBody(body *vproxy_client_model.Socks5ServerUpdate) *UpdateSocks5ServerParams
WithBody adds the body to the update socks5 server params
func (*UpdateSocks5ServerParams) WithContext ¶
func (o *UpdateSocks5ServerParams) WithContext(ctx context.Context) *UpdateSocks5ServerParams
WithContext adds the context to the update socks5 server params
func (*UpdateSocks5ServerParams) WithDefaults ¶
func (o *UpdateSocks5ServerParams) WithDefaults() *UpdateSocks5ServerParams
WithDefaults hydrates default values in the update socks5 server params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSocks5ServerParams) WithHTTPClient ¶
func (o *UpdateSocks5ServerParams) WithHTTPClient(client *http.Client) *UpdateSocks5ServerParams
WithHTTPClient adds the HTTPClient to the update socks5 server params
func (*UpdateSocks5ServerParams) WithSocks5 ¶
func (o *UpdateSocks5ServerParams) WithSocks5(socks5 string) *UpdateSocks5ServerParams
WithSocks5 adds the socks5 to the update socks5 server params
func (*UpdateSocks5ServerParams) WithTimeout ¶
func (o *UpdateSocks5ServerParams) WithTimeout(timeout time.Duration) *UpdateSocks5ServerParams
WithTimeout adds the timeout to the update socks5 server params
func (*UpdateSocks5ServerParams) WriteToRequest ¶
func (o *UpdateSocks5ServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSocks5ServerReader ¶
type UpdateSocks5ServerReader struct {
// contains filtered or unexported fields
}
UpdateSocks5ServerReader is a Reader for the UpdateSocks5Server structure.
func (*UpdateSocks5ServerReader) ReadResponse ¶
func (o *UpdateSocks5ServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_socks5_server_parameters.go
- add_socks5_server_responses.go
- describe_socks5_server_parameters.go
- describe_socks5_server_responses.go
- get_socks5_server_parameters.go
- get_socks5_server_responses.go
- list_socks5_server_parameters.go
- list_socks5_server_responses.go
- remove_socks5_server_parameters.go
- remove_socks5_server_responses.go
- socks5_server_client.go
- update_socks5_server_parameters.go
- update_socks5_server_responses.go