Documentation ¶
Index ¶
- type Client
- func (a *Client) GetBillingOrgID(params *GetBillingOrgIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetBillingOrgIDOK, error)
- func (a *Client) PostBillingOrgID(params *PostBillingOrgIDParams, authInfo runtime.ClientAuthInfoWriter) (*PostBillingOrgIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetBillingOrgIDBadRequest
- type GetBillingOrgIDInternalServerError
- type GetBillingOrgIDOK
- type GetBillingOrgIDParams
- func NewGetBillingOrgIDParams() *GetBillingOrgIDParams
- func NewGetBillingOrgIDParamsWithContext(ctx context.Context) *GetBillingOrgIDParams
- func NewGetBillingOrgIDParamsWithHTTPClient(client *http.Client) *GetBillingOrgIDParams
- func NewGetBillingOrgIDParamsWithTimeout(timeout time.Duration) *GetBillingOrgIDParams
- func (o *GetBillingOrgIDParams) SetContext(ctx context.Context)
- func (o *GetBillingOrgIDParams) SetHTTPClient(client *http.Client)
- func (o *GetBillingOrgIDParams) SetOrgID(orgID string)
- func (o *GetBillingOrgIDParams) SetTimeout(timeout time.Duration)
- func (o *GetBillingOrgIDParams) WithContext(ctx context.Context) *GetBillingOrgIDParams
- func (o *GetBillingOrgIDParams) WithHTTPClient(client *http.Client) *GetBillingOrgIDParams
- func (o *GetBillingOrgIDParams) WithOrgID(orgID string) *GetBillingOrgIDParams
- func (o *GetBillingOrgIDParams) WithTimeout(timeout time.Duration) *GetBillingOrgIDParams
- func (o *GetBillingOrgIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBillingOrgIDReader
- type GetBillingOrgIDUnauthorized
- type PostBillingOrgIDBadRequest
- type PostBillingOrgIDInternalServerError
- type PostBillingOrgIDOK
- type PostBillingOrgIDParams
- func NewPostBillingOrgIDParams() *PostBillingOrgIDParams
- func NewPostBillingOrgIDParamsWithContext(ctx context.Context) *PostBillingOrgIDParams
- func NewPostBillingOrgIDParamsWithHTTPClient(client *http.Client) *PostBillingOrgIDParams
- func NewPostBillingOrgIDParamsWithTimeout(timeout time.Duration) *PostBillingOrgIDParams
- func (o *PostBillingOrgIDParams) SetContext(ctx context.Context)
- func (o *PostBillingOrgIDParams) SetHTTPClient(client *http.Client)
- func (o *PostBillingOrgIDParams) SetNewPlan(newPlan *models.PricingPlan)
- func (o *PostBillingOrgIDParams) SetOrgID(orgID string)
- func (o *PostBillingOrgIDParams) SetTimeout(timeout time.Duration)
- func (o *PostBillingOrgIDParams) WithContext(ctx context.Context) *PostBillingOrgIDParams
- func (o *PostBillingOrgIDParams) WithHTTPClient(client *http.Client) *PostBillingOrgIDParams
- func (o *PostBillingOrgIDParams) WithNewPlan(newPlan *models.PricingPlan) *PostBillingOrgIDParams
- func (o *PostBillingOrgIDParams) WithOrgID(orgID string) *PostBillingOrgIDParams
- func (o *PostBillingOrgIDParams) WithTimeout(timeout time.Duration) *PostBillingOrgIDParams
- func (o *PostBillingOrgIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostBillingOrgIDReader
- type PostBillingOrgIDUnauthorized
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) GetBillingOrgID ¶
func (a *Client) GetBillingOrgID(params *GetBillingOrgIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetBillingOrgIDOK, error)
GetBillingOrgID gets the pricing plan for an org
Returns the current pricing plan
func (*Client) PostBillingOrgID ¶
func (a *Client) PostBillingOrgID(params *PostBillingOrgIDParams, authInfo runtime.ClientAuthInfoWriter) (*PostBillingOrgIDOK, error)
PostBillingOrgID updates the pricing plan for an org
Returns 200 on successful pricing plan update
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetBillingOrgIDBadRequest ¶
type GetBillingOrgIDBadRequest struct { }
GetBillingOrgIDBadRequest handles this case with default header values.
Unable to process request
func NewGetBillingOrgIDBadRequest ¶
func NewGetBillingOrgIDBadRequest() *GetBillingOrgIDBadRequest
NewGetBillingOrgIDBadRequest creates a GetBillingOrgIDBadRequest with default headers values
func (*GetBillingOrgIDBadRequest) Error ¶
func (o *GetBillingOrgIDBadRequest) Error() string
type GetBillingOrgIDInternalServerError ¶
type GetBillingOrgIDInternalServerError struct { }
GetBillingOrgIDInternalServerError handles this case with default header values.
Internal server error
func NewGetBillingOrgIDInternalServerError ¶
func NewGetBillingOrgIDInternalServerError() *GetBillingOrgIDInternalServerError
NewGetBillingOrgIDInternalServerError creates a GetBillingOrgIDInternalServerError with default headers values
func (*GetBillingOrgIDInternalServerError) Error ¶
func (o *GetBillingOrgIDInternalServerError) Error() string
type GetBillingOrgIDOK ¶
type GetBillingOrgIDOK struct {
Payload *models.PricingPlan
}
GetBillingOrgIDOK handles this case with default header values.
Update successful
func NewGetBillingOrgIDOK ¶
func NewGetBillingOrgIDOK() *GetBillingOrgIDOK
NewGetBillingOrgIDOK creates a GetBillingOrgIDOK with default headers values
func (*GetBillingOrgIDOK) Error ¶
func (o *GetBillingOrgIDOK) Error() string
type GetBillingOrgIDParams ¶
type GetBillingOrgIDParams struct { /*OrgID*/ OrgID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBillingOrgIDParams contains all the parameters to send to the API endpoint for the get billing org ID operation typically these are written to a http.Request
func NewGetBillingOrgIDParams ¶
func NewGetBillingOrgIDParams() *GetBillingOrgIDParams
NewGetBillingOrgIDParams creates a new GetBillingOrgIDParams object with the default values initialized.
func NewGetBillingOrgIDParamsWithContext ¶
func NewGetBillingOrgIDParamsWithContext(ctx context.Context) *GetBillingOrgIDParams
NewGetBillingOrgIDParamsWithContext creates a new GetBillingOrgIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetBillingOrgIDParamsWithHTTPClient ¶
func NewGetBillingOrgIDParamsWithHTTPClient(client *http.Client) *GetBillingOrgIDParams
NewGetBillingOrgIDParamsWithHTTPClient creates a new GetBillingOrgIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetBillingOrgIDParamsWithTimeout ¶
func NewGetBillingOrgIDParamsWithTimeout(timeout time.Duration) *GetBillingOrgIDParams
NewGetBillingOrgIDParamsWithTimeout creates a new GetBillingOrgIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetBillingOrgIDParams) SetContext ¶
func (o *GetBillingOrgIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get billing org ID params
func (*GetBillingOrgIDParams) SetHTTPClient ¶
func (o *GetBillingOrgIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get billing org ID params
func (*GetBillingOrgIDParams) SetOrgID ¶
func (o *GetBillingOrgIDParams) SetOrgID(orgID string)
SetOrgID adds the orgId to the get billing org ID params
func (*GetBillingOrgIDParams) SetTimeout ¶
func (o *GetBillingOrgIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get billing org ID params
func (*GetBillingOrgIDParams) WithContext ¶
func (o *GetBillingOrgIDParams) WithContext(ctx context.Context) *GetBillingOrgIDParams
WithContext adds the context to the get billing org ID params
func (*GetBillingOrgIDParams) WithHTTPClient ¶
func (o *GetBillingOrgIDParams) WithHTTPClient(client *http.Client) *GetBillingOrgIDParams
WithHTTPClient adds the HTTPClient to the get billing org ID params
func (*GetBillingOrgIDParams) WithOrgID ¶
func (o *GetBillingOrgIDParams) WithOrgID(orgID string) *GetBillingOrgIDParams
WithOrgID adds the orgID to the get billing org ID params
func (*GetBillingOrgIDParams) WithTimeout ¶
func (o *GetBillingOrgIDParams) WithTimeout(timeout time.Duration) *GetBillingOrgIDParams
WithTimeout adds the timeout to the get billing org ID params
func (*GetBillingOrgIDParams) WriteToRequest ¶
func (o *GetBillingOrgIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBillingOrgIDReader ¶
type GetBillingOrgIDReader struct {
// contains filtered or unexported fields
}
GetBillingOrgIDReader is a Reader for the GetBillingOrgID structure.
func (*GetBillingOrgIDReader) ReadResponse ¶
func (o *GetBillingOrgIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBillingOrgIDUnauthorized ¶
type GetBillingOrgIDUnauthorized struct { }
GetBillingOrgIDUnauthorized handles this case with default header values.
Unauthorized request
func NewGetBillingOrgIDUnauthorized ¶
func NewGetBillingOrgIDUnauthorized() *GetBillingOrgIDUnauthorized
NewGetBillingOrgIDUnauthorized creates a GetBillingOrgIDUnauthorized with default headers values
func (*GetBillingOrgIDUnauthorized) Error ¶
func (o *GetBillingOrgIDUnauthorized) Error() string
type PostBillingOrgIDBadRequest ¶
type PostBillingOrgIDBadRequest struct { }
PostBillingOrgIDBadRequest handles this case with default header values.
Unable to process request
func NewPostBillingOrgIDBadRequest ¶
func NewPostBillingOrgIDBadRequest() *PostBillingOrgIDBadRequest
NewPostBillingOrgIDBadRequest creates a PostBillingOrgIDBadRequest with default headers values
func (*PostBillingOrgIDBadRequest) Error ¶
func (o *PostBillingOrgIDBadRequest) Error() string
type PostBillingOrgIDInternalServerError ¶
type PostBillingOrgIDInternalServerError struct { }
PostBillingOrgIDInternalServerError handles this case with default header values.
Internal server error
func NewPostBillingOrgIDInternalServerError ¶
func NewPostBillingOrgIDInternalServerError() *PostBillingOrgIDInternalServerError
NewPostBillingOrgIDInternalServerError creates a PostBillingOrgIDInternalServerError with default headers values
func (*PostBillingOrgIDInternalServerError) Error ¶
func (o *PostBillingOrgIDInternalServerError) Error() string
type PostBillingOrgIDOK ¶
type PostBillingOrgIDOK struct { }
PostBillingOrgIDOK handles this case with default header values.
Update successful
func NewPostBillingOrgIDOK ¶
func NewPostBillingOrgIDOK() *PostBillingOrgIDOK
NewPostBillingOrgIDOK creates a PostBillingOrgIDOK with default headers values
func (*PostBillingOrgIDOK) Error ¶
func (o *PostBillingOrgIDOK) Error() string
type PostBillingOrgIDParams ¶
type PostBillingOrgIDParams struct { /*NewPlan*/ NewPlan *models.PricingPlan /*OrgID*/ OrgID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostBillingOrgIDParams contains all the parameters to send to the API endpoint for the post billing org ID operation typically these are written to a http.Request
func NewPostBillingOrgIDParams ¶
func NewPostBillingOrgIDParams() *PostBillingOrgIDParams
NewPostBillingOrgIDParams creates a new PostBillingOrgIDParams object with the default values initialized.
func NewPostBillingOrgIDParamsWithContext ¶
func NewPostBillingOrgIDParamsWithContext(ctx context.Context) *PostBillingOrgIDParams
NewPostBillingOrgIDParamsWithContext creates a new PostBillingOrgIDParams object with the default values initialized, and the ability to set a context for a request
func NewPostBillingOrgIDParamsWithHTTPClient ¶
func NewPostBillingOrgIDParamsWithHTTPClient(client *http.Client) *PostBillingOrgIDParams
NewPostBillingOrgIDParamsWithHTTPClient creates a new PostBillingOrgIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostBillingOrgIDParamsWithTimeout ¶
func NewPostBillingOrgIDParamsWithTimeout(timeout time.Duration) *PostBillingOrgIDParams
NewPostBillingOrgIDParamsWithTimeout creates a new PostBillingOrgIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostBillingOrgIDParams) SetContext ¶
func (o *PostBillingOrgIDParams) SetContext(ctx context.Context)
SetContext adds the context to the post billing org ID params
func (*PostBillingOrgIDParams) SetHTTPClient ¶
func (o *PostBillingOrgIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post billing org ID params
func (*PostBillingOrgIDParams) SetNewPlan ¶
func (o *PostBillingOrgIDParams) SetNewPlan(newPlan *models.PricingPlan)
SetNewPlan adds the newPlan to the post billing org ID params
func (*PostBillingOrgIDParams) SetOrgID ¶
func (o *PostBillingOrgIDParams) SetOrgID(orgID string)
SetOrgID adds the orgId to the post billing org ID params
func (*PostBillingOrgIDParams) SetTimeout ¶
func (o *PostBillingOrgIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post billing org ID params
func (*PostBillingOrgIDParams) WithContext ¶
func (o *PostBillingOrgIDParams) WithContext(ctx context.Context) *PostBillingOrgIDParams
WithContext adds the context to the post billing org ID params
func (*PostBillingOrgIDParams) WithHTTPClient ¶
func (o *PostBillingOrgIDParams) WithHTTPClient(client *http.Client) *PostBillingOrgIDParams
WithHTTPClient adds the HTTPClient to the post billing org ID params
func (*PostBillingOrgIDParams) WithNewPlan ¶
func (o *PostBillingOrgIDParams) WithNewPlan(newPlan *models.PricingPlan) *PostBillingOrgIDParams
WithNewPlan adds the newPlan to the post billing org ID params
func (*PostBillingOrgIDParams) WithOrgID ¶
func (o *PostBillingOrgIDParams) WithOrgID(orgID string) *PostBillingOrgIDParams
WithOrgID adds the orgID to the post billing org ID params
func (*PostBillingOrgIDParams) WithTimeout ¶
func (o *PostBillingOrgIDParams) WithTimeout(timeout time.Duration) *PostBillingOrgIDParams
WithTimeout adds the timeout to the post billing org ID params
func (*PostBillingOrgIDParams) WriteToRequest ¶
func (o *PostBillingOrgIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostBillingOrgIDReader ¶
type PostBillingOrgIDReader struct {
// contains filtered or unexported fields
}
PostBillingOrgIDReader is a Reader for the PostBillingOrgID structure.
func (*PostBillingOrgIDReader) ReadResponse ¶
func (o *PostBillingOrgIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostBillingOrgIDUnauthorized ¶
type PostBillingOrgIDUnauthorized struct { }
PostBillingOrgIDUnauthorized handles this case with default header values.
Unauthorized request
func NewPostBillingOrgIDUnauthorized ¶
func NewPostBillingOrgIDUnauthorized() *PostBillingOrgIDUnauthorized
NewPostBillingOrgIDUnauthorized creates a PostBillingOrgIDUnauthorized with default headers values
func (*PostBillingOrgIDUnauthorized) Error ¶
func (o *PostBillingOrgIDUnauthorized) Error() string