Documentation ¶
Index ¶
- type Client
- func (a *Client) GetGoalsGetPhp(params *GetGoalsGetPhpParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGoalsGetPhpOK, error)
- func (a *Client) PostGoalsAddPhp(params *PostGoalsAddPhpParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostGoalsAddPhpOK, error)
- func (a *Client) PostGoalsDeletePhp(params *PostGoalsDeletePhpParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostGoalsDeletePhpOK, error)
- func (a *Client) PostGoalsEditPhp(params *PostGoalsEditPhpParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostGoalsEditPhpOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetGoalsGetPhpOK
- type GetGoalsGetPhpParams
- func NewGetGoalsGetPhpParams() *GetGoalsGetPhpParams
- func NewGetGoalsGetPhpParamsWithContext(ctx ccontext.Context) *GetGoalsGetPhpParams
- func NewGetGoalsGetPhpParamsWithHTTPClient(client *http.Client) *GetGoalsGetPhpParams
- func NewGetGoalsGetPhpParamsWithTimeout(timeout time.Duration) *GetGoalsGetPhpParams
- func (o *GetGoalsGetPhpParams) SetContext(ctx ccontext.Context)
- func (o *GetGoalsGetPhpParams) SetDefaults()
- func (o *GetGoalsGetPhpParams) SetHTTPClient(client *http.Client)
- func (o *GetGoalsGetPhpParams) SetTimeout(timeout time.Duration)
- func (o *GetGoalsGetPhpParams) WithContext(ctx ccontext.Context) *GetGoalsGetPhpParams
- func (o *GetGoalsGetPhpParams) WithDefaults() *GetGoalsGetPhpParams
- func (o *GetGoalsGetPhpParams) WithHTTPClient(client *http.Client) *GetGoalsGetPhpParams
- func (o *GetGoalsGetPhpParams) WithTimeout(timeout time.Duration) *GetGoalsGetPhpParams
- func (o *GetGoalsGetPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGoalsGetPhpReader
- type GetGoalsGetPhpServiceUnavailable
- type GetGoalsGetPhpTooManyRequests
- type GetGoalsGetPhpUnauthorized
- type PostGoalsAddPhpOK
- type PostGoalsAddPhpParams
- func NewPostGoalsAddPhpParams() *PostGoalsAddPhpParams
- func NewPostGoalsAddPhpParamsWithContext(ctx ccontext.Context) *PostGoalsAddPhpParams
- func NewPostGoalsAddPhpParamsWithHTTPClient(client *http.Client) *PostGoalsAddPhpParams
- func NewPostGoalsAddPhpParamsWithTimeout(timeout time.Duration) *PostGoalsAddPhpParams
- func (o *PostGoalsAddPhpParams) SetContext(ctx ccontext.Context)
- func (o *PostGoalsAddPhpParams) SetContributes(contributes *int64)
- func (o *PostGoalsAddPhpParams) SetDefaults()
- func (o *PostGoalsAddPhpParams) SetHTTPClient(client *http.Client)
- func (o *PostGoalsAddPhpParams) SetLevel(level *int64)
- func (o *PostGoalsAddPhpParams) SetName(name string)
- func (o *PostGoalsAddPhpParams) SetNote(note *string)
- func (o *PostGoalsAddPhpParams) SetPrivate(private *int64)
- func (o *PostGoalsAddPhpParams) SetTimeout(timeout time.Duration)
- func (o *PostGoalsAddPhpParams) WithContext(ctx ccontext.Context) *PostGoalsAddPhpParams
- func (o *PostGoalsAddPhpParams) WithContributes(contributes *int64) *PostGoalsAddPhpParams
- func (o *PostGoalsAddPhpParams) WithDefaults() *PostGoalsAddPhpParams
- func (o *PostGoalsAddPhpParams) WithHTTPClient(client *http.Client) *PostGoalsAddPhpParams
- func (o *PostGoalsAddPhpParams) WithLevel(level *int64) *PostGoalsAddPhpParams
- func (o *PostGoalsAddPhpParams) WithName(name string) *PostGoalsAddPhpParams
- func (o *PostGoalsAddPhpParams) WithNote(note *string) *PostGoalsAddPhpParams
- func (o *PostGoalsAddPhpParams) WithPrivate(private *int64) *PostGoalsAddPhpParams
- func (o *PostGoalsAddPhpParams) WithTimeout(timeout time.Duration) *PostGoalsAddPhpParams
- func (o *PostGoalsAddPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostGoalsAddPhpReader
- type PostGoalsAddPhpServiceUnavailable
- type PostGoalsAddPhpTooManyRequests
- type PostGoalsAddPhpUnauthorized
- type PostGoalsDeletePhpOK
- type PostGoalsDeletePhpOKBody
- func (o *PostGoalsDeletePhpOKBody) ContextValidate(ctx ccontext.Context, formats strfmt.Registry) error
- func (o *PostGoalsDeletePhpOKBody) MarshalBinary() ([]byte, error)
- func (o *PostGoalsDeletePhpOKBody) UnmarshalBinary(b []byte) error
- func (o *PostGoalsDeletePhpOKBody) Validate(formats strfmt.Registry) error
- type PostGoalsDeletePhpParams
- func NewPostGoalsDeletePhpParams() *PostGoalsDeletePhpParams
- func NewPostGoalsDeletePhpParamsWithContext(ctx ccontext.Context) *PostGoalsDeletePhpParams
- func NewPostGoalsDeletePhpParamsWithHTTPClient(client *http.Client) *PostGoalsDeletePhpParams
- func NewPostGoalsDeletePhpParamsWithTimeout(timeout time.Duration) *PostGoalsDeletePhpParams
- func (o *PostGoalsDeletePhpParams) SetContext(ctx ccontext.Context)
- func (o *PostGoalsDeletePhpParams) SetDefaults()
- func (o *PostGoalsDeletePhpParams) SetHTTPClient(client *http.Client)
- func (o *PostGoalsDeletePhpParams) SetID(id int64)
- func (o *PostGoalsDeletePhpParams) SetTimeout(timeout time.Duration)
- func (o *PostGoalsDeletePhpParams) WithContext(ctx ccontext.Context) *PostGoalsDeletePhpParams
- func (o *PostGoalsDeletePhpParams) WithDefaults() *PostGoalsDeletePhpParams
- func (o *PostGoalsDeletePhpParams) WithHTTPClient(client *http.Client) *PostGoalsDeletePhpParams
- func (o *PostGoalsDeletePhpParams) WithID(id int64) *PostGoalsDeletePhpParams
- func (o *PostGoalsDeletePhpParams) WithTimeout(timeout time.Duration) *PostGoalsDeletePhpParams
- func (o *PostGoalsDeletePhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostGoalsDeletePhpReader
- type PostGoalsDeletePhpServiceUnavailable
- type PostGoalsDeletePhpTooManyRequests
- type PostGoalsDeletePhpUnauthorized
- type PostGoalsEditPhpOK
- type PostGoalsEditPhpParams
- func NewPostGoalsEditPhpParams() *PostGoalsEditPhpParams
- func NewPostGoalsEditPhpParamsWithContext(ctx ccontext.Context) *PostGoalsEditPhpParams
- func NewPostGoalsEditPhpParamsWithHTTPClient(client *http.Client) *PostGoalsEditPhpParams
- func NewPostGoalsEditPhpParamsWithTimeout(timeout time.Duration) *PostGoalsEditPhpParams
- func (o *PostGoalsEditPhpParams) SetArchived(archived *int64)
- func (o *PostGoalsEditPhpParams) SetContext(ctx ccontext.Context)
- func (o *PostGoalsEditPhpParams) SetContributes(contributes *int64)
- func (o *PostGoalsEditPhpParams) SetDefaults()
- func (o *PostGoalsEditPhpParams) SetHTTPClient(client *http.Client)
- func (o *PostGoalsEditPhpParams) SetID(id string)
- func (o *PostGoalsEditPhpParams) SetLevel(level *int64)
- func (o *PostGoalsEditPhpParams) SetName(name *string)
- func (o *PostGoalsEditPhpParams) SetNote(note *string)
- func (o *PostGoalsEditPhpParams) SetPrivate(private *int64)
- func (o *PostGoalsEditPhpParams) SetTimeout(timeout time.Duration)
- func (o *PostGoalsEditPhpParams) WithArchived(archived *int64) *PostGoalsEditPhpParams
- func (o *PostGoalsEditPhpParams) WithContext(ctx ccontext.Context) *PostGoalsEditPhpParams
- func (o *PostGoalsEditPhpParams) WithContributes(contributes *int64) *PostGoalsEditPhpParams
- func (o *PostGoalsEditPhpParams) WithDefaults() *PostGoalsEditPhpParams
- func (o *PostGoalsEditPhpParams) WithHTTPClient(client *http.Client) *PostGoalsEditPhpParams
- func (o *PostGoalsEditPhpParams) WithID(id string) *PostGoalsEditPhpParams
- func (o *PostGoalsEditPhpParams) WithLevel(level *int64) *PostGoalsEditPhpParams
- func (o *PostGoalsEditPhpParams) WithName(name *string) *PostGoalsEditPhpParams
- func (o *PostGoalsEditPhpParams) WithNote(note *string) *PostGoalsEditPhpParams
- func (o *PostGoalsEditPhpParams) WithPrivate(private *int64) *PostGoalsEditPhpParams
- func (o *PostGoalsEditPhpParams) WithTimeout(timeout time.Duration) *PostGoalsEditPhpParams
- func (o *PostGoalsEditPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostGoalsEditPhpReader
- type PostGoalsEditPhpServiceUnavailable
- type PostGoalsEditPhpTooManyRequests
- type PostGoalsEditPhpUnauthorized
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 goal API
func (*Client) GetGoalsGetPhp ¶
func (a *Client) GetGoalsGetPhp(params *GetGoalsGetPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGoalsGetPhpOK, error)
GetGoalsGetPhp get goals get php API
func (*Client) PostGoalsAddPhp ¶
func (a *Client) PostGoalsAddPhp(params *PostGoalsAddPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostGoalsAddPhpOK, error)
PostGoalsAddPhp post goals add php API
func (*Client) PostGoalsDeletePhp ¶
func (a *Client) PostGoalsDeletePhp(params *PostGoalsDeletePhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostGoalsDeletePhpOK, error)
PostGoalsDeletePhp post goals delete php API
func (*Client) PostGoalsEditPhp ¶
func (a *Client) PostGoalsEditPhp(params *PostGoalsEditPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostGoalsEditPhpOK, error)
PostGoalsEditPhp post goals 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 { GetGoalsGetPhp(params *GetGoalsGetPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGoalsGetPhpOK, error) PostGoalsAddPhp(params *PostGoalsAddPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostGoalsAddPhpOK, error) PostGoalsDeletePhp(params *PostGoalsDeletePhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostGoalsDeletePhpOK, error) PostGoalsEditPhp(params *PostGoalsEditPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostGoalsEditPhpOK, 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 goal API client.
type GetGoalsGetPhpOK ¶
GetGoalsGetPhpOK describes a response with status code 200, with default header values.
ok
func NewGetGoalsGetPhpOK ¶
func NewGetGoalsGetPhpOK() *GetGoalsGetPhpOK
NewGetGoalsGetPhpOK creates a GetGoalsGetPhpOK with default headers values
func (*GetGoalsGetPhpOK) Error ¶
func (o *GetGoalsGetPhpOK) Error() string
func (*GetGoalsGetPhpOK) GetPayload ¶
func (o *GetGoalsGetPhpOK) GetPayload() []*models.Goal
type GetGoalsGetPhpParams ¶
type GetGoalsGetPhpParams struct { Context ccontext.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGoalsGetPhpParams contains all the parameters to send to the API endpoint
for the get goals get php operation. Typically these are written to a http.Request.
func NewGetGoalsGetPhpParams ¶
func NewGetGoalsGetPhpParams() *GetGoalsGetPhpParams
NewGetGoalsGetPhpParams creates a new GetGoalsGetPhpParams 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 NewGetGoalsGetPhpParamsWithContext ¶
func NewGetGoalsGetPhpParamsWithContext(ctx ccontext.Context) *GetGoalsGetPhpParams
NewGetGoalsGetPhpParamsWithContext creates a new GetGoalsGetPhpParams object with the ability to set a context for a request.
func NewGetGoalsGetPhpParamsWithHTTPClient ¶
func NewGetGoalsGetPhpParamsWithHTTPClient(client *http.Client) *GetGoalsGetPhpParams
NewGetGoalsGetPhpParamsWithHTTPClient creates a new GetGoalsGetPhpParams object with the ability to set a custom HTTPClient for a request.
func NewGetGoalsGetPhpParamsWithTimeout ¶
func NewGetGoalsGetPhpParamsWithTimeout(timeout time.Duration) *GetGoalsGetPhpParams
NewGetGoalsGetPhpParamsWithTimeout creates a new GetGoalsGetPhpParams object with the ability to set a timeout on a request.
func (*GetGoalsGetPhpParams) SetContext ¶
func (o *GetGoalsGetPhpParams) SetContext(ctx ccontext.Context)
SetContext adds the context to the get goals get php params
func (*GetGoalsGetPhpParams) SetDefaults ¶
func (o *GetGoalsGetPhpParams) SetDefaults()
SetDefaults hydrates default values in the get goals get php params (not the query body).
All values with no default are reset to their zero value.
func (*GetGoalsGetPhpParams) SetHTTPClient ¶
func (o *GetGoalsGetPhpParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get goals get php params
func (*GetGoalsGetPhpParams) SetTimeout ¶
func (o *GetGoalsGetPhpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get goals get php params
func (*GetGoalsGetPhpParams) WithContext ¶
func (o *GetGoalsGetPhpParams) WithContext(ctx ccontext.Context) *GetGoalsGetPhpParams
WithContext adds the context to the get goals get php params
func (*GetGoalsGetPhpParams) WithDefaults ¶
func (o *GetGoalsGetPhpParams) WithDefaults() *GetGoalsGetPhpParams
WithDefaults hydrates default values in the get goals get php params (not the query body).
All values with no default are reset to their zero value.
func (*GetGoalsGetPhpParams) WithHTTPClient ¶
func (o *GetGoalsGetPhpParams) WithHTTPClient(client *http.Client) *GetGoalsGetPhpParams
WithHTTPClient adds the HTTPClient to the get goals get php params
func (*GetGoalsGetPhpParams) WithTimeout ¶
func (o *GetGoalsGetPhpParams) WithTimeout(timeout time.Duration) *GetGoalsGetPhpParams
WithTimeout adds the timeout to the get goals get php params
func (*GetGoalsGetPhpParams) WriteToRequest ¶
func (o *GetGoalsGetPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGoalsGetPhpReader ¶
type GetGoalsGetPhpReader struct {
// contains filtered or unexported fields
}
GetGoalsGetPhpReader is a Reader for the GetGoalsGetPhp structure.
func (*GetGoalsGetPhpReader) ReadResponse ¶
func (o *GetGoalsGetPhpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGoalsGetPhpServiceUnavailable ¶
type GetGoalsGetPhpServiceUnavailable struct {
}GetGoalsGetPhpServiceUnavailable describes a response with status code 503, with default header values.
ServiceUnavailable
func NewGetGoalsGetPhpServiceUnavailable ¶
func NewGetGoalsGetPhpServiceUnavailable() *GetGoalsGetPhpServiceUnavailable
NewGetGoalsGetPhpServiceUnavailable creates a GetGoalsGetPhpServiceUnavailable with default headers values
func (*GetGoalsGetPhpServiceUnavailable) Error ¶
func (o *GetGoalsGetPhpServiceUnavailable) Error() string
func (*GetGoalsGetPhpServiceUnavailable) GetPayload ¶
func (o *GetGoalsGetPhpServiceUnavailable) GetPayload() *models.Error
type GetGoalsGetPhpTooManyRequests ¶
GetGoalsGetPhpTooManyRequests describes a response with status code 429, with default header values.
TooManyRequests
func NewGetGoalsGetPhpTooManyRequests ¶
func NewGetGoalsGetPhpTooManyRequests() *GetGoalsGetPhpTooManyRequests
NewGetGoalsGetPhpTooManyRequests creates a GetGoalsGetPhpTooManyRequests with default headers values
func (*GetGoalsGetPhpTooManyRequests) Error ¶
func (o *GetGoalsGetPhpTooManyRequests) Error() string
func (*GetGoalsGetPhpTooManyRequests) GetPayload ¶
func (o *GetGoalsGetPhpTooManyRequests) GetPayload() *models.Error
type GetGoalsGetPhpUnauthorized ¶
type GetGoalsGetPhpUnauthorized struct {
}GetGoalsGetPhpUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetGoalsGetPhpUnauthorized ¶
func NewGetGoalsGetPhpUnauthorized() *GetGoalsGetPhpUnauthorized
NewGetGoalsGetPhpUnauthorized creates a GetGoalsGetPhpUnauthorized with default headers values
func (*GetGoalsGetPhpUnauthorized) Error ¶
func (o *GetGoalsGetPhpUnauthorized) Error() string
func (*GetGoalsGetPhpUnauthorized) GetPayload ¶
func (o *GetGoalsGetPhpUnauthorized) GetPayload() *models.Error
type PostGoalsAddPhpOK ¶
PostGoalsAddPhpOK describes a response with status code 200, with default header values.
ok
func NewPostGoalsAddPhpOK ¶
func NewPostGoalsAddPhpOK() *PostGoalsAddPhpOK
NewPostGoalsAddPhpOK creates a PostGoalsAddPhpOK with default headers values
func (*PostGoalsAddPhpOK) Error ¶
func (o *PostGoalsAddPhpOK) Error() string
func (*PostGoalsAddPhpOK) GetPayload ¶
func (o *PostGoalsAddPhpOK) GetPayload() []*models.Goal
type PostGoalsAddPhpParams ¶
type PostGoalsAddPhpParams struct { // Contributes. Contributes *int64 // Level. Level *int64 // Name. Name string // Note. Note *string // Private. Private *int64 Context ccontext.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostGoalsAddPhpParams contains all the parameters to send to the API endpoint
for the post goals add php operation. Typically these are written to a http.Request.
func NewPostGoalsAddPhpParams ¶
func NewPostGoalsAddPhpParams() *PostGoalsAddPhpParams
NewPostGoalsAddPhpParams creates a new PostGoalsAddPhpParams 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 NewPostGoalsAddPhpParamsWithContext ¶
func NewPostGoalsAddPhpParamsWithContext(ctx ccontext.Context) *PostGoalsAddPhpParams
NewPostGoalsAddPhpParamsWithContext creates a new PostGoalsAddPhpParams object with the ability to set a context for a request.
func NewPostGoalsAddPhpParamsWithHTTPClient ¶
func NewPostGoalsAddPhpParamsWithHTTPClient(client *http.Client) *PostGoalsAddPhpParams
NewPostGoalsAddPhpParamsWithHTTPClient creates a new PostGoalsAddPhpParams object with the ability to set a custom HTTPClient for a request.
func NewPostGoalsAddPhpParamsWithTimeout ¶
func NewPostGoalsAddPhpParamsWithTimeout(timeout time.Duration) *PostGoalsAddPhpParams
NewPostGoalsAddPhpParamsWithTimeout creates a new PostGoalsAddPhpParams object with the ability to set a timeout on a request.
func (*PostGoalsAddPhpParams) SetContext ¶
func (o *PostGoalsAddPhpParams) SetContext(ctx ccontext.Context)
SetContext adds the context to the post goals add php params
func (*PostGoalsAddPhpParams) SetContributes ¶
func (o *PostGoalsAddPhpParams) SetContributes(contributes *int64)
SetContributes adds the contributes to the post goals add php params
func (*PostGoalsAddPhpParams) SetDefaults ¶
func (o *PostGoalsAddPhpParams) SetDefaults()
SetDefaults hydrates default values in the post goals add php params (not the query body).
All values with no default are reset to their zero value.
func (*PostGoalsAddPhpParams) SetHTTPClient ¶
func (o *PostGoalsAddPhpParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post goals add php params
func (*PostGoalsAddPhpParams) SetLevel ¶
func (o *PostGoalsAddPhpParams) SetLevel(level *int64)
SetLevel adds the level to the post goals add php params
func (*PostGoalsAddPhpParams) SetName ¶
func (o *PostGoalsAddPhpParams) SetName(name string)
SetName adds the name to the post goals add php params
func (*PostGoalsAddPhpParams) SetNote ¶
func (o *PostGoalsAddPhpParams) SetNote(note *string)
SetNote adds the note to the post goals add php params
func (*PostGoalsAddPhpParams) SetPrivate ¶
func (o *PostGoalsAddPhpParams) SetPrivate(private *int64)
SetPrivate adds the private to the post goals add php params
func (*PostGoalsAddPhpParams) SetTimeout ¶
func (o *PostGoalsAddPhpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post goals add php params
func (*PostGoalsAddPhpParams) WithContext ¶
func (o *PostGoalsAddPhpParams) WithContext(ctx ccontext.Context) *PostGoalsAddPhpParams
WithContext adds the context to the post goals add php params
func (*PostGoalsAddPhpParams) WithContributes ¶
func (o *PostGoalsAddPhpParams) WithContributes(contributes *int64) *PostGoalsAddPhpParams
WithContributes adds the contributes to the post goals add php params
func (*PostGoalsAddPhpParams) WithDefaults ¶
func (o *PostGoalsAddPhpParams) WithDefaults() *PostGoalsAddPhpParams
WithDefaults hydrates default values in the post goals add php params (not the query body).
All values with no default are reset to their zero value.
func (*PostGoalsAddPhpParams) WithHTTPClient ¶
func (o *PostGoalsAddPhpParams) WithHTTPClient(client *http.Client) *PostGoalsAddPhpParams
WithHTTPClient adds the HTTPClient to the post goals add php params
func (*PostGoalsAddPhpParams) WithLevel ¶
func (o *PostGoalsAddPhpParams) WithLevel(level *int64) *PostGoalsAddPhpParams
WithLevel adds the level to the post goals add php params
func (*PostGoalsAddPhpParams) WithName ¶
func (o *PostGoalsAddPhpParams) WithName(name string) *PostGoalsAddPhpParams
WithName adds the name to the post goals add php params
func (*PostGoalsAddPhpParams) WithNote ¶
func (o *PostGoalsAddPhpParams) WithNote(note *string) *PostGoalsAddPhpParams
WithNote adds the note to the post goals add php params
func (*PostGoalsAddPhpParams) WithPrivate ¶
func (o *PostGoalsAddPhpParams) WithPrivate(private *int64) *PostGoalsAddPhpParams
WithPrivate adds the private to the post goals add php params
func (*PostGoalsAddPhpParams) WithTimeout ¶
func (o *PostGoalsAddPhpParams) WithTimeout(timeout time.Duration) *PostGoalsAddPhpParams
WithTimeout adds the timeout to the post goals add php params
func (*PostGoalsAddPhpParams) WriteToRequest ¶
func (o *PostGoalsAddPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostGoalsAddPhpReader ¶
type PostGoalsAddPhpReader struct {
// contains filtered or unexported fields
}
PostGoalsAddPhpReader is a Reader for the PostGoalsAddPhp structure.
func (*PostGoalsAddPhpReader) ReadResponse ¶
func (o *PostGoalsAddPhpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostGoalsAddPhpServiceUnavailable ¶
type PostGoalsAddPhpServiceUnavailable struct {
}PostGoalsAddPhpServiceUnavailable describes a response with status code 503, with default header values.
ServiceUnavailable
func NewPostGoalsAddPhpServiceUnavailable ¶
func NewPostGoalsAddPhpServiceUnavailable() *PostGoalsAddPhpServiceUnavailable
NewPostGoalsAddPhpServiceUnavailable creates a PostGoalsAddPhpServiceUnavailable with default headers values
func (*PostGoalsAddPhpServiceUnavailable) Error ¶
func (o *PostGoalsAddPhpServiceUnavailable) Error() string
func (*PostGoalsAddPhpServiceUnavailable) GetPayload ¶
func (o *PostGoalsAddPhpServiceUnavailable) GetPayload() *models.Error
type PostGoalsAddPhpTooManyRequests ¶
PostGoalsAddPhpTooManyRequests describes a response with status code 429, with default header values.
TooManyRequests
func NewPostGoalsAddPhpTooManyRequests ¶
func NewPostGoalsAddPhpTooManyRequests() *PostGoalsAddPhpTooManyRequests
NewPostGoalsAddPhpTooManyRequests creates a PostGoalsAddPhpTooManyRequests with default headers values
func (*PostGoalsAddPhpTooManyRequests) Error ¶
func (o *PostGoalsAddPhpTooManyRequests) Error() string
func (*PostGoalsAddPhpTooManyRequests) GetPayload ¶
func (o *PostGoalsAddPhpTooManyRequests) GetPayload() *models.Error
type PostGoalsAddPhpUnauthorized ¶
type PostGoalsAddPhpUnauthorized struct {
}PostGoalsAddPhpUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostGoalsAddPhpUnauthorized ¶
func NewPostGoalsAddPhpUnauthorized() *PostGoalsAddPhpUnauthorized
NewPostGoalsAddPhpUnauthorized creates a PostGoalsAddPhpUnauthorized with default headers values
func (*PostGoalsAddPhpUnauthorized) Error ¶
func (o *PostGoalsAddPhpUnauthorized) Error() string
func (*PostGoalsAddPhpUnauthorized) GetPayload ¶
func (o *PostGoalsAddPhpUnauthorized) GetPayload() *models.Error
type PostGoalsDeletePhpOK ¶
type PostGoalsDeletePhpOK struct {
Payload *PostGoalsDeletePhpOKBody
}
PostGoalsDeletePhpOK describes a response with status code 200, with default header values.
ok
func NewPostGoalsDeletePhpOK ¶
func NewPostGoalsDeletePhpOK() *PostGoalsDeletePhpOK
NewPostGoalsDeletePhpOK creates a PostGoalsDeletePhpOK with default headers values
func (*PostGoalsDeletePhpOK) Error ¶
func (o *PostGoalsDeletePhpOK) Error() string
func (*PostGoalsDeletePhpOK) GetPayload ¶
func (o *PostGoalsDeletePhpOK) GetPayload() *PostGoalsDeletePhpOKBody
type PostGoalsDeletePhpOKBody ¶
type PostGoalsDeletePhpOKBody struct { // deleted Deleted int64 `json:"deleted,omitempty"` }
PostGoalsDeletePhpOKBody post goals delete php o k body swagger:model PostGoalsDeletePhpOKBody
func (*PostGoalsDeletePhpOKBody) ContextValidate ¶
func (o *PostGoalsDeletePhpOKBody) ContextValidate(ctx ccontext.Context, formats strfmt.Registry) error
ContextValidate validates this post goals delete php o k body based on context it is used
func (*PostGoalsDeletePhpOKBody) MarshalBinary ¶
func (o *PostGoalsDeletePhpOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostGoalsDeletePhpOKBody) UnmarshalBinary ¶
func (o *PostGoalsDeletePhpOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostGoalsDeletePhpParams ¶
type PostGoalsDeletePhpParams struct { // ID. ID int64 Context ccontext.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostGoalsDeletePhpParams contains all the parameters to send to the API endpoint
for the post goals delete php operation. Typically these are written to a http.Request.
func NewPostGoalsDeletePhpParams ¶
func NewPostGoalsDeletePhpParams() *PostGoalsDeletePhpParams
NewPostGoalsDeletePhpParams creates a new PostGoalsDeletePhpParams 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 NewPostGoalsDeletePhpParamsWithContext ¶
func NewPostGoalsDeletePhpParamsWithContext(ctx ccontext.Context) *PostGoalsDeletePhpParams
NewPostGoalsDeletePhpParamsWithContext creates a new PostGoalsDeletePhpParams object with the ability to set a context for a request.
func NewPostGoalsDeletePhpParamsWithHTTPClient ¶
func NewPostGoalsDeletePhpParamsWithHTTPClient(client *http.Client) *PostGoalsDeletePhpParams
NewPostGoalsDeletePhpParamsWithHTTPClient creates a new PostGoalsDeletePhpParams object with the ability to set a custom HTTPClient for a request.
func NewPostGoalsDeletePhpParamsWithTimeout ¶
func NewPostGoalsDeletePhpParamsWithTimeout(timeout time.Duration) *PostGoalsDeletePhpParams
NewPostGoalsDeletePhpParamsWithTimeout creates a new PostGoalsDeletePhpParams object with the ability to set a timeout on a request.
func (*PostGoalsDeletePhpParams) SetContext ¶
func (o *PostGoalsDeletePhpParams) SetContext(ctx ccontext.Context)
SetContext adds the context to the post goals delete php params
func (*PostGoalsDeletePhpParams) SetDefaults ¶
func (o *PostGoalsDeletePhpParams) SetDefaults()
SetDefaults hydrates default values in the post goals delete php params (not the query body).
All values with no default are reset to their zero value.
func (*PostGoalsDeletePhpParams) SetHTTPClient ¶
func (o *PostGoalsDeletePhpParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post goals delete php params
func (*PostGoalsDeletePhpParams) SetID ¶
func (o *PostGoalsDeletePhpParams) SetID(id int64)
SetID adds the id to the post goals delete php params
func (*PostGoalsDeletePhpParams) SetTimeout ¶
func (o *PostGoalsDeletePhpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post goals delete php params
func (*PostGoalsDeletePhpParams) WithContext ¶
func (o *PostGoalsDeletePhpParams) WithContext(ctx ccontext.Context) *PostGoalsDeletePhpParams
WithContext adds the context to the post goals delete php params
func (*PostGoalsDeletePhpParams) WithDefaults ¶
func (o *PostGoalsDeletePhpParams) WithDefaults() *PostGoalsDeletePhpParams
WithDefaults hydrates default values in the post goals delete php params (not the query body).
All values with no default are reset to their zero value.
func (*PostGoalsDeletePhpParams) WithHTTPClient ¶
func (o *PostGoalsDeletePhpParams) WithHTTPClient(client *http.Client) *PostGoalsDeletePhpParams
WithHTTPClient adds the HTTPClient to the post goals delete php params
func (*PostGoalsDeletePhpParams) WithID ¶
func (o *PostGoalsDeletePhpParams) WithID(id int64) *PostGoalsDeletePhpParams
WithID adds the id to the post goals delete php params
func (*PostGoalsDeletePhpParams) WithTimeout ¶
func (o *PostGoalsDeletePhpParams) WithTimeout(timeout time.Duration) *PostGoalsDeletePhpParams
WithTimeout adds the timeout to the post goals delete php params
func (*PostGoalsDeletePhpParams) WriteToRequest ¶
func (o *PostGoalsDeletePhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostGoalsDeletePhpReader ¶
type PostGoalsDeletePhpReader struct {
// contains filtered or unexported fields
}
PostGoalsDeletePhpReader is a Reader for the PostGoalsDeletePhp structure.
func (*PostGoalsDeletePhpReader) ReadResponse ¶
func (o *PostGoalsDeletePhpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostGoalsDeletePhpServiceUnavailable ¶
type PostGoalsDeletePhpServiceUnavailable struct {
}PostGoalsDeletePhpServiceUnavailable describes a response with status code 503, with default header values.
ServiceUnavailable
func NewPostGoalsDeletePhpServiceUnavailable ¶
func NewPostGoalsDeletePhpServiceUnavailable() *PostGoalsDeletePhpServiceUnavailable
NewPostGoalsDeletePhpServiceUnavailable creates a PostGoalsDeletePhpServiceUnavailable with default headers values
func (*PostGoalsDeletePhpServiceUnavailable) Error ¶
func (o *PostGoalsDeletePhpServiceUnavailable) Error() string
func (*PostGoalsDeletePhpServiceUnavailable) GetPayload ¶
func (o *PostGoalsDeletePhpServiceUnavailable) GetPayload() *models.Error
type PostGoalsDeletePhpTooManyRequests ¶
PostGoalsDeletePhpTooManyRequests describes a response with status code 429, with default header values.
TooManyRequests
func NewPostGoalsDeletePhpTooManyRequests ¶
func NewPostGoalsDeletePhpTooManyRequests() *PostGoalsDeletePhpTooManyRequests
NewPostGoalsDeletePhpTooManyRequests creates a PostGoalsDeletePhpTooManyRequests with default headers values
func (*PostGoalsDeletePhpTooManyRequests) Error ¶
func (o *PostGoalsDeletePhpTooManyRequests) Error() string
func (*PostGoalsDeletePhpTooManyRequests) GetPayload ¶
func (o *PostGoalsDeletePhpTooManyRequests) GetPayload() *models.Error
type PostGoalsDeletePhpUnauthorized ¶
type PostGoalsDeletePhpUnauthorized struct {
}PostGoalsDeletePhpUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostGoalsDeletePhpUnauthorized ¶
func NewPostGoalsDeletePhpUnauthorized() *PostGoalsDeletePhpUnauthorized
NewPostGoalsDeletePhpUnauthorized creates a PostGoalsDeletePhpUnauthorized with default headers values
func (*PostGoalsDeletePhpUnauthorized) Error ¶
func (o *PostGoalsDeletePhpUnauthorized) Error() string
func (*PostGoalsDeletePhpUnauthorized) GetPayload ¶
func (o *PostGoalsDeletePhpUnauthorized) GetPayload() *models.Error
type PostGoalsEditPhpOK ¶
PostGoalsEditPhpOK describes a response with status code 200, with default header values.
ok
func NewPostGoalsEditPhpOK ¶
func NewPostGoalsEditPhpOK() *PostGoalsEditPhpOK
NewPostGoalsEditPhpOK creates a PostGoalsEditPhpOK with default headers values
func (*PostGoalsEditPhpOK) Error ¶
func (o *PostGoalsEditPhpOK) Error() string
func (*PostGoalsEditPhpOK) GetPayload ¶
func (o *PostGoalsEditPhpOK) GetPayload() []*models.Goal
type PostGoalsEditPhpParams ¶
type PostGoalsEditPhpParams struct { // Archived. Archived *int64 // Contributes. Contributes *int64 // ID. ID string // Level. Level *int64 // Name. Name *string // Note. Note *string // Private. Private *int64 Context ccontext.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostGoalsEditPhpParams contains all the parameters to send to the API endpoint
for the post goals edit php operation. Typically these are written to a http.Request.
func NewPostGoalsEditPhpParams ¶
func NewPostGoalsEditPhpParams() *PostGoalsEditPhpParams
NewPostGoalsEditPhpParams creates a new PostGoalsEditPhpParams 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 NewPostGoalsEditPhpParamsWithContext ¶
func NewPostGoalsEditPhpParamsWithContext(ctx ccontext.Context) *PostGoalsEditPhpParams
NewPostGoalsEditPhpParamsWithContext creates a new PostGoalsEditPhpParams object with the ability to set a context for a request.
func NewPostGoalsEditPhpParamsWithHTTPClient ¶
func NewPostGoalsEditPhpParamsWithHTTPClient(client *http.Client) *PostGoalsEditPhpParams
NewPostGoalsEditPhpParamsWithHTTPClient creates a new PostGoalsEditPhpParams object with the ability to set a custom HTTPClient for a request.
func NewPostGoalsEditPhpParamsWithTimeout ¶
func NewPostGoalsEditPhpParamsWithTimeout(timeout time.Duration) *PostGoalsEditPhpParams
NewPostGoalsEditPhpParamsWithTimeout creates a new PostGoalsEditPhpParams object with the ability to set a timeout on a request.
func (*PostGoalsEditPhpParams) SetArchived ¶
func (o *PostGoalsEditPhpParams) SetArchived(archived *int64)
SetArchived adds the archived to the post goals edit php params
func (*PostGoalsEditPhpParams) SetContext ¶
func (o *PostGoalsEditPhpParams) SetContext(ctx ccontext.Context)
SetContext adds the context to the post goals edit php params
func (*PostGoalsEditPhpParams) SetContributes ¶
func (o *PostGoalsEditPhpParams) SetContributes(contributes *int64)
SetContributes adds the contributes to the post goals edit php params
func (*PostGoalsEditPhpParams) SetDefaults ¶
func (o *PostGoalsEditPhpParams) SetDefaults()
SetDefaults hydrates default values in the post goals edit php params (not the query body).
All values with no default are reset to their zero value.
func (*PostGoalsEditPhpParams) SetHTTPClient ¶
func (o *PostGoalsEditPhpParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post goals edit php params
func (*PostGoalsEditPhpParams) SetID ¶
func (o *PostGoalsEditPhpParams) SetID(id string)
SetID adds the id to the post goals edit php params
func (*PostGoalsEditPhpParams) SetLevel ¶
func (o *PostGoalsEditPhpParams) SetLevel(level *int64)
SetLevel adds the level to the post goals edit php params
func (*PostGoalsEditPhpParams) SetName ¶
func (o *PostGoalsEditPhpParams) SetName(name *string)
SetName adds the name to the post goals edit php params
func (*PostGoalsEditPhpParams) SetNote ¶
func (o *PostGoalsEditPhpParams) SetNote(note *string)
SetNote adds the note to the post goals edit php params
func (*PostGoalsEditPhpParams) SetPrivate ¶
func (o *PostGoalsEditPhpParams) SetPrivate(private *int64)
SetPrivate adds the private to the post goals edit php params
func (*PostGoalsEditPhpParams) SetTimeout ¶
func (o *PostGoalsEditPhpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post goals edit php params
func (*PostGoalsEditPhpParams) WithArchived ¶
func (o *PostGoalsEditPhpParams) WithArchived(archived *int64) *PostGoalsEditPhpParams
WithArchived adds the archived to the post goals edit php params
func (*PostGoalsEditPhpParams) WithContext ¶
func (o *PostGoalsEditPhpParams) WithContext(ctx ccontext.Context) *PostGoalsEditPhpParams
WithContext adds the context to the post goals edit php params
func (*PostGoalsEditPhpParams) WithContributes ¶
func (o *PostGoalsEditPhpParams) WithContributes(contributes *int64) *PostGoalsEditPhpParams
WithContributes adds the contributes to the post goals edit php params
func (*PostGoalsEditPhpParams) WithDefaults ¶
func (o *PostGoalsEditPhpParams) WithDefaults() *PostGoalsEditPhpParams
WithDefaults hydrates default values in the post goals edit php params (not the query body).
All values with no default are reset to their zero value.
func (*PostGoalsEditPhpParams) WithHTTPClient ¶
func (o *PostGoalsEditPhpParams) WithHTTPClient(client *http.Client) *PostGoalsEditPhpParams
WithHTTPClient adds the HTTPClient to the post goals edit php params
func (*PostGoalsEditPhpParams) WithID ¶
func (o *PostGoalsEditPhpParams) WithID(id string) *PostGoalsEditPhpParams
WithID adds the id to the post goals edit php params
func (*PostGoalsEditPhpParams) WithLevel ¶
func (o *PostGoalsEditPhpParams) WithLevel(level *int64) *PostGoalsEditPhpParams
WithLevel adds the level to the post goals edit php params
func (*PostGoalsEditPhpParams) WithName ¶
func (o *PostGoalsEditPhpParams) WithName(name *string) *PostGoalsEditPhpParams
WithName adds the name to the post goals edit php params
func (*PostGoalsEditPhpParams) WithNote ¶
func (o *PostGoalsEditPhpParams) WithNote(note *string) *PostGoalsEditPhpParams
WithNote adds the note to the post goals edit php params
func (*PostGoalsEditPhpParams) WithPrivate ¶
func (o *PostGoalsEditPhpParams) WithPrivate(private *int64) *PostGoalsEditPhpParams
WithPrivate adds the private to the post goals edit php params
func (*PostGoalsEditPhpParams) WithTimeout ¶
func (o *PostGoalsEditPhpParams) WithTimeout(timeout time.Duration) *PostGoalsEditPhpParams
WithTimeout adds the timeout to the post goals edit php params
func (*PostGoalsEditPhpParams) WriteToRequest ¶
func (o *PostGoalsEditPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostGoalsEditPhpReader ¶
type PostGoalsEditPhpReader struct {
// contains filtered or unexported fields
}
PostGoalsEditPhpReader is a Reader for the PostGoalsEditPhp structure.
func (*PostGoalsEditPhpReader) ReadResponse ¶
func (o *PostGoalsEditPhpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostGoalsEditPhpServiceUnavailable ¶
type PostGoalsEditPhpServiceUnavailable struct {
}PostGoalsEditPhpServiceUnavailable describes a response with status code 503, with default header values.
ServiceUnavailable
func NewPostGoalsEditPhpServiceUnavailable ¶
func NewPostGoalsEditPhpServiceUnavailable() *PostGoalsEditPhpServiceUnavailable
NewPostGoalsEditPhpServiceUnavailable creates a PostGoalsEditPhpServiceUnavailable with default headers values
func (*PostGoalsEditPhpServiceUnavailable) Error ¶
func (o *PostGoalsEditPhpServiceUnavailable) Error() string
func (*PostGoalsEditPhpServiceUnavailable) GetPayload ¶
func (o *PostGoalsEditPhpServiceUnavailable) GetPayload() *models.Error
type PostGoalsEditPhpTooManyRequests ¶
PostGoalsEditPhpTooManyRequests describes a response with status code 429, with default header values.
TooManyRequests
func NewPostGoalsEditPhpTooManyRequests ¶
func NewPostGoalsEditPhpTooManyRequests() *PostGoalsEditPhpTooManyRequests
NewPostGoalsEditPhpTooManyRequests creates a PostGoalsEditPhpTooManyRequests with default headers values
func (*PostGoalsEditPhpTooManyRequests) Error ¶
func (o *PostGoalsEditPhpTooManyRequests) Error() string
func (*PostGoalsEditPhpTooManyRequests) GetPayload ¶
func (o *PostGoalsEditPhpTooManyRequests) GetPayload() *models.Error
type PostGoalsEditPhpUnauthorized ¶
type PostGoalsEditPhpUnauthorized struct {
}PostGoalsEditPhpUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostGoalsEditPhpUnauthorized ¶
func NewPostGoalsEditPhpUnauthorized() *PostGoalsEditPhpUnauthorized
NewPostGoalsEditPhpUnauthorized creates a PostGoalsEditPhpUnauthorized with default headers values
func (*PostGoalsEditPhpUnauthorized) Error ¶
func (o *PostGoalsEditPhpUnauthorized) Error() string
func (*PostGoalsEditPhpUnauthorized) GetPayload ¶
func (o *PostGoalsEditPhpUnauthorized) GetPayload() *models.Error
Source Files ¶
- zz_generated_get_goals_get_php_parameters.go
- zz_generated_get_goals_get_php_responses.go
- zz_generated_goal_client.go
- zz_generated_post_goals_add_php_parameters.go
- zz_generated_post_goals_add_php_responses.go
- zz_generated_post_goals_delete_php_parameters.go
- zz_generated_post_goals_delete_php_responses.go
- zz_generated_post_goals_edit_php_parameters.go
- zz_generated_post_goals_edit_php_responses.go