trials

package
v0.0.0-...-7426b64 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for trials API

func (*Client) PostOrganizationTrial

func (a *Client) PostOrganizationTrial(params *PostOrganizationTrialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostOrganizationTrialOK, error)

PostOrganizationTrial organizations team tier trial

Starts the org on a (fake) team-tier trial.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	PostOrganizationTrial(params *PostOrganizationTrialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostOrganizationTrialOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new trials API client.

type PostOrganizationTrialBadRequest

type PostOrganizationTrialBadRequest struct {
	Payload *mono_models.Message
}
PostOrganizationTrialBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostOrganizationTrialBadRequest

func NewPostOrganizationTrialBadRequest() *PostOrganizationTrialBadRequest

NewPostOrganizationTrialBadRequest creates a PostOrganizationTrialBadRequest with default headers values

func (*PostOrganizationTrialBadRequest) Error

func (*PostOrganizationTrialBadRequest) GetPayload

type PostOrganizationTrialForbidden

type PostOrganizationTrialForbidden struct {
	Payload *mono_models.Message
}
PostOrganizationTrialForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostOrganizationTrialForbidden

func NewPostOrganizationTrialForbidden() *PostOrganizationTrialForbidden

NewPostOrganizationTrialForbidden creates a PostOrganizationTrialForbidden with default headers values

func (*PostOrganizationTrialForbidden) Error

func (*PostOrganizationTrialForbidden) GetPayload

type PostOrganizationTrialInternalServerError

type PostOrganizationTrialInternalServerError struct {
	Payload *mono_models.Message
}
PostOrganizationTrialInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewPostOrganizationTrialInternalServerError

func NewPostOrganizationTrialInternalServerError() *PostOrganizationTrialInternalServerError

NewPostOrganizationTrialInternalServerError creates a PostOrganizationTrialInternalServerError with default headers values

func (*PostOrganizationTrialInternalServerError) Error

func (*PostOrganizationTrialInternalServerError) GetPayload

type PostOrganizationTrialNotFound

type PostOrganizationTrialNotFound struct {
	Payload *mono_models.Message
}
PostOrganizationTrialNotFound describes a response with status code 404, with default header values.

Not Found

func NewPostOrganizationTrialNotFound

func NewPostOrganizationTrialNotFound() *PostOrganizationTrialNotFound

NewPostOrganizationTrialNotFound creates a PostOrganizationTrialNotFound with default headers values

func (*PostOrganizationTrialNotFound) Error

func (*PostOrganizationTrialNotFound) GetPayload

type PostOrganizationTrialOK

type PostOrganizationTrialOK struct {
	Payload string
}
PostOrganizationTrialOK describes a response with status code 200, with default header values.

Success

func NewPostOrganizationTrialOK

func NewPostOrganizationTrialOK() *PostOrganizationTrialOK

NewPostOrganizationTrialOK creates a PostOrganizationTrialOK with default headers values

func (*PostOrganizationTrialOK) Error

func (o *PostOrganizationTrialOK) Error() string

func (*PostOrganizationTrialOK) GetPayload

func (o *PostOrganizationTrialOK) GetPayload() string

type PostOrganizationTrialParams

type PostOrganizationTrialParams struct {

	/* IdentifierType.

	   what kind of thing the provided organizationIdentifier is

	   Default: "URLname"
	*/
	IdentifierType *string

	/* OrganizationIdentifier.

	   identifier (URLname, by default) of the desired organization
	*/
	OrganizationIdentifier string

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

PostOrganizationTrialParams contains all the parameters to send to the API endpoint

for the post organization trial operation.

Typically these are written to a http.Request.

func NewPostOrganizationTrialParams

func NewPostOrganizationTrialParams() *PostOrganizationTrialParams

NewPostOrganizationTrialParams creates a new PostOrganizationTrialParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostOrganizationTrialParamsWithContext

func NewPostOrganizationTrialParamsWithContext(ctx context.Context) *PostOrganizationTrialParams

NewPostOrganizationTrialParamsWithContext creates a new PostOrganizationTrialParams object with the ability to set a context for a request.

func NewPostOrganizationTrialParamsWithHTTPClient

func NewPostOrganizationTrialParamsWithHTTPClient(client *http.Client) *PostOrganizationTrialParams

NewPostOrganizationTrialParamsWithHTTPClient creates a new PostOrganizationTrialParams object with the ability to set a custom HTTPClient for a request.

func NewPostOrganizationTrialParamsWithTimeout

func NewPostOrganizationTrialParamsWithTimeout(timeout time.Duration) *PostOrganizationTrialParams

NewPostOrganizationTrialParamsWithTimeout creates a new PostOrganizationTrialParams object with the ability to set a timeout on a request.

func (*PostOrganizationTrialParams) SetContext

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

SetContext adds the context to the post organization trial params

func (*PostOrganizationTrialParams) SetDefaults

func (o *PostOrganizationTrialParams) SetDefaults()

SetDefaults hydrates default values in the post organization trial params (not the query body).

All values with no default are reset to their zero value.

func (*PostOrganizationTrialParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post organization trial params

func (*PostOrganizationTrialParams) SetIdentifierType

func (o *PostOrganizationTrialParams) SetIdentifierType(identifierType *string)

SetIdentifierType adds the identifierType to the post organization trial params

func (*PostOrganizationTrialParams) SetOrganizationIdentifier

func (o *PostOrganizationTrialParams) SetOrganizationIdentifier(organizationIdentifier string)

SetOrganizationIdentifier adds the organizationIdentifier to the post organization trial params

func (*PostOrganizationTrialParams) SetTimeout

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

SetTimeout adds the timeout to the post organization trial params

func (*PostOrganizationTrialParams) WithContext

WithContext adds the context to the post organization trial params

func (*PostOrganizationTrialParams) WithDefaults

WithDefaults hydrates default values in the post organization trial params (not the query body).

All values with no default are reset to their zero value.

func (*PostOrganizationTrialParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post organization trial params

func (*PostOrganizationTrialParams) WithIdentifierType

func (o *PostOrganizationTrialParams) WithIdentifierType(identifierType *string) *PostOrganizationTrialParams

WithIdentifierType adds the identifierType to the post organization trial params

func (*PostOrganizationTrialParams) WithOrganizationIdentifier

func (o *PostOrganizationTrialParams) WithOrganizationIdentifier(organizationIdentifier string) *PostOrganizationTrialParams

WithOrganizationIdentifier adds the organizationIdentifier to the post organization trial params

func (*PostOrganizationTrialParams) WithTimeout

WithTimeout adds the timeout to the post organization trial params

func (*PostOrganizationTrialParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostOrganizationTrialReader

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

PostOrganizationTrialReader is a Reader for the PostOrganizationTrial structure.

func (*PostOrganizationTrialReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL