Documentation ¶
Index ¶
- type Client
- func (a *Client) GetContextsGetPhp(params *GetContextsGetPhpParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetContextsGetPhpOK, error)
- func (a *Client) PostContextsAddPhp(params *PostContextsAddPhpParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostContextsAddPhpOK, error)
- func (a *Client) PostContextsDeletePhp(params *PostContextsDeletePhpParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostContextsDeletePhpOK, error)
- func (a *Client) PostContextsEditPhp(params *PostContextsEditPhpParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostContextsEditPhpOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetContextsGetPhpOK
- type GetContextsGetPhpParams
- func NewGetContextsGetPhpParams() *GetContextsGetPhpParams
- func NewGetContextsGetPhpParamsWithContext(ctx ccontext.Context) *GetContextsGetPhpParams
- func NewGetContextsGetPhpParamsWithHTTPClient(client *http.Client) *GetContextsGetPhpParams
- func NewGetContextsGetPhpParamsWithTimeout(timeout time.Duration) *GetContextsGetPhpParams
- func (o *GetContextsGetPhpParams) SetContext(ctx ccontext.Context)
- func (o *GetContextsGetPhpParams) SetDefaults()
- func (o *GetContextsGetPhpParams) SetHTTPClient(client *http.Client)
- func (o *GetContextsGetPhpParams) SetTimeout(timeout time.Duration)
- func (o *GetContextsGetPhpParams) WithContext(ctx ccontext.Context) *GetContextsGetPhpParams
- func (o *GetContextsGetPhpParams) WithDefaults() *GetContextsGetPhpParams
- func (o *GetContextsGetPhpParams) WithHTTPClient(client *http.Client) *GetContextsGetPhpParams
- func (o *GetContextsGetPhpParams) WithTimeout(timeout time.Duration) *GetContextsGetPhpParams
- func (o *GetContextsGetPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContextsGetPhpReader
- type GetContextsGetPhpServiceUnavailable
- type GetContextsGetPhpTooManyRequests
- type GetContextsGetPhpUnauthorized
- type PostContextsAddPhpOK
- type PostContextsAddPhpParams
- func NewPostContextsAddPhpParams() *PostContextsAddPhpParams
- func NewPostContextsAddPhpParamsWithContext(ctx ccontext.Context) *PostContextsAddPhpParams
- func NewPostContextsAddPhpParamsWithHTTPClient(client *http.Client) *PostContextsAddPhpParams
- func NewPostContextsAddPhpParamsWithTimeout(timeout time.Duration) *PostContextsAddPhpParams
- func (o *PostContextsAddPhpParams) SetContext(ctx ccontext.Context)
- func (o *PostContextsAddPhpParams) SetDefaults()
- func (o *PostContextsAddPhpParams) SetHTTPClient(client *http.Client)
- func (o *PostContextsAddPhpParams) SetName(name string)
- func (o *PostContextsAddPhpParams) SetPrivate(private *int64)
- func (o *PostContextsAddPhpParams) SetTimeout(timeout time.Duration)
- func (o *PostContextsAddPhpParams) WithContext(ctx ccontext.Context) *PostContextsAddPhpParams
- func (o *PostContextsAddPhpParams) WithDefaults() *PostContextsAddPhpParams
- func (o *PostContextsAddPhpParams) WithHTTPClient(client *http.Client) *PostContextsAddPhpParams
- func (o *PostContextsAddPhpParams) WithName(name string) *PostContextsAddPhpParams
- func (o *PostContextsAddPhpParams) WithPrivate(private *int64) *PostContextsAddPhpParams
- func (o *PostContextsAddPhpParams) WithTimeout(timeout time.Duration) *PostContextsAddPhpParams
- func (o *PostContextsAddPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostContextsAddPhpReader
- type PostContextsAddPhpServiceUnavailable
- type PostContextsAddPhpTooManyRequests
- type PostContextsAddPhpUnauthorized
- type PostContextsDeletePhpOK
- type PostContextsDeletePhpOKBody
- func (o *PostContextsDeletePhpOKBody) ContextValidate(ctx ccontext.Context, formats strfmt.Registry) error
- func (o *PostContextsDeletePhpOKBody) MarshalBinary() ([]byte, error)
- func (o *PostContextsDeletePhpOKBody) UnmarshalBinary(b []byte) error
- func (o *PostContextsDeletePhpOKBody) Validate(formats strfmt.Registry) error
- type PostContextsDeletePhpParams
- func NewPostContextsDeletePhpParams() *PostContextsDeletePhpParams
- func NewPostContextsDeletePhpParamsWithContext(ctx ccontext.Context) *PostContextsDeletePhpParams
- func NewPostContextsDeletePhpParamsWithHTTPClient(client *http.Client) *PostContextsDeletePhpParams
- func NewPostContextsDeletePhpParamsWithTimeout(timeout time.Duration) *PostContextsDeletePhpParams
- func (o *PostContextsDeletePhpParams) SetContext(ctx ccontext.Context)
- func (o *PostContextsDeletePhpParams) SetDefaults()
- func (o *PostContextsDeletePhpParams) SetHTTPClient(client *http.Client)
- func (o *PostContextsDeletePhpParams) SetID(id int64)
- func (o *PostContextsDeletePhpParams) SetTimeout(timeout time.Duration)
- func (o *PostContextsDeletePhpParams) WithContext(ctx ccontext.Context) *PostContextsDeletePhpParams
- func (o *PostContextsDeletePhpParams) WithDefaults() *PostContextsDeletePhpParams
- func (o *PostContextsDeletePhpParams) WithHTTPClient(client *http.Client) *PostContextsDeletePhpParams
- func (o *PostContextsDeletePhpParams) WithID(id int64) *PostContextsDeletePhpParams
- func (o *PostContextsDeletePhpParams) WithTimeout(timeout time.Duration) *PostContextsDeletePhpParams
- func (o *PostContextsDeletePhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostContextsDeletePhpReader
- type PostContextsDeletePhpServiceUnavailable
- type PostContextsDeletePhpTooManyRequests
- type PostContextsDeletePhpUnauthorized
- type PostContextsEditPhpOK
- type PostContextsEditPhpParams
- func NewPostContextsEditPhpParams() *PostContextsEditPhpParams
- func NewPostContextsEditPhpParamsWithContext(ctx ccontext.Context) *PostContextsEditPhpParams
- func NewPostContextsEditPhpParamsWithHTTPClient(client *http.Client) *PostContextsEditPhpParams
- func NewPostContextsEditPhpParamsWithTimeout(timeout time.Duration) *PostContextsEditPhpParams
- func (o *PostContextsEditPhpParams) SetContext(ctx ccontext.Context)
- func (o *PostContextsEditPhpParams) SetDefaults()
- func (o *PostContextsEditPhpParams) SetHTTPClient(client *http.Client)
- func (o *PostContextsEditPhpParams) SetID(id string)
- func (o *PostContextsEditPhpParams) SetName(name *string)
- func (o *PostContextsEditPhpParams) SetPrivate(private *int64)
- func (o *PostContextsEditPhpParams) SetTimeout(timeout time.Duration)
- func (o *PostContextsEditPhpParams) WithContext(ctx ccontext.Context) *PostContextsEditPhpParams
- func (o *PostContextsEditPhpParams) WithDefaults() *PostContextsEditPhpParams
- func (o *PostContextsEditPhpParams) WithHTTPClient(client *http.Client) *PostContextsEditPhpParams
- func (o *PostContextsEditPhpParams) WithID(id string) *PostContextsEditPhpParams
- func (o *PostContextsEditPhpParams) WithName(name *string) *PostContextsEditPhpParams
- func (o *PostContextsEditPhpParams) WithPrivate(private *int64) *PostContextsEditPhpParams
- func (o *PostContextsEditPhpParams) WithTimeout(timeout time.Duration) *PostContextsEditPhpParams
- func (o *PostContextsEditPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostContextsEditPhpReader
- type PostContextsEditPhpServiceUnavailable
- type PostContextsEditPhpTooManyRequests
- type PostContextsEditPhpUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for context API
func (*Client) GetContextsGetPhp ¶
func (a *Client) GetContextsGetPhp(params *GetContextsGetPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetContextsGetPhpOK, error)
GetContextsGetPhp get contexts get php API
func (*Client) PostContextsAddPhp ¶
func (a *Client) PostContextsAddPhp(params *PostContextsAddPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostContextsAddPhpOK, error)
PostContextsAddPhp post contexts add php API
func (*Client) PostContextsDeletePhp ¶
func (a *Client) PostContextsDeletePhp(params *PostContextsDeletePhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostContextsDeletePhpOK, error)
PostContextsDeletePhp post contexts delete php API
func (*Client) PostContextsEditPhp ¶
func (a *Client) PostContextsEditPhp(params *PostContextsEditPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostContextsEditPhpOK, error)
PostContextsEditPhp post contexts edit php API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetContextsGetPhp(params *GetContextsGetPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetContextsGetPhpOK, error) PostContextsAddPhp(params *PostContextsAddPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostContextsAddPhpOK, error) PostContextsDeletePhp(params *PostContextsDeletePhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostContextsDeletePhpOK, error) PostContextsEditPhp(params *PostContextsEditPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostContextsEditPhpOK, 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 context API client.
type GetContextsGetPhpOK ¶
GetContextsGetPhpOK describes a response with status code 200, with default header values.
ok
func NewGetContextsGetPhpOK ¶
func NewGetContextsGetPhpOK() *GetContextsGetPhpOK
NewGetContextsGetPhpOK creates a GetContextsGetPhpOK with default headers values
func (*GetContextsGetPhpOK) Error ¶
func (o *GetContextsGetPhpOK) Error() string
func (*GetContextsGetPhpOK) GetPayload ¶
func (o *GetContextsGetPhpOK) GetPayload() []*models.Context
type GetContextsGetPhpParams ¶
type GetContextsGetPhpParams struct { Context ccontext.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetContextsGetPhpParams contains all the parameters to send to the API endpoint
for the get contexts get php operation. Typically these are written to a http.Request.
func NewGetContextsGetPhpParams ¶
func NewGetContextsGetPhpParams() *GetContextsGetPhpParams
NewGetContextsGetPhpParams creates a new GetContextsGetPhpParams 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 NewGetContextsGetPhpParamsWithContext ¶
func NewGetContextsGetPhpParamsWithContext(ctx ccontext.Context) *GetContextsGetPhpParams
NewGetContextsGetPhpParamsWithContext creates a new GetContextsGetPhpParams object with the ability to set a context for a request.
func NewGetContextsGetPhpParamsWithHTTPClient ¶
func NewGetContextsGetPhpParamsWithHTTPClient(client *http.Client) *GetContextsGetPhpParams
NewGetContextsGetPhpParamsWithHTTPClient creates a new GetContextsGetPhpParams object with the ability to set a custom HTTPClient for a request.
func NewGetContextsGetPhpParamsWithTimeout ¶
func NewGetContextsGetPhpParamsWithTimeout(timeout time.Duration) *GetContextsGetPhpParams
NewGetContextsGetPhpParamsWithTimeout creates a new GetContextsGetPhpParams object with the ability to set a timeout on a request.
func (*GetContextsGetPhpParams) SetContext ¶
func (o *GetContextsGetPhpParams) SetContext(ctx ccontext.Context)
SetContext adds the context to the get contexts get php params
func (*GetContextsGetPhpParams) SetDefaults ¶
func (o *GetContextsGetPhpParams) SetDefaults()
SetDefaults hydrates default values in the get contexts get php params (not the query body).
All values with no default are reset to their zero value.
func (*GetContextsGetPhpParams) SetHTTPClient ¶
func (o *GetContextsGetPhpParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get contexts get php params
func (*GetContextsGetPhpParams) SetTimeout ¶
func (o *GetContextsGetPhpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get contexts get php params
func (*GetContextsGetPhpParams) WithContext ¶
func (o *GetContextsGetPhpParams) WithContext(ctx ccontext.Context) *GetContextsGetPhpParams
WithContext adds the context to the get contexts get php params
func (*GetContextsGetPhpParams) WithDefaults ¶
func (o *GetContextsGetPhpParams) WithDefaults() *GetContextsGetPhpParams
WithDefaults hydrates default values in the get contexts get php params (not the query body).
All values with no default are reset to their zero value.
func (*GetContextsGetPhpParams) WithHTTPClient ¶
func (o *GetContextsGetPhpParams) WithHTTPClient(client *http.Client) *GetContextsGetPhpParams
WithHTTPClient adds the HTTPClient to the get contexts get php params
func (*GetContextsGetPhpParams) WithTimeout ¶
func (o *GetContextsGetPhpParams) WithTimeout(timeout time.Duration) *GetContextsGetPhpParams
WithTimeout adds the timeout to the get contexts get php params
func (*GetContextsGetPhpParams) WriteToRequest ¶
func (o *GetContextsGetPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetContextsGetPhpReader ¶
type GetContextsGetPhpReader struct {
// contains filtered or unexported fields
}
GetContextsGetPhpReader is a Reader for the GetContextsGetPhp structure.
func (*GetContextsGetPhpReader) ReadResponse ¶
func (o *GetContextsGetPhpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetContextsGetPhpServiceUnavailable ¶
type GetContextsGetPhpServiceUnavailable struct {
}GetContextsGetPhpServiceUnavailable describes a response with status code 503, with default header values.
ServiceUnavailable
func NewGetContextsGetPhpServiceUnavailable ¶
func NewGetContextsGetPhpServiceUnavailable() *GetContextsGetPhpServiceUnavailable
NewGetContextsGetPhpServiceUnavailable creates a GetContextsGetPhpServiceUnavailable with default headers values
func (*GetContextsGetPhpServiceUnavailable) Error ¶
func (o *GetContextsGetPhpServiceUnavailable) Error() string
func (*GetContextsGetPhpServiceUnavailable) GetPayload ¶
func (o *GetContextsGetPhpServiceUnavailable) GetPayload() *models.Error
type GetContextsGetPhpTooManyRequests ¶
GetContextsGetPhpTooManyRequests describes a response with status code 429, with default header values.
TooManyRequests
func NewGetContextsGetPhpTooManyRequests ¶
func NewGetContextsGetPhpTooManyRequests() *GetContextsGetPhpTooManyRequests
NewGetContextsGetPhpTooManyRequests creates a GetContextsGetPhpTooManyRequests with default headers values
func (*GetContextsGetPhpTooManyRequests) Error ¶
func (o *GetContextsGetPhpTooManyRequests) Error() string
func (*GetContextsGetPhpTooManyRequests) GetPayload ¶
func (o *GetContextsGetPhpTooManyRequests) GetPayload() *models.Error
type GetContextsGetPhpUnauthorized ¶
type GetContextsGetPhpUnauthorized struct {
}GetContextsGetPhpUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetContextsGetPhpUnauthorized ¶
func NewGetContextsGetPhpUnauthorized() *GetContextsGetPhpUnauthorized
NewGetContextsGetPhpUnauthorized creates a GetContextsGetPhpUnauthorized with default headers values
func (*GetContextsGetPhpUnauthorized) Error ¶
func (o *GetContextsGetPhpUnauthorized) Error() string
func (*GetContextsGetPhpUnauthorized) GetPayload ¶
func (o *GetContextsGetPhpUnauthorized) GetPayload() *models.Error
type PostContextsAddPhpOK ¶
PostContextsAddPhpOK describes a response with status code 200, with default header values.
ok
func NewPostContextsAddPhpOK ¶
func NewPostContextsAddPhpOK() *PostContextsAddPhpOK
NewPostContextsAddPhpOK creates a PostContextsAddPhpOK with default headers values
func (*PostContextsAddPhpOK) Error ¶
func (o *PostContextsAddPhpOK) Error() string
func (*PostContextsAddPhpOK) GetPayload ¶
func (o *PostContextsAddPhpOK) GetPayload() []*models.Context
type PostContextsAddPhpParams ¶
type PostContextsAddPhpParams struct { // Name. Name string // Private. Private *int64 Context ccontext.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostContextsAddPhpParams contains all the parameters to send to the API endpoint
for the post contexts add php operation. Typically these are written to a http.Request.
func NewPostContextsAddPhpParams ¶
func NewPostContextsAddPhpParams() *PostContextsAddPhpParams
NewPostContextsAddPhpParams creates a new PostContextsAddPhpParams 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 NewPostContextsAddPhpParamsWithContext ¶
func NewPostContextsAddPhpParamsWithContext(ctx ccontext.Context) *PostContextsAddPhpParams
NewPostContextsAddPhpParamsWithContext creates a new PostContextsAddPhpParams object with the ability to set a context for a request.
func NewPostContextsAddPhpParamsWithHTTPClient ¶
func NewPostContextsAddPhpParamsWithHTTPClient(client *http.Client) *PostContextsAddPhpParams
NewPostContextsAddPhpParamsWithHTTPClient creates a new PostContextsAddPhpParams object with the ability to set a custom HTTPClient for a request.
func NewPostContextsAddPhpParamsWithTimeout ¶
func NewPostContextsAddPhpParamsWithTimeout(timeout time.Duration) *PostContextsAddPhpParams
NewPostContextsAddPhpParamsWithTimeout creates a new PostContextsAddPhpParams object with the ability to set a timeout on a request.
func (*PostContextsAddPhpParams) SetContext ¶
func (o *PostContextsAddPhpParams) SetContext(ctx ccontext.Context)
SetContext adds the context to the post contexts add php params
func (*PostContextsAddPhpParams) SetDefaults ¶
func (o *PostContextsAddPhpParams) SetDefaults()
SetDefaults hydrates default values in the post contexts add php params (not the query body).
All values with no default are reset to their zero value.
func (*PostContextsAddPhpParams) SetHTTPClient ¶
func (o *PostContextsAddPhpParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post contexts add php params
func (*PostContextsAddPhpParams) SetName ¶
func (o *PostContextsAddPhpParams) SetName(name string)
SetName adds the name to the post contexts add php params
func (*PostContextsAddPhpParams) SetPrivate ¶
func (o *PostContextsAddPhpParams) SetPrivate(private *int64)
SetPrivate adds the private to the post contexts add php params
func (*PostContextsAddPhpParams) SetTimeout ¶
func (o *PostContextsAddPhpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post contexts add php params
func (*PostContextsAddPhpParams) WithContext ¶
func (o *PostContextsAddPhpParams) WithContext(ctx ccontext.Context) *PostContextsAddPhpParams
WithContext adds the context to the post contexts add php params
func (*PostContextsAddPhpParams) WithDefaults ¶
func (o *PostContextsAddPhpParams) WithDefaults() *PostContextsAddPhpParams
WithDefaults hydrates default values in the post contexts add php params (not the query body).
All values with no default are reset to their zero value.
func (*PostContextsAddPhpParams) WithHTTPClient ¶
func (o *PostContextsAddPhpParams) WithHTTPClient(client *http.Client) *PostContextsAddPhpParams
WithHTTPClient adds the HTTPClient to the post contexts add php params
func (*PostContextsAddPhpParams) WithName ¶
func (o *PostContextsAddPhpParams) WithName(name string) *PostContextsAddPhpParams
WithName adds the name to the post contexts add php params
func (*PostContextsAddPhpParams) WithPrivate ¶
func (o *PostContextsAddPhpParams) WithPrivate(private *int64) *PostContextsAddPhpParams
WithPrivate adds the private to the post contexts add php params
func (*PostContextsAddPhpParams) WithTimeout ¶
func (o *PostContextsAddPhpParams) WithTimeout(timeout time.Duration) *PostContextsAddPhpParams
WithTimeout adds the timeout to the post contexts add php params
func (*PostContextsAddPhpParams) WriteToRequest ¶
func (o *PostContextsAddPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostContextsAddPhpReader ¶
type PostContextsAddPhpReader struct {
// contains filtered or unexported fields
}
PostContextsAddPhpReader is a Reader for the PostContextsAddPhp structure.
func (*PostContextsAddPhpReader) ReadResponse ¶
func (o *PostContextsAddPhpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostContextsAddPhpServiceUnavailable ¶
type PostContextsAddPhpServiceUnavailable struct {
}PostContextsAddPhpServiceUnavailable describes a response with status code 503, with default header values.
ServiceUnavailable
func NewPostContextsAddPhpServiceUnavailable ¶
func NewPostContextsAddPhpServiceUnavailable() *PostContextsAddPhpServiceUnavailable
NewPostContextsAddPhpServiceUnavailable creates a PostContextsAddPhpServiceUnavailable with default headers values
func (*PostContextsAddPhpServiceUnavailable) Error ¶
func (o *PostContextsAddPhpServiceUnavailable) Error() string
func (*PostContextsAddPhpServiceUnavailable) GetPayload ¶
func (o *PostContextsAddPhpServiceUnavailable) GetPayload() *models.Error
type PostContextsAddPhpTooManyRequests ¶
PostContextsAddPhpTooManyRequests describes a response with status code 429, with default header values.
TooManyRequests
func NewPostContextsAddPhpTooManyRequests ¶
func NewPostContextsAddPhpTooManyRequests() *PostContextsAddPhpTooManyRequests
NewPostContextsAddPhpTooManyRequests creates a PostContextsAddPhpTooManyRequests with default headers values
func (*PostContextsAddPhpTooManyRequests) Error ¶
func (o *PostContextsAddPhpTooManyRequests) Error() string
func (*PostContextsAddPhpTooManyRequests) GetPayload ¶
func (o *PostContextsAddPhpTooManyRequests) GetPayload() *models.Error
type PostContextsAddPhpUnauthorized ¶
type PostContextsAddPhpUnauthorized struct {
}PostContextsAddPhpUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostContextsAddPhpUnauthorized ¶
func NewPostContextsAddPhpUnauthorized() *PostContextsAddPhpUnauthorized
NewPostContextsAddPhpUnauthorized creates a PostContextsAddPhpUnauthorized with default headers values
func (*PostContextsAddPhpUnauthorized) Error ¶
func (o *PostContextsAddPhpUnauthorized) Error() string
func (*PostContextsAddPhpUnauthorized) GetPayload ¶
func (o *PostContextsAddPhpUnauthorized) GetPayload() *models.Error
type PostContextsDeletePhpOK ¶
type PostContextsDeletePhpOK struct {
Payload *PostContextsDeletePhpOKBody
}
PostContextsDeletePhpOK describes a response with status code 200, with default header values.
ok
func NewPostContextsDeletePhpOK ¶
func NewPostContextsDeletePhpOK() *PostContextsDeletePhpOK
NewPostContextsDeletePhpOK creates a PostContextsDeletePhpOK with default headers values
func (*PostContextsDeletePhpOK) Error ¶
func (o *PostContextsDeletePhpOK) Error() string
func (*PostContextsDeletePhpOK) GetPayload ¶
func (o *PostContextsDeletePhpOK) GetPayload() *PostContextsDeletePhpOKBody
type PostContextsDeletePhpOKBody ¶
type PostContextsDeletePhpOKBody struct { // deleted Deleted int64 `json:"deleted,omitempty"` }
PostContextsDeletePhpOKBody post contexts delete php o k body swagger:model PostContextsDeletePhpOKBody
func (*PostContextsDeletePhpOKBody) ContextValidate ¶
func (o *PostContextsDeletePhpOKBody) ContextValidate(ctx ccontext.Context, formats strfmt.Registry) error
ContextValidate validates this post contexts delete php o k body based on context it is used
func (*PostContextsDeletePhpOKBody) MarshalBinary ¶
func (o *PostContextsDeletePhpOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostContextsDeletePhpOKBody) UnmarshalBinary ¶
func (o *PostContextsDeletePhpOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostContextsDeletePhpParams ¶
type PostContextsDeletePhpParams struct { // ID. ID int64 Context ccontext.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostContextsDeletePhpParams contains all the parameters to send to the API endpoint
for the post contexts delete php operation. Typically these are written to a http.Request.
func NewPostContextsDeletePhpParams ¶
func NewPostContextsDeletePhpParams() *PostContextsDeletePhpParams
NewPostContextsDeletePhpParams creates a new PostContextsDeletePhpParams 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 NewPostContextsDeletePhpParamsWithContext ¶
func NewPostContextsDeletePhpParamsWithContext(ctx ccontext.Context) *PostContextsDeletePhpParams
NewPostContextsDeletePhpParamsWithContext creates a new PostContextsDeletePhpParams object with the ability to set a context for a request.
func NewPostContextsDeletePhpParamsWithHTTPClient ¶
func NewPostContextsDeletePhpParamsWithHTTPClient(client *http.Client) *PostContextsDeletePhpParams
NewPostContextsDeletePhpParamsWithHTTPClient creates a new PostContextsDeletePhpParams object with the ability to set a custom HTTPClient for a request.
func NewPostContextsDeletePhpParamsWithTimeout ¶
func NewPostContextsDeletePhpParamsWithTimeout(timeout time.Duration) *PostContextsDeletePhpParams
NewPostContextsDeletePhpParamsWithTimeout creates a new PostContextsDeletePhpParams object with the ability to set a timeout on a request.
func (*PostContextsDeletePhpParams) SetContext ¶
func (o *PostContextsDeletePhpParams) SetContext(ctx ccontext.Context)
SetContext adds the context to the post contexts delete php params
func (*PostContextsDeletePhpParams) SetDefaults ¶
func (o *PostContextsDeletePhpParams) SetDefaults()
SetDefaults hydrates default values in the post contexts delete php params (not the query body).
All values with no default are reset to their zero value.
func (*PostContextsDeletePhpParams) SetHTTPClient ¶
func (o *PostContextsDeletePhpParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post contexts delete php params
func (*PostContextsDeletePhpParams) SetID ¶
func (o *PostContextsDeletePhpParams) SetID(id int64)
SetID adds the id to the post contexts delete php params
func (*PostContextsDeletePhpParams) SetTimeout ¶
func (o *PostContextsDeletePhpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post contexts delete php params
func (*PostContextsDeletePhpParams) WithContext ¶
func (o *PostContextsDeletePhpParams) WithContext(ctx ccontext.Context) *PostContextsDeletePhpParams
WithContext adds the context to the post contexts delete php params
func (*PostContextsDeletePhpParams) WithDefaults ¶
func (o *PostContextsDeletePhpParams) WithDefaults() *PostContextsDeletePhpParams
WithDefaults hydrates default values in the post contexts delete php params (not the query body).
All values with no default are reset to their zero value.
func (*PostContextsDeletePhpParams) WithHTTPClient ¶
func (o *PostContextsDeletePhpParams) WithHTTPClient(client *http.Client) *PostContextsDeletePhpParams
WithHTTPClient adds the HTTPClient to the post contexts delete php params
func (*PostContextsDeletePhpParams) WithID ¶
func (o *PostContextsDeletePhpParams) WithID(id int64) *PostContextsDeletePhpParams
WithID adds the id to the post contexts delete php params
func (*PostContextsDeletePhpParams) WithTimeout ¶
func (o *PostContextsDeletePhpParams) WithTimeout(timeout time.Duration) *PostContextsDeletePhpParams
WithTimeout adds the timeout to the post contexts delete php params
func (*PostContextsDeletePhpParams) WriteToRequest ¶
func (o *PostContextsDeletePhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostContextsDeletePhpReader ¶
type PostContextsDeletePhpReader struct {
// contains filtered or unexported fields
}
PostContextsDeletePhpReader is a Reader for the PostContextsDeletePhp structure.
func (*PostContextsDeletePhpReader) ReadResponse ¶
func (o *PostContextsDeletePhpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostContextsDeletePhpServiceUnavailable ¶
type PostContextsDeletePhpServiceUnavailable struct {
}PostContextsDeletePhpServiceUnavailable describes a response with status code 503, with default header values.
ServiceUnavailable
func NewPostContextsDeletePhpServiceUnavailable ¶
func NewPostContextsDeletePhpServiceUnavailable() *PostContextsDeletePhpServiceUnavailable
NewPostContextsDeletePhpServiceUnavailable creates a PostContextsDeletePhpServiceUnavailable with default headers values
func (*PostContextsDeletePhpServiceUnavailable) Error ¶
func (o *PostContextsDeletePhpServiceUnavailable) Error() string
func (*PostContextsDeletePhpServiceUnavailable) GetPayload ¶
func (o *PostContextsDeletePhpServiceUnavailable) GetPayload() *models.Error
type PostContextsDeletePhpTooManyRequests ¶
PostContextsDeletePhpTooManyRequests describes a response with status code 429, with default header values.
TooManyRequests
func NewPostContextsDeletePhpTooManyRequests ¶
func NewPostContextsDeletePhpTooManyRequests() *PostContextsDeletePhpTooManyRequests
NewPostContextsDeletePhpTooManyRequests creates a PostContextsDeletePhpTooManyRequests with default headers values
func (*PostContextsDeletePhpTooManyRequests) Error ¶
func (o *PostContextsDeletePhpTooManyRequests) Error() string
func (*PostContextsDeletePhpTooManyRequests) GetPayload ¶
func (o *PostContextsDeletePhpTooManyRequests) GetPayload() *models.Error
type PostContextsDeletePhpUnauthorized ¶
type PostContextsDeletePhpUnauthorized struct {
}PostContextsDeletePhpUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostContextsDeletePhpUnauthorized ¶
func NewPostContextsDeletePhpUnauthorized() *PostContextsDeletePhpUnauthorized
NewPostContextsDeletePhpUnauthorized creates a PostContextsDeletePhpUnauthorized with default headers values
func (*PostContextsDeletePhpUnauthorized) Error ¶
func (o *PostContextsDeletePhpUnauthorized) Error() string
func (*PostContextsDeletePhpUnauthorized) GetPayload ¶
func (o *PostContextsDeletePhpUnauthorized) GetPayload() *models.Error
type PostContextsEditPhpOK ¶
PostContextsEditPhpOK describes a response with status code 200, with default header values.
ok
func NewPostContextsEditPhpOK ¶
func NewPostContextsEditPhpOK() *PostContextsEditPhpOK
NewPostContextsEditPhpOK creates a PostContextsEditPhpOK with default headers values
func (*PostContextsEditPhpOK) Error ¶
func (o *PostContextsEditPhpOK) Error() string
func (*PostContextsEditPhpOK) GetPayload ¶
func (o *PostContextsEditPhpOK) GetPayload() []*models.Context
type PostContextsEditPhpParams ¶
type PostContextsEditPhpParams struct { // ID. ID string // Name. Name *string // Private. Private *int64 Context ccontext.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostContextsEditPhpParams contains all the parameters to send to the API endpoint
for the post contexts edit php operation. Typically these are written to a http.Request.
func NewPostContextsEditPhpParams ¶
func NewPostContextsEditPhpParams() *PostContextsEditPhpParams
NewPostContextsEditPhpParams creates a new PostContextsEditPhpParams 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 NewPostContextsEditPhpParamsWithContext ¶
func NewPostContextsEditPhpParamsWithContext(ctx ccontext.Context) *PostContextsEditPhpParams
NewPostContextsEditPhpParamsWithContext creates a new PostContextsEditPhpParams object with the ability to set a context for a request.
func NewPostContextsEditPhpParamsWithHTTPClient ¶
func NewPostContextsEditPhpParamsWithHTTPClient(client *http.Client) *PostContextsEditPhpParams
NewPostContextsEditPhpParamsWithHTTPClient creates a new PostContextsEditPhpParams object with the ability to set a custom HTTPClient for a request.
func NewPostContextsEditPhpParamsWithTimeout ¶
func NewPostContextsEditPhpParamsWithTimeout(timeout time.Duration) *PostContextsEditPhpParams
NewPostContextsEditPhpParamsWithTimeout creates a new PostContextsEditPhpParams object with the ability to set a timeout on a request.
func (*PostContextsEditPhpParams) SetContext ¶
func (o *PostContextsEditPhpParams) SetContext(ctx ccontext.Context)
SetContext adds the context to the post contexts edit php params
func (*PostContextsEditPhpParams) SetDefaults ¶
func (o *PostContextsEditPhpParams) SetDefaults()
SetDefaults hydrates default values in the post contexts edit php params (not the query body).
All values with no default are reset to their zero value.
func (*PostContextsEditPhpParams) SetHTTPClient ¶
func (o *PostContextsEditPhpParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post contexts edit php params
func (*PostContextsEditPhpParams) SetID ¶
func (o *PostContextsEditPhpParams) SetID(id string)
SetID adds the id to the post contexts edit php params
func (*PostContextsEditPhpParams) SetName ¶
func (o *PostContextsEditPhpParams) SetName(name *string)
SetName adds the name to the post contexts edit php params
func (*PostContextsEditPhpParams) SetPrivate ¶
func (o *PostContextsEditPhpParams) SetPrivate(private *int64)
SetPrivate adds the private to the post contexts edit php params
func (*PostContextsEditPhpParams) SetTimeout ¶
func (o *PostContextsEditPhpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post contexts edit php params
func (*PostContextsEditPhpParams) WithContext ¶
func (o *PostContextsEditPhpParams) WithContext(ctx ccontext.Context) *PostContextsEditPhpParams
WithContext adds the context to the post contexts edit php params
func (*PostContextsEditPhpParams) WithDefaults ¶
func (o *PostContextsEditPhpParams) WithDefaults() *PostContextsEditPhpParams
WithDefaults hydrates default values in the post contexts edit php params (not the query body).
All values with no default are reset to their zero value.
func (*PostContextsEditPhpParams) WithHTTPClient ¶
func (o *PostContextsEditPhpParams) WithHTTPClient(client *http.Client) *PostContextsEditPhpParams
WithHTTPClient adds the HTTPClient to the post contexts edit php params
func (*PostContextsEditPhpParams) WithID ¶
func (o *PostContextsEditPhpParams) WithID(id string) *PostContextsEditPhpParams
WithID adds the id to the post contexts edit php params
func (*PostContextsEditPhpParams) WithName ¶
func (o *PostContextsEditPhpParams) WithName(name *string) *PostContextsEditPhpParams
WithName adds the name to the post contexts edit php params
func (*PostContextsEditPhpParams) WithPrivate ¶
func (o *PostContextsEditPhpParams) WithPrivate(private *int64) *PostContextsEditPhpParams
WithPrivate adds the private to the post contexts edit php params
func (*PostContextsEditPhpParams) WithTimeout ¶
func (o *PostContextsEditPhpParams) WithTimeout(timeout time.Duration) *PostContextsEditPhpParams
WithTimeout adds the timeout to the post contexts edit php params
func (*PostContextsEditPhpParams) WriteToRequest ¶
func (o *PostContextsEditPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostContextsEditPhpReader ¶
type PostContextsEditPhpReader struct {
// contains filtered or unexported fields
}
PostContextsEditPhpReader is a Reader for the PostContextsEditPhp structure.
func (*PostContextsEditPhpReader) ReadResponse ¶
func (o *PostContextsEditPhpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostContextsEditPhpServiceUnavailable ¶
type PostContextsEditPhpServiceUnavailable struct {
}PostContextsEditPhpServiceUnavailable describes a response with status code 503, with default header values.
ServiceUnavailable
func NewPostContextsEditPhpServiceUnavailable ¶
func NewPostContextsEditPhpServiceUnavailable() *PostContextsEditPhpServiceUnavailable
NewPostContextsEditPhpServiceUnavailable creates a PostContextsEditPhpServiceUnavailable with default headers values
func (*PostContextsEditPhpServiceUnavailable) Error ¶
func (o *PostContextsEditPhpServiceUnavailable) Error() string
func (*PostContextsEditPhpServiceUnavailable) GetPayload ¶
func (o *PostContextsEditPhpServiceUnavailable) GetPayload() *models.Error
type PostContextsEditPhpTooManyRequests ¶
PostContextsEditPhpTooManyRequests describes a response with status code 429, with default header values.
TooManyRequests
func NewPostContextsEditPhpTooManyRequests ¶
func NewPostContextsEditPhpTooManyRequests() *PostContextsEditPhpTooManyRequests
NewPostContextsEditPhpTooManyRequests creates a PostContextsEditPhpTooManyRequests with default headers values
func (*PostContextsEditPhpTooManyRequests) Error ¶
func (o *PostContextsEditPhpTooManyRequests) Error() string
func (*PostContextsEditPhpTooManyRequests) GetPayload ¶
func (o *PostContextsEditPhpTooManyRequests) GetPayload() *models.Error
type PostContextsEditPhpUnauthorized ¶
type PostContextsEditPhpUnauthorized struct {
}PostContextsEditPhpUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostContextsEditPhpUnauthorized ¶
func NewPostContextsEditPhpUnauthorized() *PostContextsEditPhpUnauthorized
NewPostContextsEditPhpUnauthorized creates a PostContextsEditPhpUnauthorized with default headers values
func (*PostContextsEditPhpUnauthorized) Error ¶
func (o *PostContextsEditPhpUnauthorized) Error() string
func (*PostContextsEditPhpUnauthorized) GetPayload ¶
func (o *PostContextsEditPhpUnauthorized) GetPayload() *models.Error
Source Files ¶
- zz_generated_context_client.go
- zz_generated_get_contexts_get_php_parameters.go
- zz_generated_get_contexts_get_php_responses.go
- zz_generated_post_contexts_add_php_parameters.go
- zz_generated_post_contexts_add_php_responses.go
- zz_generated_post_contexts_delete_php_parameters.go
- zz_generated_post_contexts_delete_php_responses.go
- zz_generated_post_contexts_edit_php_parameters.go
- zz_generated_post_contexts_edit_php_responses.go