Documentation ¶
Index ¶
- type Client
- type ClientService
- type ListOrgInvoicesBadRequest
- type ListOrgInvoicesForbidden
- type ListOrgInvoicesNotFound
- type ListOrgInvoicesOK
- type ListOrgInvoicesParams
- func NewListOrgInvoicesParams() *ListOrgInvoicesParams
- func NewListOrgInvoicesParamsWithContext(ctx context.Context) *ListOrgInvoicesParams
- func NewListOrgInvoicesParamsWithHTTPClient(client *http.Client) *ListOrgInvoicesParams
- func NewListOrgInvoicesParamsWithTimeout(timeout time.Duration) *ListOrgInvoicesParams
- func (o *ListOrgInvoicesParams) SetContext(ctx context.Context)
- func (o *ListOrgInvoicesParams) SetHTTPClient(client *http.Client)
- func (o *ListOrgInvoicesParams) SetOrgname(orgname string)
- func (o *ListOrgInvoicesParams) SetTimeout(timeout time.Duration)
- func (o *ListOrgInvoicesParams) WithContext(ctx context.Context) *ListOrgInvoicesParams
- func (o *ListOrgInvoicesParams) WithHTTPClient(client *http.Client) *ListOrgInvoicesParams
- func (o *ListOrgInvoicesParams) WithOrgname(orgname string) *ListOrgInvoicesParams
- func (o *ListOrgInvoicesParams) WithTimeout(timeout time.Duration) *ListOrgInvoicesParams
- func (o *ListOrgInvoicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListOrgInvoicesReader
- type ListOrgInvoicesUnauthorized
- type ListPlansBadRequest
- type ListPlansForbidden
- type ListPlansNotFound
- type ListPlansOK
- type ListPlansParams
- func (o *ListPlansParams) SetContext(ctx context.Context)
- func (o *ListPlansParams) SetHTTPClient(client *http.Client)
- func (o *ListPlansParams) SetTimeout(timeout time.Duration)
- func (o *ListPlansParams) WithContext(ctx context.Context) *ListPlansParams
- func (o *ListPlansParams) WithHTTPClient(client *http.Client) *ListPlansParams
- func (o *ListPlansParams) WithTimeout(timeout time.Duration) *ListPlansParams
- func (o *ListPlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPlansReader
- type ListPlansUnauthorized
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 (*Client) ListOrgInvoices ¶
func (a *Client) ListOrgInvoices(params *ListOrgInvoicesParams, authInfo runtime.ClientAuthInfoWriter) (*ListOrgInvoicesOK, error)
ListOrgInvoices List the invoices for the specified orgnaization.
func (*Client) ListPlans ¶
func (a *Client) ListPlans(params *ListPlansParams) (*ListPlansOK, error)
ListPlans List the avaialble plans.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { ListOrgInvoices(params *ListOrgInvoicesParams, authInfo runtime.ClientAuthInfoWriter) (*ListOrgInvoicesOK, error) ListPlans(params *ListPlansParams) (*ListPlansOK, 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 billing API client.
type ListOrgInvoicesBadRequest ¶
ListOrgInvoicesBadRequest handles this case with default header values.
Bad Request
func NewListOrgInvoicesBadRequest ¶
func NewListOrgInvoicesBadRequest() *ListOrgInvoicesBadRequest
NewListOrgInvoicesBadRequest creates a ListOrgInvoicesBadRequest with default headers values
func (*ListOrgInvoicesBadRequest) Error ¶
func (o *ListOrgInvoicesBadRequest) Error() string
func (*ListOrgInvoicesBadRequest) GetPayload ¶
func (o *ListOrgInvoicesBadRequest) GetPayload() *models.APIError
type ListOrgInvoicesForbidden ¶
ListOrgInvoicesForbidden handles this case with default header values.
Unauthorized access
func NewListOrgInvoicesForbidden ¶
func NewListOrgInvoicesForbidden() *ListOrgInvoicesForbidden
NewListOrgInvoicesForbidden creates a ListOrgInvoicesForbidden with default headers values
func (*ListOrgInvoicesForbidden) Error ¶
func (o *ListOrgInvoicesForbidden) Error() string
func (*ListOrgInvoicesForbidden) GetPayload ¶
func (o *ListOrgInvoicesForbidden) GetPayload() *models.APIError
type ListOrgInvoicesNotFound ¶
ListOrgInvoicesNotFound handles this case with default header values.
Not found
func NewListOrgInvoicesNotFound ¶
func NewListOrgInvoicesNotFound() *ListOrgInvoicesNotFound
NewListOrgInvoicesNotFound creates a ListOrgInvoicesNotFound with default headers values
func (*ListOrgInvoicesNotFound) Error ¶
func (o *ListOrgInvoicesNotFound) Error() string
func (*ListOrgInvoicesNotFound) GetPayload ¶
func (o *ListOrgInvoicesNotFound) GetPayload() *models.APIError
type ListOrgInvoicesOK ¶
type ListOrgInvoicesOK struct { }
ListOrgInvoicesOK handles this case with default header values.
Successful invocation
func NewListOrgInvoicesOK ¶
func NewListOrgInvoicesOK() *ListOrgInvoicesOK
NewListOrgInvoicesOK creates a ListOrgInvoicesOK with default headers values
func (*ListOrgInvoicesOK) Error ¶
func (o *ListOrgInvoicesOK) Error() string
type ListOrgInvoicesParams ¶
type ListOrgInvoicesParams struct { /*Orgname The name of the organization */ Orgname string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListOrgInvoicesParams contains all the parameters to send to the API endpoint for the list org invoices operation typically these are written to a http.Request
func NewListOrgInvoicesParams ¶
func NewListOrgInvoicesParams() *ListOrgInvoicesParams
NewListOrgInvoicesParams creates a new ListOrgInvoicesParams object with the default values initialized.
func NewListOrgInvoicesParamsWithContext ¶
func NewListOrgInvoicesParamsWithContext(ctx context.Context) *ListOrgInvoicesParams
NewListOrgInvoicesParamsWithContext creates a new ListOrgInvoicesParams object with the default values initialized, and the ability to set a context for a request
func NewListOrgInvoicesParamsWithHTTPClient ¶
func NewListOrgInvoicesParamsWithHTTPClient(client *http.Client) *ListOrgInvoicesParams
NewListOrgInvoicesParamsWithHTTPClient creates a new ListOrgInvoicesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListOrgInvoicesParamsWithTimeout ¶
func NewListOrgInvoicesParamsWithTimeout(timeout time.Duration) *ListOrgInvoicesParams
NewListOrgInvoicesParamsWithTimeout creates a new ListOrgInvoicesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListOrgInvoicesParams) SetContext ¶
func (o *ListOrgInvoicesParams) SetContext(ctx context.Context)
SetContext adds the context to the list org invoices params
func (*ListOrgInvoicesParams) SetHTTPClient ¶
func (o *ListOrgInvoicesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list org invoices params
func (*ListOrgInvoicesParams) SetOrgname ¶
func (o *ListOrgInvoicesParams) SetOrgname(orgname string)
SetOrgname adds the orgname to the list org invoices params
func (*ListOrgInvoicesParams) SetTimeout ¶
func (o *ListOrgInvoicesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list org invoices params
func (*ListOrgInvoicesParams) WithContext ¶
func (o *ListOrgInvoicesParams) WithContext(ctx context.Context) *ListOrgInvoicesParams
WithContext adds the context to the list org invoices params
func (*ListOrgInvoicesParams) WithHTTPClient ¶
func (o *ListOrgInvoicesParams) WithHTTPClient(client *http.Client) *ListOrgInvoicesParams
WithHTTPClient adds the HTTPClient to the list org invoices params
func (*ListOrgInvoicesParams) WithOrgname ¶
func (o *ListOrgInvoicesParams) WithOrgname(orgname string) *ListOrgInvoicesParams
WithOrgname adds the orgname to the list org invoices params
func (*ListOrgInvoicesParams) WithTimeout ¶
func (o *ListOrgInvoicesParams) WithTimeout(timeout time.Duration) *ListOrgInvoicesParams
WithTimeout adds the timeout to the list org invoices params
func (*ListOrgInvoicesParams) WriteToRequest ¶
func (o *ListOrgInvoicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListOrgInvoicesReader ¶
type ListOrgInvoicesReader struct {
// contains filtered or unexported fields
}
ListOrgInvoicesReader is a Reader for the ListOrgInvoices structure.
func (*ListOrgInvoicesReader) ReadResponse ¶
func (o *ListOrgInvoicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListOrgInvoicesUnauthorized ¶
type ListOrgInvoicesUnauthorized struct {
}ListOrgInvoicesUnauthorized handles this case with default header values.
Session required
func NewListOrgInvoicesUnauthorized ¶
func NewListOrgInvoicesUnauthorized() *ListOrgInvoicesUnauthorized
NewListOrgInvoicesUnauthorized creates a ListOrgInvoicesUnauthorized with default headers values
func (*ListOrgInvoicesUnauthorized) Error ¶
func (o *ListOrgInvoicesUnauthorized) Error() string
func (*ListOrgInvoicesUnauthorized) GetPayload ¶
func (o *ListOrgInvoicesUnauthorized) GetPayload() *models.APIError
type ListPlansBadRequest ¶
ListPlansBadRequest handles this case with default header values.
Bad Request
func NewListPlansBadRequest ¶
func NewListPlansBadRequest() *ListPlansBadRequest
NewListPlansBadRequest creates a ListPlansBadRequest with default headers values
func (*ListPlansBadRequest) Error ¶
func (o *ListPlansBadRequest) Error() string
func (*ListPlansBadRequest) GetPayload ¶
func (o *ListPlansBadRequest) GetPayload() *models.APIError
type ListPlansForbidden ¶
ListPlansForbidden handles this case with default header values.
Unauthorized access
func NewListPlansForbidden ¶
func NewListPlansForbidden() *ListPlansForbidden
NewListPlansForbidden creates a ListPlansForbidden with default headers values
func (*ListPlansForbidden) Error ¶
func (o *ListPlansForbidden) Error() string
func (*ListPlansForbidden) GetPayload ¶
func (o *ListPlansForbidden) GetPayload() *models.APIError
type ListPlansNotFound ¶
ListPlansNotFound handles this case with default header values.
Not found
func NewListPlansNotFound ¶
func NewListPlansNotFound() *ListPlansNotFound
NewListPlansNotFound creates a ListPlansNotFound with default headers values
func (*ListPlansNotFound) Error ¶
func (o *ListPlansNotFound) Error() string
func (*ListPlansNotFound) GetPayload ¶
func (o *ListPlansNotFound) GetPayload() *models.APIError
type ListPlansOK ¶
type ListPlansOK struct { }
ListPlansOK handles this case with default header values.
Successful invocation
func NewListPlansOK ¶
func NewListPlansOK() *ListPlansOK
NewListPlansOK creates a ListPlansOK with default headers values
func (*ListPlansOK) Error ¶
func (o *ListPlansOK) Error() string
type ListPlansParams ¶
type ListPlansParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPlansParams contains all the parameters to send to the API endpoint for the list plans operation typically these are written to a http.Request
func NewListPlansParams ¶
func NewListPlansParams() *ListPlansParams
NewListPlansParams creates a new ListPlansParams object with the default values initialized.
func NewListPlansParamsWithContext ¶
func NewListPlansParamsWithContext(ctx context.Context) *ListPlansParams
NewListPlansParamsWithContext creates a new ListPlansParams object with the default values initialized, and the ability to set a context for a request
func NewListPlansParamsWithHTTPClient ¶
func NewListPlansParamsWithHTTPClient(client *http.Client) *ListPlansParams
NewListPlansParamsWithHTTPClient creates a new ListPlansParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListPlansParamsWithTimeout ¶
func NewListPlansParamsWithTimeout(timeout time.Duration) *ListPlansParams
NewListPlansParamsWithTimeout creates a new ListPlansParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListPlansParams) SetContext ¶
func (o *ListPlansParams) SetContext(ctx context.Context)
SetContext adds the context to the list plans params
func (*ListPlansParams) SetHTTPClient ¶
func (o *ListPlansParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list plans params
func (*ListPlansParams) SetTimeout ¶
func (o *ListPlansParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list plans params
func (*ListPlansParams) WithContext ¶
func (o *ListPlansParams) WithContext(ctx context.Context) *ListPlansParams
WithContext adds the context to the list plans params
func (*ListPlansParams) WithHTTPClient ¶
func (o *ListPlansParams) WithHTTPClient(client *http.Client) *ListPlansParams
WithHTTPClient adds the HTTPClient to the list plans params
func (*ListPlansParams) WithTimeout ¶
func (o *ListPlansParams) WithTimeout(timeout time.Duration) *ListPlansParams
WithTimeout adds the timeout to the list plans params
func (*ListPlansParams) WriteToRequest ¶
func (o *ListPlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPlansReader ¶
type ListPlansReader struct {
// contains filtered or unexported fields
}
ListPlansReader is a Reader for the ListPlans structure.
func (*ListPlansReader) ReadResponse ¶
func (o *ListPlansReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPlansUnauthorized ¶
type ListPlansUnauthorized struct {
}ListPlansUnauthorized handles this case with default header values.
Session required
func NewListPlansUnauthorized ¶
func NewListPlansUnauthorized() *ListPlansUnauthorized
NewListPlansUnauthorized creates a ListPlansUnauthorized with default headers values
func (*ListPlansUnauthorized) Error ¶
func (o *ListPlansUnauthorized) Error() string
func (*ListPlansUnauthorized) GetPayload ¶
func (o *ListPlansUnauthorized) GetPayload() *models.APIError