Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type PostOrganizationTrialBadRequest
- type PostOrganizationTrialForbidden
- type PostOrganizationTrialInternalServerError
- type PostOrganizationTrialNotFound
- type PostOrganizationTrialOK
- type PostOrganizationTrialParams
- func NewPostOrganizationTrialParams() *PostOrganizationTrialParams
- func NewPostOrganizationTrialParamsWithContext(ctx context.Context) *PostOrganizationTrialParams
- func NewPostOrganizationTrialParamsWithHTTPClient(client *http.Client) *PostOrganizationTrialParams
- func NewPostOrganizationTrialParamsWithTimeout(timeout time.Duration) *PostOrganizationTrialParams
- func (o *PostOrganizationTrialParams) SetContext(ctx context.Context)
- func (o *PostOrganizationTrialParams) SetDefaults()
- func (o *PostOrganizationTrialParams) SetHTTPClient(client *http.Client)
- func (o *PostOrganizationTrialParams) SetIdentifierType(identifierType *string)
- func (o *PostOrganizationTrialParams) SetOrganizationIdentifier(organizationIdentifier string)
- func (o *PostOrganizationTrialParams) SetTimeout(timeout time.Duration)
- func (o *PostOrganizationTrialParams) WithContext(ctx context.Context) *PostOrganizationTrialParams
- func (o *PostOrganizationTrialParams) WithDefaults() *PostOrganizationTrialParams
- func (o *PostOrganizationTrialParams) WithHTTPClient(client *http.Client) *PostOrganizationTrialParams
- func (o *PostOrganizationTrialParams) WithIdentifierType(identifierType *string) *PostOrganizationTrialParams
- func (o *PostOrganizationTrialParams) WithOrganizationIdentifier(organizationIdentifier string) *PostOrganizationTrialParams
- func (o *PostOrganizationTrialParams) WithTimeout(timeout time.Duration) *PostOrganizationTrialParams
- func (o *PostOrganizationTrialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostOrganizationTrialReader
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 (o *PostOrganizationTrialBadRequest) Error() string
func (*PostOrganizationTrialBadRequest) GetPayload ¶
func (o *PostOrganizationTrialBadRequest) GetPayload() *mono_models.Message
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 (o *PostOrganizationTrialForbidden) Error() string
func (*PostOrganizationTrialForbidden) GetPayload ¶
func (o *PostOrganizationTrialForbidden) GetPayload() *mono_models.Message
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 (o *PostOrganizationTrialInternalServerError) Error() string
func (*PostOrganizationTrialInternalServerError) GetPayload ¶
func (o *PostOrganizationTrialInternalServerError) GetPayload() *mono_models.Message
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 (o *PostOrganizationTrialNotFound) Error() string
func (*PostOrganizationTrialNotFound) GetPayload ¶
func (o *PostOrganizationTrialNotFound) GetPayload() *mono_models.Message
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 ¶
func (o *PostOrganizationTrialParams) WithContext(ctx context.Context) *PostOrganizationTrialParams
WithContext adds the context to the post organization trial params
func (*PostOrganizationTrialParams) WithDefaults ¶
func (o *PostOrganizationTrialParams) WithDefaults() *PostOrganizationTrialParams
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 ¶
func (o *PostOrganizationTrialParams) WithHTTPClient(client *http.Client) *PostOrganizationTrialParams
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 ¶
func (o *PostOrganizationTrialParams) WithTimeout(timeout time.Duration) *PostOrganizationTrialParams
WithTimeout adds the timeout to the post organization trial params
func (*PostOrganizationTrialParams) WriteToRequest ¶
func (o *PostOrganizationTrialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.