Documentation ¶
Index ¶
- type Client
- func (a *Client) GetFoldersGetPhp(params *GetFoldersGetPhpParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetFoldersGetPhpOK, error)
- func (a *Client) PostFoldersAddPhp(params *PostFoldersAddPhpParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostFoldersAddPhpOK, error)
- func (a *Client) PostFoldersDeletePhp(params *PostFoldersDeletePhpParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostFoldersDeletePhpOK, error)
- func (a *Client) PostFoldersEditPhp(params *PostFoldersEditPhpParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostFoldersEditPhpOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetFoldersGetPhpOK
- type GetFoldersGetPhpParams
- func NewGetFoldersGetPhpParams() *GetFoldersGetPhpParams
- func NewGetFoldersGetPhpParamsWithContext(ctx ccontext.Context) *GetFoldersGetPhpParams
- func NewGetFoldersGetPhpParamsWithHTTPClient(client *http.Client) *GetFoldersGetPhpParams
- func NewGetFoldersGetPhpParamsWithTimeout(timeout time.Duration) *GetFoldersGetPhpParams
- func (o *GetFoldersGetPhpParams) SetContext(ctx ccontext.Context)
- func (o *GetFoldersGetPhpParams) SetDefaults()
- func (o *GetFoldersGetPhpParams) SetHTTPClient(client *http.Client)
- func (o *GetFoldersGetPhpParams) SetTimeout(timeout time.Duration)
- func (o *GetFoldersGetPhpParams) WithContext(ctx ccontext.Context) *GetFoldersGetPhpParams
- func (o *GetFoldersGetPhpParams) WithDefaults() *GetFoldersGetPhpParams
- func (o *GetFoldersGetPhpParams) WithHTTPClient(client *http.Client) *GetFoldersGetPhpParams
- func (o *GetFoldersGetPhpParams) WithTimeout(timeout time.Duration) *GetFoldersGetPhpParams
- func (o *GetFoldersGetPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFoldersGetPhpReader
- type GetFoldersGetPhpServiceUnavailable
- type GetFoldersGetPhpTooManyRequests
- type GetFoldersGetPhpUnauthorized
- type PostFoldersAddPhpOK
- type PostFoldersAddPhpParams
- func NewPostFoldersAddPhpParams() *PostFoldersAddPhpParams
- func NewPostFoldersAddPhpParamsWithContext(ctx ccontext.Context) *PostFoldersAddPhpParams
- func NewPostFoldersAddPhpParamsWithHTTPClient(client *http.Client) *PostFoldersAddPhpParams
- func NewPostFoldersAddPhpParamsWithTimeout(timeout time.Duration) *PostFoldersAddPhpParams
- func (o *PostFoldersAddPhpParams) SetContext(ctx ccontext.Context)
- func (o *PostFoldersAddPhpParams) SetDefaults()
- func (o *PostFoldersAddPhpParams) SetHTTPClient(client *http.Client)
- func (o *PostFoldersAddPhpParams) SetName(name string)
- func (o *PostFoldersAddPhpParams) SetPrivate(private *int64)
- func (o *PostFoldersAddPhpParams) SetTimeout(timeout time.Duration)
- func (o *PostFoldersAddPhpParams) WithContext(ctx ccontext.Context) *PostFoldersAddPhpParams
- func (o *PostFoldersAddPhpParams) WithDefaults() *PostFoldersAddPhpParams
- func (o *PostFoldersAddPhpParams) WithHTTPClient(client *http.Client) *PostFoldersAddPhpParams
- func (o *PostFoldersAddPhpParams) WithName(name string) *PostFoldersAddPhpParams
- func (o *PostFoldersAddPhpParams) WithPrivate(private *int64) *PostFoldersAddPhpParams
- func (o *PostFoldersAddPhpParams) WithTimeout(timeout time.Duration) *PostFoldersAddPhpParams
- func (o *PostFoldersAddPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostFoldersAddPhpReader
- type PostFoldersAddPhpServiceUnavailable
- type PostFoldersAddPhpTooManyRequests
- type PostFoldersAddPhpUnauthorized
- type PostFoldersDeletePhpOK
- type PostFoldersDeletePhpOKBody
- func (o *PostFoldersDeletePhpOKBody) ContextValidate(ctx ccontext.Context, formats strfmt.Registry) error
- func (o *PostFoldersDeletePhpOKBody) MarshalBinary() ([]byte, error)
- func (o *PostFoldersDeletePhpOKBody) UnmarshalBinary(b []byte) error
- func (o *PostFoldersDeletePhpOKBody) Validate(formats strfmt.Registry) error
- type PostFoldersDeletePhpParams
- func NewPostFoldersDeletePhpParams() *PostFoldersDeletePhpParams
- func NewPostFoldersDeletePhpParamsWithContext(ctx ccontext.Context) *PostFoldersDeletePhpParams
- func NewPostFoldersDeletePhpParamsWithHTTPClient(client *http.Client) *PostFoldersDeletePhpParams
- func NewPostFoldersDeletePhpParamsWithTimeout(timeout time.Duration) *PostFoldersDeletePhpParams
- func (o *PostFoldersDeletePhpParams) SetContext(ctx ccontext.Context)
- func (o *PostFoldersDeletePhpParams) SetDefaults()
- func (o *PostFoldersDeletePhpParams) SetHTTPClient(client *http.Client)
- func (o *PostFoldersDeletePhpParams) SetID(id int64)
- func (o *PostFoldersDeletePhpParams) SetTimeout(timeout time.Duration)
- func (o *PostFoldersDeletePhpParams) WithContext(ctx ccontext.Context) *PostFoldersDeletePhpParams
- func (o *PostFoldersDeletePhpParams) WithDefaults() *PostFoldersDeletePhpParams
- func (o *PostFoldersDeletePhpParams) WithHTTPClient(client *http.Client) *PostFoldersDeletePhpParams
- func (o *PostFoldersDeletePhpParams) WithID(id int64) *PostFoldersDeletePhpParams
- func (o *PostFoldersDeletePhpParams) WithTimeout(timeout time.Duration) *PostFoldersDeletePhpParams
- func (o *PostFoldersDeletePhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostFoldersDeletePhpReader
- type PostFoldersDeletePhpServiceUnavailable
- type PostFoldersDeletePhpTooManyRequests
- type PostFoldersDeletePhpUnauthorized
- type PostFoldersEditPhpOK
- type PostFoldersEditPhpParams
- func NewPostFoldersEditPhpParams() *PostFoldersEditPhpParams
- func NewPostFoldersEditPhpParamsWithContext(ctx ccontext.Context) *PostFoldersEditPhpParams
- func NewPostFoldersEditPhpParamsWithHTTPClient(client *http.Client) *PostFoldersEditPhpParams
- func NewPostFoldersEditPhpParamsWithTimeout(timeout time.Duration) *PostFoldersEditPhpParams
- func (o *PostFoldersEditPhpParams) SetArchived(archived *int64)
- func (o *PostFoldersEditPhpParams) SetContext(ctx ccontext.Context)
- func (o *PostFoldersEditPhpParams) SetDefaults()
- func (o *PostFoldersEditPhpParams) SetHTTPClient(client *http.Client)
- func (o *PostFoldersEditPhpParams) SetID(id string)
- func (o *PostFoldersEditPhpParams) SetName(name *string)
- func (o *PostFoldersEditPhpParams) SetPrivate(private *int64)
- func (o *PostFoldersEditPhpParams) SetTimeout(timeout time.Duration)
- func (o *PostFoldersEditPhpParams) WithArchived(archived *int64) *PostFoldersEditPhpParams
- func (o *PostFoldersEditPhpParams) WithContext(ctx ccontext.Context) *PostFoldersEditPhpParams
- func (o *PostFoldersEditPhpParams) WithDefaults() *PostFoldersEditPhpParams
- func (o *PostFoldersEditPhpParams) WithHTTPClient(client *http.Client) *PostFoldersEditPhpParams
- func (o *PostFoldersEditPhpParams) WithID(id string) *PostFoldersEditPhpParams
- func (o *PostFoldersEditPhpParams) WithName(name *string) *PostFoldersEditPhpParams
- func (o *PostFoldersEditPhpParams) WithPrivate(private *int64) *PostFoldersEditPhpParams
- func (o *PostFoldersEditPhpParams) WithTimeout(timeout time.Duration) *PostFoldersEditPhpParams
- func (o *PostFoldersEditPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostFoldersEditPhpReader
- type PostFoldersEditPhpServiceUnavailable
- type PostFoldersEditPhpTooManyRequests
- type PostFoldersEditPhpUnauthorized
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 folder API
func (*Client) GetFoldersGetPhp ¶
func (a *Client) GetFoldersGetPhp(params *GetFoldersGetPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFoldersGetPhpOK, error)
GetFoldersGetPhp get folders get php API
func (*Client) PostFoldersAddPhp ¶
func (a *Client) PostFoldersAddPhp(params *PostFoldersAddPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostFoldersAddPhpOK, error)
PostFoldersAddPhp post folders add php API
func (*Client) PostFoldersDeletePhp ¶
func (a *Client) PostFoldersDeletePhp(params *PostFoldersDeletePhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostFoldersDeletePhpOK, error)
PostFoldersDeletePhp post folders delete php API
func (*Client) PostFoldersEditPhp ¶
func (a *Client) PostFoldersEditPhp(params *PostFoldersEditPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostFoldersEditPhpOK, error)
PostFoldersEditPhp post folders 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 { GetFoldersGetPhp(params *GetFoldersGetPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFoldersGetPhpOK, error) PostFoldersAddPhp(params *PostFoldersAddPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostFoldersAddPhpOK, error) PostFoldersDeletePhp(params *PostFoldersDeletePhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostFoldersDeletePhpOK, error) PostFoldersEditPhp(params *PostFoldersEditPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostFoldersEditPhpOK, 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 folder API client.
type GetFoldersGetPhpOK ¶
GetFoldersGetPhpOK describes a response with status code 200, with default header values.
ok
func NewGetFoldersGetPhpOK ¶
func NewGetFoldersGetPhpOK() *GetFoldersGetPhpOK
NewGetFoldersGetPhpOK creates a GetFoldersGetPhpOK with default headers values
func (*GetFoldersGetPhpOK) Error ¶
func (o *GetFoldersGetPhpOK) Error() string
func (*GetFoldersGetPhpOK) GetPayload ¶
func (o *GetFoldersGetPhpOK) GetPayload() []*models.Folder
type GetFoldersGetPhpParams ¶
type GetFoldersGetPhpParams struct { Context ccontext.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFoldersGetPhpParams contains all the parameters to send to the API endpoint
for the get folders get php operation. Typically these are written to a http.Request.
func NewGetFoldersGetPhpParams ¶
func NewGetFoldersGetPhpParams() *GetFoldersGetPhpParams
NewGetFoldersGetPhpParams creates a new GetFoldersGetPhpParams 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 NewGetFoldersGetPhpParamsWithContext ¶
func NewGetFoldersGetPhpParamsWithContext(ctx ccontext.Context) *GetFoldersGetPhpParams
NewGetFoldersGetPhpParamsWithContext creates a new GetFoldersGetPhpParams object with the ability to set a context for a request.
func NewGetFoldersGetPhpParamsWithHTTPClient ¶
func NewGetFoldersGetPhpParamsWithHTTPClient(client *http.Client) *GetFoldersGetPhpParams
NewGetFoldersGetPhpParamsWithHTTPClient creates a new GetFoldersGetPhpParams object with the ability to set a custom HTTPClient for a request.
func NewGetFoldersGetPhpParamsWithTimeout ¶
func NewGetFoldersGetPhpParamsWithTimeout(timeout time.Duration) *GetFoldersGetPhpParams
NewGetFoldersGetPhpParamsWithTimeout creates a new GetFoldersGetPhpParams object with the ability to set a timeout on a request.
func (*GetFoldersGetPhpParams) SetContext ¶
func (o *GetFoldersGetPhpParams) SetContext(ctx ccontext.Context)
SetContext adds the context to the get folders get php params
func (*GetFoldersGetPhpParams) SetDefaults ¶
func (o *GetFoldersGetPhpParams) SetDefaults()
SetDefaults hydrates default values in the get folders get php params (not the query body).
All values with no default are reset to their zero value.
func (*GetFoldersGetPhpParams) SetHTTPClient ¶
func (o *GetFoldersGetPhpParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get folders get php params
func (*GetFoldersGetPhpParams) SetTimeout ¶
func (o *GetFoldersGetPhpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get folders get php params
func (*GetFoldersGetPhpParams) WithContext ¶
func (o *GetFoldersGetPhpParams) WithContext(ctx ccontext.Context) *GetFoldersGetPhpParams
WithContext adds the context to the get folders get php params
func (*GetFoldersGetPhpParams) WithDefaults ¶
func (o *GetFoldersGetPhpParams) WithDefaults() *GetFoldersGetPhpParams
WithDefaults hydrates default values in the get folders get php params (not the query body).
All values with no default are reset to their zero value.
func (*GetFoldersGetPhpParams) WithHTTPClient ¶
func (o *GetFoldersGetPhpParams) WithHTTPClient(client *http.Client) *GetFoldersGetPhpParams
WithHTTPClient adds the HTTPClient to the get folders get php params
func (*GetFoldersGetPhpParams) WithTimeout ¶
func (o *GetFoldersGetPhpParams) WithTimeout(timeout time.Duration) *GetFoldersGetPhpParams
WithTimeout adds the timeout to the get folders get php params
func (*GetFoldersGetPhpParams) WriteToRequest ¶
func (o *GetFoldersGetPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFoldersGetPhpReader ¶
type GetFoldersGetPhpReader struct {
// contains filtered or unexported fields
}
GetFoldersGetPhpReader is a Reader for the GetFoldersGetPhp structure.
func (*GetFoldersGetPhpReader) ReadResponse ¶
func (o *GetFoldersGetPhpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFoldersGetPhpServiceUnavailable ¶
type GetFoldersGetPhpServiceUnavailable struct {
}GetFoldersGetPhpServiceUnavailable describes a response with status code 503, with default header values.
ServiceUnavailable
func NewGetFoldersGetPhpServiceUnavailable ¶
func NewGetFoldersGetPhpServiceUnavailable() *GetFoldersGetPhpServiceUnavailable
NewGetFoldersGetPhpServiceUnavailable creates a GetFoldersGetPhpServiceUnavailable with default headers values
func (*GetFoldersGetPhpServiceUnavailable) Error ¶
func (o *GetFoldersGetPhpServiceUnavailable) Error() string
func (*GetFoldersGetPhpServiceUnavailable) GetPayload ¶
func (o *GetFoldersGetPhpServiceUnavailable) GetPayload() *models.Error
type GetFoldersGetPhpTooManyRequests ¶
GetFoldersGetPhpTooManyRequests describes a response with status code 429, with default header values.
TooManyRequests
func NewGetFoldersGetPhpTooManyRequests ¶
func NewGetFoldersGetPhpTooManyRequests() *GetFoldersGetPhpTooManyRequests
NewGetFoldersGetPhpTooManyRequests creates a GetFoldersGetPhpTooManyRequests with default headers values
func (*GetFoldersGetPhpTooManyRequests) Error ¶
func (o *GetFoldersGetPhpTooManyRequests) Error() string
func (*GetFoldersGetPhpTooManyRequests) GetPayload ¶
func (o *GetFoldersGetPhpTooManyRequests) GetPayload() *models.Error
type GetFoldersGetPhpUnauthorized ¶
type GetFoldersGetPhpUnauthorized struct {
}GetFoldersGetPhpUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetFoldersGetPhpUnauthorized ¶
func NewGetFoldersGetPhpUnauthorized() *GetFoldersGetPhpUnauthorized
NewGetFoldersGetPhpUnauthorized creates a GetFoldersGetPhpUnauthorized with default headers values
func (*GetFoldersGetPhpUnauthorized) Error ¶
func (o *GetFoldersGetPhpUnauthorized) Error() string
func (*GetFoldersGetPhpUnauthorized) GetPayload ¶
func (o *GetFoldersGetPhpUnauthorized) GetPayload() *models.Error
type PostFoldersAddPhpOK ¶
PostFoldersAddPhpOK describes a response with status code 200, with default header values.
ok
func NewPostFoldersAddPhpOK ¶
func NewPostFoldersAddPhpOK() *PostFoldersAddPhpOK
NewPostFoldersAddPhpOK creates a PostFoldersAddPhpOK with default headers values
func (*PostFoldersAddPhpOK) Error ¶
func (o *PostFoldersAddPhpOK) Error() string
func (*PostFoldersAddPhpOK) GetPayload ¶
func (o *PostFoldersAddPhpOK) GetPayload() []*models.Folder
type PostFoldersAddPhpParams ¶
type PostFoldersAddPhpParams struct { // Name. Name string // Private. Private *int64 Context ccontext.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostFoldersAddPhpParams contains all the parameters to send to the API endpoint
for the post folders add php operation. Typically these are written to a http.Request.
func NewPostFoldersAddPhpParams ¶
func NewPostFoldersAddPhpParams() *PostFoldersAddPhpParams
NewPostFoldersAddPhpParams creates a new PostFoldersAddPhpParams 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 NewPostFoldersAddPhpParamsWithContext ¶
func NewPostFoldersAddPhpParamsWithContext(ctx ccontext.Context) *PostFoldersAddPhpParams
NewPostFoldersAddPhpParamsWithContext creates a new PostFoldersAddPhpParams object with the ability to set a context for a request.
func NewPostFoldersAddPhpParamsWithHTTPClient ¶
func NewPostFoldersAddPhpParamsWithHTTPClient(client *http.Client) *PostFoldersAddPhpParams
NewPostFoldersAddPhpParamsWithHTTPClient creates a new PostFoldersAddPhpParams object with the ability to set a custom HTTPClient for a request.
func NewPostFoldersAddPhpParamsWithTimeout ¶
func NewPostFoldersAddPhpParamsWithTimeout(timeout time.Duration) *PostFoldersAddPhpParams
NewPostFoldersAddPhpParamsWithTimeout creates a new PostFoldersAddPhpParams object with the ability to set a timeout on a request.
func (*PostFoldersAddPhpParams) SetContext ¶
func (o *PostFoldersAddPhpParams) SetContext(ctx ccontext.Context)
SetContext adds the context to the post folders add php params
func (*PostFoldersAddPhpParams) SetDefaults ¶
func (o *PostFoldersAddPhpParams) SetDefaults()
SetDefaults hydrates default values in the post folders add php params (not the query body).
All values with no default are reset to their zero value.
func (*PostFoldersAddPhpParams) SetHTTPClient ¶
func (o *PostFoldersAddPhpParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post folders add php params
func (*PostFoldersAddPhpParams) SetName ¶
func (o *PostFoldersAddPhpParams) SetName(name string)
SetName adds the name to the post folders add php params
func (*PostFoldersAddPhpParams) SetPrivate ¶
func (o *PostFoldersAddPhpParams) SetPrivate(private *int64)
SetPrivate adds the private to the post folders add php params
func (*PostFoldersAddPhpParams) SetTimeout ¶
func (o *PostFoldersAddPhpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post folders add php params
func (*PostFoldersAddPhpParams) WithContext ¶
func (o *PostFoldersAddPhpParams) WithContext(ctx ccontext.Context) *PostFoldersAddPhpParams
WithContext adds the context to the post folders add php params
func (*PostFoldersAddPhpParams) WithDefaults ¶
func (o *PostFoldersAddPhpParams) WithDefaults() *PostFoldersAddPhpParams
WithDefaults hydrates default values in the post folders add php params (not the query body).
All values with no default are reset to their zero value.
func (*PostFoldersAddPhpParams) WithHTTPClient ¶
func (o *PostFoldersAddPhpParams) WithHTTPClient(client *http.Client) *PostFoldersAddPhpParams
WithHTTPClient adds the HTTPClient to the post folders add php params
func (*PostFoldersAddPhpParams) WithName ¶
func (o *PostFoldersAddPhpParams) WithName(name string) *PostFoldersAddPhpParams
WithName adds the name to the post folders add php params
func (*PostFoldersAddPhpParams) WithPrivate ¶
func (o *PostFoldersAddPhpParams) WithPrivate(private *int64) *PostFoldersAddPhpParams
WithPrivate adds the private to the post folders add php params
func (*PostFoldersAddPhpParams) WithTimeout ¶
func (o *PostFoldersAddPhpParams) WithTimeout(timeout time.Duration) *PostFoldersAddPhpParams
WithTimeout adds the timeout to the post folders add php params
func (*PostFoldersAddPhpParams) WriteToRequest ¶
func (o *PostFoldersAddPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostFoldersAddPhpReader ¶
type PostFoldersAddPhpReader struct {
// contains filtered or unexported fields
}
PostFoldersAddPhpReader is a Reader for the PostFoldersAddPhp structure.
func (*PostFoldersAddPhpReader) ReadResponse ¶
func (o *PostFoldersAddPhpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostFoldersAddPhpServiceUnavailable ¶
type PostFoldersAddPhpServiceUnavailable struct {
}PostFoldersAddPhpServiceUnavailable describes a response with status code 503, with default header values.
ServiceUnavailable
func NewPostFoldersAddPhpServiceUnavailable ¶
func NewPostFoldersAddPhpServiceUnavailable() *PostFoldersAddPhpServiceUnavailable
NewPostFoldersAddPhpServiceUnavailable creates a PostFoldersAddPhpServiceUnavailable with default headers values
func (*PostFoldersAddPhpServiceUnavailable) Error ¶
func (o *PostFoldersAddPhpServiceUnavailable) Error() string
func (*PostFoldersAddPhpServiceUnavailable) GetPayload ¶
func (o *PostFoldersAddPhpServiceUnavailable) GetPayload() *models.Error
type PostFoldersAddPhpTooManyRequests ¶
PostFoldersAddPhpTooManyRequests describes a response with status code 429, with default header values.
TooManyRequests
func NewPostFoldersAddPhpTooManyRequests ¶
func NewPostFoldersAddPhpTooManyRequests() *PostFoldersAddPhpTooManyRequests
NewPostFoldersAddPhpTooManyRequests creates a PostFoldersAddPhpTooManyRequests with default headers values
func (*PostFoldersAddPhpTooManyRequests) Error ¶
func (o *PostFoldersAddPhpTooManyRequests) Error() string
func (*PostFoldersAddPhpTooManyRequests) GetPayload ¶
func (o *PostFoldersAddPhpTooManyRequests) GetPayload() *models.Error
type PostFoldersAddPhpUnauthorized ¶
type PostFoldersAddPhpUnauthorized struct {
}PostFoldersAddPhpUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostFoldersAddPhpUnauthorized ¶
func NewPostFoldersAddPhpUnauthorized() *PostFoldersAddPhpUnauthorized
NewPostFoldersAddPhpUnauthorized creates a PostFoldersAddPhpUnauthorized with default headers values
func (*PostFoldersAddPhpUnauthorized) Error ¶
func (o *PostFoldersAddPhpUnauthorized) Error() string
func (*PostFoldersAddPhpUnauthorized) GetPayload ¶
func (o *PostFoldersAddPhpUnauthorized) GetPayload() *models.Error
type PostFoldersDeletePhpOK ¶
type PostFoldersDeletePhpOK struct {
Payload *PostFoldersDeletePhpOKBody
}
PostFoldersDeletePhpOK describes a response with status code 200, with default header values.
ok
func NewPostFoldersDeletePhpOK ¶
func NewPostFoldersDeletePhpOK() *PostFoldersDeletePhpOK
NewPostFoldersDeletePhpOK creates a PostFoldersDeletePhpOK with default headers values
func (*PostFoldersDeletePhpOK) Error ¶
func (o *PostFoldersDeletePhpOK) Error() string
func (*PostFoldersDeletePhpOK) GetPayload ¶
func (o *PostFoldersDeletePhpOK) GetPayload() *PostFoldersDeletePhpOKBody
type PostFoldersDeletePhpOKBody ¶
type PostFoldersDeletePhpOKBody struct { // deleted Deleted int64 `json:"deleted,omitempty"` }
PostFoldersDeletePhpOKBody post folders delete php o k body swagger:model PostFoldersDeletePhpOKBody
func (*PostFoldersDeletePhpOKBody) ContextValidate ¶
func (o *PostFoldersDeletePhpOKBody) ContextValidate(ctx ccontext.Context, formats strfmt.Registry) error
ContextValidate validates this post folders delete php o k body based on context it is used
func (*PostFoldersDeletePhpOKBody) MarshalBinary ¶
func (o *PostFoldersDeletePhpOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostFoldersDeletePhpOKBody) UnmarshalBinary ¶
func (o *PostFoldersDeletePhpOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostFoldersDeletePhpParams ¶
type PostFoldersDeletePhpParams struct { // ID. ID int64 Context ccontext.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostFoldersDeletePhpParams contains all the parameters to send to the API endpoint
for the post folders delete php operation. Typically these are written to a http.Request.
func NewPostFoldersDeletePhpParams ¶
func NewPostFoldersDeletePhpParams() *PostFoldersDeletePhpParams
NewPostFoldersDeletePhpParams creates a new PostFoldersDeletePhpParams 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 NewPostFoldersDeletePhpParamsWithContext ¶
func NewPostFoldersDeletePhpParamsWithContext(ctx ccontext.Context) *PostFoldersDeletePhpParams
NewPostFoldersDeletePhpParamsWithContext creates a new PostFoldersDeletePhpParams object with the ability to set a context for a request.
func NewPostFoldersDeletePhpParamsWithHTTPClient ¶
func NewPostFoldersDeletePhpParamsWithHTTPClient(client *http.Client) *PostFoldersDeletePhpParams
NewPostFoldersDeletePhpParamsWithHTTPClient creates a new PostFoldersDeletePhpParams object with the ability to set a custom HTTPClient for a request.
func NewPostFoldersDeletePhpParamsWithTimeout ¶
func NewPostFoldersDeletePhpParamsWithTimeout(timeout time.Duration) *PostFoldersDeletePhpParams
NewPostFoldersDeletePhpParamsWithTimeout creates a new PostFoldersDeletePhpParams object with the ability to set a timeout on a request.
func (*PostFoldersDeletePhpParams) SetContext ¶
func (o *PostFoldersDeletePhpParams) SetContext(ctx ccontext.Context)
SetContext adds the context to the post folders delete php params
func (*PostFoldersDeletePhpParams) SetDefaults ¶
func (o *PostFoldersDeletePhpParams) SetDefaults()
SetDefaults hydrates default values in the post folders delete php params (not the query body).
All values with no default are reset to their zero value.
func (*PostFoldersDeletePhpParams) SetHTTPClient ¶
func (o *PostFoldersDeletePhpParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post folders delete php params
func (*PostFoldersDeletePhpParams) SetID ¶
func (o *PostFoldersDeletePhpParams) SetID(id int64)
SetID adds the id to the post folders delete php params
func (*PostFoldersDeletePhpParams) SetTimeout ¶
func (o *PostFoldersDeletePhpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post folders delete php params
func (*PostFoldersDeletePhpParams) WithContext ¶
func (o *PostFoldersDeletePhpParams) WithContext(ctx ccontext.Context) *PostFoldersDeletePhpParams
WithContext adds the context to the post folders delete php params
func (*PostFoldersDeletePhpParams) WithDefaults ¶
func (o *PostFoldersDeletePhpParams) WithDefaults() *PostFoldersDeletePhpParams
WithDefaults hydrates default values in the post folders delete php params (not the query body).
All values with no default are reset to their zero value.
func (*PostFoldersDeletePhpParams) WithHTTPClient ¶
func (o *PostFoldersDeletePhpParams) WithHTTPClient(client *http.Client) *PostFoldersDeletePhpParams
WithHTTPClient adds the HTTPClient to the post folders delete php params
func (*PostFoldersDeletePhpParams) WithID ¶
func (o *PostFoldersDeletePhpParams) WithID(id int64) *PostFoldersDeletePhpParams
WithID adds the id to the post folders delete php params
func (*PostFoldersDeletePhpParams) WithTimeout ¶
func (o *PostFoldersDeletePhpParams) WithTimeout(timeout time.Duration) *PostFoldersDeletePhpParams
WithTimeout adds the timeout to the post folders delete php params
func (*PostFoldersDeletePhpParams) WriteToRequest ¶
func (o *PostFoldersDeletePhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostFoldersDeletePhpReader ¶
type PostFoldersDeletePhpReader struct {
// contains filtered or unexported fields
}
PostFoldersDeletePhpReader is a Reader for the PostFoldersDeletePhp structure.
func (*PostFoldersDeletePhpReader) ReadResponse ¶
func (o *PostFoldersDeletePhpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostFoldersDeletePhpServiceUnavailable ¶
type PostFoldersDeletePhpServiceUnavailable struct {
}PostFoldersDeletePhpServiceUnavailable describes a response with status code 503, with default header values.
ServiceUnavailable
func NewPostFoldersDeletePhpServiceUnavailable ¶
func NewPostFoldersDeletePhpServiceUnavailable() *PostFoldersDeletePhpServiceUnavailable
NewPostFoldersDeletePhpServiceUnavailable creates a PostFoldersDeletePhpServiceUnavailable with default headers values
func (*PostFoldersDeletePhpServiceUnavailable) Error ¶
func (o *PostFoldersDeletePhpServiceUnavailable) Error() string
func (*PostFoldersDeletePhpServiceUnavailable) GetPayload ¶
func (o *PostFoldersDeletePhpServiceUnavailable) GetPayload() *models.Error
type PostFoldersDeletePhpTooManyRequests ¶
PostFoldersDeletePhpTooManyRequests describes a response with status code 429, with default header values.
TooManyRequests
func NewPostFoldersDeletePhpTooManyRequests ¶
func NewPostFoldersDeletePhpTooManyRequests() *PostFoldersDeletePhpTooManyRequests
NewPostFoldersDeletePhpTooManyRequests creates a PostFoldersDeletePhpTooManyRequests with default headers values
func (*PostFoldersDeletePhpTooManyRequests) Error ¶
func (o *PostFoldersDeletePhpTooManyRequests) Error() string
func (*PostFoldersDeletePhpTooManyRequests) GetPayload ¶
func (o *PostFoldersDeletePhpTooManyRequests) GetPayload() *models.Error
type PostFoldersDeletePhpUnauthorized ¶
type PostFoldersDeletePhpUnauthorized struct {
}PostFoldersDeletePhpUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostFoldersDeletePhpUnauthorized ¶
func NewPostFoldersDeletePhpUnauthorized() *PostFoldersDeletePhpUnauthorized
NewPostFoldersDeletePhpUnauthorized creates a PostFoldersDeletePhpUnauthorized with default headers values
func (*PostFoldersDeletePhpUnauthorized) Error ¶
func (o *PostFoldersDeletePhpUnauthorized) Error() string
func (*PostFoldersDeletePhpUnauthorized) GetPayload ¶
func (o *PostFoldersDeletePhpUnauthorized) GetPayload() *models.Error
type PostFoldersEditPhpOK ¶
PostFoldersEditPhpOK describes a response with status code 200, with default header values.
ok
func NewPostFoldersEditPhpOK ¶
func NewPostFoldersEditPhpOK() *PostFoldersEditPhpOK
NewPostFoldersEditPhpOK creates a PostFoldersEditPhpOK with default headers values
func (*PostFoldersEditPhpOK) Error ¶
func (o *PostFoldersEditPhpOK) Error() string
func (*PostFoldersEditPhpOK) GetPayload ¶
func (o *PostFoldersEditPhpOK) GetPayload() []*models.Folder
type PostFoldersEditPhpParams ¶
type PostFoldersEditPhpParams struct { // Archived. Archived *int64 // ID. ID string // Name. Name *string // Private. Private *int64 Context ccontext.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostFoldersEditPhpParams contains all the parameters to send to the API endpoint
for the post folders edit php operation. Typically these are written to a http.Request.
func NewPostFoldersEditPhpParams ¶
func NewPostFoldersEditPhpParams() *PostFoldersEditPhpParams
NewPostFoldersEditPhpParams creates a new PostFoldersEditPhpParams 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 NewPostFoldersEditPhpParamsWithContext ¶
func NewPostFoldersEditPhpParamsWithContext(ctx ccontext.Context) *PostFoldersEditPhpParams
NewPostFoldersEditPhpParamsWithContext creates a new PostFoldersEditPhpParams object with the ability to set a context for a request.
func NewPostFoldersEditPhpParamsWithHTTPClient ¶
func NewPostFoldersEditPhpParamsWithHTTPClient(client *http.Client) *PostFoldersEditPhpParams
NewPostFoldersEditPhpParamsWithHTTPClient creates a new PostFoldersEditPhpParams object with the ability to set a custom HTTPClient for a request.
func NewPostFoldersEditPhpParamsWithTimeout ¶
func NewPostFoldersEditPhpParamsWithTimeout(timeout time.Duration) *PostFoldersEditPhpParams
NewPostFoldersEditPhpParamsWithTimeout creates a new PostFoldersEditPhpParams object with the ability to set a timeout on a request.
func (*PostFoldersEditPhpParams) SetArchived ¶
func (o *PostFoldersEditPhpParams) SetArchived(archived *int64)
SetArchived adds the archived to the post folders edit php params
func (*PostFoldersEditPhpParams) SetContext ¶
func (o *PostFoldersEditPhpParams) SetContext(ctx ccontext.Context)
SetContext adds the context to the post folders edit php params
func (*PostFoldersEditPhpParams) SetDefaults ¶
func (o *PostFoldersEditPhpParams) SetDefaults()
SetDefaults hydrates default values in the post folders edit php params (not the query body).
All values with no default are reset to their zero value.
func (*PostFoldersEditPhpParams) SetHTTPClient ¶
func (o *PostFoldersEditPhpParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post folders edit php params
func (*PostFoldersEditPhpParams) SetID ¶
func (o *PostFoldersEditPhpParams) SetID(id string)
SetID adds the id to the post folders edit php params
func (*PostFoldersEditPhpParams) SetName ¶
func (o *PostFoldersEditPhpParams) SetName(name *string)
SetName adds the name to the post folders edit php params
func (*PostFoldersEditPhpParams) SetPrivate ¶
func (o *PostFoldersEditPhpParams) SetPrivate(private *int64)
SetPrivate adds the private to the post folders edit php params
func (*PostFoldersEditPhpParams) SetTimeout ¶
func (o *PostFoldersEditPhpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post folders edit php params
func (*PostFoldersEditPhpParams) WithArchived ¶
func (o *PostFoldersEditPhpParams) WithArchived(archived *int64) *PostFoldersEditPhpParams
WithArchived adds the archived to the post folders edit php params
func (*PostFoldersEditPhpParams) WithContext ¶
func (o *PostFoldersEditPhpParams) WithContext(ctx ccontext.Context) *PostFoldersEditPhpParams
WithContext adds the context to the post folders edit php params
func (*PostFoldersEditPhpParams) WithDefaults ¶
func (o *PostFoldersEditPhpParams) WithDefaults() *PostFoldersEditPhpParams
WithDefaults hydrates default values in the post folders edit php params (not the query body).
All values with no default are reset to their zero value.
func (*PostFoldersEditPhpParams) WithHTTPClient ¶
func (o *PostFoldersEditPhpParams) WithHTTPClient(client *http.Client) *PostFoldersEditPhpParams
WithHTTPClient adds the HTTPClient to the post folders edit php params
func (*PostFoldersEditPhpParams) WithID ¶
func (o *PostFoldersEditPhpParams) WithID(id string) *PostFoldersEditPhpParams
WithID adds the id to the post folders edit php params
func (*PostFoldersEditPhpParams) WithName ¶
func (o *PostFoldersEditPhpParams) WithName(name *string) *PostFoldersEditPhpParams
WithName adds the name to the post folders edit php params
func (*PostFoldersEditPhpParams) WithPrivate ¶
func (o *PostFoldersEditPhpParams) WithPrivate(private *int64) *PostFoldersEditPhpParams
WithPrivate adds the private to the post folders edit php params
func (*PostFoldersEditPhpParams) WithTimeout ¶
func (o *PostFoldersEditPhpParams) WithTimeout(timeout time.Duration) *PostFoldersEditPhpParams
WithTimeout adds the timeout to the post folders edit php params
func (*PostFoldersEditPhpParams) WriteToRequest ¶
func (o *PostFoldersEditPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostFoldersEditPhpReader ¶
type PostFoldersEditPhpReader struct {
// contains filtered or unexported fields
}
PostFoldersEditPhpReader is a Reader for the PostFoldersEditPhp structure.
func (*PostFoldersEditPhpReader) ReadResponse ¶
func (o *PostFoldersEditPhpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostFoldersEditPhpServiceUnavailable ¶
type PostFoldersEditPhpServiceUnavailable struct {
}PostFoldersEditPhpServiceUnavailable describes a response with status code 503, with default header values.
ServiceUnavailable
func NewPostFoldersEditPhpServiceUnavailable ¶
func NewPostFoldersEditPhpServiceUnavailable() *PostFoldersEditPhpServiceUnavailable
NewPostFoldersEditPhpServiceUnavailable creates a PostFoldersEditPhpServiceUnavailable with default headers values
func (*PostFoldersEditPhpServiceUnavailable) Error ¶
func (o *PostFoldersEditPhpServiceUnavailable) Error() string
func (*PostFoldersEditPhpServiceUnavailable) GetPayload ¶
func (o *PostFoldersEditPhpServiceUnavailable) GetPayload() *models.Error
type PostFoldersEditPhpTooManyRequests ¶
PostFoldersEditPhpTooManyRequests describes a response with status code 429, with default header values.
TooManyRequests
func NewPostFoldersEditPhpTooManyRequests ¶
func NewPostFoldersEditPhpTooManyRequests() *PostFoldersEditPhpTooManyRequests
NewPostFoldersEditPhpTooManyRequests creates a PostFoldersEditPhpTooManyRequests with default headers values
func (*PostFoldersEditPhpTooManyRequests) Error ¶
func (o *PostFoldersEditPhpTooManyRequests) Error() string
func (*PostFoldersEditPhpTooManyRequests) GetPayload ¶
func (o *PostFoldersEditPhpTooManyRequests) GetPayload() *models.Error
type PostFoldersEditPhpUnauthorized ¶
type PostFoldersEditPhpUnauthorized struct {
}PostFoldersEditPhpUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostFoldersEditPhpUnauthorized ¶
func NewPostFoldersEditPhpUnauthorized() *PostFoldersEditPhpUnauthorized
NewPostFoldersEditPhpUnauthorized creates a PostFoldersEditPhpUnauthorized with default headers values
func (*PostFoldersEditPhpUnauthorized) Error ¶
func (o *PostFoldersEditPhpUnauthorized) Error() string
func (*PostFoldersEditPhpUnauthorized) GetPayload ¶
func (o *PostFoldersEditPhpUnauthorized) GetPayload() *models.Error
Source Files ¶
- zz_generated_folder_client.go
- zz_generated_get_folders_get_php_parameters.go
- zz_generated_get_folders_get_php_responses.go
- zz_generated_post_folders_add_php_parameters.go
- zz_generated_post_folders_add_php_responses.go
- zz_generated_post_folders_delete_php_parameters.go
- zz_generated_post_folders_delete_php_responses.go
- zz_generated_post_folders_edit_php_parameters.go
- zz_generated_post_folders_edit_php_responses.go