Documentation
¶
Index ¶
- type Client
- func (a *Client) GETPositionsForOrganization(params *GETPositionsForOrganizationParams, ...) (*GETPositionsForOrganizationOK, *GETPositionsForOrganizationAccepted, error)
- func (a *Client) GETSumForOrganization(params *GETSumForOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*GETSumForOrganizationOK, *GETSumForOrganizationAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GETPositionsForOrganizationAccepted
- type GETPositionsForOrganizationForbidden
- type GETPositionsForOrganizationInternalServerError
- type GETPositionsForOrganizationMethodNotAllowed
- type GETPositionsForOrganizationNotAcceptable
- type GETPositionsForOrganizationNotFound
- type GETPositionsForOrganizationOK
- type GETPositionsForOrganizationParams
- func NewGETPositionsForOrganizationParams() *GETPositionsForOrganizationParams
- func NewGETPositionsForOrganizationParamsWithContext(ctx context.Context) *GETPositionsForOrganizationParams
- func NewGETPositionsForOrganizationParamsWithHTTPClient(client *http.Client) *GETPositionsForOrganizationParams
- func NewGETPositionsForOrganizationParamsWithTimeout(timeout time.Duration) *GETPositionsForOrganizationParams
- func (o *GETPositionsForOrganizationParams) SetContext(ctx context.Context)
- func (o *GETPositionsForOrganizationParams) SetFromDate(fromDate *strfmt.DateTime)
- func (o *GETPositionsForOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *GETPositionsForOrganizationParams) SetOrganizationID(organizationID string)
- func (o *GETPositionsForOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *GETPositionsForOrganizationParams) SetToDate(toDate *strfmt.DateTime)
- func (o *GETPositionsForOrganizationParams) WithContext(ctx context.Context) *GETPositionsForOrganizationParams
- func (o *GETPositionsForOrganizationParams) WithFromDate(fromDate *strfmt.DateTime) *GETPositionsForOrganizationParams
- func (o *GETPositionsForOrganizationParams) WithHTTPClient(client *http.Client) *GETPositionsForOrganizationParams
- func (o *GETPositionsForOrganizationParams) WithOrganizationID(organizationID string) *GETPositionsForOrganizationParams
- func (o *GETPositionsForOrganizationParams) WithTimeout(timeout time.Duration) *GETPositionsForOrganizationParams
- func (o *GETPositionsForOrganizationParams) WithToDate(toDate *strfmt.DateTime) *GETPositionsForOrganizationParams
- func (o *GETPositionsForOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GETPositionsForOrganizationReader
- type GETPositionsForOrganizationUnauthorized
- type GETPositionsForOrganizationUnsupportedMediaType
- type GETSumForOrganizationAccepted
- type GETSumForOrganizationForbidden
- type GETSumForOrganizationInternalServerError
- type GETSumForOrganizationMethodNotAllowed
- type GETSumForOrganizationNotAcceptable
- type GETSumForOrganizationNotFound
- type GETSumForOrganizationOK
- type GETSumForOrganizationParams
- func NewGETSumForOrganizationParams() *GETSumForOrganizationParams
- func NewGETSumForOrganizationParamsWithContext(ctx context.Context) *GETSumForOrganizationParams
- func NewGETSumForOrganizationParamsWithHTTPClient(client *http.Client) *GETSumForOrganizationParams
- func NewGETSumForOrganizationParamsWithTimeout(timeout time.Duration) *GETSumForOrganizationParams
- func (o *GETSumForOrganizationParams) SetContext(ctx context.Context)
- func (o *GETSumForOrganizationParams) SetFromDate(fromDate *strfmt.DateTime)
- func (o *GETSumForOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *GETSumForOrganizationParams) SetOrganizationID(organizationID string)
- func (o *GETSumForOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *GETSumForOrganizationParams) SetToDate(toDate *strfmt.DateTime)
- func (o *GETSumForOrganizationParams) WithContext(ctx context.Context) *GETSumForOrganizationParams
- func (o *GETSumForOrganizationParams) WithFromDate(fromDate *strfmt.DateTime) *GETSumForOrganizationParams
- func (o *GETSumForOrganizationParams) WithHTTPClient(client *http.Client) *GETSumForOrganizationParams
- func (o *GETSumForOrganizationParams) WithOrganizationID(organizationID string) *GETSumForOrganizationParams
- func (o *GETSumForOrganizationParams) WithTimeout(timeout time.Duration) *GETSumForOrganizationParams
- func (o *GETSumForOrganizationParams) WithToDate(toDate *strfmt.DateTime) *GETSumForOrganizationParams
- func (o *GETSumForOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GETSumForOrganizationReader
- type GETSumForOrganizationUnauthorized
- type GETSumForOrganizationUnsupportedMediaType
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 billing API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new billing API client.
func (*Client) GETPositionsForOrganization ¶
func (a *Client) GETPositionsForOrganization(params *GETPositionsForOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*GETPositionsForOrganizationOK, *GETPositionsForOrganizationAccepted, error)
GETPositionsForOrganization Gets billing positions for a given organization
func (*Client) GETSumForOrganization ¶
func (a *Client) GETSumForOrganization(params *GETSumForOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*GETSumForOrganizationOK, *GETSumForOrganizationAccepted, error)
GETSumForOrganization Gets billing amount of services for a given organization
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GETPositionsForOrganizationAccepted ¶
type GETPositionsForOrganizationAccepted struct {
}
GETPositionsForOrganizationAccepted handles this case with default header values.
Accepted
func NewGETPositionsForOrganizationAccepted ¶
func NewGETPositionsForOrganizationAccepted() *GETPositionsForOrganizationAccepted
NewGETPositionsForOrganizationAccepted creates a GETPositionsForOrganizationAccepted with default headers values
func (*GETPositionsForOrganizationAccepted) Error ¶
func (o *GETPositionsForOrganizationAccepted) Error() string
type GETPositionsForOrganizationForbidden ¶
type GETPositionsForOrganizationForbidden struct {
Payload *api_models.APIError
}
GETPositionsForOrganizationForbidden handles this case with default header values.
Forbidden
func NewGETPositionsForOrganizationForbidden ¶
func NewGETPositionsForOrganizationForbidden() *GETPositionsForOrganizationForbidden
NewGETPositionsForOrganizationForbidden creates a GETPositionsForOrganizationForbidden with default headers values
func (*GETPositionsForOrganizationForbidden) Error ¶
func (o *GETPositionsForOrganizationForbidden) Error() string
type GETPositionsForOrganizationInternalServerError ¶
type GETPositionsForOrganizationInternalServerError struct {
Payload *api_models.APIError
}
GETPositionsForOrganizationInternalServerError handles this case with default header values.
Internal Server Error
func NewGETPositionsForOrganizationInternalServerError ¶
func NewGETPositionsForOrganizationInternalServerError() *GETPositionsForOrganizationInternalServerError
NewGETPositionsForOrganizationInternalServerError creates a GETPositionsForOrganizationInternalServerError with default headers values
func (*GETPositionsForOrganizationInternalServerError) Error ¶
func (o *GETPositionsForOrganizationInternalServerError) Error() string
type GETPositionsForOrganizationMethodNotAllowed ¶
type GETPositionsForOrganizationMethodNotAllowed struct {
Payload *api_models.APIError
}
GETPositionsForOrganizationMethodNotAllowed handles this case with default header values.
Method not allowed
func NewGETPositionsForOrganizationMethodNotAllowed ¶
func NewGETPositionsForOrganizationMethodNotAllowed() *GETPositionsForOrganizationMethodNotAllowed
NewGETPositionsForOrganizationMethodNotAllowed creates a GETPositionsForOrganizationMethodNotAllowed with default headers values
func (*GETPositionsForOrganizationMethodNotAllowed) Error ¶
func (o *GETPositionsForOrganizationMethodNotAllowed) Error() string
type GETPositionsForOrganizationNotAcceptable ¶
type GETPositionsForOrganizationNotAcceptable struct {
Payload *api_models.APIError
}
GETPositionsForOrganizationNotAcceptable handles this case with default header values.
Not Acceptable
func NewGETPositionsForOrganizationNotAcceptable ¶
func NewGETPositionsForOrganizationNotAcceptable() *GETPositionsForOrganizationNotAcceptable
NewGETPositionsForOrganizationNotAcceptable creates a GETPositionsForOrganizationNotAcceptable with default headers values
func (*GETPositionsForOrganizationNotAcceptable) Error ¶
func (o *GETPositionsForOrganizationNotAcceptable) Error() string
type GETPositionsForOrganizationNotFound ¶
type GETPositionsForOrganizationNotFound struct {
Payload *api_models.APIError
}
GETPositionsForOrganizationNotFound handles this case with default header values.
Not Found
func NewGETPositionsForOrganizationNotFound ¶
func NewGETPositionsForOrganizationNotFound() *GETPositionsForOrganizationNotFound
NewGETPositionsForOrganizationNotFound creates a GETPositionsForOrganizationNotFound with default headers values
func (*GETPositionsForOrganizationNotFound) Error ¶
func (o *GETPositionsForOrganizationNotFound) Error() string
type GETPositionsForOrganizationOK ¶
type GETPositionsForOrganizationOK struct {
Payload []*api_models.BillingPosition
}
GETPositionsForOrganizationOK handles this case with default header values.
OK
func NewGETPositionsForOrganizationOK ¶
func NewGETPositionsForOrganizationOK() *GETPositionsForOrganizationOK
NewGETPositionsForOrganizationOK creates a GETPositionsForOrganizationOK with default headers values
func (*GETPositionsForOrganizationOK) Error ¶
func (o *GETPositionsForOrganizationOK) Error() string
type GETPositionsForOrganizationParams ¶
type GETPositionsForOrganizationParams struct {
/*FromDate
Billing start date
*/
FromDate *strfmt.DateTime
/*OrganizationID
The organization to compute the billing information for
*/
OrganizationID string
/*ToDate
Billing end date
*/
ToDate *strfmt.DateTime
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GETPositionsForOrganizationParams contains all the parameters to send to the API endpoint for the get positions for organization operation typically these are written to a http.Request
func NewGETPositionsForOrganizationParams ¶
func NewGETPositionsForOrganizationParams() *GETPositionsForOrganizationParams
NewGETPositionsForOrganizationParams creates a new GETPositionsForOrganizationParams object with the default values initialized.
func NewGETPositionsForOrganizationParamsWithContext ¶
func NewGETPositionsForOrganizationParamsWithContext(ctx context.Context) *GETPositionsForOrganizationParams
NewGETPositionsForOrganizationParamsWithContext creates a new GETPositionsForOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewGETPositionsForOrganizationParamsWithHTTPClient ¶
func NewGETPositionsForOrganizationParamsWithHTTPClient(client *http.Client) *GETPositionsForOrganizationParams
NewGETPositionsForOrganizationParamsWithHTTPClient creates a new GETPositionsForOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGETPositionsForOrganizationParamsWithTimeout ¶
func NewGETPositionsForOrganizationParamsWithTimeout(timeout time.Duration) *GETPositionsForOrganizationParams
NewGETPositionsForOrganizationParamsWithTimeout creates a new GETPositionsForOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*GETPositionsForOrganizationParams) SetContext ¶
func (o *GETPositionsForOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the get positions for organization params
func (*GETPositionsForOrganizationParams) SetFromDate ¶
func (o *GETPositionsForOrganizationParams) SetFromDate(fromDate *strfmt.DateTime)
SetFromDate adds the fromDate to the get positions for organization params
func (*GETPositionsForOrganizationParams) SetHTTPClient ¶
func (o *GETPositionsForOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get positions for organization params
func (*GETPositionsForOrganizationParams) SetOrganizationID ¶
func (o *GETPositionsForOrganizationParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the get positions for organization params
func (*GETPositionsForOrganizationParams) SetTimeout ¶
func (o *GETPositionsForOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get positions for organization params
func (*GETPositionsForOrganizationParams) SetToDate ¶
func (o *GETPositionsForOrganizationParams) SetToDate(toDate *strfmt.DateTime)
SetToDate adds the toDate to the get positions for organization params
func (*GETPositionsForOrganizationParams) WithContext ¶
func (o *GETPositionsForOrganizationParams) WithContext(ctx context.Context) *GETPositionsForOrganizationParams
WithContext adds the context to the get positions for organization params
func (*GETPositionsForOrganizationParams) WithFromDate ¶
func (o *GETPositionsForOrganizationParams) WithFromDate(fromDate *strfmt.DateTime) *GETPositionsForOrganizationParams
WithFromDate adds the fromDate to the get positions for organization params
func (*GETPositionsForOrganizationParams) WithHTTPClient ¶
func (o *GETPositionsForOrganizationParams) WithHTTPClient(client *http.Client) *GETPositionsForOrganizationParams
WithHTTPClient adds the HTTPClient to the get positions for organization params
func (*GETPositionsForOrganizationParams) WithOrganizationID ¶
func (o *GETPositionsForOrganizationParams) WithOrganizationID(organizationID string) *GETPositionsForOrganizationParams
WithOrganizationID adds the organizationID to the get positions for organization params
func (*GETPositionsForOrganizationParams) WithTimeout ¶
func (o *GETPositionsForOrganizationParams) WithTimeout(timeout time.Duration) *GETPositionsForOrganizationParams
WithTimeout adds the timeout to the get positions for organization params
func (*GETPositionsForOrganizationParams) WithToDate ¶
func (o *GETPositionsForOrganizationParams) WithToDate(toDate *strfmt.DateTime) *GETPositionsForOrganizationParams
WithToDate adds the toDate to the get positions for organization params
func (*GETPositionsForOrganizationParams) WriteToRequest ¶
func (o *GETPositionsForOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GETPositionsForOrganizationReader ¶
type GETPositionsForOrganizationReader struct {
// contains filtered or unexported fields
}
GETPositionsForOrganizationReader is a Reader for the GETPositionsForOrganization structure.
func (*GETPositionsForOrganizationReader) ReadResponse ¶
func (o *GETPositionsForOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GETPositionsForOrganizationUnauthorized ¶
type GETPositionsForOrganizationUnauthorized struct {
}
GETPositionsForOrganizationUnauthorized handles this case with default header values.
Unauthorized
func NewGETPositionsForOrganizationUnauthorized ¶
func NewGETPositionsForOrganizationUnauthorized() *GETPositionsForOrganizationUnauthorized
NewGETPositionsForOrganizationUnauthorized creates a GETPositionsForOrganizationUnauthorized with default headers values
func (*GETPositionsForOrganizationUnauthorized) Error ¶
func (o *GETPositionsForOrganizationUnauthorized) Error() string
type GETPositionsForOrganizationUnsupportedMediaType ¶
type GETPositionsForOrganizationUnsupportedMediaType struct {
Payload *api_models.APIError
}
GETPositionsForOrganizationUnsupportedMediaType handles this case with default header values.
Unsupported Media Type
func NewGETPositionsForOrganizationUnsupportedMediaType ¶
func NewGETPositionsForOrganizationUnsupportedMediaType() *GETPositionsForOrganizationUnsupportedMediaType
NewGETPositionsForOrganizationUnsupportedMediaType creates a GETPositionsForOrganizationUnsupportedMediaType with default headers values
func (*GETPositionsForOrganizationUnsupportedMediaType) Error ¶
func (o *GETPositionsForOrganizationUnsupportedMediaType) Error() string
type GETSumForOrganizationAccepted ¶
type GETSumForOrganizationAccepted struct {
}
GETSumForOrganizationAccepted handles this case with default header values.
Accepted
func NewGETSumForOrganizationAccepted ¶
func NewGETSumForOrganizationAccepted() *GETSumForOrganizationAccepted
NewGETSumForOrganizationAccepted creates a GETSumForOrganizationAccepted with default headers values
func (*GETSumForOrganizationAccepted) Error ¶
func (o *GETSumForOrganizationAccepted) Error() string
type GETSumForOrganizationForbidden ¶
type GETSumForOrganizationForbidden struct {
Payload *api_models.APIError
}
GETSumForOrganizationForbidden handles this case with default header values.
Forbidden
func NewGETSumForOrganizationForbidden ¶
func NewGETSumForOrganizationForbidden() *GETSumForOrganizationForbidden
NewGETSumForOrganizationForbidden creates a GETSumForOrganizationForbidden with default headers values
func (*GETSumForOrganizationForbidden) Error ¶
func (o *GETSumForOrganizationForbidden) Error() string
type GETSumForOrganizationInternalServerError ¶
type GETSumForOrganizationInternalServerError struct {
Payload *api_models.APIError
}
GETSumForOrganizationInternalServerError handles this case with default header values.
Internal Server Error
func NewGETSumForOrganizationInternalServerError ¶
func NewGETSumForOrganizationInternalServerError() *GETSumForOrganizationInternalServerError
NewGETSumForOrganizationInternalServerError creates a GETSumForOrganizationInternalServerError with default headers values
func (*GETSumForOrganizationInternalServerError) Error ¶
func (o *GETSumForOrganizationInternalServerError) Error() string
type GETSumForOrganizationMethodNotAllowed ¶
type GETSumForOrganizationMethodNotAllowed struct {
Payload *api_models.APIError
}
GETSumForOrganizationMethodNotAllowed handles this case with default header values.
Method not allowed
func NewGETSumForOrganizationMethodNotAllowed ¶
func NewGETSumForOrganizationMethodNotAllowed() *GETSumForOrganizationMethodNotAllowed
NewGETSumForOrganizationMethodNotAllowed creates a GETSumForOrganizationMethodNotAllowed with default headers values
func (*GETSumForOrganizationMethodNotAllowed) Error ¶
func (o *GETSumForOrganizationMethodNotAllowed) Error() string
type GETSumForOrganizationNotAcceptable ¶
type GETSumForOrganizationNotAcceptable struct {
Payload *api_models.APIError
}
GETSumForOrganizationNotAcceptable handles this case with default header values.
Not Acceptable
func NewGETSumForOrganizationNotAcceptable ¶
func NewGETSumForOrganizationNotAcceptable() *GETSumForOrganizationNotAcceptable
NewGETSumForOrganizationNotAcceptable creates a GETSumForOrganizationNotAcceptable with default headers values
func (*GETSumForOrganizationNotAcceptable) Error ¶
func (o *GETSumForOrganizationNotAcceptable) Error() string
type GETSumForOrganizationNotFound ¶
type GETSumForOrganizationNotFound struct {
Payload *api_models.APIError
}
GETSumForOrganizationNotFound handles this case with default header values.
Not Found
func NewGETSumForOrganizationNotFound ¶
func NewGETSumForOrganizationNotFound() *GETSumForOrganizationNotFound
NewGETSumForOrganizationNotFound creates a GETSumForOrganizationNotFound with default headers values
func (*GETSumForOrganizationNotFound) Error ¶
func (o *GETSumForOrganizationNotFound) Error() string
type GETSumForOrganizationOK ¶
type GETSumForOrganizationOK struct {
Payload *api_models.ServiceCosts
}
GETSumForOrganizationOK handles this case with default header values.
OK
func NewGETSumForOrganizationOK ¶
func NewGETSumForOrganizationOK() *GETSumForOrganizationOK
NewGETSumForOrganizationOK creates a GETSumForOrganizationOK with default headers values
func (*GETSumForOrganizationOK) Error ¶
func (o *GETSumForOrganizationOK) Error() string
type GETSumForOrganizationParams ¶
type GETSumForOrganizationParams struct {
/*FromDate
Billing start date
*/
FromDate *strfmt.DateTime
/*OrganizationID
The organization to compute the billing information for
*/
OrganizationID string
/*ToDate
Billing end date
*/
ToDate *strfmt.DateTime
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GETSumForOrganizationParams contains all the parameters to send to the API endpoint for the get sum for organization operation typically these are written to a http.Request
func NewGETSumForOrganizationParams ¶
func NewGETSumForOrganizationParams() *GETSumForOrganizationParams
NewGETSumForOrganizationParams creates a new GETSumForOrganizationParams object with the default values initialized.
func NewGETSumForOrganizationParamsWithContext ¶
func NewGETSumForOrganizationParamsWithContext(ctx context.Context) *GETSumForOrganizationParams
NewGETSumForOrganizationParamsWithContext creates a new GETSumForOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewGETSumForOrganizationParamsWithHTTPClient ¶
func NewGETSumForOrganizationParamsWithHTTPClient(client *http.Client) *GETSumForOrganizationParams
NewGETSumForOrganizationParamsWithHTTPClient creates a new GETSumForOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGETSumForOrganizationParamsWithTimeout ¶
func NewGETSumForOrganizationParamsWithTimeout(timeout time.Duration) *GETSumForOrganizationParams
NewGETSumForOrganizationParamsWithTimeout creates a new GETSumForOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*GETSumForOrganizationParams) SetContext ¶
func (o *GETSumForOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the get sum for organization params
func (*GETSumForOrganizationParams) SetFromDate ¶
func (o *GETSumForOrganizationParams) SetFromDate(fromDate *strfmt.DateTime)
SetFromDate adds the fromDate to the get sum for organization params
func (*GETSumForOrganizationParams) SetHTTPClient ¶
func (o *GETSumForOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get sum for organization params
func (*GETSumForOrganizationParams) SetOrganizationID ¶
func (o *GETSumForOrganizationParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the get sum for organization params
func (*GETSumForOrganizationParams) SetTimeout ¶
func (o *GETSumForOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get sum for organization params
func (*GETSumForOrganizationParams) SetToDate ¶
func (o *GETSumForOrganizationParams) SetToDate(toDate *strfmt.DateTime)
SetToDate adds the toDate to the get sum for organization params
func (*GETSumForOrganizationParams) WithContext ¶
func (o *GETSumForOrganizationParams) WithContext(ctx context.Context) *GETSumForOrganizationParams
WithContext adds the context to the get sum for organization params
func (*GETSumForOrganizationParams) WithFromDate ¶
func (o *GETSumForOrganizationParams) WithFromDate(fromDate *strfmt.DateTime) *GETSumForOrganizationParams
WithFromDate adds the fromDate to the get sum for organization params
func (*GETSumForOrganizationParams) WithHTTPClient ¶
func (o *GETSumForOrganizationParams) WithHTTPClient(client *http.Client) *GETSumForOrganizationParams
WithHTTPClient adds the HTTPClient to the get sum for organization params
func (*GETSumForOrganizationParams) WithOrganizationID ¶
func (o *GETSumForOrganizationParams) WithOrganizationID(organizationID string) *GETSumForOrganizationParams
WithOrganizationID adds the organizationID to the get sum for organization params
func (*GETSumForOrganizationParams) WithTimeout ¶
func (o *GETSumForOrganizationParams) WithTimeout(timeout time.Duration) *GETSumForOrganizationParams
WithTimeout adds the timeout to the get sum for organization params
func (*GETSumForOrganizationParams) WithToDate ¶
func (o *GETSumForOrganizationParams) WithToDate(toDate *strfmt.DateTime) *GETSumForOrganizationParams
WithToDate adds the toDate to the get sum for organization params
func (*GETSumForOrganizationParams) WriteToRequest ¶
func (o *GETSumForOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GETSumForOrganizationReader ¶
type GETSumForOrganizationReader struct {
// contains filtered or unexported fields
}
GETSumForOrganizationReader is a Reader for the GETSumForOrganization structure.
func (*GETSumForOrganizationReader) ReadResponse ¶
func (o *GETSumForOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GETSumForOrganizationUnauthorized ¶
type GETSumForOrganizationUnauthorized struct {
}
GETSumForOrganizationUnauthorized handles this case with default header values.
Unauthorized
func NewGETSumForOrganizationUnauthorized ¶
func NewGETSumForOrganizationUnauthorized() *GETSumForOrganizationUnauthorized
NewGETSumForOrganizationUnauthorized creates a GETSumForOrganizationUnauthorized with default headers values
func (*GETSumForOrganizationUnauthorized) Error ¶
func (o *GETSumForOrganizationUnauthorized) Error() string
type GETSumForOrganizationUnsupportedMediaType ¶
type GETSumForOrganizationUnsupportedMediaType struct {
Payload *api_models.APIError
}
GETSumForOrganizationUnsupportedMediaType handles this case with default header values.
Unsupported Media Type
func NewGETSumForOrganizationUnsupportedMediaType ¶
func NewGETSumForOrganizationUnsupportedMediaType() *GETSumForOrganizationUnsupportedMediaType
NewGETSumForOrganizationUnsupportedMediaType creates a GETSumForOrganizationUnsupportedMediaType with default headers values
func (*GETSumForOrganizationUnsupportedMediaType) Error ¶
func (o *GETSumForOrganizationUnsupportedMediaType) Error() string