org

package
Version: v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddAPIKeyToOrgBadRequest

type AddAPIKeyToOrgBadRequest struct {
}

AddAPIKeyToOrgBadRequest handles this case with default header values.

Unable to process request

func NewAddAPIKeyToOrgBadRequest

func NewAddAPIKeyToOrgBadRequest() *AddAPIKeyToOrgBadRequest

NewAddAPIKeyToOrgBadRequest creates a AddAPIKeyToOrgBadRequest with default headers values

func (*AddAPIKeyToOrgBadRequest) Error

func (o *AddAPIKeyToOrgBadRequest) Error() string

type AddAPIKeyToOrgOK

type AddAPIKeyToOrgOK struct {
	Payload *models.APIKey
}

AddAPIKeyToOrgOK handles this case with default header values.

Successful addition of an API Key to its org

func NewAddAPIKeyToOrgOK

func NewAddAPIKeyToOrgOK() *AddAPIKeyToOrgOK

NewAddAPIKeyToOrgOK creates a AddAPIKeyToOrgOK with default headers values

func (*AddAPIKeyToOrgOK) Error

func (o *AddAPIKeyToOrgOK) Error() string

type AddAPIKeyToOrgParams

type AddAPIKeyToOrgParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddAPIKeyToOrgParams contains all the parameters to send to the API endpoint for the add API key to org operation typically these are written to a http.Request

func NewAddAPIKeyToOrgParams

func NewAddAPIKeyToOrgParams() *AddAPIKeyToOrgParams

NewAddAPIKeyToOrgParams creates a new AddAPIKeyToOrgParams object with the default values initialized.

func NewAddAPIKeyToOrgParamsWithContext

func NewAddAPIKeyToOrgParamsWithContext(ctx context.Context) *AddAPIKeyToOrgParams

NewAddAPIKeyToOrgParamsWithContext creates a new AddAPIKeyToOrgParams object with the default values initialized, and the ability to set a context for a request

func NewAddAPIKeyToOrgParamsWithHTTPClient

func NewAddAPIKeyToOrgParamsWithHTTPClient(client *http.Client) *AddAPIKeyToOrgParams

NewAddAPIKeyToOrgParamsWithHTTPClient creates a new AddAPIKeyToOrgParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddAPIKeyToOrgParamsWithTimeout

func NewAddAPIKeyToOrgParamsWithTimeout(timeout time.Duration) *AddAPIKeyToOrgParams

NewAddAPIKeyToOrgParamsWithTimeout creates a new AddAPIKeyToOrgParams object with the default values initialized, and the ability to set a timeout on a request

func (*AddAPIKeyToOrgParams) SetContext

func (o *AddAPIKeyToOrgParams) SetContext(ctx context.Context)

SetContext adds the context to the add API key to org params

func (*AddAPIKeyToOrgParams) SetHTTPClient

func (o *AddAPIKeyToOrgParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add API key to org params

func (*AddAPIKeyToOrgParams) SetTimeout

func (o *AddAPIKeyToOrgParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add API key to org params

func (*AddAPIKeyToOrgParams) WithContext

WithContext adds the context to the add API key to org params

func (*AddAPIKeyToOrgParams) WithHTTPClient

func (o *AddAPIKeyToOrgParams) WithHTTPClient(client *http.Client) *AddAPIKeyToOrgParams

WithHTTPClient adds the HTTPClient to the add API key to org params

func (*AddAPIKeyToOrgParams) WithTimeout

func (o *AddAPIKeyToOrgParams) WithTimeout(timeout time.Duration) *AddAPIKeyToOrgParams

WithTimeout adds the timeout to the add API key to org params

func (*AddAPIKeyToOrgParams) WriteToRequest

func (o *AddAPIKeyToOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddAPIKeyToOrgReader

type AddAPIKeyToOrgReader struct {
	// contains filtered or unexported fields
}

AddAPIKeyToOrgReader is a Reader for the AddAPIKeyToOrg structure.

func (*AddAPIKeyToOrgReader) ReadResponse

func (o *AddAPIKeyToOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddAPIKeyToOrgUnauthorized

type AddAPIKeyToOrgUnauthorized struct {
}

AddAPIKeyToOrgUnauthorized handles this case with default header values.

Not authenticated to perform request

func NewAddAPIKeyToOrgUnauthorized

func NewAddAPIKeyToOrgUnauthorized() *AddAPIKeyToOrgUnauthorized

NewAddAPIKeyToOrgUnauthorized creates a AddAPIKeyToOrgUnauthorized with default headers values

func (*AddAPIKeyToOrgUnauthorized) Error

type AddAdminToOrgBadRequest

type AddAdminToOrgBadRequest struct {
	Payload *models.ErrorResponse
}

AddAdminToOrgBadRequest handles this case with default header values.

Unable to process request

func NewAddAdminToOrgBadRequest

func NewAddAdminToOrgBadRequest() *AddAdminToOrgBadRequest

NewAddAdminToOrgBadRequest creates a AddAdminToOrgBadRequest with default headers values

func (*AddAdminToOrgBadRequest) Error

func (o *AddAdminToOrgBadRequest) Error() string

type AddAdminToOrgInternalServerError

type AddAdminToOrgInternalServerError struct {
	Payload *models.ErrorResponse
}

AddAdminToOrgInternalServerError handles this case with default header values.

Unrecoverable error

func NewAddAdminToOrgInternalServerError

func NewAddAdminToOrgInternalServerError() *AddAdminToOrgInternalServerError

NewAddAdminToOrgInternalServerError creates a AddAdminToOrgInternalServerError with default headers values

func (*AddAdminToOrgInternalServerError) Error

type AddAdminToOrgOK

type AddAdminToOrgOK struct {
	Payload *models.Contact
}

AddAdminToOrgOK handles this case with default header values.

Successful addition of a new admin to this org

func NewAddAdminToOrgOK

func NewAddAdminToOrgOK() *AddAdminToOrgOK

NewAddAdminToOrgOK creates a AddAdminToOrgOK with default headers values

func (*AddAdminToOrgOK) Error

func (o *AddAdminToOrgOK) Error() string

type AddAdminToOrgParams

type AddAdminToOrgParams struct {

	/*Contact*/
	Contact *models.Contact

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddAdminToOrgParams contains all the parameters to send to the API endpoint for the add admin to org operation typically these are written to a http.Request

func NewAddAdminToOrgParams

func NewAddAdminToOrgParams() *AddAdminToOrgParams

NewAddAdminToOrgParams creates a new AddAdminToOrgParams object with the default values initialized.

func NewAddAdminToOrgParamsWithContext

func NewAddAdminToOrgParamsWithContext(ctx context.Context) *AddAdminToOrgParams

NewAddAdminToOrgParamsWithContext creates a new AddAdminToOrgParams object with the default values initialized, and the ability to set a context for a request

func NewAddAdminToOrgParamsWithHTTPClient

func NewAddAdminToOrgParamsWithHTTPClient(client *http.Client) *AddAdminToOrgParams

NewAddAdminToOrgParamsWithHTTPClient creates a new AddAdminToOrgParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddAdminToOrgParamsWithTimeout

func NewAddAdminToOrgParamsWithTimeout(timeout time.Duration) *AddAdminToOrgParams

NewAddAdminToOrgParamsWithTimeout creates a new AddAdminToOrgParams object with the default values initialized, and the ability to set a timeout on a request

func (*AddAdminToOrgParams) SetContact

func (o *AddAdminToOrgParams) SetContact(contact *models.Contact)

SetContact adds the contact to the add admin to org params

func (*AddAdminToOrgParams) SetContext

func (o *AddAdminToOrgParams) SetContext(ctx context.Context)

SetContext adds the context to the add admin to org params

func (*AddAdminToOrgParams) SetHTTPClient

func (o *AddAdminToOrgParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add admin to org params

func (*AddAdminToOrgParams) SetTimeout

func (o *AddAdminToOrgParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add admin to org params

func (*AddAdminToOrgParams) WithContact

func (o *AddAdminToOrgParams) WithContact(contact *models.Contact) *AddAdminToOrgParams

WithContact adds the contact to the add admin to org params

func (*AddAdminToOrgParams) WithContext

WithContext adds the context to the add admin to org params

func (*AddAdminToOrgParams) WithHTTPClient

func (o *AddAdminToOrgParams) WithHTTPClient(client *http.Client) *AddAdminToOrgParams

WithHTTPClient adds the HTTPClient to the add admin to org params

func (*AddAdminToOrgParams) WithTimeout

func (o *AddAdminToOrgParams) WithTimeout(timeout time.Duration) *AddAdminToOrgParams

WithTimeout adds the timeout to the add admin to org params

func (*AddAdminToOrgParams) WriteToRequest

func (o *AddAdminToOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddAdminToOrgReader

type AddAdminToOrgReader struct {
	// contains filtered or unexported fields
}

AddAdminToOrgReader is a Reader for the AddAdminToOrg structure.

func (*AddAdminToOrgReader) ReadResponse

func (o *AddAdminToOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddAdminToOrgUnauthorized

type AddAdminToOrgUnauthorized struct {
}

AddAdminToOrgUnauthorized handles this case with default header values.

Not authenticated to perform request

func NewAddAdminToOrgUnauthorized

func NewAddAdminToOrgUnauthorized() *AddAdminToOrgUnauthorized

NewAddAdminToOrgUnauthorized creates a AddAdminToOrgUnauthorized with default headers values

func (*AddAdminToOrgUnauthorized) Error

func (o *AddAdminToOrgUnauthorized) Error() string

type AddOrganizationBadRequest

type AddOrganizationBadRequest struct {
}

AddOrganizationBadRequest handles this case with default header values.

Unable to process request

func NewAddOrganizationBadRequest

func NewAddOrganizationBadRequest() *AddOrganizationBadRequest

NewAddOrganizationBadRequest creates a AddOrganizationBadRequest with default headers values

func (*AddOrganizationBadRequest) Error

func (o *AddOrganizationBadRequest) Error() string

type AddOrganizationOK

type AddOrganizationOK struct {
	Payload *models.Organization
}

AddOrganizationOK handles this case with default header values.

Successful construction of an organization. Returns the actual organization which was registered. (Org includes an APIToken)

func NewAddOrganizationOK

func NewAddOrganizationOK() *AddOrganizationOK

NewAddOrganizationOK creates a AddOrganizationOK with default headers values

func (*AddOrganizationOK) Error

func (o *AddOrganizationOK) Error() string

type AddOrganizationParams

type AddOrganizationParams struct {

	/*IDToken*/
	IDToken string
	/*OrgName*/
	OrgName string
	/*Params*/
	Params *models.AddOrganizationParameters
	/*StripeCustomerID*/
	StripeCustomerID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddOrganizationParams contains all the parameters to send to the API endpoint for the add organization operation typically these are written to a http.Request

func NewAddOrganizationParams

func NewAddOrganizationParams() *AddOrganizationParams

NewAddOrganizationParams creates a new AddOrganizationParams object with the default values initialized.

func NewAddOrganizationParamsWithContext

func NewAddOrganizationParamsWithContext(ctx context.Context) *AddOrganizationParams

NewAddOrganizationParamsWithContext creates a new AddOrganizationParams object with the default values initialized, and the ability to set a context for a request

func NewAddOrganizationParamsWithHTTPClient

func NewAddOrganizationParamsWithHTTPClient(client *http.Client) *AddOrganizationParams

NewAddOrganizationParamsWithHTTPClient creates a new AddOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddOrganizationParamsWithTimeout

func NewAddOrganizationParamsWithTimeout(timeout time.Duration) *AddOrganizationParams

NewAddOrganizationParamsWithTimeout creates a new AddOrganizationParams object with the default values initialized, and the ability to set a timeout on a request

func (*AddOrganizationParams) SetContext

func (o *AddOrganizationParams) SetContext(ctx context.Context)

SetContext adds the context to the add organization params

func (*AddOrganizationParams) SetHTTPClient

func (o *AddOrganizationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add organization params

func (*AddOrganizationParams) SetIDToken

func (o *AddOrganizationParams) SetIDToken(iDToken string)

SetIDToken adds the idToken to the add organization params

func (*AddOrganizationParams) SetOrgName

func (o *AddOrganizationParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the add organization params

func (*AddOrganizationParams) SetParams added in v0.1.1

SetParams adds the params to the add organization params

func (*AddOrganizationParams) SetStripeCustomerID

func (o *AddOrganizationParams) SetStripeCustomerID(stripeCustomerID string)

SetStripeCustomerID adds the stripeCustomerId to the add organization params

func (*AddOrganizationParams) SetTimeout

func (o *AddOrganizationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add organization params

func (*AddOrganizationParams) WithContext

WithContext adds the context to the add organization params

func (*AddOrganizationParams) WithHTTPClient

func (o *AddOrganizationParams) WithHTTPClient(client *http.Client) *AddOrganizationParams

WithHTTPClient adds the HTTPClient to the add organization params

func (*AddOrganizationParams) WithIDToken

func (o *AddOrganizationParams) WithIDToken(iDToken string) *AddOrganizationParams

WithIDToken adds the iDToken to the add organization params

func (*AddOrganizationParams) WithOrgName

func (o *AddOrganizationParams) WithOrgName(orgName string) *AddOrganizationParams

WithOrgName adds the orgName to the add organization params

func (*AddOrganizationParams) WithParams added in v0.1.1

WithParams adds the params to the add organization params

func (*AddOrganizationParams) WithStripeCustomerID

func (o *AddOrganizationParams) WithStripeCustomerID(stripeCustomerID string) *AddOrganizationParams

WithStripeCustomerID adds the stripeCustomerID to the add organization params

func (*AddOrganizationParams) WithTimeout

func (o *AddOrganizationParams) WithTimeout(timeout time.Duration) *AddOrganizationParams

WithTimeout adds the timeout to the add organization params

func (*AddOrganizationParams) WriteToRequest

func (o *AddOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddOrganizationReader

type AddOrganizationReader struct {
	// contains filtered or unexported fields
}

AddOrganizationReader is a Reader for the AddOrganization structure.

func (*AddOrganizationReader) ReadResponse

func (o *AddOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for org API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new org API client.

func (*Client) AddAPIKeyToOrg

func (a *Client) AddAPIKeyToOrg(params *AddAPIKeyToOrgParams, authInfo runtime.ClientAuthInfoWriter) (*AddAPIKeyToOrgOK, error)

AddAPIKeyToOrg adds a new API key to an org

func (*Client) AddAdminToOrg

func (a *Client) AddAdminToOrg(params *AddAdminToOrgParams, authInfo runtime.ClientAuthInfoWriter) (*AddAdminToOrgOK, error)

AddAdminToOrg adds a new admin to this org

func (*Client) AddOrganization

func (a *Client) AddOrganization(params *AddOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*AddOrganizationOK, error)

AddOrganization creates a new organization must be an authenticated request with a valid id token from a trusted Id p

func (*Client) DeleteAPIKeyFromOrg

func (a *Client) DeleteAPIKeyFromOrg(params *DeleteAPIKeyFromOrgParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAPIKeyFromOrgOK, error)

DeleteAPIKeyFromOrg removes an existing API key

func (*Client) DeleteAdminFromOrg

func (a *Client) DeleteAdminFromOrg(params *DeleteAdminFromOrgParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAdminFromOrgOK, error)

DeleteAdminFromOrg removes an existing admin from the org you can not remove the last admin it will faile with a bad request response

func (*Client) DeleteOrganization

func (a *Client) DeleteOrganization(params *DeleteOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOrganizationOK, error)

DeleteOrganization removes an existing organization

func (*Client) GetCloudOrganizationAPIKey

func (a *Client) GetCloudOrganizationAPIKey(params *GetCloudOrganizationAPIKeyParams, authInfo runtime.ClientAuthInfoWriter) (*GetCloudOrganizationAPIKeyOK, error)

GetCloudOrganizationAPIKey gets an access key for the peacemakr shared cloud org all cloud key derivers must use this

func (*Client) GetOrganization

func (a *Client) GetOrganization(params *GetOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationOK, error)

GetOrganization gets an existing organization

func (*Client) GetOrganizationFromAPIKey

func (a *Client) GetOrganizationFromAPIKey(params *GetOrganizationFromAPIKeyParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationFromAPIKeyOK, error)

GetOrganizationFromAPIKey gets an existing organization

func (*Client) GetTestOrganizationAPIKey

func (a *Client) GetTestOrganizationAPIKey(params *GetTestOrganizationAPIKeyParams) (*GetTestOrganizationAPIKeyOK, error)

GetTestOrganizationAPIKey gets an ephemeral test org api key

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateStripeCustomerID

func (a *Client) UpdateStripeCustomerID(params *UpdateStripeCustomerIDParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStripeCustomerIDOK, error)

UpdateStripeCustomerID updates the stripe customer Id associated with this account

type DeleteAPIKeyFromOrgBadRequest

type DeleteAPIKeyFromOrgBadRequest struct {
}

DeleteAPIKeyFromOrgBadRequest handles this case with default header values.

Unable to process request

func NewDeleteAPIKeyFromOrgBadRequest

func NewDeleteAPIKeyFromOrgBadRequest() *DeleteAPIKeyFromOrgBadRequest

NewDeleteAPIKeyFromOrgBadRequest creates a DeleteAPIKeyFromOrgBadRequest with default headers values

func (*DeleteAPIKeyFromOrgBadRequest) Error

type DeleteAPIKeyFromOrgOK

type DeleteAPIKeyFromOrgOK struct {
}

DeleteAPIKeyFromOrgOK handles this case with default header values.

Successful deletion of an existing API key.

func NewDeleteAPIKeyFromOrgOK

func NewDeleteAPIKeyFromOrgOK() *DeleteAPIKeyFromOrgOK

NewDeleteAPIKeyFromOrgOK creates a DeleteAPIKeyFromOrgOK with default headers values

func (*DeleteAPIKeyFromOrgOK) Error

func (o *DeleteAPIKeyFromOrgOK) Error() string

type DeleteAPIKeyFromOrgParams

type DeleteAPIKeyFromOrgParams struct {

	/*Apikey*/
	Apikey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteAPIKeyFromOrgParams contains all the parameters to send to the API endpoint for the delete API key from org operation typically these are written to a http.Request

func NewDeleteAPIKeyFromOrgParams

func NewDeleteAPIKeyFromOrgParams() *DeleteAPIKeyFromOrgParams

NewDeleteAPIKeyFromOrgParams creates a new DeleteAPIKeyFromOrgParams object with the default values initialized.

func NewDeleteAPIKeyFromOrgParamsWithContext

func NewDeleteAPIKeyFromOrgParamsWithContext(ctx context.Context) *DeleteAPIKeyFromOrgParams

NewDeleteAPIKeyFromOrgParamsWithContext creates a new DeleteAPIKeyFromOrgParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteAPIKeyFromOrgParamsWithHTTPClient

func NewDeleteAPIKeyFromOrgParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyFromOrgParams

NewDeleteAPIKeyFromOrgParamsWithHTTPClient creates a new DeleteAPIKeyFromOrgParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteAPIKeyFromOrgParamsWithTimeout

func NewDeleteAPIKeyFromOrgParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyFromOrgParams

NewDeleteAPIKeyFromOrgParamsWithTimeout creates a new DeleteAPIKeyFromOrgParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteAPIKeyFromOrgParams) SetApikey

func (o *DeleteAPIKeyFromOrgParams) SetApikey(apikey string)

SetApikey adds the apikey to the delete API key from org params

func (*DeleteAPIKeyFromOrgParams) SetContext

func (o *DeleteAPIKeyFromOrgParams) SetContext(ctx context.Context)

SetContext adds the context to the delete API key from org params

func (*DeleteAPIKeyFromOrgParams) SetHTTPClient

func (o *DeleteAPIKeyFromOrgParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete API key from org params

func (*DeleteAPIKeyFromOrgParams) SetTimeout

func (o *DeleteAPIKeyFromOrgParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete API key from org params

func (*DeleteAPIKeyFromOrgParams) WithApikey

WithApikey adds the apikey to the delete API key from org params

func (*DeleteAPIKeyFromOrgParams) WithContext

WithContext adds the context to the delete API key from org params

func (*DeleteAPIKeyFromOrgParams) WithHTTPClient

func (o *DeleteAPIKeyFromOrgParams) WithHTTPClient(client *http.Client) *DeleteAPIKeyFromOrgParams

WithHTTPClient adds the HTTPClient to the delete API key from org params

func (*DeleteAPIKeyFromOrgParams) WithTimeout

WithTimeout adds the timeout to the delete API key from org params

func (*DeleteAPIKeyFromOrgParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPIKeyFromOrgReader

type DeleteAPIKeyFromOrgReader struct {
	// contains filtered or unexported fields
}

DeleteAPIKeyFromOrgReader is a Reader for the DeleteAPIKeyFromOrg structure.

func (*DeleteAPIKeyFromOrgReader) ReadResponse

func (o *DeleteAPIKeyFromOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteAPIKeyFromOrgUnauthorized

type DeleteAPIKeyFromOrgUnauthorized struct {
}

DeleteAPIKeyFromOrgUnauthorized handles this case with default header values.

Not authenticated to perform request

func NewDeleteAPIKeyFromOrgUnauthorized

func NewDeleteAPIKeyFromOrgUnauthorized() *DeleteAPIKeyFromOrgUnauthorized

NewDeleteAPIKeyFromOrgUnauthorized creates a DeleteAPIKeyFromOrgUnauthorized with default headers values

func (*DeleteAPIKeyFromOrgUnauthorized) Error

type DeleteAdminFromOrgBadRequest

type DeleteAdminFromOrgBadRequest struct {
	Payload *models.ErrorResponse
}

DeleteAdminFromOrgBadRequest handles this case with default header values.

Unable to process request

func NewDeleteAdminFromOrgBadRequest

func NewDeleteAdminFromOrgBadRequest() *DeleteAdminFromOrgBadRequest

NewDeleteAdminFromOrgBadRequest creates a DeleteAdminFromOrgBadRequest with default headers values

func (*DeleteAdminFromOrgBadRequest) Error

type DeleteAdminFromOrgInternalServerError

type DeleteAdminFromOrgInternalServerError struct {
	Payload *models.ErrorResponse
}

DeleteAdminFromOrgInternalServerError handles this case with default header values.

Unrecoverable error

func NewDeleteAdminFromOrgInternalServerError

func NewDeleteAdminFromOrgInternalServerError() *DeleteAdminFromOrgInternalServerError

NewDeleteAdminFromOrgInternalServerError creates a DeleteAdminFromOrgInternalServerError with default headers values

func (*DeleteAdminFromOrgInternalServerError) Error

type DeleteAdminFromOrgOK

type DeleteAdminFromOrgOK struct {
}

DeleteAdminFromOrgOK handles this case with default header values.

Successful deletion of an existing admin from org.

func NewDeleteAdminFromOrgOK

func NewDeleteAdminFromOrgOK() *DeleteAdminFromOrgOK

NewDeleteAdminFromOrgOK creates a DeleteAdminFromOrgOK with default headers values

func (*DeleteAdminFromOrgOK) Error

func (o *DeleteAdminFromOrgOK) Error() string

type DeleteAdminFromOrgParams

type DeleteAdminFromOrgParams struct {

	/*Email*/
	Email string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteAdminFromOrgParams contains all the parameters to send to the API endpoint for the delete admin from org operation typically these are written to a http.Request

func NewDeleteAdminFromOrgParams

func NewDeleteAdminFromOrgParams() *DeleteAdminFromOrgParams

NewDeleteAdminFromOrgParams creates a new DeleteAdminFromOrgParams object with the default values initialized.

func NewDeleteAdminFromOrgParamsWithContext

func NewDeleteAdminFromOrgParamsWithContext(ctx context.Context) *DeleteAdminFromOrgParams

NewDeleteAdminFromOrgParamsWithContext creates a new DeleteAdminFromOrgParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteAdminFromOrgParamsWithHTTPClient

func NewDeleteAdminFromOrgParamsWithHTTPClient(client *http.Client) *DeleteAdminFromOrgParams

NewDeleteAdminFromOrgParamsWithHTTPClient creates a new DeleteAdminFromOrgParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteAdminFromOrgParamsWithTimeout

func NewDeleteAdminFromOrgParamsWithTimeout(timeout time.Duration) *DeleteAdminFromOrgParams

NewDeleteAdminFromOrgParamsWithTimeout creates a new DeleteAdminFromOrgParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteAdminFromOrgParams) SetContext

func (o *DeleteAdminFromOrgParams) SetContext(ctx context.Context)

SetContext adds the context to the delete admin from org params

func (*DeleteAdminFromOrgParams) SetEmail

func (o *DeleteAdminFromOrgParams) SetEmail(email string)

SetEmail adds the email to the delete admin from org params

func (*DeleteAdminFromOrgParams) SetHTTPClient

func (o *DeleteAdminFromOrgParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete admin from org params

func (*DeleteAdminFromOrgParams) SetTimeout

func (o *DeleteAdminFromOrgParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete admin from org params

func (*DeleteAdminFromOrgParams) WithContext

WithContext adds the context to the delete admin from org params

func (*DeleteAdminFromOrgParams) WithEmail

WithEmail adds the email to the delete admin from org params

func (*DeleteAdminFromOrgParams) WithHTTPClient

func (o *DeleteAdminFromOrgParams) WithHTTPClient(client *http.Client) *DeleteAdminFromOrgParams

WithHTTPClient adds the HTTPClient to the delete admin from org params

func (*DeleteAdminFromOrgParams) WithTimeout

WithTimeout adds the timeout to the delete admin from org params

func (*DeleteAdminFromOrgParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAdminFromOrgReader

type DeleteAdminFromOrgReader struct {
	// contains filtered or unexported fields
}

DeleteAdminFromOrgReader is a Reader for the DeleteAdminFromOrg structure.

func (*DeleteAdminFromOrgReader) ReadResponse

func (o *DeleteAdminFromOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteAdminFromOrgUnauthorized

type DeleteAdminFromOrgUnauthorized struct {
}

DeleteAdminFromOrgUnauthorized handles this case with default header values.

Not authenticated to perform request

func NewDeleteAdminFromOrgUnauthorized

func NewDeleteAdminFromOrgUnauthorized() *DeleteAdminFromOrgUnauthorized

NewDeleteAdminFromOrgUnauthorized creates a DeleteAdminFromOrgUnauthorized with default headers values

func (*DeleteAdminFromOrgUnauthorized) Error

type DeleteOrganizationBadRequest

type DeleteOrganizationBadRequest struct {
}

DeleteOrganizationBadRequest handles this case with default header values.

Unable to process request

func NewDeleteOrganizationBadRequest

func NewDeleteOrganizationBadRequest() *DeleteOrganizationBadRequest

NewDeleteOrganizationBadRequest creates a DeleteOrganizationBadRequest with default headers values

func (*DeleteOrganizationBadRequest) Error

type DeleteOrganizationOK

type DeleteOrganizationOK struct {
}

DeleteOrganizationOK handles this case with default header values.

Successful deletion of an existing organization.

func NewDeleteOrganizationOK

func NewDeleteOrganizationOK() *DeleteOrganizationOK

NewDeleteOrganizationOK creates a DeleteOrganizationOK with default headers values

func (*DeleteOrganizationOK) Error

func (o *DeleteOrganizationOK) Error() string

type DeleteOrganizationParams

type DeleteOrganizationParams struct {

	/*OrgID*/
	OrgID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteOrganizationParams contains all the parameters to send to the API endpoint for the delete organization operation typically these are written to a http.Request

func NewDeleteOrganizationParams

func NewDeleteOrganizationParams() *DeleteOrganizationParams

NewDeleteOrganizationParams creates a new DeleteOrganizationParams object with the default values initialized.

func NewDeleteOrganizationParamsWithContext

func NewDeleteOrganizationParamsWithContext(ctx context.Context) *DeleteOrganizationParams

NewDeleteOrganizationParamsWithContext creates a new DeleteOrganizationParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteOrganizationParamsWithHTTPClient

func NewDeleteOrganizationParamsWithHTTPClient(client *http.Client) *DeleteOrganizationParams

NewDeleteOrganizationParamsWithHTTPClient creates a new DeleteOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteOrganizationParamsWithTimeout

func NewDeleteOrganizationParamsWithTimeout(timeout time.Duration) *DeleteOrganizationParams

NewDeleteOrganizationParamsWithTimeout creates a new DeleteOrganizationParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteOrganizationParams) SetContext

func (o *DeleteOrganizationParams) SetContext(ctx context.Context)

SetContext adds the context to the delete organization params

func (*DeleteOrganizationParams) SetHTTPClient

func (o *DeleteOrganizationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete organization params

func (*DeleteOrganizationParams) SetOrgID

func (o *DeleteOrganizationParams) SetOrgID(orgID string)

SetOrgID adds the orgId to the delete organization params

func (*DeleteOrganizationParams) SetTimeout

func (o *DeleteOrganizationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete organization params

func (*DeleteOrganizationParams) WithContext

WithContext adds the context to the delete organization params

func (*DeleteOrganizationParams) WithHTTPClient

func (o *DeleteOrganizationParams) WithHTTPClient(client *http.Client) *DeleteOrganizationParams

WithHTTPClient adds the HTTPClient to the delete organization params

func (*DeleteOrganizationParams) WithOrgID

WithOrgID adds the orgID to the delete organization params

func (*DeleteOrganizationParams) WithTimeout

WithTimeout adds the timeout to the delete organization params

func (*DeleteOrganizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteOrganizationReader

type DeleteOrganizationReader struct {
	// contains filtered or unexported fields
}

DeleteOrganizationReader is a Reader for the DeleteOrganization structure.

func (*DeleteOrganizationReader) ReadResponse

func (o *DeleteOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteOrganizationUnauthorized

type DeleteOrganizationUnauthorized struct {
}

DeleteOrganizationUnauthorized handles this case with default header values.

Not authenticated to perform request

func NewDeleteOrganizationUnauthorized

func NewDeleteOrganizationUnauthorized() *DeleteOrganizationUnauthorized

NewDeleteOrganizationUnauthorized creates a DeleteOrganizationUnauthorized with default headers values

func (*DeleteOrganizationUnauthorized) Error

type GetCloudOrganizationAPIKeyBadRequest

type GetCloudOrganizationAPIKeyBadRequest struct {
}

GetCloudOrganizationAPIKeyBadRequest handles this case with default header values.

Unable to process request

func NewGetCloudOrganizationAPIKeyBadRequest

func NewGetCloudOrganizationAPIKeyBadRequest() *GetCloudOrganizationAPIKeyBadRequest

NewGetCloudOrganizationAPIKeyBadRequest creates a GetCloudOrganizationAPIKeyBadRequest with default headers values

func (*GetCloudOrganizationAPIKeyBadRequest) Error

type GetCloudOrganizationAPIKeyForbidden

type GetCloudOrganizationAPIKeyForbidden struct {
}

GetCloudOrganizationAPIKeyForbidden handles this case with default header values.

Not authorized to perform request

func NewGetCloudOrganizationAPIKeyForbidden

func NewGetCloudOrganizationAPIKeyForbidden() *GetCloudOrganizationAPIKeyForbidden

NewGetCloudOrganizationAPIKeyForbidden creates a GetCloudOrganizationAPIKeyForbidden with default headers values

func (*GetCloudOrganizationAPIKeyForbidden) Error

type GetCloudOrganizationAPIKeyInternalServerError

type GetCloudOrganizationAPIKeyInternalServerError struct {
}

GetCloudOrganizationAPIKeyInternalServerError handles this case with default header values.

Unrecoverable internal server error

func NewGetCloudOrganizationAPIKeyInternalServerError

func NewGetCloudOrganizationAPIKeyInternalServerError() *GetCloudOrganizationAPIKeyInternalServerError

NewGetCloudOrganizationAPIKeyInternalServerError creates a GetCloudOrganizationAPIKeyInternalServerError with default headers values

func (*GetCloudOrganizationAPIKeyInternalServerError) Error

type GetCloudOrganizationAPIKeyOK

type GetCloudOrganizationAPIKeyOK struct {
	Payload *models.APIKey
}

GetCloudOrganizationAPIKeyOK handles this case with default header values.

Returns an apikey for a cloud org

func NewGetCloudOrganizationAPIKeyOK

func NewGetCloudOrganizationAPIKeyOK() *GetCloudOrganizationAPIKeyOK

NewGetCloudOrganizationAPIKeyOK creates a GetCloudOrganizationAPIKeyOK with default headers values

func (*GetCloudOrganizationAPIKeyOK) Error

type GetCloudOrganizationAPIKeyParams

type GetCloudOrganizationAPIKeyParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCloudOrganizationAPIKeyParams contains all the parameters to send to the API endpoint for the get cloud organization API key operation typically these are written to a http.Request

func NewGetCloudOrganizationAPIKeyParams

func NewGetCloudOrganizationAPIKeyParams() *GetCloudOrganizationAPIKeyParams

NewGetCloudOrganizationAPIKeyParams creates a new GetCloudOrganizationAPIKeyParams object with the default values initialized.

func NewGetCloudOrganizationAPIKeyParamsWithContext

func NewGetCloudOrganizationAPIKeyParamsWithContext(ctx context.Context) *GetCloudOrganizationAPIKeyParams

NewGetCloudOrganizationAPIKeyParamsWithContext creates a new GetCloudOrganizationAPIKeyParams object with the default values initialized, and the ability to set a context for a request

func NewGetCloudOrganizationAPIKeyParamsWithHTTPClient

func NewGetCloudOrganizationAPIKeyParamsWithHTTPClient(client *http.Client) *GetCloudOrganizationAPIKeyParams

NewGetCloudOrganizationAPIKeyParamsWithHTTPClient creates a new GetCloudOrganizationAPIKeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetCloudOrganizationAPIKeyParamsWithTimeout

func NewGetCloudOrganizationAPIKeyParamsWithTimeout(timeout time.Duration) *GetCloudOrganizationAPIKeyParams

NewGetCloudOrganizationAPIKeyParamsWithTimeout creates a new GetCloudOrganizationAPIKeyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetCloudOrganizationAPIKeyParams) SetContext

SetContext adds the context to the get cloud organization API key params

func (*GetCloudOrganizationAPIKeyParams) SetHTTPClient

func (o *GetCloudOrganizationAPIKeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get cloud organization API key params

func (*GetCloudOrganizationAPIKeyParams) SetTimeout

func (o *GetCloudOrganizationAPIKeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get cloud organization API key params

func (*GetCloudOrganizationAPIKeyParams) WithContext

WithContext adds the context to the get cloud organization API key params

func (*GetCloudOrganizationAPIKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get cloud organization API key params

func (*GetCloudOrganizationAPIKeyParams) WithTimeout

WithTimeout adds the timeout to the get cloud organization API key params

func (*GetCloudOrganizationAPIKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCloudOrganizationAPIKeyReader

type GetCloudOrganizationAPIKeyReader struct {
	// contains filtered or unexported fields
}

GetCloudOrganizationAPIKeyReader is a Reader for the GetCloudOrganizationAPIKey structure.

func (*GetCloudOrganizationAPIKeyReader) ReadResponse

func (o *GetCloudOrganizationAPIKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCloudOrganizationAPIKeyUnauthorized

type GetCloudOrganizationAPIKeyUnauthorized struct {
}

GetCloudOrganizationAPIKeyUnauthorized handles this case with default header values.

Not authenticated to perform request

func NewGetCloudOrganizationAPIKeyUnauthorized

func NewGetCloudOrganizationAPIKeyUnauthorized() *GetCloudOrganizationAPIKeyUnauthorized

NewGetCloudOrganizationAPIKeyUnauthorized creates a GetCloudOrganizationAPIKeyUnauthorized with default headers values

func (*GetCloudOrganizationAPIKeyUnauthorized) Error

type GetOrganizationBadRequest

type GetOrganizationBadRequest struct {
}

GetOrganizationBadRequest handles this case with default header values.

Unable to process request

func NewGetOrganizationBadRequest

func NewGetOrganizationBadRequest() *GetOrganizationBadRequest

NewGetOrganizationBadRequest creates a GetOrganizationBadRequest with default headers values

func (*GetOrganizationBadRequest) Error

func (o *GetOrganizationBadRequest) Error() string

type GetOrganizationFromAPIKeyBadRequest

type GetOrganizationFromAPIKeyBadRequest struct {
}

GetOrganizationFromAPIKeyBadRequest handles this case with default header values.

Unable to process request

func NewGetOrganizationFromAPIKeyBadRequest

func NewGetOrganizationFromAPIKeyBadRequest() *GetOrganizationFromAPIKeyBadRequest

NewGetOrganizationFromAPIKeyBadRequest creates a GetOrganizationFromAPIKeyBadRequest with default headers values

func (*GetOrganizationFromAPIKeyBadRequest) Error

type GetOrganizationFromAPIKeyOK

type GetOrganizationFromAPIKeyOK struct {
	Payload *models.Organization
}

GetOrganizationFromAPIKeyOK handles this case with default header values.

Returns the Org requested

func NewGetOrganizationFromAPIKeyOK

func NewGetOrganizationFromAPIKeyOK() *GetOrganizationFromAPIKeyOK

NewGetOrganizationFromAPIKeyOK creates a GetOrganizationFromAPIKeyOK with default headers values

func (*GetOrganizationFromAPIKeyOK) Error

type GetOrganizationFromAPIKeyParams

type GetOrganizationFromAPIKeyParams struct {

	/*Apikey*/
	Apikey string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOrganizationFromAPIKeyParams contains all the parameters to send to the API endpoint for the get organization from API key operation typically these are written to a http.Request

func NewGetOrganizationFromAPIKeyParams

func NewGetOrganizationFromAPIKeyParams() *GetOrganizationFromAPIKeyParams

NewGetOrganizationFromAPIKeyParams creates a new GetOrganizationFromAPIKeyParams object with the default values initialized.

func NewGetOrganizationFromAPIKeyParamsWithContext

func NewGetOrganizationFromAPIKeyParamsWithContext(ctx context.Context) *GetOrganizationFromAPIKeyParams

NewGetOrganizationFromAPIKeyParamsWithContext creates a new GetOrganizationFromAPIKeyParams object with the default values initialized, and the ability to set a context for a request

func NewGetOrganizationFromAPIKeyParamsWithHTTPClient

func NewGetOrganizationFromAPIKeyParamsWithHTTPClient(client *http.Client) *GetOrganizationFromAPIKeyParams

NewGetOrganizationFromAPIKeyParamsWithHTTPClient creates a new GetOrganizationFromAPIKeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetOrganizationFromAPIKeyParamsWithTimeout

func NewGetOrganizationFromAPIKeyParamsWithTimeout(timeout time.Duration) *GetOrganizationFromAPIKeyParams

NewGetOrganizationFromAPIKeyParamsWithTimeout creates a new GetOrganizationFromAPIKeyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetOrganizationFromAPIKeyParams) SetApikey

func (o *GetOrganizationFromAPIKeyParams) SetApikey(apikey string)

SetApikey adds the apikey to the get organization from API key params

func (*GetOrganizationFromAPIKeyParams) SetContext

func (o *GetOrganizationFromAPIKeyParams) SetContext(ctx context.Context)

SetContext adds the context to the get organization from API key params

func (*GetOrganizationFromAPIKeyParams) SetHTTPClient

func (o *GetOrganizationFromAPIKeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get organization from API key params

func (*GetOrganizationFromAPIKeyParams) SetTimeout

func (o *GetOrganizationFromAPIKeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get organization from API key params

func (*GetOrganizationFromAPIKeyParams) WithApikey

WithApikey adds the apikey to the get organization from API key params

func (*GetOrganizationFromAPIKeyParams) WithContext

WithContext adds the context to the get organization from API key params

func (*GetOrganizationFromAPIKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization from API key params

func (*GetOrganizationFromAPIKeyParams) WithTimeout

WithTimeout adds the timeout to the get organization from API key params

func (*GetOrganizationFromAPIKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganizationFromAPIKeyReader

type GetOrganizationFromAPIKeyReader struct {
	// contains filtered or unexported fields
}

GetOrganizationFromAPIKeyReader is a Reader for the GetOrganizationFromAPIKey structure.

func (*GetOrganizationFromAPIKeyReader) ReadResponse

func (o *GetOrganizationFromAPIKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOrganizationFromAPIKeyUnauthorized

type GetOrganizationFromAPIKeyUnauthorized struct {
}

GetOrganizationFromAPIKeyUnauthorized handles this case with default header values.

Not authenticated to perform request

func NewGetOrganizationFromAPIKeyUnauthorized

func NewGetOrganizationFromAPIKeyUnauthorized() *GetOrganizationFromAPIKeyUnauthorized

NewGetOrganizationFromAPIKeyUnauthorized creates a GetOrganizationFromAPIKeyUnauthorized with default headers values

func (*GetOrganizationFromAPIKeyUnauthorized) Error

type GetOrganizationOK

type GetOrganizationOK struct {
	Payload *models.Organization
}

GetOrganizationOK handles this case with default header values.

Returns the Org requested

func NewGetOrganizationOK

func NewGetOrganizationOK() *GetOrganizationOK

NewGetOrganizationOK creates a GetOrganizationOK with default headers values

func (*GetOrganizationOK) Error

func (o *GetOrganizationOK) Error() string

type GetOrganizationParams

type GetOrganizationParams struct {

	/*OrgID*/
	OrgID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOrganizationParams contains all the parameters to send to the API endpoint for the get organization operation typically these are written to a http.Request

func NewGetOrganizationParams

func NewGetOrganizationParams() *GetOrganizationParams

NewGetOrganizationParams creates a new GetOrganizationParams object with the default values initialized.

func NewGetOrganizationParamsWithContext

func NewGetOrganizationParamsWithContext(ctx context.Context) *GetOrganizationParams

NewGetOrganizationParamsWithContext creates a new GetOrganizationParams object with the default values initialized, and the ability to set a context for a request

func NewGetOrganizationParamsWithHTTPClient

func NewGetOrganizationParamsWithHTTPClient(client *http.Client) *GetOrganizationParams

NewGetOrganizationParamsWithHTTPClient creates a new GetOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetOrganizationParamsWithTimeout

func NewGetOrganizationParamsWithTimeout(timeout time.Duration) *GetOrganizationParams

NewGetOrganizationParamsWithTimeout creates a new GetOrganizationParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetOrganizationParams) SetContext

func (o *GetOrganizationParams) SetContext(ctx context.Context)

SetContext adds the context to the get organization params

func (*GetOrganizationParams) SetHTTPClient

func (o *GetOrganizationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get organization params

func (*GetOrganizationParams) SetOrgID

func (o *GetOrganizationParams) SetOrgID(orgID string)

SetOrgID adds the orgId to the get organization params

func (*GetOrganizationParams) SetTimeout

func (o *GetOrganizationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get organization params

func (*GetOrganizationParams) WithContext

WithContext adds the context to the get organization params

func (*GetOrganizationParams) WithHTTPClient

func (o *GetOrganizationParams) WithHTTPClient(client *http.Client) *GetOrganizationParams

WithHTTPClient adds the HTTPClient to the get organization params

func (*GetOrganizationParams) WithOrgID

func (o *GetOrganizationParams) WithOrgID(orgID string) *GetOrganizationParams

WithOrgID adds the orgID to the get organization params

func (*GetOrganizationParams) WithTimeout

func (o *GetOrganizationParams) WithTimeout(timeout time.Duration) *GetOrganizationParams

WithTimeout adds the timeout to the get organization params

func (*GetOrganizationParams) WriteToRequest

func (o *GetOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetOrganizationReader

type GetOrganizationReader struct {
	// contains filtered or unexported fields
}

GetOrganizationReader is a Reader for the GetOrganization structure.

func (*GetOrganizationReader) ReadResponse

func (o *GetOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTestOrganizationAPIKeyBadRequest

type GetTestOrganizationAPIKeyBadRequest struct {
}

GetTestOrganizationAPIKeyBadRequest handles this case with default header values.

Unable to process request

func NewGetTestOrganizationAPIKeyBadRequest

func NewGetTestOrganizationAPIKeyBadRequest() *GetTestOrganizationAPIKeyBadRequest

NewGetTestOrganizationAPIKeyBadRequest creates a GetTestOrganizationAPIKeyBadRequest with default headers values

func (*GetTestOrganizationAPIKeyBadRequest) Error

type GetTestOrganizationAPIKeyInternalServerError

type GetTestOrganizationAPIKeyInternalServerError struct {
}

GetTestOrganizationAPIKeyInternalServerError handles this case with default header values.

Unrecoverable internal server error

func NewGetTestOrganizationAPIKeyInternalServerError

func NewGetTestOrganizationAPIKeyInternalServerError() *GetTestOrganizationAPIKeyInternalServerError

NewGetTestOrganizationAPIKeyInternalServerError creates a GetTestOrganizationAPIKeyInternalServerError with default headers values

func (*GetTestOrganizationAPIKeyInternalServerError) Error

type GetTestOrganizationAPIKeyOK

type GetTestOrganizationAPIKeyOK struct {
	Payload *models.APIKey
}

GetTestOrganizationAPIKeyOK handles this case with default header values.

Returns an apikey for a test org

func NewGetTestOrganizationAPIKeyOK

func NewGetTestOrganizationAPIKeyOK() *GetTestOrganizationAPIKeyOK

NewGetTestOrganizationAPIKeyOK creates a GetTestOrganizationAPIKeyOK with default headers values

func (*GetTestOrganizationAPIKeyOK) Error

type GetTestOrganizationAPIKeyParams

type GetTestOrganizationAPIKeyParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTestOrganizationAPIKeyParams contains all the parameters to send to the API endpoint for the get test organization API key operation typically these are written to a http.Request

func NewGetTestOrganizationAPIKeyParams

func NewGetTestOrganizationAPIKeyParams() *GetTestOrganizationAPIKeyParams

NewGetTestOrganizationAPIKeyParams creates a new GetTestOrganizationAPIKeyParams object with the default values initialized.

func NewGetTestOrganizationAPIKeyParamsWithContext

func NewGetTestOrganizationAPIKeyParamsWithContext(ctx context.Context) *GetTestOrganizationAPIKeyParams

NewGetTestOrganizationAPIKeyParamsWithContext creates a new GetTestOrganizationAPIKeyParams object with the default values initialized, and the ability to set a context for a request

func NewGetTestOrganizationAPIKeyParamsWithHTTPClient

func NewGetTestOrganizationAPIKeyParamsWithHTTPClient(client *http.Client) *GetTestOrganizationAPIKeyParams

NewGetTestOrganizationAPIKeyParamsWithHTTPClient creates a new GetTestOrganizationAPIKeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetTestOrganizationAPIKeyParamsWithTimeout

func NewGetTestOrganizationAPIKeyParamsWithTimeout(timeout time.Duration) *GetTestOrganizationAPIKeyParams

NewGetTestOrganizationAPIKeyParamsWithTimeout creates a new GetTestOrganizationAPIKeyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetTestOrganizationAPIKeyParams) SetContext

func (o *GetTestOrganizationAPIKeyParams) SetContext(ctx context.Context)

SetContext adds the context to the get test organization API key params

func (*GetTestOrganizationAPIKeyParams) SetHTTPClient

func (o *GetTestOrganizationAPIKeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get test organization API key params

func (*GetTestOrganizationAPIKeyParams) SetTimeout

func (o *GetTestOrganizationAPIKeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get test organization API key params

func (*GetTestOrganizationAPIKeyParams) WithContext

WithContext adds the context to the get test organization API key params

func (*GetTestOrganizationAPIKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get test organization API key params

func (*GetTestOrganizationAPIKeyParams) WithTimeout

WithTimeout adds the timeout to the get test organization API key params

func (*GetTestOrganizationAPIKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTestOrganizationAPIKeyReader

type GetTestOrganizationAPIKeyReader struct {
	// contains filtered or unexported fields
}

GetTestOrganizationAPIKeyReader is a Reader for the GetTestOrganizationAPIKey structure.

func (*GetTestOrganizationAPIKeyReader) ReadResponse

func (o *GetTestOrganizationAPIKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTestOrganizationAPIKeyUnauthorized

type GetTestOrganizationAPIKeyUnauthorized struct {
}

GetTestOrganizationAPIKeyUnauthorized handles this case with default header values.

Not authenticated to perform request

func NewGetTestOrganizationAPIKeyUnauthorized

func NewGetTestOrganizationAPIKeyUnauthorized() *GetTestOrganizationAPIKeyUnauthorized

NewGetTestOrganizationAPIKeyUnauthorized creates a GetTestOrganizationAPIKeyUnauthorized with default headers values

func (*GetTestOrganizationAPIKeyUnauthorized) Error

type UpdateStripeCustomerIDBadRequest

type UpdateStripeCustomerIDBadRequest struct {
}

UpdateStripeCustomerIDBadRequest handles this case with default header values.

Unable to process request

func NewUpdateStripeCustomerIDBadRequest

func NewUpdateStripeCustomerIDBadRequest() *UpdateStripeCustomerIDBadRequest

NewUpdateStripeCustomerIDBadRequest creates a UpdateStripeCustomerIDBadRequest with default headers values

func (*UpdateStripeCustomerIDBadRequest) Error

type UpdateStripeCustomerIDOK

type UpdateStripeCustomerIDOK struct {
	Payload *models.APIKey
}

UpdateStripeCustomerIDOK handles this case with default header values.

Successfully updated stripe customer id

func NewUpdateStripeCustomerIDOK

func NewUpdateStripeCustomerIDOK() *UpdateStripeCustomerIDOK

NewUpdateStripeCustomerIDOK creates a UpdateStripeCustomerIDOK with default headers values

func (*UpdateStripeCustomerIDOK) Error

func (o *UpdateStripeCustomerIDOK) Error() string

type UpdateStripeCustomerIDParams

type UpdateStripeCustomerIDParams struct {

	/*StripeCustomerID*/
	StripeCustomerID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateStripeCustomerIDParams contains all the parameters to send to the API endpoint for the update stripe customer Id operation typically these are written to a http.Request

func NewUpdateStripeCustomerIDParams

func NewUpdateStripeCustomerIDParams() *UpdateStripeCustomerIDParams

NewUpdateStripeCustomerIDParams creates a new UpdateStripeCustomerIDParams object with the default values initialized.

func NewUpdateStripeCustomerIDParamsWithContext

func NewUpdateStripeCustomerIDParamsWithContext(ctx context.Context) *UpdateStripeCustomerIDParams

NewUpdateStripeCustomerIDParamsWithContext creates a new UpdateStripeCustomerIDParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateStripeCustomerIDParamsWithHTTPClient

func NewUpdateStripeCustomerIDParamsWithHTTPClient(client *http.Client) *UpdateStripeCustomerIDParams

NewUpdateStripeCustomerIDParamsWithHTTPClient creates a new UpdateStripeCustomerIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateStripeCustomerIDParamsWithTimeout

func NewUpdateStripeCustomerIDParamsWithTimeout(timeout time.Duration) *UpdateStripeCustomerIDParams

NewUpdateStripeCustomerIDParamsWithTimeout creates a new UpdateStripeCustomerIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateStripeCustomerIDParams) SetContext

func (o *UpdateStripeCustomerIDParams) SetContext(ctx context.Context)

SetContext adds the context to the update stripe customer Id params

func (*UpdateStripeCustomerIDParams) SetHTTPClient

func (o *UpdateStripeCustomerIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update stripe customer Id params

func (*UpdateStripeCustomerIDParams) SetStripeCustomerID

func (o *UpdateStripeCustomerIDParams) SetStripeCustomerID(stripeCustomerID string)

SetStripeCustomerID adds the stripeCustomerId to the update stripe customer Id params

func (*UpdateStripeCustomerIDParams) SetTimeout

func (o *UpdateStripeCustomerIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update stripe customer Id params

func (*UpdateStripeCustomerIDParams) WithContext

WithContext adds the context to the update stripe customer Id params

func (*UpdateStripeCustomerIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update stripe customer Id params

func (*UpdateStripeCustomerIDParams) WithStripeCustomerID

func (o *UpdateStripeCustomerIDParams) WithStripeCustomerID(stripeCustomerID string) *UpdateStripeCustomerIDParams

WithStripeCustomerID adds the stripeCustomerID to the update stripe customer Id params

func (*UpdateStripeCustomerIDParams) WithTimeout

WithTimeout adds the timeout to the update stripe customer Id params

func (*UpdateStripeCustomerIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateStripeCustomerIDReader

type UpdateStripeCustomerIDReader struct {
	// contains filtered or unexported fields
}

UpdateStripeCustomerIDReader is a Reader for the UpdateStripeCustomerID structure.

func (*UpdateStripeCustomerIDReader) ReadResponse

func (o *UpdateStripeCustomerIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateStripeCustomerIDUnauthorized

type UpdateStripeCustomerIDUnauthorized struct {
}

UpdateStripeCustomerIDUnauthorized handles this case with default header values.

Not authenticated to perform request

func NewUpdateStripeCustomerIDUnauthorized

func NewUpdateStripeCustomerIDUnauthorized() *UpdateStripeCustomerIDUnauthorized

NewUpdateStripeCustomerIDUnauthorized creates a UpdateStripeCustomerIDUnauthorized with default headers values

func (*UpdateStripeCustomerIDUnauthorized) Error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL