Documentation ¶
Index ¶
- type BudgetAddBadRequest
- func (o *BudgetAddBadRequest) Code() int
- func (o *BudgetAddBadRequest) Error() string
- func (o *BudgetAddBadRequest) GetPayload() *models.Response
- func (o *BudgetAddBadRequest) IsClientError() bool
- func (o *BudgetAddBadRequest) IsCode(code int) bool
- func (o *BudgetAddBadRequest) IsRedirect() bool
- func (o *BudgetAddBadRequest) IsServerError() bool
- func (o *BudgetAddBadRequest) IsSuccess() bool
- func (o *BudgetAddBadRequest) String() string
- type BudgetAddInternalServerError
- func (o *BudgetAddInternalServerError) Code() int
- func (o *BudgetAddInternalServerError) Error() string
- func (o *BudgetAddInternalServerError) GetPayload() *models.Response
- func (o *BudgetAddInternalServerError) IsClientError() bool
- func (o *BudgetAddInternalServerError) IsCode(code int) bool
- func (o *BudgetAddInternalServerError) IsRedirect() bool
- func (o *BudgetAddInternalServerError) IsServerError() bool
- func (o *BudgetAddInternalServerError) IsSuccess() bool
- func (o *BudgetAddInternalServerError) String() string
- type BudgetAddOK
- func (o *BudgetAddOK) Code() int
- func (o *BudgetAddOK) Error() string
- func (o *BudgetAddOK) GetPayload() *models.Response
- func (o *BudgetAddOK) IsClientError() bool
- func (o *BudgetAddOK) IsCode(code int) bool
- func (o *BudgetAddOK) IsRedirect() bool
- func (o *BudgetAddOK) IsServerError() bool
- func (o *BudgetAddOK) IsSuccess() bool
- func (o *BudgetAddOK) String() string
- type BudgetAddParams
- func (o *BudgetAddParams) SetBody(body *models.BudgetAddRequest)
- func (o *BudgetAddParams) SetContext(ctx context.Context)
- func (o *BudgetAddParams) SetDefaults()
- func (o *BudgetAddParams) SetHTTPClient(client *http.Client)
- func (o *BudgetAddParams) SetTimeout(timeout time.Duration)
- func (o *BudgetAddParams) WithBody(body *models.BudgetAddRequest) *BudgetAddParams
- func (o *BudgetAddParams) WithContext(ctx context.Context) *BudgetAddParams
- func (o *BudgetAddParams) WithDefaults() *BudgetAddParams
- func (o *BudgetAddParams) WithHTTPClient(client *http.Client) *BudgetAddParams
- func (o *BudgetAddParams) WithTimeout(timeout time.Duration) *BudgetAddParams
- func (o *BudgetAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BudgetAddReader
- type BudgetAddUnauthorized
- func (o *BudgetAddUnauthorized) Code() int
- func (o *BudgetAddUnauthorized) Error() string
- func (o *BudgetAddUnauthorized) GetPayload() *models.Response
- func (o *BudgetAddUnauthorized) IsClientError() bool
- func (o *BudgetAddUnauthorized) IsCode(code int) bool
- func (o *BudgetAddUnauthorized) IsRedirect() bool
- func (o *BudgetAddUnauthorized) IsServerError() bool
- func (o *BudgetAddUnauthorized) IsSuccess() bool
- func (o *BudgetAddUnauthorized) String() string
- type BudgetDeleteListBadRequest
- func (o *BudgetDeleteListBadRequest) Code() int
- func (o *BudgetDeleteListBadRequest) Error() string
- func (o *BudgetDeleteListBadRequest) GetPayload() *models.Response
- func (o *BudgetDeleteListBadRequest) IsClientError() bool
- func (o *BudgetDeleteListBadRequest) IsCode(code int) bool
- func (o *BudgetDeleteListBadRequest) IsRedirect() bool
- func (o *BudgetDeleteListBadRequest) IsServerError() bool
- func (o *BudgetDeleteListBadRequest) IsSuccess() bool
- func (o *BudgetDeleteListBadRequest) String() string
- type BudgetDeleteListInternalServerError
- func (o *BudgetDeleteListInternalServerError) Code() int
- func (o *BudgetDeleteListInternalServerError) Error() string
- func (o *BudgetDeleteListInternalServerError) GetPayload() *models.Response
- func (o *BudgetDeleteListInternalServerError) IsClientError() bool
- func (o *BudgetDeleteListInternalServerError) IsCode(code int) bool
- func (o *BudgetDeleteListInternalServerError) IsRedirect() bool
- func (o *BudgetDeleteListInternalServerError) IsServerError() bool
- func (o *BudgetDeleteListInternalServerError) IsSuccess() bool
- func (o *BudgetDeleteListInternalServerError) String() string
- type BudgetDeleteListNotFound
- func (o *BudgetDeleteListNotFound) Code() int
- func (o *BudgetDeleteListNotFound) Error() string
- func (o *BudgetDeleteListNotFound) GetPayload() *models.Response
- func (o *BudgetDeleteListNotFound) IsClientError() bool
- func (o *BudgetDeleteListNotFound) IsCode(code int) bool
- func (o *BudgetDeleteListNotFound) IsRedirect() bool
- func (o *BudgetDeleteListNotFound) IsServerError() bool
- func (o *BudgetDeleteListNotFound) IsSuccess() bool
- func (o *BudgetDeleteListNotFound) String() string
- type BudgetDeleteListOK
- func (o *BudgetDeleteListOK) Code() int
- func (o *BudgetDeleteListOK) Error() string
- func (o *BudgetDeleteListOK) GetPayload() *models.Response
- func (o *BudgetDeleteListOK) IsClientError() bool
- func (o *BudgetDeleteListOK) IsCode(code int) bool
- func (o *BudgetDeleteListOK) IsRedirect() bool
- func (o *BudgetDeleteListOK) IsServerError() bool
- func (o *BudgetDeleteListOK) IsSuccess() bool
- func (o *BudgetDeleteListOK) String() string
- type BudgetDeleteListParams
- func NewBudgetDeleteListParams() *BudgetDeleteListParams
- func NewBudgetDeleteListParamsWithContext(ctx context.Context) *BudgetDeleteListParams
- func NewBudgetDeleteListParamsWithHTTPClient(client *http.Client) *BudgetDeleteListParams
- func NewBudgetDeleteListParamsWithTimeout(timeout time.Duration) *BudgetDeleteListParams
- func (o *BudgetDeleteListParams) SetContext(ctx context.Context)
- func (o *BudgetDeleteListParams) SetDefaults()
- func (o *BudgetDeleteListParams) SetHTTPClient(client *http.Client)
- func (o *BudgetDeleteListParams) SetID(id []string)
- func (o *BudgetDeleteListParams) SetTimeout(timeout time.Duration)
- func (o *BudgetDeleteListParams) WithContext(ctx context.Context) *BudgetDeleteListParams
- func (o *BudgetDeleteListParams) WithDefaults() *BudgetDeleteListParams
- func (o *BudgetDeleteListParams) WithHTTPClient(client *http.Client) *BudgetDeleteListParams
- func (o *BudgetDeleteListParams) WithID(id []string) *BudgetDeleteListParams
- func (o *BudgetDeleteListParams) WithTimeout(timeout time.Duration) *BudgetDeleteListParams
- func (o *BudgetDeleteListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BudgetDeleteListReader
- type BudgetDeleteListUnauthorized
- func (o *BudgetDeleteListUnauthorized) Code() int
- func (o *BudgetDeleteListUnauthorized) Error() string
- func (o *BudgetDeleteListUnauthorized) GetPayload() *models.Response
- func (o *BudgetDeleteListUnauthorized) IsClientError() bool
- func (o *BudgetDeleteListUnauthorized) IsCode(code int) bool
- func (o *BudgetDeleteListUnauthorized) IsRedirect() bool
- func (o *BudgetDeleteListUnauthorized) IsServerError() bool
- func (o *BudgetDeleteListUnauthorized) IsSuccess() bool
- func (o *BudgetDeleteListUnauthorized) String() string
- type BudgetFindBadRequest
- func (o *BudgetFindBadRequest) Code() int
- func (o *BudgetFindBadRequest) Error() string
- func (o *BudgetFindBadRequest) GetPayload() *models.Response
- func (o *BudgetFindBadRequest) IsClientError() bool
- func (o *BudgetFindBadRequest) IsCode(code int) bool
- func (o *BudgetFindBadRequest) IsRedirect() bool
- func (o *BudgetFindBadRequest) IsServerError() bool
- func (o *BudgetFindBadRequest) IsSuccess() bool
- func (o *BudgetFindBadRequest) String() string
- type BudgetFindInternalServerError
- func (o *BudgetFindInternalServerError) Code() int
- func (o *BudgetFindInternalServerError) Error() string
- func (o *BudgetFindInternalServerError) GetPayload() *models.Response
- func (o *BudgetFindInternalServerError) IsClientError() bool
- func (o *BudgetFindInternalServerError) IsCode(code int) bool
- func (o *BudgetFindInternalServerError) IsRedirect() bool
- func (o *BudgetFindInternalServerError) IsServerError() bool
- func (o *BudgetFindInternalServerError) IsSuccess() bool
- func (o *BudgetFindInternalServerError) String() string
- type BudgetFindOK
- func (o *BudgetFindOK) Code() int
- func (o *BudgetFindOK) Error() string
- func (o *BudgetFindOK) GetPayload() *models.BudgetFindResponse
- func (o *BudgetFindOK) IsClientError() bool
- func (o *BudgetFindOK) IsCode(code int) bool
- func (o *BudgetFindOK) IsRedirect() bool
- func (o *BudgetFindOK) IsServerError() bool
- func (o *BudgetFindOK) IsSuccess() bool
- func (o *BudgetFindOK) String() string
- type BudgetFindParams
- func (o *BudgetFindParams) SetContext(ctx context.Context)
- func (o *BudgetFindParams) SetDefaults()
- func (o *BudgetFindParams) SetHTTPClient(client *http.Client)
- func (o *BudgetFindParams) SetIdsOnly(idsOnly *bool)
- func (o *BudgetFindParams) SetOnlyIds(onlyIds *bool)
- func (o *BudgetFindParams) SetProjectID(projectID *string)
- func (o *BudgetFindParams) SetProjectTitle(projectTitle *string)
- func (o *BudgetFindParams) SetSystemID(systemID *string)
- func (o *BudgetFindParams) SetTimeout(timeout time.Duration)
- func (o *BudgetFindParams) WithContext(ctx context.Context) *BudgetFindParams
- func (o *BudgetFindParams) WithDefaults() *BudgetFindParams
- func (o *BudgetFindParams) WithHTTPClient(client *http.Client) *BudgetFindParams
- func (o *BudgetFindParams) WithIdsOnly(idsOnly *bool) *BudgetFindParams
- func (o *BudgetFindParams) WithOnlyIds(onlyIds *bool) *BudgetFindParams
- func (o *BudgetFindParams) WithProjectID(projectID *string) *BudgetFindParams
- func (o *BudgetFindParams) WithProjectTitle(projectTitle *string) *BudgetFindParams
- func (o *BudgetFindParams) WithSystemID(systemID *string) *BudgetFindParams
- func (o *BudgetFindParams) WithTimeout(timeout time.Duration) *BudgetFindParams
- func (o *BudgetFindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BudgetFindReader
- type BudgetFindUnauthorized
- func (o *BudgetFindUnauthorized) Code() int
- func (o *BudgetFindUnauthorized) Error() string
- func (o *BudgetFindUnauthorized) GetPayload() *models.Response
- func (o *BudgetFindUnauthorized) IsClientError() bool
- func (o *BudgetFindUnauthorized) IsCode(code int) bool
- func (o *BudgetFindUnauthorized) IsRedirect() bool
- func (o *BudgetFindUnauthorized) IsServerError() bool
- func (o *BudgetFindUnauthorized) IsSuccess() bool
- func (o *BudgetFindUnauthorized) String() string
- type BudgetUpdateBadRequest
- func (o *BudgetUpdateBadRequest) Code() int
- func (o *BudgetUpdateBadRequest) Error() string
- func (o *BudgetUpdateBadRequest) GetPayload() *models.Response
- func (o *BudgetUpdateBadRequest) IsClientError() bool
- func (o *BudgetUpdateBadRequest) IsCode(code int) bool
- func (o *BudgetUpdateBadRequest) IsRedirect() bool
- func (o *BudgetUpdateBadRequest) IsServerError() bool
- func (o *BudgetUpdateBadRequest) IsSuccess() bool
- func (o *BudgetUpdateBadRequest) String() string
- type BudgetUpdateInternalServerError
- func (o *BudgetUpdateInternalServerError) Code() int
- func (o *BudgetUpdateInternalServerError) Error() string
- func (o *BudgetUpdateInternalServerError) GetPayload() *models.Response
- func (o *BudgetUpdateInternalServerError) IsClientError() bool
- func (o *BudgetUpdateInternalServerError) IsCode(code int) bool
- func (o *BudgetUpdateInternalServerError) IsRedirect() bool
- func (o *BudgetUpdateInternalServerError) IsServerError() bool
- func (o *BudgetUpdateInternalServerError) IsSuccess() bool
- func (o *BudgetUpdateInternalServerError) String() string
- type BudgetUpdateOK
- func (o *BudgetUpdateOK) Code() int
- func (o *BudgetUpdateOK) Error() string
- func (o *BudgetUpdateOK) GetPayload() *models.Response
- func (o *BudgetUpdateOK) IsClientError() bool
- func (o *BudgetUpdateOK) IsCode(code int) bool
- func (o *BudgetUpdateOK) IsRedirect() bool
- func (o *BudgetUpdateOK) IsServerError() bool
- func (o *BudgetUpdateOK) IsSuccess() bool
- func (o *BudgetUpdateOK) String() string
- type BudgetUpdateParams
- func (o *BudgetUpdateParams) SetBody(body *models.BudgetUpdateRequest)
- func (o *BudgetUpdateParams) SetContext(ctx context.Context)
- func (o *BudgetUpdateParams) SetDefaults()
- func (o *BudgetUpdateParams) SetHTTPClient(client *http.Client)
- func (o *BudgetUpdateParams) SetTimeout(timeout time.Duration)
- func (o *BudgetUpdateParams) WithBody(body *models.BudgetUpdateRequest) *BudgetUpdateParams
- func (o *BudgetUpdateParams) WithContext(ctx context.Context) *BudgetUpdateParams
- func (o *BudgetUpdateParams) WithDefaults() *BudgetUpdateParams
- func (o *BudgetUpdateParams) WithHTTPClient(client *http.Client) *BudgetUpdateParams
- func (o *BudgetUpdateParams) WithTimeout(timeout time.Duration) *BudgetUpdateParams
- func (o *BudgetUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BudgetUpdateReader
- type BudgetUpdateUnauthorized
- func (o *BudgetUpdateUnauthorized) Code() int
- func (o *BudgetUpdateUnauthorized) Error() string
- func (o *BudgetUpdateUnauthorized) GetPayload() *models.Response
- func (o *BudgetUpdateUnauthorized) IsClientError() bool
- func (o *BudgetUpdateUnauthorized) IsCode(code int) bool
- func (o *BudgetUpdateUnauthorized) IsRedirect() bool
- func (o *BudgetUpdateUnauthorized) IsServerError() bool
- func (o *BudgetUpdateUnauthorized) IsSuccess() bool
- func (o *BudgetUpdateUnauthorized) String() string
- type Client
- func (a *Client) BudgetAdd(params *BudgetAddParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BudgetAddOK, error)
- func (a *Client) BudgetDeleteList(params *BudgetDeleteListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BudgetDeleteListOK, error)
- func (a *Client) BudgetFind(params *BudgetFindParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BudgetFindOK, error)
- func (a *Client) BudgetUpdate(params *BudgetUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BudgetUpdateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BudgetAddBadRequest ¶
BudgetAddBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewBudgetAddBadRequest ¶
func NewBudgetAddBadRequest() *BudgetAddBadRequest
NewBudgetAddBadRequest creates a BudgetAddBadRequest with default headers values
func (*BudgetAddBadRequest) Code ¶
func (o *BudgetAddBadRequest) Code() int
Code gets the status code for the budget add bad request response
func (*BudgetAddBadRequest) Error ¶
func (o *BudgetAddBadRequest) Error() string
func (*BudgetAddBadRequest) GetPayload ¶
func (o *BudgetAddBadRequest) GetPayload() *models.Response
func (*BudgetAddBadRequest) IsClientError ¶
func (o *BudgetAddBadRequest) IsClientError() bool
IsClientError returns true when this budget add bad request response has a 4xx status code
func (*BudgetAddBadRequest) IsCode ¶
func (o *BudgetAddBadRequest) IsCode(code int) bool
IsCode returns true when this budget add bad request response a status code equal to that given
func (*BudgetAddBadRequest) IsRedirect ¶
func (o *BudgetAddBadRequest) IsRedirect() bool
IsRedirect returns true when this budget add bad request response has a 3xx status code
func (*BudgetAddBadRequest) IsServerError ¶
func (o *BudgetAddBadRequest) IsServerError() bool
IsServerError returns true when this budget add bad request response has a 5xx status code
func (*BudgetAddBadRequest) IsSuccess ¶
func (o *BudgetAddBadRequest) IsSuccess() bool
IsSuccess returns true when this budget add bad request response has a 2xx status code
func (*BudgetAddBadRequest) String ¶
func (o *BudgetAddBadRequest) String() string
type BudgetAddInternalServerError ¶
BudgetAddInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewBudgetAddInternalServerError ¶
func NewBudgetAddInternalServerError() *BudgetAddInternalServerError
NewBudgetAddInternalServerError creates a BudgetAddInternalServerError with default headers values
func (*BudgetAddInternalServerError) Code ¶
func (o *BudgetAddInternalServerError) Code() int
Code gets the status code for the budget add internal server error response
func (*BudgetAddInternalServerError) Error ¶
func (o *BudgetAddInternalServerError) Error() string
func (*BudgetAddInternalServerError) GetPayload ¶
func (o *BudgetAddInternalServerError) GetPayload() *models.Response
func (*BudgetAddInternalServerError) IsClientError ¶
func (o *BudgetAddInternalServerError) IsClientError() bool
IsClientError returns true when this budget add internal server error response has a 4xx status code
func (*BudgetAddInternalServerError) IsCode ¶
func (o *BudgetAddInternalServerError) IsCode(code int) bool
IsCode returns true when this budget add internal server error response a status code equal to that given
func (*BudgetAddInternalServerError) IsRedirect ¶
func (o *BudgetAddInternalServerError) IsRedirect() bool
IsRedirect returns true when this budget add internal server error response has a 3xx status code
func (*BudgetAddInternalServerError) IsServerError ¶
func (o *BudgetAddInternalServerError) IsServerError() bool
IsServerError returns true when this budget add internal server error response has a 5xx status code
func (*BudgetAddInternalServerError) IsSuccess ¶
func (o *BudgetAddInternalServerError) IsSuccess() bool
IsSuccess returns true when this budget add internal server error response has a 2xx status code
func (*BudgetAddInternalServerError) String ¶
func (o *BudgetAddInternalServerError) String() string
type BudgetAddOK ¶
BudgetAddOK describes a response with status code 200, with default header values.
OK
func NewBudgetAddOK ¶
func NewBudgetAddOK() *BudgetAddOK
NewBudgetAddOK creates a BudgetAddOK with default headers values
func (*BudgetAddOK) Code ¶
func (o *BudgetAddOK) Code() int
Code gets the status code for the budget add o k response
func (*BudgetAddOK) Error ¶
func (o *BudgetAddOK) Error() string
func (*BudgetAddOK) GetPayload ¶
func (o *BudgetAddOK) GetPayload() *models.Response
func (*BudgetAddOK) IsClientError ¶
func (o *BudgetAddOK) IsClientError() bool
IsClientError returns true when this budget add o k response has a 4xx status code
func (*BudgetAddOK) IsCode ¶
func (o *BudgetAddOK) IsCode(code int) bool
IsCode returns true when this budget add o k response a status code equal to that given
func (*BudgetAddOK) IsRedirect ¶
func (o *BudgetAddOK) IsRedirect() bool
IsRedirect returns true when this budget add o k response has a 3xx status code
func (*BudgetAddOK) IsServerError ¶
func (o *BudgetAddOK) IsServerError() bool
IsServerError returns true when this budget add o k response has a 5xx status code
func (*BudgetAddOK) IsSuccess ¶
func (o *BudgetAddOK) IsSuccess() bool
IsSuccess returns true when this budget add o k response has a 2xx status code
func (*BudgetAddOK) String ¶
func (o *BudgetAddOK) String() string
type BudgetAddParams ¶
type BudgetAddParams struct { /* Body. Budget(s) to be added to CEDAR. This required input in a list of Budget documents. */ Body *models.BudgetAddRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BudgetAddParams contains all the parameters to send to the API endpoint
for the budget add operation. Typically these are written to a http.Request.
func NewBudgetAddParams ¶
func NewBudgetAddParams() *BudgetAddParams
NewBudgetAddParams creates a new BudgetAddParams 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 NewBudgetAddParamsWithContext ¶
func NewBudgetAddParamsWithContext(ctx context.Context) *BudgetAddParams
NewBudgetAddParamsWithContext creates a new BudgetAddParams object with the ability to set a context for a request.
func NewBudgetAddParamsWithHTTPClient ¶
func NewBudgetAddParamsWithHTTPClient(client *http.Client) *BudgetAddParams
NewBudgetAddParamsWithHTTPClient creates a new BudgetAddParams object with the ability to set a custom HTTPClient for a request.
func NewBudgetAddParamsWithTimeout ¶
func NewBudgetAddParamsWithTimeout(timeout time.Duration) *BudgetAddParams
NewBudgetAddParamsWithTimeout creates a new BudgetAddParams object with the ability to set a timeout on a request.
func (*BudgetAddParams) SetBody ¶
func (o *BudgetAddParams) SetBody(body *models.BudgetAddRequest)
SetBody adds the body to the budget add params
func (*BudgetAddParams) SetContext ¶
func (o *BudgetAddParams) SetContext(ctx context.Context)
SetContext adds the context to the budget add params
func (*BudgetAddParams) SetDefaults ¶
func (o *BudgetAddParams) SetDefaults()
SetDefaults hydrates default values in the budget add params (not the query body).
All values with no default are reset to their zero value.
func (*BudgetAddParams) SetHTTPClient ¶
func (o *BudgetAddParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the budget add params
func (*BudgetAddParams) SetTimeout ¶
func (o *BudgetAddParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the budget add params
func (*BudgetAddParams) WithBody ¶
func (o *BudgetAddParams) WithBody(body *models.BudgetAddRequest) *BudgetAddParams
WithBody adds the body to the budget add params
func (*BudgetAddParams) WithContext ¶
func (o *BudgetAddParams) WithContext(ctx context.Context) *BudgetAddParams
WithContext adds the context to the budget add params
func (*BudgetAddParams) WithDefaults ¶
func (o *BudgetAddParams) WithDefaults() *BudgetAddParams
WithDefaults hydrates default values in the budget add params (not the query body).
All values with no default are reset to their zero value.
func (*BudgetAddParams) WithHTTPClient ¶
func (o *BudgetAddParams) WithHTTPClient(client *http.Client) *BudgetAddParams
WithHTTPClient adds the HTTPClient to the budget add params
func (*BudgetAddParams) WithTimeout ¶
func (o *BudgetAddParams) WithTimeout(timeout time.Duration) *BudgetAddParams
WithTimeout adds the timeout to the budget add params
func (*BudgetAddParams) WriteToRequest ¶
func (o *BudgetAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BudgetAddReader ¶
type BudgetAddReader struct {
// contains filtered or unexported fields
}
BudgetAddReader is a Reader for the BudgetAdd structure.
func (*BudgetAddReader) ReadResponse ¶
func (o *BudgetAddReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BudgetAddUnauthorized ¶
type BudgetAddUnauthorized struct {
}BudgetAddUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewBudgetAddUnauthorized ¶
func NewBudgetAddUnauthorized() *BudgetAddUnauthorized
NewBudgetAddUnauthorized creates a BudgetAddUnauthorized with default headers values
func (*BudgetAddUnauthorized) Code ¶
func (o *BudgetAddUnauthorized) Code() int
Code gets the status code for the budget add unauthorized response
func (*BudgetAddUnauthorized) Error ¶
func (o *BudgetAddUnauthorized) Error() string
func (*BudgetAddUnauthorized) GetPayload ¶
func (o *BudgetAddUnauthorized) GetPayload() *models.Response
func (*BudgetAddUnauthorized) IsClientError ¶
func (o *BudgetAddUnauthorized) IsClientError() bool
IsClientError returns true when this budget add unauthorized response has a 4xx status code
func (*BudgetAddUnauthorized) IsCode ¶
func (o *BudgetAddUnauthorized) IsCode(code int) bool
IsCode returns true when this budget add unauthorized response a status code equal to that given
func (*BudgetAddUnauthorized) IsRedirect ¶
func (o *BudgetAddUnauthorized) IsRedirect() bool
IsRedirect returns true when this budget add unauthorized response has a 3xx status code
func (*BudgetAddUnauthorized) IsServerError ¶
func (o *BudgetAddUnauthorized) IsServerError() bool
IsServerError returns true when this budget add unauthorized response has a 5xx status code
func (*BudgetAddUnauthorized) IsSuccess ¶
func (o *BudgetAddUnauthorized) IsSuccess() bool
IsSuccess returns true when this budget add unauthorized response has a 2xx status code
func (*BudgetAddUnauthorized) String ¶
func (o *BudgetAddUnauthorized) String() string
type BudgetDeleteListBadRequest ¶
BudgetDeleteListBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewBudgetDeleteListBadRequest ¶
func NewBudgetDeleteListBadRequest() *BudgetDeleteListBadRequest
NewBudgetDeleteListBadRequest creates a BudgetDeleteListBadRequest with default headers values
func (*BudgetDeleteListBadRequest) Code ¶
func (o *BudgetDeleteListBadRequest) Code() int
Code gets the status code for the budget delete list bad request response
func (*BudgetDeleteListBadRequest) Error ¶
func (o *BudgetDeleteListBadRequest) Error() string
func (*BudgetDeleteListBadRequest) GetPayload ¶
func (o *BudgetDeleteListBadRequest) GetPayload() *models.Response
func (*BudgetDeleteListBadRequest) IsClientError ¶
func (o *BudgetDeleteListBadRequest) IsClientError() bool
IsClientError returns true when this budget delete list bad request response has a 4xx status code
func (*BudgetDeleteListBadRequest) IsCode ¶
func (o *BudgetDeleteListBadRequest) IsCode(code int) bool
IsCode returns true when this budget delete list bad request response a status code equal to that given
func (*BudgetDeleteListBadRequest) IsRedirect ¶
func (o *BudgetDeleteListBadRequest) IsRedirect() bool
IsRedirect returns true when this budget delete list bad request response has a 3xx status code
func (*BudgetDeleteListBadRequest) IsServerError ¶
func (o *BudgetDeleteListBadRequest) IsServerError() bool
IsServerError returns true when this budget delete list bad request response has a 5xx status code
func (*BudgetDeleteListBadRequest) IsSuccess ¶
func (o *BudgetDeleteListBadRequest) IsSuccess() bool
IsSuccess returns true when this budget delete list bad request response has a 2xx status code
func (*BudgetDeleteListBadRequest) String ¶
func (o *BudgetDeleteListBadRequest) String() string
type BudgetDeleteListInternalServerError ¶
BudgetDeleteListInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewBudgetDeleteListInternalServerError ¶
func NewBudgetDeleteListInternalServerError() *BudgetDeleteListInternalServerError
NewBudgetDeleteListInternalServerError creates a BudgetDeleteListInternalServerError with default headers values
func (*BudgetDeleteListInternalServerError) Code ¶
func (o *BudgetDeleteListInternalServerError) Code() int
Code gets the status code for the budget delete list internal server error response
func (*BudgetDeleteListInternalServerError) Error ¶
func (o *BudgetDeleteListInternalServerError) Error() string
func (*BudgetDeleteListInternalServerError) GetPayload ¶
func (o *BudgetDeleteListInternalServerError) GetPayload() *models.Response
func (*BudgetDeleteListInternalServerError) IsClientError ¶
func (o *BudgetDeleteListInternalServerError) IsClientError() bool
IsClientError returns true when this budget delete list internal server error response has a 4xx status code
func (*BudgetDeleteListInternalServerError) IsCode ¶
func (o *BudgetDeleteListInternalServerError) IsCode(code int) bool
IsCode returns true when this budget delete list internal server error response a status code equal to that given
func (*BudgetDeleteListInternalServerError) IsRedirect ¶
func (o *BudgetDeleteListInternalServerError) IsRedirect() bool
IsRedirect returns true when this budget delete list internal server error response has a 3xx status code
func (*BudgetDeleteListInternalServerError) IsServerError ¶
func (o *BudgetDeleteListInternalServerError) IsServerError() bool
IsServerError returns true when this budget delete list internal server error response has a 5xx status code
func (*BudgetDeleteListInternalServerError) IsSuccess ¶
func (o *BudgetDeleteListInternalServerError) IsSuccess() bool
IsSuccess returns true when this budget delete list internal server error response has a 2xx status code
func (*BudgetDeleteListInternalServerError) String ¶
func (o *BudgetDeleteListInternalServerError) String() string
type BudgetDeleteListNotFound ¶
BudgetDeleteListNotFound describes a response with status code 404, with default header values.
Not Found
func NewBudgetDeleteListNotFound ¶
func NewBudgetDeleteListNotFound() *BudgetDeleteListNotFound
NewBudgetDeleteListNotFound creates a BudgetDeleteListNotFound with default headers values
func (*BudgetDeleteListNotFound) Code ¶
func (o *BudgetDeleteListNotFound) Code() int
Code gets the status code for the budget delete list not found response
func (*BudgetDeleteListNotFound) Error ¶
func (o *BudgetDeleteListNotFound) Error() string
func (*BudgetDeleteListNotFound) GetPayload ¶
func (o *BudgetDeleteListNotFound) GetPayload() *models.Response
func (*BudgetDeleteListNotFound) IsClientError ¶
func (o *BudgetDeleteListNotFound) IsClientError() bool
IsClientError returns true when this budget delete list not found response has a 4xx status code
func (*BudgetDeleteListNotFound) IsCode ¶
func (o *BudgetDeleteListNotFound) IsCode(code int) bool
IsCode returns true when this budget delete list not found response a status code equal to that given
func (*BudgetDeleteListNotFound) IsRedirect ¶
func (o *BudgetDeleteListNotFound) IsRedirect() bool
IsRedirect returns true when this budget delete list not found response has a 3xx status code
func (*BudgetDeleteListNotFound) IsServerError ¶
func (o *BudgetDeleteListNotFound) IsServerError() bool
IsServerError returns true when this budget delete list not found response has a 5xx status code
func (*BudgetDeleteListNotFound) IsSuccess ¶
func (o *BudgetDeleteListNotFound) IsSuccess() bool
IsSuccess returns true when this budget delete list not found response has a 2xx status code
func (*BudgetDeleteListNotFound) String ¶
func (o *BudgetDeleteListNotFound) String() string
type BudgetDeleteListOK ¶
BudgetDeleteListOK describes a response with status code 200, with default header values.
OK
func NewBudgetDeleteListOK ¶
func NewBudgetDeleteListOK() *BudgetDeleteListOK
NewBudgetDeleteListOK creates a BudgetDeleteListOK with default headers values
func (*BudgetDeleteListOK) Code ¶
func (o *BudgetDeleteListOK) Code() int
Code gets the status code for the budget delete list o k response
func (*BudgetDeleteListOK) Error ¶
func (o *BudgetDeleteListOK) Error() string
func (*BudgetDeleteListOK) GetPayload ¶
func (o *BudgetDeleteListOK) GetPayload() *models.Response
func (*BudgetDeleteListOK) IsClientError ¶
func (o *BudgetDeleteListOK) IsClientError() bool
IsClientError returns true when this budget delete list o k response has a 4xx status code
func (*BudgetDeleteListOK) IsCode ¶
func (o *BudgetDeleteListOK) IsCode(code int) bool
IsCode returns true when this budget delete list o k response a status code equal to that given
func (*BudgetDeleteListOK) IsRedirect ¶
func (o *BudgetDeleteListOK) IsRedirect() bool
IsRedirect returns true when this budget delete list o k response has a 3xx status code
func (*BudgetDeleteListOK) IsServerError ¶
func (o *BudgetDeleteListOK) IsServerError() bool
IsServerError returns true when this budget delete list o k response has a 5xx status code
func (*BudgetDeleteListOK) IsSuccess ¶
func (o *BudgetDeleteListOK) IsSuccess() bool
IsSuccess returns true when this budget delete list o k response has a 2xx status code
func (*BudgetDeleteListOK) String ¶
func (o *BudgetDeleteListOK) String() string
type BudgetDeleteListParams ¶
type BudgetDeleteListParams struct { /* ID. An array of budget ID's that are to be deleted. */ ID []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BudgetDeleteListParams contains all the parameters to send to the API endpoint
for the budget delete list operation. Typically these are written to a http.Request.
func NewBudgetDeleteListParams ¶
func NewBudgetDeleteListParams() *BudgetDeleteListParams
NewBudgetDeleteListParams creates a new BudgetDeleteListParams 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 NewBudgetDeleteListParamsWithContext ¶
func NewBudgetDeleteListParamsWithContext(ctx context.Context) *BudgetDeleteListParams
NewBudgetDeleteListParamsWithContext creates a new BudgetDeleteListParams object with the ability to set a context for a request.
func NewBudgetDeleteListParamsWithHTTPClient ¶
func NewBudgetDeleteListParamsWithHTTPClient(client *http.Client) *BudgetDeleteListParams
NewBudgetDeleteListParamsWithHTTPClient creates a new BudgetDeleteListParams object with the ability to set a custom HTTPClient for a request.
func NewBudgetDeleteListParamsWithTimeout ¶
func NewBudgetDeleteListParamsWithTimeout(timeout time.Duration) *BudgetDeleteListParams
NewBudgetDeleteListParamsWithTimeout creates a new BudgetDeleteListParams object with the ability to set a timeout on a request.
func (*BudgetDeleteListParams) SetContext ¶
func (o *BudgetDeleteListParams) SetContext(ctx context.Context)
SetContext adds the context to the budget delete list params
func (*BudgetDeleteListParams) SetDefaults ¶
func (o *BudgetDeleteListParams) SetDefaults()
SetDefaults hydrates default values in the budget delete list params (not the query body).
All values with no default are reset to their zero value.
func (*BudgetDeleteListParams) SetHTTPClient ¶
func (o *BudgetDeleteListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the budget delete list params
func (*BudgetDeleteListParams) SetID ¶
func (o *BudgetDeleteListParams) SetID(id []string)
SetID adds the id to the budget delete list params
func (*BudgetDeleteListParams) SetTimeout ¶
func (o *BudgetDeleteListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the budget delete list params
func (*BudgetDeleteListParams) WithContext ¶
func (o *BudgetDeleteListParams) WithContext(ctx context.Context) *BudgetDeleteListParams
WithContext adds the context to the budget delete list params
func (*BudgetDeleteListParams) WithDefaults ¶
func (o *BudgetDeleteListParams) WithDefaults() *BudgetDeleteListParams
WithDefaults hydrates default values in the budget delete list params (not the query body).
All values with no default are reset to their zero value.
func (*BudgetDeleteListParams) WithHTTPClient ¶
func (o *BudgetDeleteListParams) WithHTTPClient(client *http.Client) *BudgetDeleteListParams
WithHTTPClient adds the HTTPClient to the budget delete list params
func (*BudgetDeleteListParams) WithID ¶
func (o *BudgetDeleteListParams) WithID(id []string) *BudgetDeleteListParams
WithID adds the id to the budget delete list params
func (*BudgetDeleteListParams) WithTimeout ¶
func (o *BudgetDeleteListParams) WithTimeout(timeout time.Duration) *BudgetDeleteListParams
WithTimeout adds the timeout to the budget delete list params
func (*BudgetDeleteListParams) WriteToRequest ¶
func (o *BudgetDeleteListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BudgetDeleteListReader ¶
type BudgetDeleteListReader struct {
// contains filtered or unexported fields
}
BudgetDeleteListReader is a Reader for the BudgetDeleteList structure.
func (*BudgetDeleteListReader) ReadResponse ¶
func (o *BudgetDeleteListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BudgetDeleteListUnauthorized ¶
type BudgetDeleteListUnauthorized struct {
}BudgetDeleteListUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewBudgetDeleteListUnauthorized ¶
func NewBudgetDeleteListUnauthorized() *BudgetDeleteListUnauthorized
NewBudgetDeleteListUnauthorized creates a BudgetDeleteListUnauthorized with default headers values
func (*BudgetDeleteListUnauthorized) Code ¶
func (o *BudgetDeleteListUnauthorized) Code() int
Code gets the status code for the budget delete list unauthorized response
func (*BudgetDeleteListUnauthorized) Error ¶
func (o *BudgetDeleteListUnauthorized) Error() string
func (*BudgetDeleteListUnauthorized) GetPayload ¶
func (o *BudgetDeleteListUnauthorized) GetPayload() *models.Response
func (*BudgetDeleteListUnauthorized) IsClientError ¶
func (o *BudgetDeleteListUnauthorized) IsClientError() bool
IsClientError returns true when this budget delete list unauthorized response has a 4xx status code
func (*BudgetDeleteListUnauthorized) IsCode ¶
func (o *BudgetDeleteListUnauthorized) IsCode(code int) bool
IsCode returns true when this budget delete list unauthorized response a status code equal to that given
func (*BudgetDeleteListUnauthorized) IsRedirect ¶
func (o *BudgetDeleteListUnauthorized) IsRedirect() bool
IsRedirect returns true when this budget delete list unauthorized response has a 3xx status code
func (*BudgetDeleteListUnauthorized) IsServerError ¶
func (o *BudgetDeleteListUnauthorized) IsServerError() bool
IsServerError returns true when this budget delete list unauthorized response has a 5xx status code
func (*BudgetDeleteListUnauthorized) IsSuccess ¶
func (o *BudgetDeleteListUnauthorized) IsSuccess() bool
IsSuccess returns true when this budget delete list unauthorized response has a 2xx status code
func (*BudgetDeleteListUnauthorized) String ¶
func (o *BudgetDeleteListUnauthorized) String() string
type BudgetFindBadRequest ¶
BudgetFindBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewBudgetFindBadRequest ¶
func NewBudgetFindBadRequest() *BudgetFindBadRequest
NewBudgetFindBadRequest creates a BudgetFindBadRequest with default headers values
func (*BudgetFindBadRequest) Code ¶
func (o *BudgetFindBadRequest) Code() int
Code gets the status code for the budget find bad request response
func (*BudgetFindBadRequest) Error ¶
func (o *BudgetFindBadRequest) Error() string
func (*BudgetFindBadRequest) GetPayload ¶
func (o *BudgetFindBadRequest) GetPayload() *models.Response
func (*BudgetFindBadRequest) IsClientError ¶
func (o *BudgetFindBadRequest) IsClientError() bool
IsClientError returns true when this budget find bad request response has a 4xx status code
func (*BudgetFindBadRequest) IsCode ¶
func (o *BudgetFindBadRequest) IsCode(code int) bool
IsCode returns true when this budget find bad request response a status code equal to that given
func (*BudgetFindBadRequest) IsRedirect ¶
func (o *BudgetFindBadRequest) IsRedirect() bool
IsRedirect returns true when this budget find bad request response has a 3xx status code
func (*BudgetFindBadRequest) IsServerError ¶
func (o *BudgetFindBadRequest) IsServerError() bool
IsServerError returns true when this budget find bad request response has a 5xx status code
func (*BudgetFindBadRequest) IsSuccess ¶
func (o *BudgetFindBadRequest) IsSuccess() bool
IsSuccess returns true when this budget find bad request response has a 2xx status code
func (*BudgetFindBadRequest) String ¶
func (o *BudgetFindBadRequest) String() string
type BudgetFindInternalServerError ¶
BudgetFindInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewBudgetFindInternalServerError ¶
func NewBudgetFindInternalServerError() *BudgetFindInternalServerError
NewBudgetFindInternalServerError creates a BudgetFindInternalServerError with default headers values
func (*BudgetFindInternalServerError) Code ¶
func (o *BudgetFindInternalServerError) Code() int
Code gets the status code for the budget find internal server error response
func (*BudgetFindInternalServerError) Error ¶
func (o *BudgetFindInternalServerError) Error() string
func (*BudgetFindInternalServerError) GetPayload ¶
func (o *BudgetFindInternalServerError) GetPayload() *models.Response
func (*BudgetFindInternalServerError) IsClientError ¶
func (o *BudgetFindInternalServerError) IsClientError() bool
IsClientError returns true when this budget find internal server error response has a 4xx status code
func (*BudgetFindInternalServerError) IsCode ¶
func (o *BudgetFindInternalServerError) IsCode(code int) bool
IsCode returns true when this budget find internal server error response a status code equal to that given
func (*BudgetFindInternalServerError) IsRedirect ¶
func (o *BudgetFindInternalServerError) IsRedirect() bool
IsRedirect returns true when this budget find internal server error response has a 3xx status code
func (*BudgetFindInternalServerError) IsServerError ¶
func (o *BudgetFindInternalServerError) IsServerError() bool
IsServerError returns true when this budget find internal server error response has a 5xx status code
func (*BudgetFindInternalServerError) IsSuccess ¶
func (o *BudgetFindInternalServerError) IsSuccess() bool
IsSuccess returns true when this budget find internal server error response has a 2xx status code
func (*BudgetFindInternalServerError) String ¶
func (o *BudgetFindInternalServerError) String() string
type BudgetFindOK ¶
type BudgetFindOK struct {
Payload *models.BudgetFindResponse
}
BudgetFindOK describes a response with status code 200, with default header values.
OK
func NewBudgetFindOK ¶
func NewBudgetFindOK() *BudgetFindOK
NewBudgetFindOK creates a BudgetFindOK with default headers values
func (*BudgetFindOK) Code ¶
func (o *BudgetFindOK) Code() int
Code gets the status code for the budget find o k response
func (*BudgetFindOK) Error ¶
func (o *BudgetFindOK) Error() string
func (*BudgetFindOK) GetPayload ¶
func (o *BudgetFindOK) GetPayload() *models.BudgetFindResponse
func (*BudgetFindOK) IsClientError ¶
func (o *BudgetFindOK) IsClientError() bool
IsClientError returns true when this budget find o k response has a 4xx status code
func (*BudgetFindOK) IsCode ¶
func (o *BudgetFindOK) IsCode(code int) bool
IsCode returns true when this budget find o k response a status code equal to that given
func (*BudgetFindOK) IsRedirect ¶
func (o *BudgetFindOK) IsRedirect() bool
IsRedirect returns true when this budget find o k response has a 3xx status code
func (*BudgetFindOK) IsServerError ¶
func (o *BudgetFindOK) IsServerError() bool
IsServerError returns true when this budget find o k response has a 5xx status code
func (*BudgetFindOK) IsSuccess ¶
func (o *BudgetFindOK) IsSuccess() bool
IsSuccess returns true when this budget find o k response has a 2xx status code
func (*BudgetFindOK) String ¶
func (o *BudgetFindOK) String() string
type BudgetFindParams ¶
type BudgetFindParams struct { /* IdsOnly. Whether the call will return simply the IDs. If not set, the response will also include projectId, systemId, fundingId and funding. */ IdsOnly *bool /* OnlyIds. Whether the call will return simply the IDs. If not set, the response will also include projectId, systemId, fundingId and funding. */ OnlyIds *bool /* ProjectID. Project Id string to search. Adding this parameter will instruct the interface to only return the system matching the projectId. */ ProjectID *string /* ProjectTitle. Project Title string to search. Adding this parameter will instruct the interface to only return the system matching the systemId. */ ProjectTitle *string /* SystemID. ID of the system that the budget is associated with. Adding this parameter will instruct the interface to only return the system matching the systemId. */ SystemID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BudgetFindParams contains all the parameters to send to the API endpoint
for the budget find operation. Typically these are written to a http.Request.
func NewBudgetFindParams ¶
func NewBudgetFindParams() *BudgetFindParams
NewBudgetFindParams creates a new BudgetFindParams 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 NewBudgetFindParamsWithContext ¶
func NewBudgetFindParamsWithContext(ctx context.Context) *BudgetFindParams
NewBudgetFindParamsWithContext creates a new BudgetFindParams object with the ability to set a context for a request.
func NewBudgetFindParamsWithHTTPClient ¶
func NewBudgetFindParamsWithHTTPClient(client *http.Client) *BudgetFindParams
NewBudgetFindParamsWithHTTPClient creates a new BudgetFindParams object with the ability to set a custom HTTPClient for a request.
func NewBudgetFindParamsWithTimeout ¶
func NewBudgetFindParamsWithTimeout(timeout time.Duration) *BudgetFindParams
NewBudgetFindParamsWithTimeout creates a new BudgetFindParams object with the ability to set a timeout on a request.
func (*BudgetFindParams) SetContext ¶
func (o *BudgetFindParams) SetContext(ctx context.Context)
SetContext adds the context to the budget find params
func (*BudgetFindParams) SetDefaults ¶
func (o *BudgetFindParams) SetDefaults()
SetDefaults hydrates default values in the budget find params (not the query body).
All values with no default are reset to their zero value.
func (*BudgetFindParams) SetHTTPClient ¶
func (o *BudgetFindParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the budget find params
func (*BudgetFindParams) SetIdsOnly ¶
func (o *BudgetFindParams) SetIdsOnly(idsOnly *bool)
SetIdsOnly adds the idsOnly to the budget find params
func (*BudgetFindParams) SetOnlyIds ¶
func (o *BudgetFindParams) SetOnlyIds(onlyIds *bool)
SetOnlyIds adds the onlyIds to the budget find params
func (*BudgetFindParams) SetProjectID ¶
func (o *BudgetFindParams) SetProjectID(projectID *string)
SetProjectID adds the projectId to the budget find params
func (*BudgetFindParams) SetProjectTitle ¶
func (o *BudgetFindParams) SetProjectTitle(projectTitle *string)
SetProjectTitle adds the projectTitle to the budget find params
func (*BudgetFindParams) SetSystemID ¶
func (o *BudgetFindParams) SetSystemID(systemID *string)
SetSystemID adds the systemId to the budget find params
func (*BudgetFindParams) SetTimeout ¶
func (o *BudgetFindParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the budget find params
func (*BudgetFindParams) WithContext ¶
func (o *BudgetFindParams) WithContext(ctx context.Context) *BudgetFindParams
WithContext adds the context to the budget find params
func (*BudgetFindParams) WithDefaults ¶
func (o *BudgetFindParams) WithDefaults() *BudgetFindParams
WithDefaults hydrates default values in the budget find params (not the query body).
All values with no default are reset to their zero value.
func (*BudgetFindParams) WithHTTPClient ¶
func (o *BudgetFindParams) WithHTTPClient(client *http.Client) *BudgetFindParams
WithHTTPClient adds the HTTPClient to the budget find params
func (*BudgetFindParams) WithIdsOnly ¶
func (o *BudgetFindParams) WithIdsOnly(idsOnly *bool) *BudgetFindParams
WithIdsOnly adds the idsOnly to the budget find params
func (*BudgetFindParams) WithOnlyIds ¶
func (o *BudgetFindParams) WithOnlyIds(onlyIds *bool) *BudgetFindParams
WithOnlyIds adds the onlyIds to the budget find params
func (*BudgetFindParams) WithProjectID ¶
func (o *BudgetFindParams) WithProjectID(projectID *string) *BudgetFindParams
WithProjectID adds the projectID to the budget find params
func (*BudgetFindParams) WithProjectTitle ¶
func (o *BudgetFindParams) WithProjectTitle(projectTitle *string) *BudgetFindParams
WithProjectTitle adds the projectTitle to the budget find params
func (*BudgetFindParams) WithSystemID ¶
func (o *BudgetFindParams) WithSystemID(systemID *string) *BudgetFindParams
WithSystemID adds the systemID to the budget find params
func (*BudgetFindParams) WithTimeout ¶
func (o *BudgetFindParams) WithTimeout(timeout time.Duration) *BudgetFindParams
WithTimeout adds the timeout to the budget find params
func (*BudgetFindParams) WriteToRequest ¶
func (o *BudgetFindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BudgetFindReader ¶
type BudgetFindReader struct {
// contains filtered or unexported fields
}
BudgetFindReader is a Reader for the BudgetFind structure.
func (*BudgetFindReader) ReadResponse ¶
func (o *BudgetFindReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BudgetFindUnauthorized ¶
type BudgetFindUnauthorized struct {
}BudgetFindUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewBudgetFindUnauthorized ¶
func NewBudgetFindUnauthorized() *BudgetFindUnauthorized
NewBudgetFindUnauthorized creates a BudgetFindUnauthorized with default headers values
func (*BudgetFindUnauthorized) Code ¶
func (o *BudgetFindUnauthorized) Code() int
Code gets the status code for the budget find unauthorized response
func (*BudgetFindUnauthorized) Error ¶
func (o *BudgetFindUnauthorized) Error() string
func (*BudgetFindUnauthorized) GetPayload ¶
func (o *BudgetFindUnauthorized) GetPayload() *models.Response
func (*BudgetFindUnauthorized) IsClientError ¶
func (o *BudgetFindUnauthorized) IsClientError() bool
IsClientError returns true when this budget find unauthorized response has a 4xx status code
func (*BudgetFindUnauthorized) IsCode ¶
func (o *BudgetFindUnauthorized) IsCode(code int) bool
IsCode returns true when this budget find unauthorized response a status code equal to that given
func (*BudgetFindUnauthorized) IsRedirect ¶
func (o *BudgetFindUnauthorized) IsRedirect() bool
IsRedirect returns true when this budget find unauthorized response has a 3xx status code
func (*BudgetFindUnauthorized) IsServerError ¶
func (o *BudgetFindUnauthorized) IsServerError() bool
IsServerError returns true when this budget find unauthorized response has a 5xx status code
func (*BudgetFindUnauthorized) IsSuccess ¶
func (o *BudgetFindUnauthorized) IsSuccess() bool
IsSuccess returns true when this budget find unauthorized response has a 2xx status code
func (*BudgetFindUnauthorized) String ¶
func (o *BudgetFindUnauthorized) String() string
type BudgetUpdateBadRequest ¶
BudgetUpdateBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewBudgetUpdateBadRequest ¶
func NewBudgetUpdateBadRequest() *BudgetUpdateBadRequest
NewBudgetUpdateBadRequest creates a BudgetUpdateBadRequest with default headers values
func (*BudgetUpdateBadRequest) Code ¶
func (o *BudgetUpdateBadRequest) Code() int
Code gets the status code for the budget update bad request response
func (*BudgetUpdateBadRequest) Error ¶
func (o *BudgetUpdateBadRequest) Error() string
func (*BudgetUpdateBadRequest) GetPayload ¶
func (o *BudgetUpdateBadRequest) GetPayload() *models.Response
func (*BudgetUpdateBadRequest) IsClientError ¶
func (o *BudgetUpdateBadRequest) IsClientError() bool
IsClientError returns true when this budget update bad request response has a 4xx status code
func (*BudgetUpdateBadRequest) IsCode ¶
func (o *BudgetUpdateBadRequest) IsCode(code int) bool
IsCode returns true when this budget update bad request response a status code equal to that given
func (*BudgetUpdateBadRequest) IsRedirect ¶
func (o *BudgetUpdateBadRequest) IsRedirect() bool
IsRedirect returns true when this budget update bad request response has a 3xx status code
func (*BudgetUpdateBadRequest) IsServerError ¶
func (o *BudgetUpdateBadRequest) IsServerError() bool
IsServerError returns true when this budget update bad request response has a 5xx status code
func (*BudgetUpdateBadRequest) IsSuccess ¶
func (o *BudgetUpdateBadRequest) IsSuccess() bool
IsSuccess returns true when this budget update bad request response has a 2xx status code
func (*BudgetUpdateBadRequest) String ¶
func (o *BudgetUpdateBadRequest) String() string
type BudgetUpdateInternalServerError ¶
BudgetUpdateInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewBudgetUpdateInternalServerError ¶
func NewBudgetUpdateInternalServerError() *BudgetUpdateInternalServerError
NewBudgetUpdateInternalServerError creates a BudgetUpdateInternalServerError with default headers values
func (*BudgetUpdateInternalServerError) Code ¶
func (o *BudgetUpdateInternalServerError) Code() int
Code gets the status code for the budget update internal server error response
func (*BudgetUpdateInternalServerError) Error ¶
func (o *BudgetUpdateInternalServerError) Error() string
func (*BudgetUpdateInternalServerError) GetPayload ¶
func (o *BudgetUpdateInternalServerError) GetPayload() *models.Response
func (*BudgetUpdateInternalServerError) IsClientError ¶
func (o *BudgetUpdateInternalServerError) IsClientError() bool
IsClientError returns true when this budget update internal server error response has a 4xx status code
func (*BudgetUpdateInternalServerError) IsCode ¶
func (o *BudgetUpdateInternalServerError) IsCode(code int) bool
IsCode returns true when this budget update internal server error response a status code equal to that given
func (*BudgetUpdateInternalServerError) IsRedirect ¶
func (o *BudgetUpdateInternalServerError) IsRedirect() bool
IsRedirect returns true when this budget update internal server error response has a 3xx status code
func (*BudgetUpdateInternalServerError) IsServerError ¶
func (o *BudgetUpdateInternalServerError) IsServerError() bool
IsServerError returns true when this budget update internal server error response has a 5xx status code
func (*BudgetUpdateInternalServerError) IsSuccess ¶
func (o *BudgetUpdateInternalServerError) IsSuccess() bool
IsSuccess returns true when this budget update internal server error response has a 2xx status code
func (*BudgetUpdateInternalServerError) String ¶
func (o *BudgetUpdateInternalServerError) String() string
type BudgetUpdateOK ¶
BudgetUpdateOK describes a response with status code 200, with default header values.
OK
func NewBudgetUpdateOK ¶
func NewBudgetUpdateOK() *BudgetUpdateOK
NewBudgetUpdateOK creates a BudgetUpdateOK with default headers values
func (*BudgetUpdateOK) Code ¶
func (o *BudgetUpdateOK) Code() int
Code gets the status code for the budget update o k response
func (*BudgetUpdateOK) Error ¶
func (o *BudgetUpdateOK) Error() string
func (*BudgetUpdateOK) GetPayload ¶
func (o *BudgetUpdateOK) GetPayload() *models.Response
func (*BudgetUpdateOK) IsClientError ¶
func (o *BudgetUpdateOK) IsClientError() bool
IsClientError returns true when this budget update o k response has a 4xx status code
func (*BudgetUpdateOK) IsCode ¶
func (o *BudgetUpdateOK) IsCode(code int) bool
IsCode returns true when this budget update o k response a status code equal to that given
func (*BudgetUpdateOK) IsRedirect ¶
func (o *BudgetUpdateOK) IsRedirect() bool
IsRedirect returns true when this budget update o k response has a 3xx status code
func (*BudgetUpdateOK) IsServerError ¶
func (o *BudgetUpdateOK) IsServerError() bool
IsServerError returns true when this budget update o k response has a 5xx status code
func (*BudgetUpdateOK) IsSuccess ¶
func (o *BudgetUpdateOK) IsSuccess() bool
IsSuccess returns true when this budget update o k response has a 2xx status code
func (*BudgetUpdateOK) String ¶
func (o *BudgetUpdateOK) String() string
type BudgetUpdateParams ¶
type BudgetUpdateParams struct { /* Body. Budgets to be updated in CEDAR. This required input in a list of Budget documents (id, projectId, systemId, fundingId and funding). */ Body *models.BudgetUpdateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BudgetUpdateParams contains all the parameters to send to the API endpoint
for the budget update operation. Typically these are written to a http.Request.
func NewBudgetUpdateParams ¶
func NewBudgetUpdateParams() *BudgetUpdateParams
NewBudgetUpdateParams creates a new BudgetUpdateParams 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 NewBudgetUpdateParamsWithContext ¶
func NewBudgetUpdateParamsWithContext(ctx context.Context) *BudgetUpdateParams
NewBudgetUpdateParamsWithContext creates a new BudgetUpdateParams object with the ability to set a context for a request.
func NewBudgetUpdateParamsWithHTTPClient ¶
func NewBudgetUpdateParamsWithHTTPClient(client *http.Client) *BudgetUpdateParams
NewBudgetUpdateParamsWithHTTPClient creates a new BudgetUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewBudgetUpdateParamsWithTimeout ¶
func NewBudgetUpdateParamsWithTimeout(timeout time.Duration) *BudgetUpdateParams
NewBudgetUpdateParamsWithTimeout creates a new BudgetUpdateParams object with the ability to set a timeout on a request.
func (*BudgetUpdateParams) SetBody ¶
func (o *BudgetUpdateParams) SetBody(body *models.BudgetUpdateRequest)
SetBody adds the body to the budget update params
func (*BudgetUpdateParams) SetContext ¶
func (o *BudgetUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the budget update params
func (*BudgetUpdateParams) SetDefaults ¶
func (o *BudgetUpdateParams) SetDefaults()
SetDefaults hydrates default values in the budget update params (not the query body).
All values with no default are reset to their zero value.
func (*BudgetUpdateParams) SetHTTPClient ¶
func (o *BudgetUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the budget update params
func (*BudgetUpdateParams) SetTimeout ¶
func (o *BudgetUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the budget update params
func (*BudgetUpdateParams) WithBody ¶
func (o *BudgetUpdateParams) WithBody(body *models.BudgetUpdateRequest) *BudgetUpdateParams
WithBody adds the body to the budget update params
func (*BudgetUpdateParams) WithContext ¶
func (o *BudgetUpdateParams) WithContext(ctx context.Context) *BudgetUpdateParams
WithContext adds the context to the budget update params
func (*BudgetUpdateParams) WithDefaults ¶
func (o *BudgetUpdateParams) WithDefaults() *BudgetUpdateParams
WithDefaults hydrates default values in the budget update params (not the query body).
All values with no default are reset to their zero value.
func (*BudgetUpdateParams) WithHTTPClient ¶
func (o *BudgetUpdateParams) WithHTTPClient(client *http.Client) *BudgetUpdateParams
WithHTTPClient adds the HTTPClient to the budget update params
func (*BudgetUpdateParams) WithTimeout ¶
func (o *BudgetUpdateParams) WithTimeout(timeout time.Duration) *BudgetUpdateParams
WithTimeout adds the timeout to the budget update params
func (*BudgetUpdateParams) WriteToRequest ¶
func (o *BudgetUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BudgetUpdateReader ¶
type BudgetUpdateReader struct {
// contains filtered or unexported fields
}
BudgetUpdateReader is a Reader for the BudgetUpdate structure.
func (*BudgetUpdateReader) ReadResponse ¶
func (o *BudgetUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BudgetUpdateUnauthorized ¶
type BudgetUpdateUnauthorized struct {
}BudgetUpdateUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewBudgetUpdateUnauthorized ¶
func NewBudgetUpdateUnauthorized() *BudgetUpdateUnauthorized
NewBudgetUpdateUnauthorized creates a BudgetUpdateUnauthorized with default headers values
func (*BudgetUpdateUnauthorized) Code ¶
func (o *BudgetUpdateUnauthorized) Code() int
Code gets the status code for the budget update unauthorized response
func (*BudgetUpdateUnauthorized) Error ¶
func (o *BudgetUpdateUnauthorized) Error() string
func (*BudgetUpdateUnauthorized) GetPayload ¶
func (o *BudgetUpdateUnauthorized) GetPayload() *models.Response
func (*BudgetUpdateUnauthorized) IsClientError ¶
func (o *BudgetUpdateUnauthorized) IsClientError() bool
IsClientError returns true when this budget update unauthorized response has a 4xx status code
func (*BudgetUpdateUnauthorized) IsCode ¶
func (o *BudgetUpdateUnauthorized) IsCode(code int) bool
IsCode returns true when this budget update unauthorized response a status code equal to that given
func (*BudgetUpdateUnauthorized) IsRedirect ¶
func (o *BudgetUpdateUnauthorized) IsRedirect() bool
IsRedirect returns true when this budget update unauthorized response has a 3xx status code
func (*BudgetUpdateUnauthorized) IsServerError ¶
func (o *BudgetUpdateUnauthorized) IsServerError() bool
IsServerError returns true when this budget update unauthorized response has a 5xx status code
func (*BudgetUpdateUnauthorized) IsSuccess ¶
func (o *BudgetUpdateUnauthorized) IsSuccess() bool
IsSuccess returns true when this budget update unauthorized response has a 2xx status code
func (*BudgetUpdateUnauthorized) String ¶
func (o *BudgetUpdateUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for budget API
func (*Client) BudgetAdd ¶
func (a *Client) BudgetAdd(params *BudgetAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BudgetAddOK, error)
BudgetAdd adds new budget s to the alfabet system this interface takes an array of one or more budget documents id project Id system Id funding Id and funding
Add new budget(s) to the Alfabet system. This interface takes an array of one or more budgets (id, projectId, systemId, fundingId and funding).
func (*Client) BudgetDeleteList ¶
func (a *Client) BudgetDeleteList(params *BudgetDeleteListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BudgetDeleteListOK, error)
BudgetDeleteList deletes a list of budgets based on an array of budget ids
Deletes a list of budgets based on an array of budget ids.
func (*Client) BudgetFind ¶
func (a *Client) BudgetFind(params *BudgetFindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BudgetFindOK, error)
BudgetFind retrieves a list of budgets based on query criteria listed in the parameters section passing a system Id will cause the interface to return the budget s for just that system setting only ids to true will only return the id s whereas if not set the response will also include project Id system Id funding Id and funding this interface has a limit of 5000 records
Retrieve a list of budgets based on query criteria listed in the parameters section. Passing a SystemId will cause the interface to return the budget(s) for just that system. Setting onlyIds to true will only return the id's, whereas if not set, the response will also include projectId, systemId, fundingId and funding. This interface has a limit of 5000 records.
func (*Client) BudgetUpdate ¶
func (a *Client) BudgetUpdate(params *BudgetUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BudgetUpdateOK, error)
BudgetUpdate updates a existing budget with alfabet the input requires an array of one or more budget documents id project Id system Id funding Id and funding
Update a existing budget with Alfabet. The input requires an array of one or more budget documents (id, projectId, systemId, fundingId and funding).
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 { BudgetAdd(params *BudgetAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BudgetAddOK, error) BudgetDeleteList(params *BudgetDeleteListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BudgetDeleteListOK, error) BudgetFind(params *BudgetFindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BudgetFindOK, error) BudgetUpdate(params *BudgetUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BudgetUpdateOK, 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 budget API client.