org

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 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 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 {

	/*Contact*/
	Contact *models.Contact
	/*IDToken*/
	IDToken string
	/*OrgName*/
	OrgName string
	/*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) SetContact

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

SetContact adds the contact to the add organization params

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) 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) WithContact

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

WithContact adds the contact 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) 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) 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) DeleteOrganization

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

DeleteOrganization removes an existing organization

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) 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 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 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 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
y or Y : Canonical URL