Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type EditOrganizationLimitsBadRequest
- type EditOrganizationLimitsForbidden
- type EditOrganizationLimitsInternalServerError
- type EditOrganizationLimitsNotFound
- type EditOrganizationLimitsOK
- type EditOrganizationLimitsParams
- func NewEditOrganizationLimitsParams() *EditOrganizationLimitsParams
- func NewEditOrganizationLimitsParamsWithContext(ctx context.Context) *EditOrganizationLimitsParams
- func NewEditOrganizationLimitsParamsWithHTTPClient(client *http.Client) *EditOrganizationLimitsParams
- func NewEditOrganizationLimitsParamsWithTimeout(timeout time.Duration) *EditOrganizationLimitsParams
- func (o *EditOrganizationLimitsParams) SetContext(ctx context.Context)
- func (o *EditOrganizationLimitsParams) SetDefaults()
- func (o *EditOrganizationLimitsParams) SetHTTPClient(client *http.Client)
- func (o *EditOrganizationLimitsParams) SetIdentifierType(identifierType *string)
- func (o *EditOrganizationLimitsParams) SetLimits(limits *mono_models.LimitsEditable)
- func (o *EditOrganizationLimitsParams) SetOrganizationIdentifier(organizationIdentifier string)
- func (o *EditOrganizationLimitsParams) SetTimeout(timeout time.Duration)
- func (o *EditOrganizationLimitsParams) WithContext(ctx context.Context) *EditOrganizationLimitsParams
- func (o *EditOrganizationLimitsParams) WithDefaults() *EditOrganizationLimitsParams
- func (o *EditOrganizationLimitsParams) WithHTTPClient(client *http.Client) *EditOrganizationLimitsParams
- func (o *EditOrganizationLimitsParams) WithIdentifierType(identifierType *string) *EditOrganizationLimitsParams
- func (o *EditOrganizationLimitsParams) WithLimits(limits *mono_models.LimitsEditable) *EditOrganizationLimitsParams
- func (o *EditOrganizationLimitsParams) WithOrganizationIdentifier(organizationIdentifier string) *EditOrganizationLimitsParams
- func (o *EditOrganizationLimitsParams) WithTimeout(timeout time.Duration) *EditOrganizationLimitsParams
- func (o *EditOrganizationLimitsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EditOrganizationLimitsReader
- type GetOrganizationLimitsForbidden
- type GetOrganizationLimitsInternalServerError
- type GetOrganizationLimitsNotFound
- type GetOrganizationLimitsOK
- type GetOrganizationLimitsParams
- func NewGetOrganizationLimitsParams() *GetOrganizationLimitsParams
- func NewGetOrganizationLimitsParamsWithContext(ctx context.Context) *GetOrganizationLimitsParams
- func NewGetOrganizationLimitsParamsWithHTTPClient(client *http.Client) *GetOrganizationLimitsParams
- func NewGetOrganizationLimitsParamsWithTimeout(timeout time.Duration) *GetOrganizationLimitsParams
- func (o *GetOrganizationLimitsParams) SetContext(ctx context.Context)
- func (o *GetOrganizationLimitsParams) SetDefaults()
- func (o *GetOrganizationLimitsParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationLimitsParams) SetIdentifierType(identifierType *string)
- func (o *GetOrganizationLimitsParams) SetOrganizationIdentifier(organizationIdentifier string)
- func (o *GetOrganizationLimitsParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationLimitsParams) WithContext(ctx context.Context) *GetOrganizationLimitsParams
- func (o *GetOrganizationLimitsParams) WithDefaults() *GetOrganizationLimitsParams
- func (o *GetOrganizationLimitsParams) WithHTTPClient(client *http.Client) *GetOrganizationLimitsParams
- func (o *GetOrganizationLimitsParams) WithIdentifierType(identifierType *string) *GetOrganizationLimitsParams
- func (o *GetOrganizationLimitsParams) WithOrganizationIdentifier(organizationIdentifier string) *GetOrganizationLimitsParams
- func (o *GetOrganizationLimitsParams) WithTimeout(timeout time.Duration) *GetOrganizationLimitsParams
- func (o *GetOrganizationLimitsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationLimitsReader
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 limits API
func (*Client) GetOrganizationLimits ¶
func (a *Client) GetOrganizationLimits(params *GetOrganizationLimitsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationLimitsOK, error)
GetOrganizationLimits organizations limitations
Returns the limitations that apply to the org (inherited from their tier)
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 { GetOrganizationLimits(params *GetOrganizationLimitsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationLimitsOK, 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 limits API client.
type EditOrganizationLimitsBadRequest ¶
type EditOrganizationLimitsBadRequest struct {
Payload *mono_models.Message
}
EditOrganizationLimitsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewEditOrganizationLimitsBadRequest ¶
func NewEditOrganizationLimitsBadRequest() *EditOrganizationLimitsBadRequest
NewEditOrganizationLimitsBadRequest creates a EditOrganizationLimitsBadRequest with default headers values
func (*EditOrganizationLimitsBadRequest) Error ¶
func (o *EditOrganizationLimitsBadRequest) Error() string
func (*EditOrganizationLimitsBadRequest) GetPayload ¶
func (o *EditOrganizationLimitsBadRequest) GetPayload() *mono_models.Message
type EditOrganizationLimitsForbidden ¶
type EditOrganizationLimitsForbidden struct {
Payload *mono_models.Message
}
EditOrganizationLimitsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewEditOrganizationLimitsForbidden ¶
func NewEditOrganizationLimitsForbidden() *EditOrganizationLimitsForbidden
NewEditOrganizationLimitsForbidden creates a EditOrganizationLimitsForbidden with default headers values
func (*EditOrganizationLimitsForbidden) Error ¶
func (o *EditOrganizationLimitsForbidden) Error() string
func (*EditOrganizationLimitsForbidden) GetPayload ¶
func (o *EditOrganizationLimitsForbidden) GetPayload() *mono_models.Message
type EditOrganizationLimitsInternalServerError ¶
type EditOrganizationLimitsInternalServerError struct {
Payload *mono_models.Message
}
EditOrganizationLimitsInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewEditOrganizationLimitsInternalServerError ¶
func NewEditOrganizationLimitsInternalServerError() *EditOrganizationLimitsInternalServerError
NewEditOrganizationLimitsInternalServerError creates a EditOrganizationLimitsInternalServerError with default headers values
func (*EditOrganizationLimitsInternalServerError) Error ¶
func (o *EditOrganizationLimitsInternalServerError) Error() string
func (*EditOrganizationLimitsInternalServerError) GetPayload ¶
func (o *EditOrganizationLimitsInternalServerError) GetPayload() *mono_models.Message
type EditOrganizationLimitsNotFound ¶
type EditOrganizationLimitsNotFound struct {
Payload *mono_models.Message
}
EditOrganizationLimitsNotFound describes a response with status code 404, with default header values.
Not Found
func NewEditOrganizationLimitsNotFound ¶
func NewEditOrganizationLimitsNotFound() *EditOrganizationLimitsNotFound
NewEditOrganizationLimitsNotFound creates a EditOrganizationLimitsNotFound with default headers values
func (*EditOrganizationLimitsNotFound) Error ¶
func (o *EditOrganizationLimitsNotFound) Error() string
func (*EditOrganizationLimitsNotFound) GetPayload ¶
func (o *EditOrganizationLimitsNotFound) GetPayload() *mono_models.Message
type EditOrganizationLimitsOK ¶
type EditOrganizationLimitsOK struct {
Payload *mono_models.Limits
}
EditOrganizationLimitsOK describes a response with status code 200, with default header values.
Success
func NewEditOrganizationLimitsOK ¶
func NewEditOrganizationLimitsOK() *EditOrganizationLimitsOK
NewEditOrganizationLimitsOK creates a EditOrganizationLimitsOK with default headers values
func (*EditOrganizationLimitsOK) Error ¶
func (o *EditOrganizationLimitsOK) Error() string
func (*EditOrganizationLimitsOK) GetPayload ¶
func (o *EditOrganizationLimitsOK) GetPayload() *mono_models.Limits
type EditOrganizationLimitsParams ¶
type EditOrganizationLimitsParams struct { /* IdentifierType. what kind of thing the provided organizationIdentifier is Default: "URLname" */ IdentifierType *string /* Limits. the limits to set */ Limits *mono_models.LimitsEditable /* OrganizationIdentifier. identifier (URLname, by default) of the desired organization */ OrganizationIdentifier string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EditOrganizationLimitsParams contains all the parameters to send to the API endpoint
for the edit organization limits operation. Typically these are written to a http.Request.
func NewEditOrganizationLimitsParams ¶
func NewEditOrganizationLimitsParams() *EditOrganizationLimitsParams
NewEditOrganizationLimitsParams creates a new EditOrganizationLimitsParams 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 NewEditOrganizationLimitsParamsWithContext ¶
func NewEditOrganizationLimitsParamsWithContext(ctx context.Context) *EditOrganizationLimitsParams
NewEditOrganizationLimitsParamsWithContext creates a new EditOrganizationLimitsParams object with the ability to set a context for a request.
func NewEditOrganizationLimitsParamsWithHTTPClient ¶
func NewEditOrganizationLimitsParamsWithHTTPClient(client *http.Client) *EditOrganizationLimitsParams
NewEditOrganizationLimitsParamsWithHTTPClient creates a new EditOrganizationLimitsParams object with the ability to set a custom HTTPClient for a request.
func NewEditOrganizationLimitsParamsWithTimeout ¶
func NewEditOrganizationLimitsParamsWithTimeout(timeout time.Duration) *EditOrganizationLimitsParams
NewEditOrganizationLimitsParamsWithTimeout creates a new EditOrganizationLimitsParams object with the ability to set a timeout on a request.
func (*EditOrganizationLimitsParams) SetContext ¶
func (o *EditOrganizationLimitsParams) SetContext(ctx context.Context)
SetContext adds the context to the edit organization limits params
func (*EditOrganizationLimitsParams) SetDefaults ¶
func (o *EditOrganizationLimitsParams) SetDefaults()
SetDefaults hydrates default values in the edit organization limits params (not the query body).
All values with no default are reset to their zero value.
func (*EditOrganizationLimitsParams) SetHTTPClient ¶
func (o *EditOrganizationLimitsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the edit organization limits params
func (*EditOrganizationLimitsParams) SetIdentifierType ¶
func (o *EditOrganizationLimitsParams) SetIdentifierType(identifierType *string)
SetIdentifierType adds the identifierType to the edit organization limits params
func (*EditOrganizationLimitsParams) SetLimits ¶
func (o *EditOrganizationLimitsParams) SetLimits(limits *mono_models.LimitsEditable)
SetLimits adds the limits to the edit organization limits params
func (*EditOrganizationLimitsParams) SetOrganizationIdentifier ¶
func (o *EditOrganizationLimitsParams) SetOrganizationIdentifier(organizationIdentifier string)
SetOrganizationIdentifier adds the organizationIdentifier to the edit organization limits params
func (*EditOrganizationLimitsParams) SetTimeout ¶
func (o *EditOrganizationLimitsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the edit organization limits params
func (*EditOrganizationLimitsParams) WithContext ¶
func (o *EditOrganizationLimitsParams) WithContext(ctx context.Context) *EditOrganizationLimitsParams
WithContext adds the context to the edit organization limits params
func (*EditOrganizationLimitsParams) WithDefaults ¶
func (o *EditOrganizationLimitsParams) WithDefaults() *EditOrganizationLimitsParams
WithDefaults hydrates default values in the edit organization limits params (not the query body).
All values with no default are reset to their zero value.
func (*EditOrganizationLimitsParams) WithHTTPClient ¶
func (o *EditOrganizationLimitsParams) WithHTTPClient(client *http.Client) *EditOrganizationLimitsParams
WithHTTPClient adds the HTTPClient to the edit organization limits params
func (*EditOrganizationLimitsParams) WithIdentifierType ¶
func (o *EditOrganizationLimitsParams) WithIdentifierType(identifierType *string) *EditOrganizationLimitsParams
WithIdentifierType adds the identifierType to the edit organization limits params
func (*EditOrganizationLimitsParams) WithLimits ¶
func (o *EditOrganizationLimitsParams) WithLimits(limits *mono_models.LimitsEditable) *EditOrganizationLimitsParams
WithLimits adds the limits to the edit organization limits params
func (*EditOrganizationLimitsParams) WithOrganizationIdentifier ¶
func (o *EditOrganizationLimitsParams) WithOrganizationIdentifier(organizationIdentifier string) *EditOrganizationLimitsParams
WithOrganizationIdentifier adds the organizationIdentifier to the edit organization limits params
func (*EditOrganizationLimitsParams) WithTimeout ¶
func (o *EditOrganizationLimitsParams) WithTimeout(timeout time.Duration) *EditOrganizationLimitsParams
WithTimeout adds the timeout to the edit organization limits params
func (*EditOrganizationLimitsParams) WriteToRequest ¶
func (o *EditOrganizationLimitsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EditOrganizationLimitsReader ¶
type EditOrganizationLimitsReader struct {
// contains filtered or unexported fields
}
EditOrganizationLimitsReader is a Reader for the EditOrganizationLimits structure.
func (*EditOrganizationLimitsReader) ReadResponse ¶
func (o *EditOrganizationLimitsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrganizationLimitsForbidden ¶
type GetOrganizationLimitsForbidden struct {
Payload *mono_models.Message
}
GetOrganizationLimitsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetOrganizationLimitsForbidden ¶
func NewGetOrganizationLimitsForbidden() *GetOrganizationLimitsForbidden
NewGetOrganizationLimitsForbidden creates a GetOrganizationLimitsForbidden with default headers values
func (*GetOrganizationLimitsForbidden) Error ¶
func (o *GetOrganizationLimitsForbidden) Error() string
func (*GetOrganizationLimitsForbidden) GetPayload ¶
func (o *GetOrganizationLimitsForbidden) GetPayload() *mono_models.Message
type GetOrganizationLimitsInternalServerError ¶
type GetOrganizationLimitsInternalServerError struct {
Payload *mono_models.Message
}
GetOrganizationLimitsInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewGetOrganizationLimitsInternalServerError ¶
func NewGetOrganizationLimitsInternalServerError() *GetOrganizationLimitsInternalServerError
NewGetOrganizationLimitsInternalServerError creates a GetOrganizationLimitsInternalServerError with default headers values
func (*GetOrganizationLimitsInternalServerError) Error ¶
func (o *GetOrganizationLimitsInternalServerError) Error() string
func (*GetOrganizationLimitsInternalServerError) GetPayload ¶
func (o *GetOrganizationLimitsInternalServerError) GetPayload() *mono_models.Message
type GetOrganizationLimitsNotFound ¶
type GetOrganizationLimitsNotFound struct {
Payload *mono_models.Message
}
GetOrganizationLimitsNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetOrganizationLimitsNotFound ¶
func NewGetOrganizationLimitsNotFound() *GetOrganizationLimitsNotFound
NewGetOrganizationLimitsNotFound creates a GetOrganizationLimitsNotFound with default headers values
func (*GetOrganizationLimitsNotFound) Error ¶
func (o *GetOrganizationLimitsNotFound) Error() string
func (*GetOrganizationLimitsNotFound) GetPayload ¶
func (o *GetOrganizationLimitsNotFound) GetPayload() *mono_models.Message
type GetOrganizationLimitsOK ¶
type GetOrganizationLimitsOK struct {
Payload *mono_models.Limits
}
GetOrganizationLimitsOK describes a response with status code 200, with default header values.
Success
func NewGetOrganizationLimitsOK ¶
func NewGetOrganizationLimitsOK() *GetOrganizationLimitsOK
NewGetOrganizationLimitsOK creates a GetOrganizationLimitsOK with default headers values
func (*GetOrganizationLimitsOK) Error ¶
func (o *GetOrganizationLimitsOK) Error() string
func (*GetOrganizationLimitsOK) GetPayload ¶
func (o *GetOrganizationLimitsOK) GetPayload() *mono_models.Limits
type GetOrganizationLimitsParams ¶
type GetOrganizationLimitsParams 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 }
GetOrganizationLimitsParams contains all the parameters to send to the API endpoint
for the get organization limits operation. Typically these are written to a http.Request.
func NewGetOrganizationLimitsParams ¶
func NewGetOrganizationLimitsParams() *GetOrganizationLimitsParams
NewGetOrganizationLimitsParams creates a new GetOrganizationLimitsParams 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 NewGetOrganizationLimitsParamsWithContext ¶
func NewGetOrganizationLimitsParamsWithContext(ctx context.Context) *GetOrganizationLimitsParams
NewGetOrganizationLimitsParamsWithContext creates a new GetOrganizationLimitsParams object with the ability to set a context for a request.
func NewGetOrganizationLimitsParamsWithHTTPClient ¶
func NewGetOrganizationLimitsParamsWithHTTPClient(client *http.Client) *GetOrganizationLimitsParams
NewGetOrganizationLimitsParamsWithHTTPClient creates a new GetOrganizationLimitsParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrganizationLimitsParamsWithTimeout ¶
func NewGetOrganizationLimitsParamsWithTimeout(timeout time.Duration) *GetOrganizationLimitsParams
NewGetOrganizationLimitsParamsWithTimeout creates a new GetOrganizationLimitsParams object with the ability to set a timeout on a request.
func (*GetOrganizationLimitsParams) SetContext ¶
func (o *GetOrganizationLimitsParams) SetContext(ctx context.Context)
SetContext adds the context to the get organization limits params
func (*GetOrganizationLimitsParams) SetDefaults ¶
func (o *GetOrganizationLimitsParams) SetDefaults()
SetDefaults hydrates default values in the get organization limits params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationLimitsParams) SetHTTPClient ¶
func (o *GetOrganizationLimitsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get organization limits params
func (*GetOrganizationLimitsParams) SetIdentifierType ¶
func (o *GetOrganizationLimitsParams) SetIdentifierType(identifierType *string)
SetIdentifierType adds the identifierType to the get organization limits params
func (*GetOrganizationLimitsParams) SetOrganizationIdentifier ¶
func (o *GetOrganizationLimitsParams) SetOrganizationIdentifier(organizationIdentifier string)
SetOrganizationIdentifier adds the organizationIdentifier to the get organization limits params
func (*GetOrganizationLimitsParams) SetTimeout ¶
func (o *GetOrganizationLimitsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get organization limits params
func (*GetOrganizationLimitsParams) WithContext ¶
func (o *GetOrganizationLimitsParams) WithContext(ctx context.Context) *GetOrganizationLimitsParams
WithContext adds the context to the get organization limits params
func (*GetOrganizationLimitsParams) WithDefaults ¶
func (o *GetOrganizationLimitsParams) WithDefaults() *GetOrganizationLimitsParams
WithDefaults hydrates default values in the get organization limits params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationLimitsParams) WithHTTPClient ¶
func (o *GetOrganizationLimitsParams) WithHTTPClient(client *http.Client) *GetOrganizationLimitsParams
WithHTTPClient adds the HTTPClient to the get organization limits params
func (*GetOrganizationLimitsParams) WithIdentifierType ¶
func (o *GetOrganizationLimitsParams) WithIdentifierType(identifierType *string) *GetOrganizationLimitsParams
WithIdentifierType adds the identifierType to the get organization limits params
func (*GetOrganizationLimitsParams) WithOrganizationIdentifier ¶
func (o *GetOrganizationLimitsParams) WithOrganizationIdentifier(organizationIdentifier string) *GetOrganizationLimitsParams
WithOrganizationIdentifier adds the organizationIdentifier to the get organization limits params
func (*GetOrganizationLimitsParams) WithTimeout ¶
func (o *GetOrganizationLimitsParams) WithTimeout(timeout time.Duration) *GetOrganizationLimitsParams
WithTimeout adds the timeout to the get organization limits params
func (*GetOrganizationLimitsParams) WriteToRequest ¶
func (o *GetOrganizationLimitsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrganizationLimitsReader ¶
type GetOrganizationLimitsReader struct {
// contains filtered or unexported fields
}
GetOrganizationLimitsReader is a Reader for the GetOrganizationLimits structure.
func (*GetOrganizationLimitsReader) ReadResponse ¶
func (o *GetOrganizationLimitsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.