folder

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

type GetFoldersGetPhpOK struct {
	Payload []*models.Folder
}

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

WithContext adds the context to the get folders get php params

func (*GetFoldersGetPhpParams) WithDefaults

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

WithTimeout adds the timeout to the get folders get php params

func (*GetFoldersGetPhpParams) WriteToRequest

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 {
	Payload *models.Error
}

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 (*GetFoldersGetPhpServiceUnavailable) GetPayload

type GetFoldersGetPhpTooManyRequests

type GetFoldersGetPhpTooManyRequests struct {
	Payload *models.Error
}

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 (*GetFoldersGetPhpTooManyRequests) GetPayload

func (o *GetFoldersGetPhpTooManyRequests) GetPayload() *models.Error

type GetFoldersGetPhpUnauthorized

type GetFoldersGetPhpUnauthorized struct {
	Payload *models.Error
}

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 (*GetFoldersGetPhpUnauthorized) GetPayload

func (o *GetFoldersGetPhpUnauthorized) GetPayload() *models.Error

type PostFoldersAddPhpOK

type PostFoldersAddPhpOK struct {
	Payload []*models.Folder
}

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

WithContext adds the context to the post folders add php params

func (*PostFoldersAddPhpParams) WithDefaults

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

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

WithTimeout adds the timeout to the post folders add php params

func (*PostFoldersAddPhpParams) WriteToRequest

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 {
	Payload *models.Error
}

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 (*PostFoldersAddPhpServiceUnavailable) GetPayload

type PostFoldersAddPhpTooManyRequests

type PostFoldersAddPhpTooManyRequests struct {
	Payload *models.Error
}

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 (*PostFoldersAddPhpTooManyRequests) GetPayload

type PostFoldersAddPhpUnauthorized

type PostFoldersAddPhpUnauthorized struct {
	Payload *models.Error
}

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 (*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

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

func (*PostFoldersDeletePhpOKBody) Validate

func (o *PostFoldersDeletePhpOKBody) Validate(formats strfmt.Registry) error

Validate validates this post folders delete php o k body

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

WithContext adds the context to the post folders delete php params

func (*PostFoldersDeletePhpParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the post folders delete php params

func (*PostFoldersDeletePhpParams) WithID

WithID adds the id to the post folders delete php params

func (*PostFoldersDeletePhpParams) WithTimeout

WithTimeout adds the timeout to the post folders delete php params

func (*PostFoldersDeletePhpParams) WriteToRequest

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 {
	Payload *models.Error
}

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 (*PostFoldersDeletePhpServiceUnavailable) GetPayload

type PostFoldersDeletePhpTooManyRequests

type PostFoldersDeletePhpTooManyRequests struct {
	Payload *models.Error
}

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 (*PostFoldersDeletePhpTooManyRequests) GetPayload

type PostFoldersDeletePhpUnauthorized

type PostFoldersDeletePhpUnauthorized struct {
	Payload *models.Error
}

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 (*PostFoldersDeletePhpUnauthorized) GetPayload

type PostFoldersEditPhpOK

type PostFoldersEditPhpOK struct {
	Payload []*models.Folder
}

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

WithContext adds the context to the post folders edit php params

func (*PostFoldersEditPhpParams) WithDefaults

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

WithID adds the id to the post folders edit php params

func (*PostFoldersEditPhpParams) WithName

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

WithTimeout adds the timeout to the post folders edit php params

func (*PostFoldersEditPhpParams) WriteToRequest

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 {
	Payload *models.Error
}

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 (*PostFoldersEditPhpServiceUnavailable) GetPayload

type PostFoldersEditPhpTooManyRequests

type PostFoldersEditPhpTooManyRequests struct {
	Payload *models.Error
}

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 (*PostFoldersEditPhpTooManyRequests) GetPayload

type PostFoldersEditPhpUnauthorized

type PostFoldersEditPhpUnauthorized struct {
	Payload *models.Error
}

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 (*PostFoldersEditPhpUnauthorized) GetPayload

func (o *PostFoldersEditPhpUnauthorized) GetPayload() *models.Error

Jump to

Keyboard shortcuts

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