Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateOrganization(params *CreateOrganizationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateOrganizationCreated, error)
- func (a *Client) DeleteOrganization(params *DeleteOrganizationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteOrganizationNoContent, error)
- func (a *Client) GetOrganization(params *GetOrganizationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOrganizationOK, error)
- func (a *Client) ListOrganizations(params *ListOrganizationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListOrganizationsOK, error)
- func (a *Client) ListUserOrganizations(params *ListUserOrganizationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListUserOrganizationsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateOrganization(params *UpdateOrganizationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateOrganizationOK, error)
- func (a *Client) UpdateOrganizationMetadata(params *UpdateOrganizationMetadataParams, ...) (*UpdateOrganizationMetadataOK, error)
- type ClientOption
- type ClientService
- type CreateOrganizationBadRequest
- func (o *CreateOrganizationBadRequest) Code() int
- func (o *CreateOrganizationBadRequest) Error() string
- func (o *CreateOrganizationBadRequest) GetPayload() *models.Error
- func (o *CreateOrganizationBadRequest) IsClientError() bool
- func (o *CreateOrganizationBadRequest) IsCode(code int) bool
- func (o *CreateOrganizationBadRequest) IsRedirect() bool
- func (o *CreateOrganizationBadRequest) IsServerError() bool
- func (o *CreateOrganizationBadRequest) IsSuccess() bool
- func (o *CreateOrganizationBadRequest) String() string
- type CreateOrganizationConflict
- func (o *CreateOrganizationConflict) Code() int
- func (o *CreateOrganizationConflict) Error() string
- func (o *CreateOrganizationConflict) GetPayload() *models.Error
- func (o *CreateOrganizationConflict) IsClientError() bool
- func (o *CreateOrganizationConflict) IsCode(code int) bool
- func (o *CreateOrganizationConflict) IsRedirect() bool
- func (o *CreateOrganizationConflict) IsServerError() bool
- func (o *CreateOrganizationConflict) IsSuccess() bool
- func (o *CreateOrganizationConflict) String() string
- type CreateOrganizationCreated
- func (o *CreateOrganizationCreated) Code() int
- func (o *CreateOrganizationCreated) Error() string
- func (o *CreateOrganizationCreated) GetPayload() *models.OrganizationResponse
- func (o *CreateOrganizationCreated) IsClientError() bool
- func (o *CreateOrganizationCreated) IsCode(code int) bool
- func (o *CreateOrganizationCreated) IsRedirect() bool
- func (o *CreateOrganizationCreated) IsServerError() bool
- func (o *CreateOrganizationCreated) IsSuccess() bool
- func (o *CreateOrganizationCreated) String() string
- type CreateOrganizationForbidden
- func (o *CreateOrganizationForbidden) Code() int
- func (o *CreateOrganizationForbidden) Error() string
- func (o *CreateOrganizationForbidden) GetPayload() *models.Error
- func (o *CreateOrganizationForbidden) IsClientError() bool
- func (o *CreateOrganizationForbidden) IsCode(code int) bool
- func (o *CreateOrganizationForbidden) IsRedirect() bool
- func (o *CreateOrganizationForbidden) IsServerError() bool
- func (o *CreateOrganizationForbidden) IsSuccess() bool
- func (o *CreateOrganizationForbidden) String() string
- type CreateOrganizationNotFound
- func (o *CreateOrganizationNotFound) Code() int
- func (o *CreateOrganizationNotFound) Error() string
- func (o *CreateOrganizationNotFound) GetPayload() *models.Error
- func (o *CreateOrganizationNotFound) IsClientError() bool
- func (o *CreateOrganizationNotFound) IsCode(code int) bool
- func (o *CreateOrganizationNotFound) IsRedirect() bool
- func (o *CreateOrganizationNotFound) IsServerError() bool
- func (o *CreateOrganizationNotFound) IsSuccess() bool
- func (o *CreateOrganizationNotFound) String() string
- type CreateOrganizationParams
- func NewCreateOrganizationParams() *CreateOrganizationParams
- func NewCreateOrganizationParamsWithContext(ctx context.Context) *CreateOrganizationParams
- func NewCreateOrganizationParamsWithHTTPClient(client *http.Client) *CreateOrganizationParams
- func NewCreateOrganizationParamsWithTimeout(timeout time.Duration) *CreateOrganizationParams
- func (o *CreateOrganizationParams) SetContext(ctx context.Context)
- func (o *CreateOrganizationParams) SetDefaults()
- func (o *CreateOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *CreateOrganizationParams) SetIfMatch(ifMatch *string)
- func (o *CreateOrganizationParams) SetOrg(org *models.CreateOrganizationRequest)
- func (o *CreateOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *CreateOrganizationParams) WithContext(ctx context.Context) *CreateOrganizationParams
- func (o *CreateOrganizationParams) WithDefaults() *CreateOrganizationParams
- func (o *CreateOrganizationParams) WithHTTPClient(client *http.Client) *CreateOrganizationParams
- func (o *CreateOrganizationParams) WithIfMatch(ifMatch *string) *CreateOrganizationParams
- func (o *CreateOrganizationParams) WithOrg(org *models.CreateOrganizationRequest) *CreateOrganizationParams
- func (o *CreateOrganizationParams) WithTimeout(timeout time.Duration) *CreateOrganizationParams
- func (o *CreateOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateOrganizationReader
- type CreateOrganizationTooManyRequests
- func (o *CreateOrganizationTooManyRequests) Code() int
- func (o *CreateOrganizationTooManyRequests) Error() string
- func (o *CreateOrganizationTooManyRequests) GetPayload() *models.Error
- func (o *CreateOrganizationTooManyRequests) IsClientError() bool
- func (o *CreateOrganizationTooManyRequests) IsCode(code int) bool
- func (o *CreateOrganizationTooManyRequests) IsRedirect() bool
- func (o *CreateOrganizationTooManyRequests) IsServerError() bool
- func (o *CreateOrganizationTooManyRequests) IsSuccess() bool
- func (o *CreateOrganizationTooManyRequests) String() string
- type CreateOrganizationUnauthorized
- func (o *CreateOrganizationUnauthorized) Code() int
- func (o *CreateOrganizationUnauthorized) Error() string
- func (o *CreateOrganizationUnauthorized) GetPayload() *models.Error
- func (o *CreateOrganizationUnauthorized) IsClientError() bool
- func (o *CreateOrganizationUnauthorized) IsCode(code int) bool
- func (o *CreateOrganizationUnauthorized) IsRedirect() bool
- func (o *CreateOrganizationUnauthorized) IsServerError() bool
- func (o *CreateOrganizationUnauthorized) IsSuccess() bool
- func (o *CreateOrganizationUnauthorized) String() string
- type CreateOrganizationUnprocessableEntity
- func (o *CreateOrganizationUnprocessableEntity) Code() int
- func (o *CreateOrganizationUnprocessableEntity) Error() string
- func (o *CreateOrganizationUnprocessableEntity) GetPayload() *models.Error
- func (o *CreateOrganizationUnprocessableEntity) IsClientError() bool
- func (o *CreateOrganizationUnprocessableEntity) IsCode(code int) bool
- func (o *CreateOrganizationUnprocessableEntity) IsRedirect() bool
- func (o *CreateOrganizationUnprocessableEntity) IsServerError() bool
- func (o *CreateOrganizationUnprocessableEntity) IsSuccess() bool
- func (o *CreateOrganizationUnprocessableEntity) String() string
- type DeleteOrganizationBadRequest
- func (o *DeleteOrganizationBadRequest) Code() int
- func (o *DeleteOrganizationBadRequest) Error() string
- func (o *DeleteOrganizationBadRequest) GetPayload() *models.Error
- func (o *DeleteOrganizationBadRequest) IsClientError() bool
- func (o *DeleteOrganizationBadRequest) IsCode(code int) bool
- func (o *DeleteOrganizationBadRequest) IsRedirect() bool
- func (o *DeleteOrganizationBadRequest) IsServerError() bool
- func (o *DeleteOrganizationBadRequest) IsSuccess() bool
- func (o *DeleteOrganizationBadRequest) String() string
- type DeleteOrganizationForbidden
- func (o *DeleteOrganizationForbidden) Code() int
- func (o *DeleteOrganizationForbidden) Error() string
- func (o *DeleteOrganizationForbidden) GetPayload() *models.Error
- func (o *DeleteOrganizationForbidden) IsClientError() bool
- func (o *DeleteOrganizationForbidden) IsCode(code int) bool
- func (o *DeleteOrganizationForbidden) IsRedirect() bool
- func (o *DeleteOrganizationForbidden) IsServerError() bool
- func (o *DeleteOrganizationForbidden) IsSuccess() bool
- func (o *DeleteOrganizationForbidden) String() string
- type DeleteOrganizationNoContent
- func (o *DeleteOrganizationNoContent) Code() int
- func (o *DeleteOrganizationNoContent) Error() string
- func (o *DeleteOrganizationNoContent) IsClientError() bool
- func (o *DeleteOrganizationNoContent) IsCode(code int) bool
- func (o *DeleteOrganizationNoContent) IsRedirect() bool
- func (o *DeleteOrganizationNoContent) IsServerError() bool
- func (o *DeleteOrganizationNoContent) IsSuccess() bool
- func (o *DeleteOrganizationNoContent) String() string
- type DeleteOrganizationNotFound
- func (o *DeleteOrganizationNotFound) Code() int
- func (o *DeleteOrganizationNotFound) Error() string
- func (o *DeleteOrganizationNotFound) GetPayload() *models.Error
- func (o *DeleteOrganizationNotFound) IsClientError() bool
- func (o *DeleteOrganizationNotFound) IsCode(code int) bool
- func (o *DeleteOrganizationNotFound) IsRedirect() bool
- func (o *DeleteOrganizationNotFound) IsServerError() bool
- func (o *DeleteOrganizationNotFound) IsSuccess() bool
- func (o *DeleteOrganizationNotFound) String() string
- type DeleteOrganizationParams
- func NewDeleteOrganizationParams() *DeleteOrganizationParams
- func NewDeleteOrganizationParamsWithContext(ctx context.Context) *DeleteOrganizationParams
- func NewDeleteOrganizationParamsWithHTTPClient(client *http.Client) *DeleteOrganizationParams
- func NewDeleteOrganizationParamsWithTimeout(timeout time.Duration) *DeleteOrganizationParams
- func (o *DeleteOrganizationParams) SetContext(ctx context.Context)
- func (o *DeleteOrganizationParams) SetDefaults()
- func (o *DeleteOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteOrganizationParams) SetIfMatch(ifMatch *string)
- func (o *DeleteOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteOrganizationParams) SetWid(wid string)
- func (o *DeleteOrganizationParams) WithContext(ctx context.Context) *DeleteOrganizationParams
- func (o *DeleteOrganizationParams) WithDefaults() *DeleteOrganizationParams
- func (o *DeleteOrganizationParams) WithHTTPClient(client *http.Client) *DeleteOrganizationParams
- func (o *DeleteOrganizationParams) WithIfMatch(ifMatch *string) *DeleteOrganizationParams
- func (o *DeleteOrganizationParams) WithTimeout(timeout time.Duration) *DeleteOrganizationParams
- func (o *DeleteOrganizationParams) WithWid(wid string) *DeleteOrganizationParams
- func (o *DeleteOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteOrganizationReader
- type DeleteOrganizationTooManyRequests
- func (o *DeleteOrganizationTooManyRequests) Code() int
- func (o *DeleteOrganizationTooManyRequests) Error() string
- func (o *DeleteOrganizationTooManyRequests) GetPayload() *models.Error
- func (o *DeleteOrganizationTooManyRequests) IsClientError() bool
- func (o *DeleteOrganizationTooManyRequests) IsCode(code int) bool
- func (o *DeleteOrganizationTooManyRequests) IsRedirect() bool
- func (o *DeleteOrganizationTooManyRequests) IsServerError() bool
- func (o *DeleteOrganizationTooManyRequests) IsSuccess() bool
- func (o *DeleteOrganizationTooManyRequests) String() string
- type DeleteOrganizationUnauthorized
- func (o *DeleteOrganizationUnauthorized) Code() int
- func (o *DeleteOrganizationUnauthorized) Error() string
- func (o *DeleteOrganizationUnauthorized) GetPayload() *models.Error
- func (o *DeleteOrganizationUnauthorized) IsClientError() bool
- func (o *DeleteOrganizationUnauthorized) IsCode(code int) bool
- func (o *DeleteOrganizationUnauthorized) IsRedirect() bool
- func (o *DeleteOrganizationUnauthorized) IsServerError() bool
- func (o *DeleteOrganizationUnauthorized) IsSuccess() bool
- func (o *DeleteOrganizationUnauthorized) String() string
- type GetOrganizationForbidden
- func (o *GetOrganizationForbidden) Code() int
- func (o *GetOrganizationForbidden) Error() string
- func (o *GetOrganizationForbidden) GetPayload() *models.Error
- func (o *GetOrganizationForbidden) IsClientError() bool
- func (o *GetOrganizationForbidden) IsCode(code int) bool
- func (o *GetOrganizationForbidden) IsRedirect() bool
- func (o *GetOrganizationForbidden) IsServerError() bool
- func (o *GetOrganizationForbidden) IsSuccess() bool
- func (o *GetOrganizationForbidden) String() string
- type GetOrganizationNotFound
- func (o *GetOrganizationNotFound) Code() int
- func (o *GetOrganizationNotFound) Error() string
- func (o *GetOrganizationNotFound) GetPayload() *models.Error
- func (o *GetOrganizationNotFound) IsClientError() bool
- func (o *GetOrganizationNotFound) IsCode(code int) bool
- func (o *GetOrganizationNotFound) IsRedirect() bool
- func (o *GetOrganizationNotFound) IsServerError() bool
- func (o *GetOrganizationNotFound) IsSuccess() bool
- func (o *GetOrganizationNotFound) String() string
- type GetOrganizationOK
- func (o *GetOrganizationOK) Code() int
- func (o *GetOrganizationOK) Error() string
- func (o *GetOrganizationOK) GetPayload() *models.OrganizationResponse
- func (o *GetOrganizationOK) IsClientError() bool
- func (o *GetOrganizationOK) IsCode(code int) bool
- func (o *GetOrganizationOK) IsRedirect() bool
- func (o *GetOrganizationOK) IsServerError() bool
- func (o *GetOrganizationOK) IsSuccess() bool
- func (o *GetOrganizationOK) String() string
- type GetOrganizationParams
- func NewGetOrganizationParams() *GetOrganizationParams
- func NewGetOrganizationParamsWithContext(ctx context.Context) *GetOrganizationParams
- func NewGetOrganizationParamsWithHTTPClient(client *http.Client) *GetOrganizationParams
- func NewGetOrganizationParamsWithTimeout(timeout time.Duration) *GetOrganizationParams
- func (o *GetOrganizationParams) SetContext(ctx context.Context)
- func (o *GetOrganizationParams) SetDefaults()
- func (o *GetOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationParams) SetIfMatch(ifMatch *string)
- func (o *GetOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationParams) SetWid(wid string)
- func (o *GetOrganizationParams) WithContext(ctx context.Context) *GetOrganizationParams
- func (o *GetOrganizationParams) WithDefaults() *GetOrganizationParams
- func (o *GetOrganizationParams) WithHTTPClient(client *http.Client) *GetOrganizationParams
- func (o *GetOrganizationParams) WithIfMatch(ifMatch *string) *GetOrganizationParams
- func (o *GetOrganizationParams) WithTimeout(timeout time.Duration) *GetOrganizationParams
- func (o *GetOrganizationParams) WithWid(wid string) *GetOrganizationParams
- func (o *GetOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationReader
- type GetOrganizationTooManyRequests
- func (o *GetOrganizationTooManyRequests) Code() int
- func (o *GetOrganizationTooManyRequests) Error() string
- func (o *GetOrganizationTooManyRequests) GetPayload() *models.Error
- func (o *GetOrganizationTooManyRequests) IsClientError() bool
- func (o *GetOrganizationTooManyRequests) IsCode(code int) bool
- func (o *GetOrganizationTooManyRequests) IsRedirect() bool
- func (o *GetOrganizationTooManyRequests) IsServerError() bool
- func (o *GetOrganizationTooManyRequests) IsSuccess() bool
- func (o *GetOrganizationTooManyRequests) String() string
- type GetOrganizationUnauthorized
- func (o *GetOrganizationUnauthorized) Code() int
- func (o *GetOrganizationUnauthorized) Error() string
- func (o *GetOrganizationUnauthorized) GetPayload() *models.Error
- func (o *GetOrganizationUnauthorized) IsClientError() bool
- func (o *GetOrganizationUnauthorized) IsCode(code int) bool
- func (o *GetOrganizationUnauthorized) IsRedirect() bool
- func (o *GetOrganizationUnauthorized) IsServerError() bool
- func (o *GetOrganizationUnauthorized) IsSuccess() bool
- func (o *GetOrganizationUnauthorized) String() string
- type ListOrganizationsForbidden
- func (o *ListOrganizationsForbidden) Code() int
- func (o *ListOrganizationsForbidden) Error() string
- func (o *ListOrganizationsForbidden) GetPayload() *models.Error
- func (o *ListOrganizationsForbidden) IsClientError() bool
- func (o *ListOrganizationsForbidden) IsCode(code int) bool
- func (o *ListOrganizationsForbidden) IsRedirect() bool
- func (o *ListOrganizationsForbidden) IsServerError() bool
- func (o *ListOrganizationsForbidden) IsSuccess() bool
- func (o *ListOrganizationsForbidden) String() string
- type ListOrganizationsNotFound
- func (o *ListOrganizationsNotFound) Code() int
- func (o *ListOrganizationsNotFound) Error() string
- func (o *ListOrganizationsNotFound) GetPayload() *models.Error
- func (o *ListOrganizationsNotFound) IsClientError() bool
- func (o *ListOrganizationsNotFound) IsCode(code int) bool
- func (o *ListOrganizationsNotFound) IsRedirect() bool
- func (o *ListOrganizationsNotFound) IsServerError() bool
- func (o *ListOrganizationsNotFound) IsSuccess() bool
- func (o *ListOrganizationsNotFound) String() string
- type ListOrganizationsOK
- func (o *ListOrganizationsOK) Code() int
- func (o *ListOrganizationsOK) Error() string
- func (o *ListOrganizationsOK) GetPayload() *models.OrganizationsResponse
- func (o *ListOrganizationsOK) IsClientError() bool
- func (o *ListOrganizationsOK) IsCode(code int) bool
- func (o *ListOrganizationsOK) IsRedirect() bool
- func (o *ListOrganizationsOK) IsServerError() bool
- func (o *ListOrganizationsOK) IsSuccess() bool
- func (o *ListOrganizationsOK) String() string
- type ListOrganizationsParams
- func NewListOrganizationsParams() *ListOrganizationsParams
- func NewListOrganizationsParamsWithContext(ctx context.Context) *ListOrganizationsParams
- func NewListOrganizationsParamsWithHTTPClient(client *http.Client) *ListOrganizationsParams
- func NewListOrganizationsParamsWithTimeout(timeout time.Duration) *ListOrganizationsParams
- func (o *ListOrganizationsParams) SetAfterOrganizationID(afterOrganizationID *string)
- func (o *ListOrganizationsParams) SetBeforeOrganizationID(beforeOrganizationID *string)
- func (o *ListOrganizationsParams) SetContext(ctx context.Context)
- func (o *ListOrganizationsParams) SetDefaults()
- func (o *ListOrganizationsParams) SetHTTPClient(client *http.Client)
- func (o *ListOrganizationsParams) SetIfMatch(ifMatch *string)
- func (o *ListOrganizationsParams) SetLimit(limit *int64)
- func (o *ListOrganizationsParams) SetOrder(order *string)
- func (o *ListOrganizationsParams) SetParentID(parentID *string)
- func (o *ListOrganizationsParams) SetSearchPhrase(searchPhrase *string)
- func (o *ListOrganizationsParams) SetSort(sort *string)
- func (o *ListOrganizationsParams) SetTemplate(template *bool)
- func (o *ListOrganizationsParams) SetTimeout(timeout time.Duration)
- func (o *ListOrganizationsParams) WithAfterOrganizationID(afterOrganizationID *string) *ListOrganizationsParams
- func (o *ListOrganizationsParams) WithBeforeOrganizationID(beforeOrganizationID *string) *ListOrganizationsParams
- func (o *ListOrganizationsParams) WithContext(ctx context.Context) *ListOrganizationsParams
- func (o *ListOrganizationsParams) WithDefaults() *ListOrganizationsParams
- func (o *ListOrganizationsParams) WithHTTPClient(client *http.Client) *ListOrganizationsParams
- func (o *ListOrganizationsParams) WithIfMatch(ifMatch *string) *ListOrganizationsParams
- func (o *ListOrganizationsParams) WithLimit(limit *int64) *ListOrganizationsParams
- func (o *ListOrganizationsParams) WithOrder(order *string) *ListOrganizationsParams
- func (o *ListOrganizationsParams) WithParentID(parentID *string) *ListOrganizationsParams
- func (o *ListOrganizationsParams) WithSearchPhrase(searchPhrase *string) *ListOrganizationsParams
- func (o *ListOrganizationsParams) WithSort(sort *string) *ListOrganizationsParams
- func (o *ListOrganizationsParams) WithTemplate(template *bool) *ListOrganizationsParams
- func (o *ListOrganizationsParams) WithTimeout(timeout time.Duration) *ListOrganizationsParams
- func (o *ListOrganizationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListOrganizationsReader
- type ListOrganizationsTooManyRequests
- func (o *ListOrganizationsTooManyRequests) Code() int
- func (o *ListOrganizationsTooManyRequests) Error() string
- func (o *ListOrganizationsTooManyRequests) GetPayload() *models.Error
- func (o *ListOrganizationsTooManyRequests) IsClientError() bool
- func (o *ListOrganizationsTooManyRequests) IsCode(code int) bool
- func (o *ListOrganizationsTooManyRequests) IsRedirect() bool
- func (o *ListOrganizationsTooManyRequests) IsServerError() bool
- func (o *ListOrganizationsTooManyRequests) IsSuccess() bool
- func (o *ListOrganizationsTooManyRequests) String() string
- type ListOrganizationsUnauthorized
- func (o *ListOrganizationsUnauthorized) Code() int
- func (o *ListOrganizationsUnauthorized) Error() string
- func (o *ListOrganizationsUnauthorized) GetPayload() *models.Error
- func (o *ListOrganizationsUnauthorized) IsClientError() bool
- func (o *ListOrganizationsUnauthorized) IsCode(code int) bool
- func (o *ListOrganizationsUnauthorized) IsRedirect() bool
- func (o *ListOrganizationsUnauthorized) IsServerError() bool
- func (o *ListOrganizationsUnauthorized) IsSuccess() bool
- func (o *ListOrganizationsUnauthorized) String() string
- type ListUserOrganizationsForbidden
- func (o *ListUserOrganizationsForbidden) Code() int
- func (o *ListUserOrganizationsForbidden) Error() string
- func (o *ListUserOrganizationsForbidden) GetPayload() *models.Error
- func (o *ListUserOrganizationsForbidden) IsClientError() bool
- func (o *ListUserOrganizationsForbidden) IsCode(code int) bool
- func (o *ListUserOrganizationsForbidden) IsRedirect() bool
- func (o *ListUserOrganizationsForbidden) IsServerError() bool
- func (o *ListUserOrganizationsForbidden) IsSuccess() bool
- func (o *ListUserOrganizationsForbidden) String() string
- type ListUserOrganizationsNotFound
- func (o *ListUserOrganizationsNotFound) Code() int
- func (o *ListUserOrganizationsNotFound) Error() string
- func (o *ListUserOrganizationsNotFound) GetPayload() *models.Error
- func (o *ListUserOrganizationsNotFound) IsClientError() bool
- func (o *ListUserOrganizationsNotFound) IsCode(code int) bool
- func (o *ListUserOrganizationsNotFound) IsRedirect() bool
- func (o *ListUserOrganizationsNotFound) IsServerError() bool
- func (o *ListUserOrganizationsNotFound) IsSuccess() bool
- func (o *ListUserOrganizationsNotFound) String() string
- type ListUserOrganizationsOK
- func (o *ListUserOrganizationsOK) Code() int
- func (o *ListUserOrganizationsOK) Error() string
- func (o *ListUserOrganizationsOK) GetPayload() *models.UserOrganizationsResponse
- func (o *ListUserOrganizationsOK) IsClientError() bool
- func (o *ListUserOrganizationsOK) IsCode(code int) bool
- func (o *ListUserOrganizationsOK) IsRedirect() bool
- func (o *ListUserOrganizationsOK) IsServerError() bool
- func (o *ListUserOrganizationsOK) IsSuccess() bool
- func (o *ListUserOrganizationsOK) String() string
- type ListUserOrganizationsParams
- func NewListUserOrganizationsParams() *ListUserOrganizationsParams
- func NewListUserOrganizationsParamsWithContext(ctx context.Context) *ListUserOrganizationsParams
- func NewListUserOrganizationsParamsWithHTTPClient(client *http.Client) *ListUserOrganizationsParams
- func NewListUserOrganizationsParamsWithTimeout(timeout time.Duration) *ListUserOrganizationsParams
- func (o *ListUserOrganizationsParams) SetContext(ctx context.Context)
- func (o *ListUserOrganizationsParams) SetCursor(cursor *string)
- func (o *ListUserOrganizationsParams) SetDefaults()
- func (o *ListUserOrganizationsParams) SetHTTPClient(client *http.Client)
- func (o *ListUserOrganizationsParams) SetIfMatch(ifMatch *string)
- func (o *ListUserOrganizationsParams) SetLimit(limit *int64)
- func (o *ListUserOrganizationsParams) SetTimeout(timeout time.Duration)
- func (o *ListUserOrganizationsParams) WithContext(ctx context.Context) *ListUserOrganizationsParams
- func (o *ListUserOrganizationsParams) WithCursor(cursor *string) *ListUserOrganizationsParams
- func (o *ListUserOrganizationsParams) WithDefaults() *ListUserOrganizationsParams
- func (o *ListUserOrganizationsParams) WithHTTPClient(client *http.Client) *ListUserOrganizationsParams
- func (o *ListUserOrganizationsParams) WithIfMatch(ifMatch *string) *ListUserOrganizationsParams
- func (o *ListUserOrganizationsParams) WithLimit(limit *int64) *ListUserOrganizationsParams
- func (o *ListUserOrganizationsParams) WithTimeout(timeout time.Duration) *ListUserOrganizationsParams
- func (o *ListUserOrganizationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUserOrganizationsReader
- type ListUserOrganizationsTooManyRequests
- func (o *ListUserOrganizationsTooManyRequests) Code() int
- func (o *ListUserOrganizationsTooManyRequests) Error() string
- func (o *ListUserOrganizationsTooManyRequests) GetPayload() *models.Error
- func (o *ListUserOrganizationsTooManyRequests) IsClientError() bool
- func (o *ListUserOrganizationsTooManyRequests) IsCode(code int) bool
- func (o *ListUserOrganizationsTooManyRequests) IsRedirect() bool
- func (o *ListUserOrganizationsTooManyRequests) IsServerError() bool
- func (o *ListUserOrganizationsTooManyRequests) IsSuccess() bool
- func (o *ListUserOrganizationsTooManyRequests) String() string
- type ListUserOrganizationsUnauthorized
- func (o *ListUserOrganizationsUnauthorized) Code() int
- func (o *ListUserOrganizationsUnauthorized) Error() string
- func (o *ListUserOrganizationsUnauthorized) GetPayload() *models.Error
- func (o *ListUserOrganizationsUnauthorized) IsClientError() bool
- func (o *ListUserOrganizationsUnauthorized) IsCode(code int) bool
- func (o *ListUserOrganizationsUnauthorized) IsRedirect() bool
- func (o *ListUserOrganizationsUnauthorized) IsServerError() bool
- func (o *ListUserOrganizationsUnauthorized) IsSuccess() bool
- func (o *ListUserOrganizationsUnauthorized) String() string
- type UpdateOrganizationBadRequest
- func (o *UpdateOrganizationBadRequest) Code() int
- func (o *UpdateOrganizationBadRequest) Error() string
- func (o *UpdateOrganizationBadRequest) GetPayload() *models.Error
- func (o *UpdateOrganizationBadRequest) IsClientError() bool
- func (o *UpdateOrganizationBadRequest) IsCode(code int) bool
- func (o *UpdateOrganizationBadRequest) IsRedirect() bool
- func (o *UpdateOrganizationBadRequest) IsServerError() bool
- func (o *UpdateOrganizationBadRequest) IsSuccess() bool
- func (o *UpdateOrganizationBadRequest) String() string
- type UpdateOrganizationForbidden
- func (o *UpdateOrganizationForbidden) Code() int
- func (o *UpdateOrganizationForbidden) Error() string
- func (o *UpdateOrganizationForbidden) GetPayload() *models.Error
- func (o *UpdateOrganizationForbidden) IsClientError() bool
- func (o *UpdateOrganizationForbidden) IsCode(code int) bool
- func (o *UpdateOrganizationForbidden) IsRedirect() bool
- func (o *UpdateOrganizationForbidden) IsServerError() bool
- func (o *UpdateOrganizationForbidden) IsSuccess() bool
- func (o *UpdateOrganizationForbidden) String() string
- type UpdateOrganizationMetadataForbidden
- func (o *UpdateOrganizationMetadataForbidden) Code() int
- func (o *UpdateOrganizationMetadataForbidden) Error() string
- func (o *UpdateOrganizationMetadataForbidden) GetPayload() *models.Error
- func (o *UpdateOrganizationMetadataForbidden) IsClientError() bool
- func (o *UpdateOrganizationMetadataForbidden) IsCode(code int) bool
- func (o *UpdateOrganizationMetadataForbidden) IsRedirect() bool
- func (o *UpdateOrganizationMetadataForbidden) IsServerError() bool
- func (o *UpdateOrganizationMetadataForbidden) IsSuccess() bool
- func (o *UpdateOrganizationMetadataForbidden) String() string
- type UpdateOrganizationMetadataNotFound
- func (o *UpdateOrganizationMetadataNotFound) Code() int
- func (o *UpdateOrganizationMetadataNotFound) Error() string
- func (o *UpdateOrganizationMetadataNotFound) GetPayload() *models.Error
- func (o *UpdateOrganizationMetadataNotFound) IsClientError() bool
- func (o *UpdateOrganizationMetadataNotFound) IsCode(code int) bool
- func (o *UpdateOrganizationMetadataNotFound) IsRedirect() bool
- func (o *UpdateOrganizationMetadataNotFound) IsServerError() bool
- func (o *UpdateOrganizationMetadataNotFound) IsSuccess() bool
- func (o *UpdateOrganizationMetadataNotFound) String() string
- type UpdateOrganizationMetadataOK
- func (o *UpdateOrganizationMetadataOK) Code() int
- func (o *UpdateOrganizationMetadataOK) Error() string
- func (o *UpdateOrganizationMetadataOK) GetPayload() *models.OrganizationMetadata
- func (o *UpdateOrganizationMetadataOK) IsClientError() bool
- func (o *UpdateOrganizationMetadataOK) IsCode(code int) bool
- func (o *UpdateOrganizationMetadataOK) IsRedirect() bool
- func (o *UpdateOrganizationMetadataOK) IsServerError() bool
- func (o *UpdateOrganizationMetadataOK) IsSuccess() bool
- func (o *UpdateOrganizationMetadataOK) String() string
- type UpdateOrganizationMetadataParams
- func NewUpdateOrganizationMetadataParams() *UpdateOrganizationMetadataParams
- func NewUpdateOrganizationMetadataParamsWithContext(ctx context.Context) *UpdateOrganizationMetadataParams
- func NewUpdateOrganizationMetadataParamsWithHTTPClient(client *http.Client) *UpdateOrganizationMetadataParams
- func NewUpdateOrganizationMetadataParamsWithTimeout(timeout time.Duration) *UpdateOrganizationMetadataParams
- func (o *UpdateOrganizationMetadataParams) SetContext(ctx context.Context)
- func (o *UpdateOrganizationMetadataParams) SetDefaults()
- func (o *UpdateOrganizationMetadataParams) SetHTTPClient(client *http.Client)
- func (o *UpdateOrganizationMetadataParams) SetIfMatch(ifMatch *string)
- func (o *UpdateOrganizationMetadataParams) SetOrganizationMetadata(organizationMetadata *models.OrganizationMetadata)
- func (o *UpdateOrganizationMetadataParams) SetTimeout(timeout time.Duration)
- func (o *UpdateOrganizationMetadataParams) SetWid(wid string)
- func (o *UpdateOrganizationMetadataParams) WithContext(ctx context.Context) *UpdateOrganizationMetadataParams
- func (o *UpdateOrganizationMetadataParams) WithDefaults() *UpdateOrganizationMetadataParams
- func (o *UpdateOrganizationMetadataParams) WithHTTPClient(client *http.Client) *UpdateOrganizationMetadataParams
- func (o *UpdateOrganizationMetadataParams) WithIfMatch(ifMatch *string) *UpdateOrganizationMetadataParams
- func (o *UpdateOrganizationMetadataParams) WithOrganizationMetadata(organizationMetadata *models.OrganizationMetadata) *UpdateOrganizationMetadataParams
- func (o *UpdateOrganizationMetadataParams) WithTimeout(timeout time.Duration) *UpdateOrganizationMetadataParams
- func (o *UpdateOrganizationMetadataParams) WithWid(wid string) *UpdateOrganizationMetadataParams
- func (o *UpdateOrganizationMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOrganizationMetadataReader
- type UpdateOrganizationMetadataTooManyRequests
- func (o *UpdateOrganizationMetadataTooManyRequests) Code() int
- func (o *UpdateOrganizationMetadataTooManyRequests) Error() string
- func (o *UpdateOrganizationMetadataTooManyRequests) GetPayload() *models.Error
- func (o *UpdateOrganizationMetadataTooManyRequests) IsClientError() bool
- func (o *UpdateOrganizationMetadataTooManyRequests) IsCode(code int) bool
- func (o *UpdateOrganizationMetadataTooManyRequests) IsRedirect() bool
- func (o *UpdateOrganizationMetadataTooManyRequests) IsServerError() bool
- func (o *UpdateOrganizationMetadataTooManyRequests) IsSuccess() bool
- func (o *UpdateOrganizationMetadataTooManyRequests) String() string
- type UpdateOrganizationMetadataUnauthorized
- func (o *UpdateOrganizationMetadataUnauthorized) Code() int
- func (o *UpdateOrganizationMetadataUnauthorized) Error() string
- func (o *UpdateOrganizationMetadataUnauthorized) GetPayload() *models.Error
- func (o *UpdateOrganizationMetadataUnauthorized) IsClientError() bool
- func (o *UpdateOrganizationMetadataUnauthorized) IsCode(code int) bool
- func (o *UpdateOrganizationMetadataUnauthorized) IsRedirect() bool
- func (o *UpdateOrganizationMetadataUnauthorized) IsServerError() bool
- func (o *UpdateOrganizationMetadataUnauthorized) IsSuccess() bool
- func (o *UpdateOrganizationMetadataUnauthorized) String() string
- type UpdateOrganizationNotFound
- func (o *UpdateOrganizationNotFound) Code() int
- func (o *UpdateOrganizationNotFound) Error() string
- func (o *UpdateOrganizationNotFound) GetPayload() *models.Error
- func (o *UpdateOrganizationNotFound) IsClientError() bool
- func (o *UpdateOrganizationNotFound) IsCode(code int) bool
- func (o *UpdateOrganizationNotFound) IsRedirect() bool
- func (o *UpdateOrganizationNotFound) IsServerError() bool
- func (o *UpdateOrganizationNotFound) IsSuccess() bool
- func (o *UpdateOrganizationNotFound) String() string
- type UpdateOrganizationOK
- func (o *UpdateOrganizationOK) Code() int
- func (o *UpdateOrganizationOK) Error() string
- func (o *UpdateOrganizationOK) GetPayload() *models.OrganizationResponse
- func (o *UpdateOrganizationOK) IsClientError() bool
- func (o *UpdateOrganizationOK) IsCode(code int) bool
- func (o *UpdateOrganizationOK) IsRedirect() bool
- func (o *UpdateOrganizationOK) IsServerError() bool
- func (o *UpdateOrganizationOK) IsSuccess() bool
- func (o *UpdateOrganizationOK) String() string
- type UpdateOrganizationParams
- func NewUpdateOrganizationParams() *UpdateOrganizationParams
- func NewUpdateOrganizationParamsWithContext(ctx context.Context) *UpdateOrganizationParams
- func NewUpdateOrganizationParamsWithHTTPClient(client *http.Client) *UpdateOrganizationParams
- func NewUpdateOrganizationParamsWithTimeout(timeout time.Duration) *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) SetContext(ctx context.Context)
- func (o *UpdateOrganizationParams) SetDefaults()
- func (o *UpdateOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *UpdateOrganizationParams) SetIfMatch(ifMatch *string)
- func (o *UpdateOrganizationParams) SetOrg(org *models.Org)
- func (o *UpdateOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *UpdateOrganizationParams) SetWid(wid string)
- func (o *UpdateOrganizationParams) WithContext(ctx context.Context) *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) WithDefaults() *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) WithHTTPClient(client *http.Client) *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) WithIfMatch(ifMatch *string) *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) WithOrg(org *models.Org) *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) WithTimeout(timeout time.Duration) *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) WithWid(wid string) *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOrganizationReader
- type UpdateOrganizationTooManyRequests
- func (o *UpdateOrganizationTooManyRequests) Code() int
- func (o *UpdateOrganizationTooManyRequests) Error() string
- func (o *UpdateOrganizationTooManyRequests) GetPayload() *models.Error
- func (o *UpdateOrganizationTooManyRequests) IsClientError() bool
- func (o *UpdateOrganizationTooManyRequests) IsCode(code int) bool
- func (o *UpdateOrganizationTooManyRequests) IsRedirect() bool
- func (o *UpdateOrganizationTooManyRequests) IsServerError() bool
- func (o *UpdateOrganizationTooManyRequests) IsSuccess() bool
- func (o *UpdateOrganizationTooManyRequests) String() string
- type UpdateOrganizationUnauthorized
- func (o *UpdateOrganizationUnauthorized) Code() int
- func (o *UpdateOrganizationUnauthorized) Error() string
- func (o *UpdateOrganizationUnauthorized) GetPayload() *models.Error
- func (o *UpdateOrganizationUnauthorized) IsClientError() bool
- func (o *UpdateOrganizationUnauthorized) IsCode(code int) bool
- func (o *UpdateOrganizationUnauthorized) IsRedirect() bool
- func (o *UpdateOrganizationUnauthorized) IsServerError() bool
- func (o *UpdateOrganizationUnauthorized) IsSuccess() bool
- func (o *UpdateOrganizationUnauthorized) String() string
- type UpdateOrganizationUnprocessableEntity
- func (o *UpdateOrganizationUnprocessableEntity) Code() int
- func (o *UpdateOrganizationUnprocessableEntity) Error() string
- func (o *UpdateOrganizationUnprocessableEntity) GetPayload() *models.Error
- func (o *UpdateOrganizationUnprocessableEntity) IsClientError() bool
- func (o *UpdateOrganizationUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateOrganizationUnprocessableEntity) IsRedirect() bool
- func (o *UpdateOrganizationUnprocessableEntity) IsServerError() bool
- func (o *UpdateOrganizationUnprocessableEntity) IsSuccess() bool
- func (o *UpdateOrganizationUnprocessableEntity) String() string
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 organizations API
func (*Client) CreateOrganization ¶
func (a *Client) CreateOrganization(params *CreateOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrganizationCreated, error)
CreateOrganization creates organization
func (*Client) DeleteOrganization ¶
func (a *Client) DeleteOrganization(params *DeleteOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrganizationNoContent, error)
DeleteOrganization deletes organization
Delete organization.
func (*Client) GetOrganization ¶
func (a *Client) GetOrganization(params *GetOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationOK, error)
GetOrganization gets organization
Get organization.
func (*Client) ListOrganizations ¶
func (a *Client) ListOrganizations(params *ListOrganizationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrganizationsOK, error)
ListOrganizations lists organizations
List organizations.
func (*Client) ListUserOrganizations ¶
func (a *Client) ListUserOrganizations(params *ListUserOrganizationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserOrganizationsOK, error)
ListUserOrganizations lists user organizations
List organizations that the current user has access to.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateOrganization ¶
func (a *Client) UpdateOrganization(params *UpdateOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrganizationOK, error)
UpdateOrganization updates organization
Update organization.
func (*Client) UpdateOrganizationMetadata ¶
func (a *Client) UpdateOrganizationMetadata(params *UpdateOrganizationMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrganizationMetadataOK, error)
UpdateOrganizationMetadata updates organization metadata
Update organization metadata.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { CreateOrganization(params *CreateOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrganizationCreated, error) DeleteOrganization(params *DeleteOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrganizationNoContent, error) GetOrganization(params *GetOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationOK, error) ListOrganizations(params *ListOrganizationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrganizationsOK, error) ListUserOrganizations(params *ListUserOrganizationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserOrganizationsOK, error) UpdateOrganization(params *UpdateOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrganizationOK, error) UpdateOrganizationMetadata(params *UpdateOrganizationMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrganizationMetadataOK, 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 organizations API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new organizations API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new organizations API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateOrganizationBadRequest ¶
CreateOrganizationBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateOrganizationBadRequest ¶
func NewCreateOrganizationBadRequest() *CreateOrganizationBadRequest
NewCreateOrganizationBadRequest creates a CreateOrganizationBadRequest with default headers values
func (*CreateOrganizationBadRequest) Code ¶
func (o *CreateOrganizationBadRequest) Code() int
Code gets the status code for the create organization bad request response
func (*CreateOrganizationBadRequest) Error ¶
func (o *CreateOrganizationBadRequest) Error() string
func (*CreateOrganizationBadRequest) GetPayload ¶
func (o *CreateOrganizationBadRequest) GetPayload() *models.Error
func (*CreateOrganizationBadRequest) IsClientError ¶
func (o *CreateOrganizationBadRequest) IsClientError() bool
IsClientError returns true when this create organization bad request response has a 4xx status code
func (*CreateOrganizationBadRequest) IsCode ¶
func (o *CreateOrganizationBadRequest) IsCode(code int) bool
IsCode returns true when this create organization bad request response a status code equal to that given
func (*CreateOrganizationBadRequest) IsRedirect ¶
func (o *CreateOrganizationBadRequest) IsRedirect() bool
IsRedirect returns true when this create organization bad request response has a 3xx status code
func (*CreateOrganizationBadRequest) IsServerError ¶
func (o *CreateOrganizationBadRequest) IsServerError() bool
IsServerError returns true when this create organization bad request response has a 5xx status code
func (*CreateOrganizationBadRequest) IsSuccess ¶
func (o *CreateOrganizationBadRequest) IsSuccess() bool
IsSuccess returns true when this create organization bad request response has a 2xx status code
func (*CreateOrganizationBadRequest) String ¶
func (o *CreateOrganizationBadRequest) String() string
type CreateOrganizationConflict ¶
CreateOrganizationConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateOrganizationConflict ¶
func NewCreateOrganizationConflict() *CreateOrganizationConflict
NewCreateOrganizationConflict creates a CreateOrganizationConflict with default headers values
func (*CreateOrganizationConflict) Code ¶
func (o *CreateOrganizationConflict) Code() int
Code gets the status code for the create organization conflict response
func (*CreateOrganizationConflict) Error ¶
func (o *CreateOrganizationConflict) Error() string
func (*CreateOrganizationConflict) GetPayload ¶
func (o *CreateOrganizationConflict) GetPayload() *models.Error
func (*CreateOrganizationConflict) IsClientError ¶
func (o *CreateOrganizationConflict) IsClientError() bool
IsClientError returns true when this create organization conflict response has a 4xx status code
func (*CreateOrganizationConflict) IsCode ¶
func (o *CreateOrganizationConflict) IsCode(code int) bool
IsCode returns true when this create organization conflict response a status code equal to that given
func (*CreateOrganizationConflict) IsRedirect ¶
func (o *CreateOrganizationConflict) IsRedirect() bool
IsRedirect returns true when this create organization conflict response has a 3xx status code
func (*CreateOrganizationConflict) IsServerError ¶
func (o *CreateOrganizationConflict) IsServerError() bool
IsServerError returns true when this create organization conflict response has a 5xx status code
func (*CreateOrganizationConflict) IsSuccess ¶
func (o *CreateOrganizationConflict) IsSuccess() bool
IsSuccess returns true when this create organization conflict response has a 2xx status code
func (*CreateOrganizationConflict) String ¶
func (o *CreateOrganizationConflict) String() string
type CreateOrganizationCreated ¶
type CreateOrganizationCreated struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.OrganizationResponse }
CreateOrganizationCreated describes a response with status code 201, with default header values.
Org
func NewCreateOrganizationCreated ¶
func NewCreateOrganizationCreated() *CreateOrganizationCreated
NewCreateOrganizationCreated creates a CreateOrganizationCreated with default headers values
func (*CreateOrganizationCreated) Code ¶
func (o *CreateOrganizationCreated) Code() int
Code gets the status code for the create organization created response
func (*CreateOrganizationCreated) Error ¶
func (o *CreateOrganizationCreated) Error() string
func (*CreateOrganizationCreated) GetPayload ¶
func (o *CreateOrganizationCreated) GetPayload() *models.OrganizationResponse
func (*CreateOrganizationCreated) IsClientError ¶
func (o *CreateOrganizationCreated) IsClientError() bool
IsClientError returns true when this create organization created response has a 4xx status code
func (*CreateOrganizationCreated) IsCode ¶
func (o *CreateOrganizationCreated) IsCode(code int) bool
IsCode returns true when this create organization created response a status code equal to that given
func (*CreateOrganizationCreated) IsRedirect ¶
func (o *CreateOrganizationCreated) IsRedirect() bool
IsRedirect returns true when this create organization created response has a 3xx status code
func (*CreateOrganizationCreated) IsServerError ¶
func (o *CreateOrganizationCreated) IsServerError() bool
IsServerError returns true when this create organization created response has a 5xx status code
func (*CreateOrganizationCreated) IsSuccess ¶
func (o *CreateOrganizationCreated) IsSuccess() bool
IsSuccess returns true when this create organization created response has a 2xx status code
func (*CreateOrganizationCreated) String ¶
func (o *CreateOrganizationCreated) String() string
type CreateOrganizationForbidden ¶
CreateOrganizationForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateOrganizationForbidden ¶
func NewCreateOrganizationForbidden() *CreateOrganizationForbidden
NewCreateOrganizationForbidden creates a CreateOrganizationForbidden with default headers values
func (*CreateOrganizationForbidden) Code ¶
func (o *CreateOrganizationForbidden) Code() int
Code gets the status code for the create organization forbidden response
func (*CreateOrganizationForbidden) Error ¶
func (o *CreateOrganizationForbidden) Error() string
func (*CreateOrganizationForbidden) GetPayload ¶
func (o *CreateOrganizationForbidden) GetPayload() *models.Error
func (*CreateOrganizationForbidden) IsClientError ¶
func (o *CreateOrganizationForbidden) IsClientError() bool
IsClientError returns true when this create organization forbidden response has a 4xx status code
func (*CreateOrganizationForbidden) IsCode ¶
func (o *CreateOrganizationForbidden) IsCode(code int) bool
IsCode returns true when this create organization forbidden response a status code equal to that given
func (*CreateOrganizationForbidden) IsRedirect ¶
func (o *CreateOrganizationForbidden) IsRedirect() bool
IsRedirect returns true when this create organization forbidden response has a 3xx status code
func (*CreateOrganizationForbidden) IsServerError ¶
func (o *CreateOrganizationForbidden) IsServerError() bool
IsServerError returns true when this create organization forbidden response has a 5xx status code
func (*CreateOrganizationForbidden) IsSuccess ¶
func (o *CreateOrganizationForbidden) IsSuccess() bool
IsSuccess returns true when this create organization forbidden response has a 2xx status code
func (*CreateOrganizationForbidden) String ¶
func (o *CreateOrganizationForbidden) String() string
type CreateOrganizationNotFound ¶
CreateOrganizationNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateOrganizationNotFound ¶
func NewCreateOrganizationNotFound() *CreateOrganizationNotFound
NewCreateOrganizationNotFound creates a CreateOrganizationNotFound with default headers values
func (*CreateOrganizationNotFound) Code ¶
func (o *CreateOrganizationNotFound) Code() int
Code gets the status code for the create organization not found response
func (*CreateOrganizationNotFound) Error ¶
func (o *CreateOrganizationNotFound) Error() string
func (*CreateOrganizationNotFound) GetPayload ¶
func (o *CreateOrganizationNotFound) GetPayload() *models.Error
func (*CreateOrganizationNotFound) IsClientError ¶
func (o *CreateOrganizationNotFound) IsClientError() bool
IsClientError returns true when this create organization not found response has a 4xx status code
func (*CreateOrganizationNotFound) IsCode ¶
func (o *CreateOrganizationNotFound) IsCode(code int) bool
IsCode returns true when this create organization not found response a status code equal to that given
func (*CreateOrganizationNotFound) IsRedirect ¶
func (o *CreateOrganizationNotFound) IsRedirect() bool
IsRedirect returns true when this create organization not found response has a 3xx status code
func (*CreateOrganizationNotFound) IsServerError ¶
func (o *CreateOrganizationNotFound) IsServerError() bool
IsServerError returns true when this create organization not found response has a 5xx status code
func (*CreateOrganizationNotFound) IsSuccess ¶
func (o *CreateOrganizationNotFound) IsSuccess() bool
IsSuccess returns true when this create organization not found response has a 2xx status code
func (*CreateOrganizationNotFound) String ¶
func (o *CreateOrganizationNotFound) String() string
type CreateOrganizationParams ¶
type CreateOrganizationParams struct { // Org. Org *models.CreateOrganizationRequest /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateOrganizationParams contains all the parameters to send to the API endpoint
for the create organization operation. Typically these are written to a http.Request.
func NewCreateOrganizationParams ¶
func NewCreateOrganizationParams() *CreateOrganizationParams
NewCreateOrganizationParams creates a new CreateOrganizationParams 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 NewCreateOrganizationParamsWithContext ¶
func NewCreateOrganizationParamsWithContext(ctx context.Context) *CreateOrganizationParams
NewCreateOrganizationParamsWithContext creates a new CreateOrganizationParams object with the ability to set a context for a request.
func NewCreateOrganizationParamsWithHTTPClient ¶
func NewCreateOrganizationParamsWithHTTPClient(client *http.Client) *CreateOrganizationParams
NewCreateOrganizationParamsWithHTTPClient creates a new CreateOrganizationParams object with the ability to set a custom HTTPClient for a request.
func NewCreateOrganizationParamsWithTimeout ¶
func NewCreateOrganizationParamsWithTimeout(timeout time.Duration) *CreateOrganizationParams
NewCreateOrganizationParamsWithTimeout creates a new CreateOrganizationParams object with the ability to set a timeout on a request.
func (*CreateOrganizationParams) SetContext ¶
func (o *CreateOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the create organization params
func (*CreateOrganizationParams) SetDefaults ¶
func (o *CreateOrganizationParams) SetDefaults()
SetDefaults hydrates default values in the create organization params (not the query body).
All values with no default are reset to their zero value.
func (*CreateOrganizationParams) SetHTTPClient ¶
func (o *CreateOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create organization params
func (*CreateOrganizationParams) SetIfMatch ¶
func (o *CreateOrganizationParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the create organization params
func (*CreateOrganizationParams) SetOrg ¶
func (o *CreateOrganizationParams) SetOrg(org *models.CreateOrganizationRequest)
SetOrg adds the org to the create organization params
func (*CreateOrganizationParams) SetTimeout ¶
func (o *CreateOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create organization params
func (*CreateOrganizationParams) WithContext ¶
func (o *CreateOrganizationParams) WithContext(ctx context.Context) *CreateOrganizationParams
WithContext adds the context to the create organization params
func (*CreateOrganizationParams) WithDefaults ¶
func (o *CreateOrganizationParams) WithDefaults() *CreateOrganizationParams
WithDefaults hydrates default values in the create organization params (not the query body).
All values with no default are reset to their zero value.
func (*CreateOrganizationParams) WithHTTPClient ¶
func (o *CreateOrganizationParams) WithHTTPClient(client *http.Client) *CreateOrganizationParams
WithHTTPClient adds the HTTPClient to the create organization params
func (*CreateOrganizationParams) WithIfMatch ¶
func (o *CreateOrganizationParams) WithIfMatch(ifMatch *string) *CreateOrganizationParams
WithIfMatch adds the ifMatch to the create organization params
func (*CreateOrganizationParams) WithOrg ¶
func (o *CreateOrganizationParams) WithOrg(org *models.CreateOrganizationRequest) *CreateOrganizationParams
WithOrg adds the org to the create organization params
func (*CreateOrganizationParams) WithTimeout ¶
func (o *CreateOrganizationParams) WithTimeout(timeout time.Duration) *CreateOrganizationParams
WithTimeout adds the timeout to the create organization params
func (*CreateOrganizationParams) WriteToRequest ¶
func (o *CreateOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateOrganizationReader ¶
type CreateOrganizationReader struct {
// contains filtered or unexported fields
}
CreateOrganizationReader is a Reader for the CreateOrganization structure.
func (*CreateOrganizationReader) ReadResponse ¶
func (o *CreateOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateOrganizationTooManyRequests ¶
CreateOrganizationTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewCreateOrganizationTooManyRequests ¶
func NewCreateOrganizationTooManyRequests() *CreateOrganizationTooManyRequests
NewCreateOrganizationTooManyRequests creates a CreateOrganizationTooManyRequests with default headers values
func (*CreateOrganizationTooManyRequests) Code ¶
func (o *CreateOrganizationTooManyRequests) Code() int
Code gets the status code for the create organization too many requests response
func (*CreateOrganizationTooManyRequests) Error ¶
func (o *CreateOrganizationTooManyRequests) Error() string
func (*CreateOrganizationTooManyRequests) GetPayload ¶
func (o *CreateOrganizationTooManyRequests) GetPayload() *models.Error
func (*CreateOrganizationTooManyRequests) IsClientError ¶
func (o *CreateOrganizationTooManyRequests) IsClientError() bool
IsClientError returns true when this create organization too many requests response has a 4xx status code
func (*CreateOrganizationTooManyRequests) IsCode ¶
func (o *CreateOrganizationTooManyRequests) IsCode(code int) bool
IsCode returns true when this create organization too many requests response a status code equal to that given
func (*CreateOrganizationTooManyRequests) IsRedirect ¶
func (o *CreateOrganizationTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create organization too many requests response has a 3xx status code
func (*CreateOrganizationTooManyRequests) IsServerError ¶
func (o *CreateOrganizationTooManyRequests) IsServerError() bool
IsServerError returns true when this create organization too many requests response has a 5xx status code
func (*CreateOrganizationTooManyRequests) IsSuccess ¶
func (o *CreateOrganizationTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create organization too many requests response has a 2xx status code
func (*CreateOrganizationTooManyRequests) String ¶
func (o *CreateOrganizationTooManyRequests) String() string
type CreateOrganizationUnauthorized ¶
type CreateOrganizationUnauthorized struct {
}CreateOrganizationUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateOrganizationUnauthorized ¶
func NewCreateOrganizationUnauthorized() *CreateOrganizationUnauthorized
NewCreateOrganizationUnauthorized creates a CreateOrganizationUnauthorized with default headers values
func (*CreateOrganizationUnauthorized) Code ¶
func (o *CreateOrganizationUnauthorized) Code() int
Code gets the status code for the create organization unauthorized response
func (*CreateOrganizationUnauthorized) Error ¶
func (o *CreateOrganizationUnauthorized) Error() string
func (*CreateOrganizationUnauthorized) GetPayload ¶
func (o *CreateOrganizationUnauthorized) GetPayload() *models.Error
func (*CreateOrganizationUnauthorized) IsClientError ¶
func (o *CreateOrganizationUnauthorized) IsClientError() bool
IsClientError returns true when this create organization unauthorized response has a 4xx status code
func (*CreateOrganizationUnauthorized) IsCode ¶
func (o *CreateOrganizationUnauthorized) IsCode(code int) bool
IsCode returns true when this create organization unauthorized response a status code equal to that given
func (*CreateOrganizationUnauthorized) IsRedirect ¶
func (o *CreateOrganizationUnauthorized) IsRedirect() bool
IsRedirect returns true when this create organization unauthorized response has a 3xx status code
func (*CreateOrganizationUnauthorized) IsServerError ¶
func (o *CreateOrganizationUnauthorized) IsServerError() bool
IsServerError returns true when this create organization unauthorized response has a 5xx status code
func (*CreateOrganizationUnauthorized) IsSuccess ¶
func (o *CreateOrganizationUnauthorized) IsSuccess() bool
IsSuccess returns true when this create organization unauthorized response has a 2xx status code
func (*CreateOrganizationUnauthorized) String ¶
func (o *CreateOrganizationUnauthorized) String() string
type CreateOrganizationUnprocessableEntity ¶
CreateOrganizationUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewCreateOrganizationUnprocessableEntity ¶
func NewCreateOrganizationUnprocessableEntity() *CreateOrganizationUnprocessableEntity
NewCreateOrganizationUnprocessableEntity creates a CreateOrganizationUnprocessableEntity with default headers values
func (*CreateOrganizationUnprocessableEntity) Code ¶
func (o *CreateOrganizationUnprocessableEntity) Code() int
Code gets the status code for the create organization unprocessable entity response
func (*CreateOrganizationUnprocessableEntity) Error ¶
func (o *CreateOrganizationUnprocessableEntity) Error() string
func (*CreateOrganizationUnprocessableEntity) GetPayload ¶
func (o *CreateOrganizationUnprocessableEntity) GetPayload() *models.Error
func (*CreateOrganizationUnprocessableEntity) IsClientError ¶
func (o *CreateOrganizationUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create organization unprocessable entity response has a 4xx status code
func (*CreateOrganizationUnprocessableEntity) IsCode ¶
func (o *CreateOrganizationUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create organization unprocessable entity response a status code equal to that given
func (*CreateOrganizationUnprocessableEntity) IsRedirect ¶
func (o *CreateOrganizationUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create organization unprocessable entity response has a 3xx status code
func (*CreateOrganizationUnprocessableEntity) IsServerError ¶
func (o *CreateOrganizationUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create organization unprocessable entity response has a 5xx status code
func (*CreateOrganizationUnprocessableEntity) IsSuccess ¶
func (o *CreateOrganizationUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create organization unprocessable entity response has a 2xx status code
func (*CreateOrganizationUnprocessableEntity) String ¶
func (o *CreateOrganizationUnprocessableEntity) String() string
type DeleteOrganizationBadRequest ¶
DeleteOrganizationBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteOrganizationBadRequest ¶
func NewDeleteOrganizationBadRequest() *DeleteOrganizationBadRequest
NewDeleteOrganizationBadRequest creates a DeleteOrganizationBadRequest with default headers values
func (*DeleteOrganizationBadRequest) Code ¶
func (o *DeleteOrganizationBadRequest) Code() int
Code gets the status code for the delete organization bad request response
func (*DeleteOrganizationBadRequest) Error ¶
func (o *DeleteOrganizationBadRequest) Error() string
func (*DeleteOrganizationBadRequest) GetPayload ¶
func (o *DeleteOrganizationBadRequest) GetPayload() *models.Error
func (*DeleteOrganizationBadRequest) IsClientError ¶
func (o *DeleteOrganizationBadRequest) IsClientError() bool
IsClientError returns true when this delete organization bad request response has a 4xx status code
func (*DeleteOrganizationBadRequest) IsCode ¶
func (o *DeleteOrganizationBadRequest) IsCode(code int) bool
IsCode returns true when this delete organization bad request response a status code equal to that given
func (*DeleteOrganizationBadRequest) IsRedirect ¶
func (o *DeleteOrganizationBadRequest) IsRedirect() bool
IsRedirect returns true when this delete organization bad request response has a 3xx status code
func (*DeleteOrganizationBadRequest) IsServerError ¶
func (o *DeleteOrganizationBadRequest) IsServerError() bool
IsServerError returns true when this delete organization bad request response has a 5xx status code
func (*DeleteOrganizationBadRequest) IsSuccess ¶
func (o *DeleteOrganizationBadRequest) IsSuccess() bool
IsSuccess returns true when this delete organization bad request response has a 2xx status code
func (*DeleteOrganizationBadRequest) String ¶
func (o *DeleteOrganizationBadRequest) String() string
type DeleteOrganizationForbidden ¶
DeleteOrganizationForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteOrganizationForbidden ¶
func NewDeleteOrganizationForbidden() *DeleteOrganizationForbidden
NewDeleteOrganizationForbidden creates a DeleteOrganizationForbidden with default headers values
func (*DeleteOrganizationForbidden) Code ¶
func (o *DeleteOrganizationForbidden) Code() int
Code gets the status code for the delete organization forbidden response
func (*DeleteOrganizationForbidden) Error ¶
func (o *DeleteOrganizationForbidden) Error() string
func (*DeleteOrganizationForbidden) GetPayload ¶
func (o *DeleteOrganizationForbidden) GetPayload() *models.Error
func (*DeleteOrganizationForbidden) IsClientError ¶
func (o *DeleteOrganizationForbidden) IsClientError() bool
IsClientError returns true when this delete organization forbidden response has a 4xx status code
func (*DeleteOrganizationForbidden) IsCode ¶
func (o *DeleteOrganizationForbidden) IsCode(code int) bool
IsCode returns true when this delete organization forbidden response a status code equal to that given
func (*DeleteOrganizationForbidden) IsRedirect ¶
func (o *DeleteOrganizationForbidden) IsRedirect() bool
IsRedirect returns true when this delete organization forbidden response has a 3xx status code
func (*DeleteOrganizationForbidden) IsServerError ¶
func (o *DeleteOrganizationForbidden) IsServerError() bool
IsServerError returns true when this delete organization forbidden response has a 5xx status code
func (*DeleteOrganizationForbidden) IsSuccess ¶
func (o *DeleteOrganizationForbidden) IsSuccess() bool
IsSuccess returns true when this delete organization forbidden response has a 2xx status code
func (*DeleteOrganizationForbidden) String ¶
func (o *DeleteOrganizationForbidden) String() string
type DeleteOrganizationNoContent ¶
type DeleteOrganizationNoContent struct { }
DeleteOrganizationNoContent describes a response with status code 204, with default header values.
Organization has been deleted
func NewDeleteOrganizationNoContent ¶
func NewDeleteOrganizationNoContent() *DeleteOrganizationNoContent
NewDeleteOrganizationNoContent creates a DeleteOrganizationNoContent with default headers values
func (*DeleteOrganizationNoContent) Code ¶
func (o *DeleteOrganizationNoContent) Code() int
Code gets the status code for the delete organization no content response
func (*DeleteOrganizationNoContent) Error ¶
func (o *DeleteOrganizationNoContent) Error() string
func (*DeleteOrganizationNoContent) IsClientError ¶
func (o *DeleteOrganizationNoContent) IsClientError() bool
IsClientError returns true when this delete organization no content response has a 4xx status code
func (*DeleteOrganizationNoContent) IsCode ¶
func (o *DeleteOrganizationNoContent) IsCode(code int) bool
IsCode returns true when this delete organization no content response a status code equal to that given
func (*DeleteOrganizationNoContent) IsRedirect ¶
func (o *DeleteOrganizationNoContent) IsRedirect() bool
IsRedirect returns true when this delete organization no content response has a 3xx status code
func (*DeleteOrganizationNoContent) IsServerError ¶
func (o *DeleteOrganizationNoContent) IsServerError() bool
IsServerError returns true when this delete organization no content response has a 5xx status code
func (*DeleteOrganizationNoContent) IsSuccess ¶
func (o *DeleteOrganizationNoContent) IsSuccess() bool
IsSuccess returns true when this delete organization no content response has a 2xx status code
func (*DeleteOrganizationNoContent) String ¶
func (o *DeleteOrganizationNoContent) String() string
type DeleteOrganizationNotFound ¶
DeleteOrganizationNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteOrganizationNotFound ¶
func NewDeleteOrganizationNotFound() *DeleteOrganizationNotFound
NewDeleteOrganizationNotFound creates a DeleteOrganizationNotFound with default headers values
func (*DeleteOrganizationNotFound) Code ¶
func (o *DeleteOrganizationNotFound) Code() int
Code gets the status code for the delete organization not found response
func (*DeleteOrganizationNotFound) Error ¶
func (o *DeleteOrganizationNotFound) Error() string
func (*DeleteOrganizationNotFound) GetPayload ¶
func (o *DeleteOrganizationNotFound) GetPayload() *models.Error
func (*DeleteOrganizationNotFound) IsClientError ¶
func (o *DeleteOrganizationNotFound) IsClientError() bool
IsClientError returns true when this delete organization not found response has a 4xx status code
func (*DeleteOrganizationNotFound) IsCode ¶
func (o *DeleteOrganizationNotFound) IsCode(code int) bool
IsCode returns true when this delete organization not found response a status code equal to that given
func (*DeleteOrganizationNotFound) IsRedirect ¶
func (o *DeleteOrganizationNotFound) IsRedirect() bool
IsRedirect returns true when this delete organization not found response has a 3xx status code
func (*DeleteOrganizationNotFound) IsServerError ¶
func (o *DeleteOrganizationNotFound) IsServerError() bool
IsServerError returns true when this delete organization not found response has a 5xx status code
func (*DeleteOrganizationNotFound) IsSuccess ¶
func (o *DeleteOrganizationNotFound) IsSuccess() bool
IsSuccess returns true when this delete organization not found response has a 2xx status code
func (*DeleteOrganizationNotFound) String ¶
func (o *DeleteOrganizationNotFound) String() string
type DeleteOrganizationParams ¶
type DeleteOrganizationParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Wid. Organization id Default: "default" */ Wid 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 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 NewDeleteOrganizationParamsWithContext ¶
func NewDeleteOrganizationParamsWithContext(ctx context.Context) *DeleteOrganizationParams
NewDeleteOrganizationParamsWithContext creates a new DeleteOrganizationParams object with 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 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 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) SetDefaults ¶
func (o *DeleteOrganizationParams) SetDefaults()
SetDefaults hydrates default values in the delete organization params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOrganizationParams) SetHTTPClient ¶
func (o *DeleteOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete organization params
func (*DeleteOrganizationParams) SetIfMatch ¶
func (o *DeleteOrganizationParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch 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) SetWid ¶
func (o *DeleteOrganizationParams) SetWid(wid string)
SetWid adds the wid to the delete organization params
func (*DeleteOrganizationParams) WithContext ¶
func (o *DeleteOrganizationParams) WithContext(ctx context.Context) *DeleteOrganizationParams
WithContext adds the context to the delete organization params
func (*DeleteOrganizationParams) WithDefaults ¶
func (o *DeleteOrganizationParams) WithDefaults() *DeleteOrganizationParams
WithDefaults hydrates default values in the delete organization params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOrganizationParams) WithHTTPClient ¶
func (o *DeleteOrganizationParams) WithHTTPClient(client *http.Client) *DeleteOrganizationParams
WithHTTPClient adds the HTTPClient to the delete organization params
func (*DeleteOrganizationParams) WithIfMatch ¶
func (o *DeleteOrganizationParams) WithIfMatch(ifMatch *string) *DeleteOrganizationParams
WithIfMatch adds the ifMatch to the delete organization params
func (*DeleteOrganizationParams) WithTimeout ¶
func (o *DeleteOrganizationParams) WithTimeout(timeout time.Duration) *DeleteOrganizationParams
WithTimeout adds the timeout to the delete organization params
func (*DeleteOrganizationParams) WithWid ¶
func (o *DeleteOrganizationParams) WithWid(wid string) *DeleteOrganizationParams
WithWid adds the wid to the delete organization params
func (*DeleteOrganizationParams) WriteToRequest ¶
func (o *DeleteOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 DeleteOrganizationTooManyRequests ¶
DeleteOrganizationTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewDeleteOrganizationTooManyRequests ¶
func NewDeleteOrganizationTooManyRequests() *DeleteOrganizationTooManyRequests
NewDeleteOrganizationTooManyRequests creates a DeleteOrganizationTooManyRequests with default headers values
func (*DeleteOrganizationTooManyRequests) Code ¶
func (o *DeleteOrganizationTooManyRequests) Code() int
Code gets the status code for the delete organization too many requests response
func (*DeleteOrganizationTooManyRequests) Error ¶
func (o *DeleteOrganizationTooManyRequests) Error() string
func (*DeleteOrganizationTooManyRequests) GetPayload ¶
func (o *DeleteOrganizationTooManyRequests) GetPayload() *models.Error
func (*DeleteOrganizationTooManyRequests) IsClientError ¶
func (o *DeleteOrganizationTooManyRequests) IsClientError() bool
IsClientError returns true when this delete organization too many requests response has a 4xx status code
func (*DeleteOrganizationTooManyRequests) IsCode ¶
func (o *DeleteOrganizationTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete organization too many requests response a status code equal to that given
func (*DeleteOrganizationTooManyRequests) IsRedirect ¶
func (o *DeleteOrganizationTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete organization too many requests response has a 3xx status code
func (*DeleteOrganizationTooManyRequests) IsServerError ¶
func (o *DeleteOrganizationTooManyRequests) IsServerError() bool
IsServerError returns true when this delete organization too many requests response has a 5xx status code
func (*DeleteOrganizationTooManyRequests) IsSuccess ¶
func (o *DeleteOrganizationTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete organization too many requests response has a 2xx status code
func (*DeleteOrganizationTooManyRequests) String ¶
func (o *DeleteOrganizationTooManyRequests) String() string
type DeleteOrganizationUnauthorized ¶
type DeleteOrganizationUnauthorized struct {
}DeleteOrganizationUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteOrganizationUnauthorized ¶
func NewDeleteOrganizationUnauthorized() *DeleteOrganizationUnauthorized
NewDeleteOrganizationUnauthorized creates a DeleteOrganizationUnauthorized with default headers values
func (*DeleteOrganizationUnauthorized) Code ¶
func (o *DeleteOrganizationUnauthorized) Code() int
Code gets the status code for the delete organization unauthorized response
func (*DeleteOrganizationUnauthorized) Error ¶
func (o *DeleteOrganizationUnauthorized) Error() string
func (*DeleteOrganizationUnauthorized) GetPayload ¶
func (o *DeleteOrganizationUnauthorized) GetPayload() *models.Error
func (*DeleteOrganizationUnauthorized) IsClientError ¶
func (o *DeleteOrganizationUnauthorized) IsClientError() bool
IsClientError returns true when this delete organization unauthorized response has a 4xx status code
func (*DeleteOrganizationUnauthorized) IsCode ¶
func (o *DeleteOrganizationUnauthorized) IsCode(code int) bool
IsCode returns true when this delete organization unauthorized response a status code equal to that given
func (*DeleteOrganizationUnauthorized) IsRedirect ¶
func (o *DeleteOrganizationUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete organization unauthorized response has a 3xx status code
func (*DeleteOrganizationUnauthorized) IsServerError ¶
func (o *DeleteOrganizationUnauthorized) IsServerError() bool
IsServerError returns true when this delete organization unauthorized response has a 5xx status code
func (*DeleteOrganizationUnauthorized) IsSuccess ¶
func (o *DeleteOrganizationUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete organization unauthorized response has a 2xx status code
func (*DeleteOrganizationUnauthorized) String ¶
func (o *DeleteOrganizationUnauthorized) String() string
type GetOrganizationForbidden ¶
GetOrganizationForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetOrganizationForbidden ¶
func NewGetOrganizationForbidden() *GetOrganizationForbidden
NewGetOrganizationForbidden creates a GetOrganizationForbidden with default headers values
func (*GetOrganizationForbidden) Code ¶
func (o *GetOrganizationForbidden) Code() int
Code gets the status code for the get organization forbidden response
func (*GetOrganizationForbidden) Error ¶
func (o *GetOrganizationForbidden) Error() string
func (*GetOrganizationForbidden) GetPayload ¶
func (o *GetOrganizationForbidden) GetPayload() *models.Error
func (*GetOrganizationForbidden) IsClientError ¶
func (o *GetOrganizationForbidden) IsClientError() bool
IsClientError returns true when this get organization forbidden response has a 4xx status code
func (*GetOrganizationForbidden) IsCode ¶
func (o *GetOrganizationForbidden) IsCode(code int) bool
IsCode returns true when this get organization forbidden response a status code equal to that given
func (*GetOrganizationForbidden) IsRedirect ¶
func (o *GetOrganizationForbidden) IsRedirect() bool
IsRedirect returns true when this get organization forbidden response has a 3xx status code
func (*GetOrganizationForbidden) IsServerError ¶
func (o *GetOrganizationForbidden) IsServerError() bool
IsServerError returns true when this get organization forbidden response has a 5xx status code
func (*GetOrganizationForbidden) IsSuccess ¶
func (o *GetOrganizationForbidden) IsSuccess() bool
IsSuccess returns true when this get organization forbidden response has a 2xx status code
func (*GetOrganizationForbidden) String ¶
func (o *GetOrganizationForbidden) String() string
type GetOrganizationNotFound ¶
GetOrganizationNotFound describes a response with status code 404, with default header values.
Not found
func NewGetOrganizationNotFound ¶
func NewGetOrganizationNotFound() *GetOrganizationNotFound
NewGetOrganizationNotFound creates a GetOrganizationNotFound with default headers values
func (*GetOrganizationNotFound) Code ¶
func (o *GetOrganizationNotFound) Code() int
Code gets the status code for the get organization not found response
func (*GetOrganizationNotFound) Error ¶
func (o *GetOrganizationNotFound) Error() string
func (*GetOrganizationNotFound) GetPayload ¶
func (o *GetOrganizationNotFound) GetPayload() *models.Error
func (*GetOrganizationNotFound) IsClientError ¶
func (o *GetOrganizationNotFound) IsClientError() bool
IsClientError returns true when this get organization not found response has a 4xx status code
func (*GetOrganizationNotFound) IsCode ¶
func (o *GetOrganizationNotFound) IsCode(code int) bool
IsCode returns true when this get organization not found response a status code equal to that given
func (*GetOrganizationNotFound) IsRedirect ¶
func (o *GetOrganizationNotFound) IsRedirect() bool
IsRedirect returns true when this get organization not found response has a 3xx status code
func (*GetOrganizationNotFound) IsServerError ¶
func (o *GetOrganizationNotFound) IsServerError() bool
IsServerError returns true when this get organization not found response has a 5xx status code
func (*GetOrganizationNotFound) IsSuccess ¶
func (o *GetOrganizationNotFound) IsSuccess() bool
IsSuccess returns true when this get organization not found response has a 2xx status code
func (*GetOrganizationNotFound) String ¶
func (o *GetOrganizationNotFound) String() string
type GetOrganizationOK ¶
type GetOrganizationOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.OrganizationResponse }
GetOrganizationOK describes a response with status code 200, with default header values.
Org
func NewGetOrganizationOK ¶
func NewGetOrganizationOK() *GetOrganizationOK
NewGetOrganizationOK creates a GetOrganizationOK with default headers values
func (*GetOrganizationOK) Code ¶
func (o *GetOrganizationOK) Code() int
Code gets the status code for the get organization o k response
func (*GetOrganizationOK) Error ¶
func (o *GetOrganizationOK) Error() string
func (*GetOrganizationOK) GetPayload ¶
func (o *GetOrganizationOK) GetPayload() *models.OrganizationResponse
func (*GetOrganizationOK) IsClientError ¶
func (o *GetOrganizationOK) IsClientError() bool
IsClientError returns true when this get organization o k response has a 4xx status code
func (*GetOrganizationOK) IsCode ¶
func (o *GetOrganizationOK) IsCode(code int) bool
IsCode returns true when this get organization o k response a status code equal to that given
func (*GetOrganizationOK) IsRedirect ¶
func (o *GetOrganizationOK) IsRedirect() bool
IsRedirect returns true when this get organization o k response has a 3xx status code
func (*GetOrganizationOK) IsServerError ¶
func (o *GetOrganizationOK) IsServerError() bool
IsServerError returns true when this get organization o k response has a 5xx status code
func (*GetOrganizationOK) IsSuccess ¶
func (o *GetOrganizationOK) IsSuccess() bool
IsSuccess returns true when this get organization o k response has a 2xx status code
func (*GetOrganizationOK) String ¶
func (o *GetOrganizationOK) String() string
type GetOrganizationParams ¶
type GetOrganizationParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Wid. Organization id Default: "default" */ Wid 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 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 NewGetOrganizationParamsWithContext ¶
func NewGetOrganizationParamsWithContext(ctx context.Context) *GetOrganizationParams
NewGetOrganizationParamsWithContext creates a new GetOrganizationParams object with 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 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 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) SetDefaults ¶
func (o *GetOrganizationParams) SetDefaults()
SetDefaults hydrates default values in the get organization params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationParams) SetHTTPClient ¶
func (o *GetOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get organization params
func (*GetOrganizationParams) SetIfMatch ¶
func (o *GetOrganizationParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch 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) SetWid ¶
func (o *GetOrganizationParams) SetWid(wid string)
SetWid adds the wid to the get organization params
func (*GetOrganizationParams) WithContext ¶
func (o *GetOrganizationParams) WithContext(ctx context.Context) *GetOrganizationParams
WithContext adds the context to the get organization params
func (*GetOrganizationParams) WithDefaults ¶
func (o *GetOrganizationParams) WithDefaults() *GetOrganizationParams
WithDefaults hydrates default values in the get organization params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationParams) WithHTTPClient ¶
func (o *GetOrganizationParams) WithHTTPClient(client *http.Client) *GetOrganizationParams
WithHTTPClient adds the HTTPClient to the get organization params
func (*GetOrganizationParams) WithIfMatch ¶
func (o *GetOrganizationParams) WithIfMatch(ifMatch *string) *GetOrganizationParams
WithIfMatch adds the ifMatch 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) WithWid ¶
func (o *GetOrganizationParams) WithWid(wid string) *GetOrganizationParams
WithWid adds the wid 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 GetOrganizationTooManyRequests ¶
GetOrganizationTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetOrganizationTooManyRequests ¶
func NewGetOrganizationTooManyRequests() *GetOrganizationTooManyRequests
NewGetOrganizationTooManyRequests creates a GetOrganizationTooManyRequests with default headers values
func (*GetOrganizationTooManyRequests) Code ¶
func (o *GetOrganizationTooManyRequests) Code() int
Code gets the status code for the get organization too many requests response
func (*GetOrganizationTooManyRequests) Error ¶
func (o *GetOrganizationTooManyRequests) Error() string
func (*GetOrganizationTooManyRequests) GetPayload ¶
func (o *GetOrganizationTooManyRequests) GetPayload() *models.Error
func (*GetOrganizationTooManyRequests) IsClientError ¶
func (o *GetOrganizationTooManyRequests) IsClientError() bool
IsClientError returns true when this get organization too many requests response has a 4xx status code
func (*GetOrganizationTooManyRequests) IsCode ¶
func (o *GetOrganizationTooManyRequests) IsCode(code int) bool
IsCode returns true when this get organization too many requests response a status code equal to that given
func (*GetOrganizationTooManyRequests) IsRedirect ¶
func (o *GetOrganizationTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get organization too many requests response has a 3xx status code
func (*GetOrganizationTooManyRequests) IsServerError ¶
func (o *GetOrganizationTooManyRequests) IsServerError() bool
IsServerError returns true when this get organization too many requests response has a 5xx status code
func (*GetOrganizationTooManyRequests) IsSuccess ¶
func (o *GetOrganizationTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get organization too many requests response has a 2xx status code
func (*GetOrganizationTooManyRequests) String ¶
func (o *GetOrganizationTooManyRequests) String() string
type GetOrganizationUnauthorized ¶
type GetOrganizationUnauthorized struct {
}GetOrganizationUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetOrganizationUnauthorized ¶
func NewGetOrganizationUnauthorized() *GetOrganizationUnauthorized
NewGetOrganizationUnauthorized creates a GetOrganizationUnauthorized with default headers values
func (*GetOrganizationUnauthorized) Code ¶
func (o *GetOrganizationUnauthorized) Code() int
Code gets the status code for the get organization unauthorized response
func (*GetOrganizationUnauthorized) Error ¶
func (o *GetOrganizationUnauthorized) Error() string
func (*GetOrganizationUnauthorized) GetPayload ¶
func (o *GetOrganizationUnauthorized) GetPayload() *models.Error
func (*GetOrganizationUnauthorized) IsClientError ¶
func (o *GetOrganizationUnauthorized) IsClientError() bool
IsClientError returns true when this get organization unauthorized response has a 4xx status code
func (*GetOrganizationUnauthorized) IsCode ¶
func (o *GetOrganizationUnauthorized) IsCode(code int) bool
IsCode returns true when this get organization unauthorized response a status code equal to that given
func (*GetOrganizationUnauthorized) IsRedirect ¶
func (o *GetOrganizationUnauthorized) IsRedirect() bool
IsRedirect returns true when this get organization unauthorized response has a 3xx status code
func (*GetOrganizationUnauthorized) IsServerError ¶
func (o *GetOrganizationUnauthorized) IsServerError() bool
IsServerError returns true when this get organization unauthorized response has a 5xx status code
func (*GetOrganizationUnauthorized) IsSuccess ¶
func (o *GetOrganizationUnauthorized) IsSuccess() bool
IsSuccess returns true when this get organization unauthorized response has a 2xx status code
func (*GetOrganizationUnauthorized) String ¶
func (o *GetOrganizationUnauthorized) String() string
type ListOrganizationsForbidden ¶
ListOrganizationsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListOrganizationsForbidden ¶
func NewListOrganizationsForbidden() *ListOrganizationsForbidden
NewListOrganizationsForbidden creates a ListOrganizationsForbidden with default headers values
func (*ListOrganizationsForbidden) Code ¶
func (o *ListOrganizationsForbidden) Code() int
Code gets the status code for the list organizations forbidden response
func (*ListOrganizationsForbidden) Error ¶
func (o *ListOrganizationsForbidden) Error() string
func (*ListOrganizationsForbidden) GetPayload ¶
func (o *ListOrganizationsForbidden) GetPayload() *models.Error
func (*ListOrganizationsForbidden) IsClientError ¶
func (o *ListOrganizationsForbidden) IsClientError() bool
IsClientError returns true when this list organizations forbidden response has a 4xx status code
func (*ListOrganizationsForbidden) IsCode ¶
func (o *ListOrganizationsForbidden) IsCode(code int) bool
IsCode returns true when this list organizations forbidden response a status code equal to that given
func (*ListOrganizationsForbidden) IsRedirect ¶
func (o *ListOrganizationsForbidden) IsRedirect() bool
IsRedirect returns true when this list organizations forbidden response has a 3xx status code
func (*ListOrganizationsForbidden) IsServerError ¶
func (o *ListOrganizationsForbidden) IsServerError() bool
IsServerError returns true when this list organizations forbidden response has a 5xx status code
func (*ListOrganizationsForbidden) IsSuccess ¶
func (o *ListOrganizationsForbidden) IsSuccess() bool
IsSuccess returns true when this list organizations forbidden response has a 2xx status code
func (*ListOrganizationsForbidden) String ¶
func (o *ListOrganizationsForbidden) String() string
type ListOrganizationsNotFound ¶
ListOrganizationsNotFound describes a response with status code 404, with default header values.
Not found
func NewListOrganizationsNotFound ¶
func NewListOrganizationsNotFound() *ListOrganizationsNotFound
NewListOrganizationsNotFound creates a ListOrganizationsNotFound with default headers values
func (*ListOrganizationsNotFound) Code ¶
func (o *ListOrganizationsNotFound) Code() int
Code gets the status code for the list organizations not found response
func (*ListOrganizationsNotFound) Error ¶
func (o *ListOrganizationsNotFound) Error() string
func (*ListOrganizationsNotFound) GetPayload ¶
func (o *ListOrganizationsNotFound) GetPayload() *models.Error
func (*ListOrganizationsNotFound) IsClientError ¶
func (o *ListOrganizationsNotFound) IsClientError() bool
IsClientError returns true when this list organizations not found response has a 4xx status code
func (*ListOrganizationsNotFound) IsCode ¶
func (o *ListOrganizationsNotFound) IsCode(code int) bool
IsCode returns true when this list organizations not found response a status code equal to that given
func (*ListOrganizationsNotFound) IsRedirect ¶
func (o *ListOrganizationsNotFound) IsRedirect() bool
IsRedirect returns true when this list organizations not found response has a 3xx status code
func (*ListOrganizationsNotFound) IsServerError ¶
func (o *ListOrganizationsNotFound) IsServerError() bool
IsServerError returns true when this list organizations not found response has a 5xx status code
func (*ListOrganizationsNotFound) IsSuccess ¶
func (o *ListOrganizationsNotFound) IsSuccess() bool
IsSuccess returns true when this list organizations not found response has a 2xx status code
func (*ListOrganizationsNotFound) String ¶
func (o *ListOrganizationsNotFound) String() string
type ListOrganizationsOK ¶
type ListOrganizationsOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.OrganizationsResponse }
ListOrganizationsOK describes a response with status code 200, with default header values.
Orgs
func NewListOrganizationsOK ¶
func NewListOrganizationsOK() *ListOrganizationsOK
NewListOrganizationsOK creates a ListOrganizationsOK with default headers values
func (*ListOrganizationsOK) Code ¶
func (o *ListOrganizationsOK) Code() int
Code gets the status code for the list organizations o k response
func (*ListOrganizationsOK) Error ¶
func (o *ListOrganizationsOK) Error() string
func (*ListOrganizationsOK) GetPayload ¶
func (o *ListOrganizationsOK) GetPayload() *models.OrganizationsResponse
func (*ListOrganizationsOK) IsClientError ¶
func (o *ListOrganizationsOK) IsClientError() bool
IsClientError returns true when this list organizations o k response has a 4xx status code
func (*ListOrganizationsOK) IsCode ¶
func (o *ListOrganizationsOK) IsCode(code int) bool
IsCode returns true when this list organizations o k response a status code equal to that given
func (*ListOrganizationsOK) IsRedirect ¶
func (o *ListOrganizationsOK) IsRedirect() bool
IsRedirect returns true when this list organizations o k response has a 3xx status code
func (*ListOrganizationsOK) IsServerError ¶
func (o *ListOrganizationsOK) IsServerError() bool
IsServerError returns true when this list organizations o k response has a 5xx status code
func (*ListOrganizationsOK) IsSuccess ¶
func (o *ListOrganizationsOK) IsSuccess() bool
IsSuccess returns true when this list organizations o k response has a 2xx status code
func (*ListOrganizationsOK) String ¶
func (o *ListOrganizationsOK) String() string
type ListOrganizationsParams ¶
type ListOrganizationsParams struct { /* AfterOrganizationID. optional list organizations after given id AfterServerID */ AfterOrganizationID *string /* BeforeOrganizationID. optional list organizations before given id BeforeServerID */ BeforeOrganizationID *string /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Limit. optional limit results Limit Format: int64 Default: 20 */ Limit *int64 /* Order. optional order organizations by given direction Order */ Order *string /* ParentID. optional parent workspace id Format: serverID */ ParentID *string /* SearchPhrase. Optional search phrase: organization id OR organization name substring (case insensitive) SearchPhrase */ SearchPhrase *string /* Sort. optional sort organizations by given field Sort */ Sort *string /* Template. optional flag to filter by template */ Template *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListOrganizationsParams contains all the parameters to send to the API endpoint
for the list organizations operation. Typically these are written to a http.Request.
func NewListOrganizationsParams ¶
func NewListOrganizationsParams() *ListOrganizationsParams
NewListOrganizationsParams creates a new ListOrganizationsParams 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 NewListOrganizationsParamsWithContext ¶
func NewListOrganizationsParamsWithContext(ctx context.Context) *ListOrganizationsParams
NewListOrganizationsParamsWithContext creates a new ListOrganizationsParams object with the ability to set a context for a request.
func NewListOrganizationsParamsWithHTTPClient ¶
func NewListOrganizationsParamsWithHTTPClient(client *http.Client) *ListOrganizationsParams
NewListOrganizationsParamsWithHTTPClient creates a new ListOrganizationsParams object with the ability to set a custom HTTPClient for a request.
func NewListOrganizationsParamsWithTimeout ¶
func NewListOrganizationsParamsWithTimeout(timeout time.Duration) *ListOrganizationsParams
NewListOrganizationsParamsWithTimeout creates a new ListOrganizationsParams object with the ability to set a timeout on a request.
func (*ListOrganizationsParams) SetAfterOrganizationID ¶
func (o *ListOrganizationsParams) SetAfterOrganizationID(afterOrganizationID *string)
SetAfterOrganizationID adds the afterOrganizationId to the list organizations params
func (*ListOrganizationsParams) SetBeforeOrganizationID ¶
func (o *ListOrganizationsParams) SetBeforeOrganizationID(beforeOrganizationID *string)
SetBeforeOrganizationID adds the beforeOrganizationId to the list organizations params
func (*ListOrganizationsParams) SetContext ¶
func (o *ListOrganizationsParams) SetContext(ctx context.Context)
SetContext adds the context to the list organizations params
func (*ListOrganizationsParams) SetDefaults ¶
func (o *ListOrganizationsParams) SetDefaults()
SetDefaults hydrates default values in the list organizations params (not the query body).
All values with no default are reset to their zero value.
func (*ListOrganizationsParams) SetHTTPClient ¶
func (o *ListOrganizationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list organizations params
func (*ListOrganizationsParams) SetIfMatch ¶
func (o *ListOrganizationsParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the list organizations params
func (*ListOrganizationsParams) SetLimit ¶
func (o *ListOrganizationsParams) SetLimit(limit *int64)
SetLimit adds the limit to the list organizations params
func (*ListOrganizationsParams) SetOrder ¶
func (o *ListOrganizationsParams) SetOrder(order *string)
SetOrder adds the order to the list organizations params
func (*ListOrganizationsParams) SetParentID ¶
func (o *ListOrganizationsParams) SetParentID(parentID *string)
SetParentID adds the parentId to the list organizations params
func (*ListOrganizationsParams) SetSearchPhrase ¶
func (o *ListOrganizationsParams) SetSearchPhrase(searchPhrase *string)
SetSearchPhrase adds the searchPhrase to the list organizations params
func (*ListOrganizationsParams) SetSort ¶
func (o *ListOrganizationsParams) SetSort(sort *string)
SetSort adds the sort to the list organizations params
func (*ListOrganizationsParams) SetTemplate ¶
func (o *ListOrganizationsParams) SetTemplate(template *bool)
SetTemplate adds the template to the list organizations params
func (*ListOrganizationsParams) SetTimeout ¶
func (o *ListOrganizationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list organizations params
func (*ListOrganizationsParams) WithAfterOrganizationID ¶
func (o *ListOrganizationsParams) WithAfterOrganizationID(afterOrganizationID *string) *ListOrganizationsParams
WithAfterOrganizationID adds the afterOrganizationID to the list organizations params
func (*ListOrganizationsParams) WithBeforeOrganizationID ¶
func (o *ListOrganizationsParams) WithBeforeOrganizationID(beforeOrganizationID *string) *ListOrganizationsParams
WithBeforeOrganizationID adds the beforeOrganizationID to the list organizations params
func (*ListOrganizationsParams) WithContext ¶
func (o *ListOrganizationsParams) WithContext(ctx context.Context) *ListOrganizationsParams
WithContext adds the context to the list organizations params
func (*ListOrganizationsParams) WithDefaults ¶
func (o *ListOrganizationsParams) WithDefaults() *ListOrganizationsParams
WithDefaults hydrates default values in the list organizations params (not the query body).
All values with no default are reset to their zero value.
func (*ListOrganizationsParams) WithHTTPClient ¶
func (o *ListOrganizationsParams) WithHTTPClient(client *http.Client) *ListOrganizationsParams
WithHTTPClient adds the HTTPClient to the list organizations params
func (*ListOrganizationsParams) WithIfMatch ¶
func (o *ListOrganizationsParams) WithIfMatch(ifMatch *string) *ListOrganizationsParams
WithIfMatch adds the ifMatch to the list organizations params
func (*ListOrganizationsParams) WithLimit ¶
func (o *ListOrganizationsParams) WithLimit(limit *int64) *ListOrganizationsParams
WithLimit adds the limit to the list organizations params
func (*ListOrganizationsParams) WithOrder ¶
func (o *ListOrganizationsParams) WithOrder(order *string) *ListOrganizationsParams
WithOrder adds the order to the list organizations params
func (*ListOrganizationsParams) WithParentID ¶
func (o *ListOrganizationsParams) WithParentID(parentID *string) *ListOrganizationsParams
WithParentID adds the parentID to the list organizations params
func (*ListOrganizationsParams) WithSearchPhrase ¶
func (o *ListOrganizationsParams) WithSearchPhrase(searchPhrase *string) *ListOrganizationsParams
WithSearchPhrase adds the searchPhrase to the list organizations params
func (*ListOrganizationsParams) WithSort ¶
func (o *ListOrganizationsParams) WithSort(sort *string) *ListOrganizationsParams
WithSort adds the sort to the list organizations params
func (*ListOrganizationsParams) WithTemplate ¶
func (o *ListOrganizationsParams) WithTemplate(template *bool) *ListOrganizationsParams
WithTemplate adds the template to the list organizations params
func (*ListOrganizationsParams) WithTimeout ¶
func (o *ListOrganizationsParams) WithTimeout(timeout time.Duration) *ListOrganizationsParams
WithTimeout adds the timeout to the list organizations params
func (*ListOrganizationsParams) WriteToRequest ¶
func (o *ListOrganizationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListOrganizationsReader ¶
type ListOrganizationsReader struct {
// contains filtered or unexported fields
}
ListOrganizationsReader is a Reader for the ListOrganizations structure.
func (*ListOrganizationsReader) ReadResponse ¶
func (o *ListOrganizationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListOrganizationsTooManyRequests ¶
ListOrganizationsTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListOrganizationsTooManyRequests ¶
func NewListOrganizationsTooManyRequests() *ListOrganizationsTooManyRequests
NewListOrganizationsTooManyRequests creates a ListOrganizationsTooManyRequests with default headers values
func (*ListOrganizationsTooManyRequests) Code ¶
func (o *ListOrganizationsTooManyRequests) Code() int
Code gets the status code for the list organizations too many requests response
func (*ListOrganizationsTooManyRequests) Error ¶
func (o *ListOrganizationsTooManyRequests) Error() string
func (*ListOrganizationsTooManyRequests) GetPayload ¶
func (o *ListOrganizationsTooManyRequests) GetPayload() *models.Error
func (*ListOrganizationsTooManyRequests) IsClientError ¶
func (o *ListOrganizationsTooManyRequests) IsClientError() bool
IsClientError returns true when this list organizations too many requests response has a 4xx status code
func (*ListOrganizationsTooManyRequests) IsCode ¶
func (o *ListOrganizationsTooManyRequests) IsCode(code int) bool
IsCode returns true when this list organizations too many requests response a status code equal to that given
func (*ListOrganizationsTooManyRequests) IsRedirect ¶
func (o *ListOrganizationsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list organizations too many requests response has a 3xx status code
func (*ListOrganizationsTooManyRequests) IsServerError ¶
func (o *ListOrganizationsTooManyRequests) IsServerError() bool
IsServerError returns true when this list organizations too many requests response has a 5xx status code
func (*ListOrganizationsTooManyRequests) IsSuccess ¶
func (o *ListOrganizationsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list organizations too many requests response has a 2xx status code
func (*ListOrganizationsTooManyRequests) String ¶
func (o *ListOrganizationsTooManyRequests) String() string
type ListOrganizationsUnauthorized ¶
type ListOrganizationsUnauthorized struct {
}ListOrganizationsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListOrganizationsUnauthorized ¶
func NewListOrganizationsUnauthorized() *ListOrganizationsUnauthorized
NewListOrganizationsUnauthorized creates a ListOrganizationsUnauthorized with default headers values
func (*ListOrganizationsUnauthorized) Code ¶
func (o *ListOrganizationsUnauthorized) Code() int
Code gets the status code for the list organizations unauthorized response
func (*ListOrganizationsUnauthorized) Error ¶
func (o *ListOrganizationsUnauthorized) Error() string
func (*ListOrganizationsUnauthorized) GetPayload ¶
func (o *ListOrganizationsUnauthorized) GetPayload() *models.Error
func (*ListOrganizationsUnauthorized) IsClientError ¶
func (o *ListOrganizationsUnauthorized) IsClientError() bool
IsClientError returns true when this list organizations unauthorized response has a 4xx status code
func (*ListOrganizationsUnauthorized) IsCode ¶
func (o *ListOrganizationsUnauthorized) IsCode(code int) bool
IsCode returns true when this list organizations unauthorized response a status code equal to that given
func (*ListOrganizationsUnauthorized) IsRedirect ¶
func (o *ListOrganizationsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list organizations unauthorized response has a 3xx status code
func (*ListOrganizationsUnauthorized) IsServerError ¶
func (o *ListOrganizationsUnauthorized) IsServerError() bool
IsServerError returns true when this list organizations unauthorized response has a 5xx status code
func (*ListOrganizationsUnauthorized) IsSuccess ¶
func (o *ListOrganizationsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list organizations unauthorized response has a 2xx status code
func (*ListOrganizationsUnauthorized) String ¶
func (o *ListOrganizationsUnauthorized) String() string
type ListUserOrganizationsForbidden ¶
ListUserOrganizationsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListUserOrganizationsForbidden ¶
func NewListUserOrganizationsForbidden() *ListUserOrganizationsForbidden
NewListUserOrganizationsForbidden creates a ListUserOrganizationsForbidden with default headers values
func (*ListUserOrganizationsForbidden) Code ¶
func (o *ListUserOrganizationsForbidden) Code() int
Code gets the status code for the list user organizations forbidden response
func (*ListUserOrganizationsForbidden) Error ¶
func (o *ListUserOrganizationsForbidden) Error() string
func (*ListUserOrganizationsForbidden) GetPayload ¶
func (o *ListUserOrganizationsForbidden) GetPayload() *models.Error
func (*ListUserOrganizationsForbidden) IsClientError ¶
func (o *ListUserOrganizationsForbidden) IsClientError() bool
IsClientError returns true when this list user organizations forbidden response has a 4xx status code
func (*ListUserOrganizationsForbidden) IsCode ¶
func (o *ListUserOrganizationsForbidden) IsCode(code int) bool
IsCode returns true when this list user organizations forbidden response a status code equal to that given
func (*ListUserOrganizationsForbidden) IsRedirect ¶
func (o *ListUserOrganizationsForbidden) IsRedirect() bool
IsRedirect returns true when this list user organizations forbidden response has a 3xx status code
func (*ListUserOrganizationsForbidden) IsServerError ¶
func (o *ListUserOrganizationsForbidden) IsServerError() bool
IsServerError returns true when this list user organizations forbidden response has a 5xx status code
func (*ListUserOrganizationsForbidden) IsSuccess ¶
func (o *ListUserOrganizationsForbidden) IsSuccess() bool
IsSuccess returns true when this list user organizations forbidden response has a 2xx status code
func (*ListUserOrganizationsForbidden) String ¶
func (o *ListUserOrganizationsForbidden) String() string
type ListUserOrganizationsNotFound ¶
ListUserOrganizationsNotFound describes a response with status code 404, with default header values.
Not found
func NewListUserOrganizationsNotFound ¶
func NewListUserOrganizationsNotFound() *ListUserOrganizationsNotFound
NewListUserOrganizationsNotFound creates a ListUserOrganizationsNotFound with default headers values
func (*ListUserOrganizationsNotFound) Code ¶
func (o *ListUserOrganizationsNotFound) Code() int
Code gets the status code for the list user organizations not found response
func (*ListUserOrganizationsNotFound) Error ¶
func (o *ListUserOrganizationsNotFound) Error() string
func (*ListUserOrganizationsNotFound) GetPayload ¶
func (o *ListUserOrganizationsNotFound) GetPayload() *models.Error
func (*ListUserOrganizationsNotFound) IsClientError ¶
func (o *ListUserOrganizationsNotFound) IsClientError() bool
IsClientError returns true when this list user organizations not found response has a 4xx status code
func (*ListUserOrganizationsNotFound) IsCode ¶
func (o *ListUserOrganizationsNotFound) IsCode(code int) bool
IsCode returns true when this list user organizations not found response a status code equal to that given
func (*ListUserOrganizationsNotFound) IsRedirect ¶
func (o *ListUserOrganizationsNotFound) IsRedirect() bool
IsRedirect returns true when this list user organizations not found response has a 3xx status code
func (*ListUserOrganizationsNotFound) IsServerError ¶
func (o *ListUserOrganizationsNotFound) IsServerError() bool
IsServerError returns true when this list user organizations not found response has a 5xx status code
func (*ListUserOrganizationsNotFound) IsSuccess ¶
func (o *ListUserOrganizationsNotFound) IsSuccess() bool
IsSuccess returns true when this list user organizations not found response has a 2xx status code
func (*ListUserOrganizationsNotFound) String ¶
func (o *ListUserOrganizationsNotFound) String() string
type ListUserOrganizationsOK ¶
type ListUserOrganizationsOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.UserOrganizationsResponse }
ListUserOrganizationsOK describes a response with status code 200, with default header values.
User orgs
func NewListUserOrganizationsOK ¶
func NewListUserOrganizationsOK() *ListUserOrganizationsOK
NewListUserOrganizationsOK creates a ListUserOrganizationsOK with default headers values
func (*ListUserOrganizationsOK) Code ¶
func (o *ListUserOrganizationsOK) Code() int
Code gets the status code for the list user organizations o k response
func (*ListUserOrganizationsOK) Error ¶
func (o *ListUserOrganizationsOK) Error() string
func (*ListUserOrganizationsOK) GetPayload ¶
func (o *ListUserOrganizationsOK) GetPayload() *models.UserOrganizationsResponse
func (*ListUserOrganizationsOK) IsClientError ¶
func (o *ListUserOrganizationsOK) IsClientError() bool
IsClientError returns true when this list user organizations o k response has a 4xx status code
func (*ListUserOrganizationsOK) IsCode ¶
func (o *ListUserOrganizationsOK) IsCode(code int) bool
IsCode returns true when this list user organizations o k response a status code equal to that given
func (*ListUserOrganizationsOK) IsRedirect ¶
func (o *ListUserOrganizationsOK) IsRedirect() bool
IsRedirect returns true when this list user organizations o k response has a 3xx status code
func (*ListUserOrganizationsOK) IsServerError ¶
func (o *ListUserOrganizationsOK) IsServerError() bool
IsServerError returns true when this list user organizations o k response has a 5xx status code
func (*ListUserOrganizationsOK) IsSuccess ¶
func (o *ListUserOrganizationsOK) IsSuccess() bool
IsSuccess returns true when this list user organizations o k response has a 2xx status code
func (*ListUserOrganizationsOK) String ¶
func (o *ListUserOrganizationsOK) String() string
type ListUserOrganizationsParams ¶
type ListUserOrganizationsParams struct { /* Cursor. Cursor */ Cursor *string /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Limit. optional limit results Limit Format: int64 Default: 20 */ Limit *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListUserOrganizationsParams contains all the parameters to send to the API endpoint
for the list user organizations operation. Typically these are written to a http.Request.
func NewListUserOrganizationsParams ¶
func NewListUserOrganizationsParams() *ListUserOrganizationsParams
NewListUserOrganizationsParams creates a new ListUserOrganizationsParams 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 NewListUserOrganizationsParamsWithContext ¶
func NewListUserOrganizationsParamsWithContext(ctx context.Context) *ListUserOrganizationsParams
NewListUserOrganizationsParamsWithContext creates a new ListUserOrganizationsParams object with the ability to set a context for a request.
func NewListUserOrganizationsParamsWithHTTPClient ¶
func NewListUserOrganizationsParamsWithHTTPClient(client *http.Client) *ListUserOrganizationsParams
NewListUserOrganizationsParamsWithHTTPClient creates a new ListUserOrganizationsParams object with the ability to set a custom HTTPClient for a request.
func NewListUserOrganizationsParamsWithTimeout ¶
func NewListUserOrganizationsParamsWithTimeout(timeout time.Duration) *ListUserOrganizationsParams
NewListUserOrganizationsParamsWithTimeout creates a new ListUserOrganizationsParams object with the ability to set a timeout on a request.
func (*ListUserOrganizationsParams) SetContext ¶
func (o *ListUserOrganizationsParams) SetContext(ctx context.Context)
SetContext adds the context to the list user organizations params
func (*ListUserOrganizationsParams) SetCursor ¶
func (o *ListUserOrganizationsParams) SetCursor(cursor *string)
SetCursor adds the cursor to the list user organizations params
func (*ListUserOrganizationsParams) SetDefaults ¶
func (o *ListUserOrganizationsParams) SetDefaults()
SetDefaults hydrates default values in the list user organizations params (not the query body).
All values with no default are reset to their zero value.
func (*ListUserOrganizationsParams) SetHTTPClient ¶
func (o *ListUserOrganizationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list user organizations params
func (*ListUserOrganizationsParams) SetIfMatch ¶
func (o *ListUserOrganizationsParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the list user organizations params
func (*ListUserOrganizationsParams) SetLimit ¶
func (o *ListUserOrganizationsParams) SetLimit(limit *int64)
SetLimit adds the limit to the list user organizations params
func (*ListUserOrganizationsParams) SetTimeout ¶
func (o *ListUserOrganizationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list user organizations params
func (*ListUserOrganizationsParams) WithContext ¶
func (o *ListUserOrganizationsParams) WithContext(ctx context.Context) *ListUserOrganizationsParams
WithContext adds the context to the list user organizations params
func (*ListUserOrganizationsParams) WithCursor ¶
func (o *ListUserOrganizationsParams) WithCursor(cursor *string) *ListUserOrganizationsParams
WithCursor adds the cursor to the list user organizations params
func (*ListUserOrganizationsParams) WithDefaults ¶
func (o *ListUserOrganizationsParams) WithDefaults() *ListUserOrganizationsParams
WithDefaults hydrates default values in the list user organizations params (not the query body).
All values with no default are reset to their zero value.
func (*ListUserOrganizationsParams) WithHTTPClient ¶
func (o *ListUserOrganizationsParams) WithHTTPClient(client *http.Client) *ListUserOrganizationsParams
WithHTTPClient adds the HTTPClient to the list user organizations params
func (*ListUserOrganizationsParams) WithIfMatch ¶
func (o *ListUserOrganizationsParams) WithIfMatch(ifMatch *string) *ListUserOrganizationsParams
WithIfMatch adds the ifMatch to the list user organizations params
func (*ListUserOrganizationsParams) WithLimit ¶
func (o *ListUserOrganizationsParams) WithLimit(limit *int64) *ListUserOrganizationsParams
WithLimit adds the limit to the list user organizations params
func (*ListUserOrganizationsParams) WithTimeout ¶
func (o *ListUserOrganizationsParams) WithTimeout(timeout time.Duration) *ListUserOrganizationsParams
WithTimeout adds the timeout to the list user organizations params
func (*ListUserOrganizationsParams) WriteToRequest ¶
func (o *ListUserOrganizationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListUserOrganizationsReader ¶
type ListUserOrganizationsReader struct {
// contains filtered or unexported fields
}
ListUserOrganizationsReader is a Reader for the ListUserOrganizations structure.
func (*ListUserOrganizationsReader) ReadResponse ¶
func (o *ListUserOrganizationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUserOrganizationsTooManyRequests ¶
ListUserOrganizationsTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListUserOrganizationsTooManyRequests ¶
func NewListUserOrganizationsTooManyRequests() *ListUserOrganizationsTooManyRequests
NewListUserOrganizationsTooManyRequests creates a ListUserOrganizationsTooManyRequests with default headers values
func (*ListUserOrganizationsTooManyRequests) Code ¶
func (o *ListUserOrganizationsTooManyRequests) Code() int
Code gets the status code for the list user organizations too many requests response
func (*ListUserOrganizationsTooManyRequests) Error ¶
func (o *ListUserOrganizationsTooManyRequests) Error() string
func (*ListUserOrganizationsTooManyRequests) GetPayload ¶
func (o *ListUserOrganizationsTooManyRequests) GetPayload() *models.Error
func (*ListUserOrganizationsTooManyRequests) IsClientError ¶
func (o *ListUserOrganizationsTooManyRequests) IsClientError() bool
IsClientError returns true when this list user organizations too many requests response has a 4xx status code
func (*ListUserOrganizationsTooManyRequests) IsCode ¶
func (o *ListUserOrganizationsTooManyRequests) IsCode(code int) bool
IsCode returns true when this list user organizations too many requests response a status code equal to that given
func (*ListUserOrganizationsTooManyRequests) IsRedirect ¶
func (o *ListUserOrganizationsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list user organizations too many requests response has a 3xx status code
func (*ListUserOrganizationsTooManyRequests) IsServerError ¶
func (o *ListUserOrganizationsTooManyRequests) IsServerError() bool
IsServerError returns true when this list user organizations too many requests response has a 5xx status code
func (*ListUserOrganizationsTooManyRequests) IsSuccess ¶
func (o *ListUserOrganizationsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list user organizations too many requests response has a 2xx status code
func (*ListUserOrganizationsTooManyRequests) String ¶
func (o *ListUserOrganizationsTooManyRequests) String() string
type ListUserOrganizationsUnauthorized ¶
type ListUserOrganizationsUnauthorized struct {
}ListUserOrganizationsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListUserOrganizationsUnauthorized ¶
func NewListUserOrganizationsUnauthorized() *ListUserOrganizationsUnauthorized
NewListUserOrganizationsUnauthorized creates a ListUserOrganizationsUnauthorized with default headers values
func (*ListUserOrganizationsUnauthorized) Code ¶
func (o *ListUserOrganizationsUnauthorized) Code() int
Code gets the status code for the list user organizations unauthorized response
func (*ListUserOrganizationsUnauthorized) Error ¶
func (o *ListUserOrganizationsUnauthorized) Error() string
func (*ListUserOrganizationsUnauthorized) GetPayload ¶
func (o *ListUserOrganizationsUnauthorized) GetPayload() *models.Error
func (*ListUserOrganizationsUnauthorized) IsClientError ¶
func (o *ListUserOrganizationsUnauthorized) IsClientError() bool
IsClientError returns true when this list user organizations unauthorized response has a 4xx status code
func (*ListUserOrganizationsUnauthorized) IsCode ¶
func (o *ListUserOrganizationsUnauthorized) IsCode(code int) bool
IsCode returns true when this list user organizations unauthorized response a status code equal to that given
func (*ListUserOrganizationsUnauthorized) IsRedirect ¶
func (o *ListUserOrganizationsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list user organizations unauthorized response has a 3xx status code
func (*ListUserOrganizationsUnauthorized) IsServerError ¶
func (o *ListUserOrganizationsUnauthorized) IsServerError() bool
IsServerError returns true when this list user organizations unauthorized response has a 5xx status code
func (*ListUserOrganizationsUnauthorized) IsSuccess ¶
func (o *ListUserOrganizationsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list user organizations unauthorized response has a 2xx status code
func (*ListUserOrganizationsUnauthorized) String ¶
func (o *ListUserOrganizationsUnauthorized) String() string
type UpdateOrganizationBadRequest ¶
UpdateOrganizationBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateOrganizationBadRequest ¶
func NewUpdateOrganizationBadRequest() *UpdateOrganizationBadRequest
NewUpdateOrganizationBadRequest creates a UpdateOrganizationBadRequest with default headers values
func (*UpdateOrganizationBadRequest) Code ¶
func (o *UpdateOrganizationBadRequest) Code() int
Code gets the status code for the update organization bad request response
func (*UpdateOrganizationBadRequest) Error ¶
func (o *UpdateOrganizationBadRequest) Error() string
func (*UpdateOrganizationBadRequest) GetPayload ¶
func (o *UpdateOrganizationBadRequest) GetPayload() *models.Error
func (*UpdateOrganizationBadRequest) IsClientError ¶
func (o *UpdateOrganizationBadRequest) IsClientError() bool
IsClientError returns true when this update organization bad request response has a 4xx status code
func (*UpdateOrganizationBadRequest) IsCode ¶
func (o *UpdateOrganizationBadRequest) IsCode(code int) bool
IsCode returns true when this update organization bad request response a status code equal to that given
func (*UpdateOrganizationBadRequest) IsRedirect ¶
func (o *UpdateOrganizationBadRequest) IsRedirect() bool
IsRedirect returns true when this update organization bad request response has a 3xx status code
func (*UpdateOrganizationBadRequest) IsServerError ¶
func (o *UpdateOrganizationBadRequest) IsServerError() bool
IsServerError returns true when this update organization bad request response has a 5xx status code
func (*UpdateOrganizationBadRequest) IsSuccess ¶
func (o *UpdateOrganizationBadRequest) IsSuccess() bool
IsSuccess returns true when this update organization bad request response has a 2xx status code
func (*UpdateOrganizationBadRequest) String ¶
func (o *UpdateOrganizationBadRequest) String() string
type UpdateOrganizationForbidden ¶
UpdateOrganizationForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateOrganizationForbidden ¶
func NewUpdateOrganizationForbidden() *UpdateOrganizationForbidden
NewUpdateOrganizationForbidden creates a UpdateOrganizationForbidden with default headers values
func (*UpdateOrganizationForbidden) Code ¶
func (o *UpdateOrganizationForbidden) Code() int
Code gets the status code for the update organization forbidden response
func (*UpdateOrganizationForbidden) Error ¶
func (o *UpdateOrganizationForbidden) Error() string
func (*UpdateOrganizationForbidden) GetPayload ¶
func (o *UpdateOrganizationForbidden) GetPayload() *models.Error
func (*UpdateOrganizationForbidden) IsClientError ¶
func (o *UpdateOrganizationForbidden) IsClientError() bool
IsClientError returns true when this update organization forbidden response has a 4xx status code
func (*UpdateOrganizationForbidden) IsCode ¶
func (o *UpdateOrganizationForbidden) IsCode(code int) bool
IsCode returns true when this update organization forbidden response a status code equal to that given
func (*UpdateOrganizationForbidden) IsRedirect ¶
func (o *UpdateOrganizationForbidden) IsRedirect() bool
IsRedirect returns true when this update organization forbidden response has a 3xx status code
func (*UpdateOrganizationForbidden) IsServerError ¶
func (o *UpdateOrganizationForbidden) IsServerError() bool
IsServerError returns true when this update organization forbidden response has a 5xx status code
func (*UpdateOrganizationForbidden) IsSuccess ¶
func (o *UpdateOrganizationForbidden) IsSuccess() bool
IsSuccess returns true when this update organization forbidden response has a 2xx status code
func (*UpdateOrganizationForbidden) String ¶
func (o *UpdateOrganizationForbidden) String() string
type UpdateOrganizationMetadataForbidden ¶
UpdateOrganizationMetadataForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateOrganizationMetadataForbidden ¶
func NewUpdateOrganizationMetadataForbidden() *UpdateOrganizationMetadataForbidden
NewUpdateOrganizationMetadataForbidden creates a UpdateOrganizationMetadataForbidden with default headers values
func (*UpdateOrganizationMetadataForbidden) Code ¶
func (o *UpdateOrganizationMetadataForbidden) Code() int
Code gets the status code for the update organization metadata forbidden response
func (*UpdateOrganizationMetadataForbidden) Error ¶
func (o *UpdateOrganizationMetadataForbidden) Error() string
func (*UpdateOrganizationMetadataForbidden) GetPayload ¶
func (o *UpdateOrganizationMetadataForbidden) GetPayload() *models.Error
func (*UpdateOrganizationMetadataForbidden) IsClientError ¶
func (o *UpdateOrganizationMetadataForbidden) IsClientError() bool
IsClientError returns true when this update organization metadata forbidden response has a 4xx status code
func (*UpdateOrganizationMetadataForbidden) IsCode ¶
func (o *UpdateOrganizationMetadataForbidden) IsCode(code int) bool
IsCode returns true when this update organization metadata forbidden response a status code equal to that given
func (*UpdateOrganizationMetadataForbidden) IsRedirect ¶
func (o *UpdateOrganizationMetadataForbidden) IsRedirect() bool
IsRedirect returns true when this update organization metadata forbidden response has a 3xx status code
func (*UpdateOrganizationMetadataForbidden) IsServerError ¶
func (o *UpdateOrganizationMetadataForbidden) IsServerError() bool
IsServerError returns true when this update organization metadata forbidden response has a 5xx status code
func (*UpdateOrganizationMetadataForbidden) IsSuccess ¶
func (o *UpdateOrganizationMetadataForbidden) IsSuccess() bool
IsSuccess returns true when this update organization metadata forbidden response has a 2xx status code
func (*UpdateOrganizationMetadataForbidden) String ¶
func (o *UpdateOrganizationMetadataForbidden) String() string
type UpdateOrganizationMetadataNotFound ¶
UpdateOrganizationMetadataNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateOrganizationMetadataNotFound ¶
func NewUpdateOrganizationMetadataNotFound() *UpdateOrganizationMetadataNotFound
NewUpdateOrganizationMetadataNotFound creates a UpdateOrganizationMetadataNotFound with default headers values
func (*UpdateOrganizationMetadataNotFound) Code ¶
func (o *UpdateOrganizationMetadataNotFound) Code() int
Code gets the status code for the update organization metadata not found response
func (*UpdateOrganizationMetadataNotFound) Error ¶
func (o *UpdateOrganizationMetadataNotFound) Error() string
func (*UpdateOrganizationMetadataNotFound) GetPayload ¶
func (o *UpdateOrganizationMetadataNotFound) GetPayload() *models.Error
func (*UpdateOrganizationMetadataNotFound) IsClientError ¶
func (o *UpdateOrganizationMetadataNotFound) IsClientError() bool
IsClientError returns true when this update organization metadata not found response has a 4xx status code
func (*UpdateOrganizationMetadataNotFound) IsCode ¶
func (o *UpdateOrganizationMetadataNotFound) IsCode(code int) bool
IsCode returns true when this update organization metadata not found response a status code equal to that given
func (*UpdateOrganizationMetadataNotFound) IsRedirect ¶
func (o *UpdateOrganizationMetadataNotFound) IsRedirect() bool
IsRedirect returns true when this update organization metadata not found response has a 3xx status code
func (*UpdateOrganizationMetadataNotFound) IsServerError ¶
func (o *UpdateOrganizationMetadataNotFound) IsServerError() bool
IsServerError returns true when this update organization metadata not found response has a 5xx status code
func (*UpdateOrganizationMetadataNotFound) IsSuccess ¶
func (o *UpdateOrganizationMetadataNotFound) IsSuccess() bool
IsSuccess returns true when this update organization metadata not found response has a 2xx status code
func (*UpdateOrganizationMetadataNotFound) String ¶
func (o *UpdateOrganizationMetadataNotFound) String() string
type UpdateOrganizationMetadataOK ¶
type UpdateOrganizationMetadataOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.OrganizationMetadata }
UpdateOrganizationMetadataOK describes a response with status code 200, with default header values.
Organization metadata
func NewUpdateOrganizationMetadataOK ¶
func NewUpdateOrganizationMetadataOK() *UpdateOrganizationMetadataOK
NewUpdateOrganizationMetadataOK creates a UpdateOrganizationMetadataOK with default headers values
func (*UpdateOrganizationMetadataOK) Code ¶
func (o *UpdateOrganizationMetadataOK) Code() int
Code gets the status code for the update organization metadata o k response
func (*UpdateOrganizationMetadataOK) Error ¶
func (o *UpdateOrganizationMetadataOK) Error() string
func (*UpdateOrganizationMetadataOK) GetPayload ¶
func (o *UpdateOrganizationMetadataOK) GetPayload() *models.OrganizationMetadata
func (*UpdateOrganizationMetadataOK) IsClientError ¶
func (o *UpdateOrganizationMetadataOK) IsClientError() bool
IsClientError returns true when this update organization metadata o k response has a 4xx status code
func (*UpdateOrganizationMetadataOK) IsCode ¶
func (o *UpdateOrganizationMetadataOK) IsCode(code int) bool
IsCode returns true when this update organization metadata o k response a status code equal to that given
func (*UpdateOrganizationMetadataOK) IsRedirect ¶
func (o *UpdateOrganizationMetadataOK) IsRedirect() bool
IsRedirect returns true when this update organization metadata o k response has a 3xx status code
func (*UpdateOrganizationMetadataOK) IsServerError ¶
func (o *UpdateOrganizationMetadataOK) IsServerError() bool
IsServerError returns true when this update organization metadata o k response has a 5xx status code
func (*UpdateOrganizationMetadataOK) IsSuccess ¶
func (o *UpdateOrganizationMetadataOK) IsSuccess() bool
IsSuccess returns true when this update organization metadata o k response has a 2xx status code
func (*UpdateOrganizationMetadataOK) String ¶
func (o *UpdateOrganizationMetadataOK) String() string
type UpdateOrganizationMetadataParams ¶
type UpdateOrganizationMetadataParams struct { // OrganizationMetadata. OrganizationMetadata *models.OrganizationMetadata /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Wid. Organization id Default: "default" */ Wid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateOrganizationMetadataParams contains all the parameters to send to the API endpoint
for the update organization metadata operation. Typically these are written to a http.Request.
func NewUpdateOrganizationMetadataParams ¶
func NewUpdateOrganizationMetadataParams() *UpdateOrganizationMetadataParams
NewUpdateOrganizationMetadataParams creates a new UpdateOrganizationMetadataParams 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 NewUpdateOrganizationMetadataParamsWithContext ¶
func NewUpdateOrganizationMetadataParamsWithContext(ctx context.Context) *UpdateOrganizationMetadataParams
NewUpdateOrganizationMetadataParamsWithContext creates a new UpdateOrganizationMetadataParams object with the ability to set a context for a request.
func NewUpdateOrganizationMetadataParamsWithHTTPClient ¶
func NewUpdateOrganizationMetadataParamsWithHTTPClient(client *http.Client) *UpdateOrganizationMetadataParams
NewUpdateOrganizationMetadataParamsWithHTTPClient creates a new UpdateOrganizationMetadataParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateOrganizationMetadataParamsWithTimeout ¶
func NewUpdateOrganizationMetadataParamsWithTimeout(timeout time.Duration) *UpdateOrganizationMetadataParams
NewUpdateOrganizationMetadataParamsWithTimeout creates a new UpdateOrganizationMetadataParams object with the ability to set a timeout on a request.
func (*UpdateOrganizationMetadataParams) SetContext ¶
func (o *UpdateOrganizationMetadataParams) SetContext(ctx context.Context)
SetContext adds the context to the update organization metadata params
func (*UpdateOrganizationMetadataParams) SetDefaults ¶
func (o *UpdateOrganizationMetadataParams) SetDefaults()
SetDefaults hydrates default values in the update organization metadata params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrganizationMetadataParams) SetHTTPClient ¶
func (o *UpdateOrganizationMetadataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update organization metadata params
func (*UpdateOrganizationMetadataParams) SetIfMatch ¶
func (o *UpdateOrganizationMetadataParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the update organization metadata params
func (*UpdateOrganizationMetadataParams) SetOrganizationMetadata ¶
func (o *UpdateOrganizationMetadataParams) SetOrganizationMetadata(organizationMetadata *models.OrganizationMetadata)
SetOrganizationMetadata adds the organizationMetadata to the update organization metadata params
func (*UpdateOrganizationMetadataParams) SetTimeout ¶
func (o *UpdateOrganizationMetadataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update organization metadata params
func (*UpdateOrganizationMetadataParams) SetWid ¶
func (o *UpdateOrganizationMetadataParams) SetWid(wid string)
SetWid adds the wid to the update organization metadata params
func (*UpdateOrganizationMetadataParams) WithContext ¶
func (o *UpdateOrganizationMetadataParams) WithContext(ctx context.Context) *UpdateOrganizationMetadataParams
WithContext adds the context to the update organization metadata params
func (*UpdateOrganizationMetadataParams) WithDefaults ¶
func (o *UpdateOrganizationMetadataParams) WithDefaults() *UpdateOrganizationMetadataParams
WithDefaults hydrates default values in the update organization metadata params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrganizationMetadataParams) WithHTTPClient ¶
func (o *UpdateOrganizationMetadataParams) WithHTTPClient(client *http.Client) *UpdateOrganizationMetadataParams
WithHTTPClient adds the HTTPClient to the update organization metadata params
func (*UpdateOrganizationMetadataParams) WithIfMatch ¶
func (o *UpdateOrganizationMetadataParams) WithIfMatch(ifMatch *string) *UpdateOrganizationMetadataParams
WithIfMatch adds the ifMatch to the update organization metadata params
func (*UpdateOrganizationMetadataParams) WithOrganizationMetadata ¶
func (o *UpdateOrganizationMetadataParams) WithOrganizationMetadata(organizationMetadata *models.OrganizationMetadata) *UpdateOrganizationMetadataParams
WithOrganizationMetadata adds the organizationMetadata to the update organization metadata params
func (*UpdateOrganizationMetadataParams) WithTimeout ¶
func (o *UpdateOrganizationMetadataParams) WithTimeout(timeout time.Duration) *UpdateOrganizationMetadataParams
WithTimeout adds the timeout to the update organization metadata params
func (*UpdateOrganizationMetadataParams) WithWid ¶
func (o *UpdateOrganizationMetadataParams) WithWid(wid string) *UpdateOrganizationMetadataParams
WithWid adds the wid to the update organization metadata params
func (*UpdateOrganizationMetadataParams) WriteToRequest ¶
func (o *UpdateOrganizationMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateOrganizationMetadataReader ¶
type UpdateOrganizationMetadataReader struct {
// contains filtered or unexported fields
}
UpdateOrganizationMetadataReader is a Reader for the UpdateOrganizationMetadata structure.
func (*UpdateOrganizationMetadataReader) ReadResponse ¶
func (o *UpdateOrganizationMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateOrganizationMetadataTooManyRequests ¶
UpdateOrganizationMetadataTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewUpdateOrganizationMetadataTooManyRequests ¶
func NewUpdateOrganizationMetadataTooManyRequests() *UpdateOrganizationMetadataTooManyRequests
NewUpdateOrganizationMetadataTooManyRequests creates a UpdateOrganizationMetadataTooManyRequests with default headers values
func (*UpdateOrganizationMetadataTooManyRequests) Code ¶
func (o *UpdateOrganizationMetadataTooManyRequests) Code() int
Code gets the status code for the update organization metadata too many requests response
func (*UpdateOrganizationMetadataTooManyRequests) Error ¶
func (o *UpdateOrganizationMetadataTooManyRequests) Error() string
func (*UpdateOrganizationMetadataTooManyRequests) GetPayload ¶
func (o *UpdateOrganizationMetadataTooManyRequests) GetPayload() *models.Error
func (*UpdateOrganizationMetadataTooManyRequests) IsClientError ¶
func (o *UpdateOrganizationMetadataTooManyRequests) IsClientError() bool
IsClientError returns true when this update organization metadata too many requests response has a 4xx status code
func (*UpdateOrganizationMetadataTooManyRequests) IsCode ¶
func (o *UpdateOrganizationMetadataTooManyRequests) IsCode(code int) bool
IsCode returns true when this update organization metadata too many requests response a status code equal to that given
func (*UpdateOrganizationMetadataTooManyRequests) IsRedirect ¶
func (o *UpdateOrganizationMetadataTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update organization metadata too many requests response has a 3xx status code
func (*UpdateOrganizationMetadataTooManyRequests) IsServerError ¶
func (o *UpdateOrganizationMetadataTooManyRequests) IsServerError() bool
IsServerError returns true when this update organization metadata too many requests response has a 5xx status code
func (*UpdateOrganizationMetadataTooManyRequests) IsSuccess ¶
func (o *UpdateOrganizationMetadataTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update organization metadata too many requests response has a 2xx status code
func (*UpdateOrganizationMetadataTooManyRequests) String ¶
func (o *UpdateOrganizationMetadataTooManyRequests) String() string
type UpdateOrganizationMetadataUnauthorized ¶
type UpdateOrganizationMetadataUnauthorized struct {
}UpdateOrganizationMetadataUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateOrganizationMetadataUnauthorized ¶
func NewUpdateOrganizationMetadataUnauthorized() *UpdateOrganizationMetadataUnauthorized
NewUpdateOrganizationMetadataUnauthorized creates a UpdateOrganizationMetadataUnauthorized with default headers values
func (*UpdateOrganizationMetadataUnauthorized) Code ¶
func (o *UpdateOrganizationMetadataUnauthorized) Code() int
Code gets the status code for the update organization metadata unauthorized response
func (*UpdateOrganizationMetadataUnauthorized) Error ¶
func (o *UpdateOrganizationMetadataUnauthorized) Error() string
func (*UpdateOrganizationMetadataUnauthorized) GetPayload ¶
func (o *UpdateOrganizationMetadataUnauthorized) GetPayload() *models.Error
func (*UpdateOrganizationMetadataUnauthorized) IsClientError ¶
func (o *UpdateOrganizationMetadataUnauthorized) IsClientError() bool
IsClientError returns true when this update organization metadata unauthorized response has a 4xx status code
func (*UpdateOrganizationMetadataUnauthorized) IsCode ¶
func (o *UpdateOrganizationMetadataUnauthorized) IsCode(code int) bool
IsCode returns true when this update organization metadata unauthorized response a status code equal to that given
func (*UpdateOrganizationMetadataUnauthorized) IsRedirect ¶
func (o *UpdateOrganizationMetadataUnauthorized) IsRedirect() bool
IsRedirect returns true when this update organization metadata unauthorized response has a 3xx status code
func (*UpdateOrganizationMetadataUnauthorized) IsServerError ¶
func (o *UpdateOrganizationMetadataUnauthorized) IsServerError() bool
IsServerError returns true when this update organization metadata unauthorized response has a 5xx status code
func (*UpdateOrganizationMetadataUnauthorized) IsSuccess ¶
func (o *UpdateOrganizationMetadataUnauthorized) IsSuccess() bool
IsSuccess returns true when this update organization metadata unauthorized response has a 2xx status code
func (*UpdateOrganizationMetadataUnauthorized) String ¶
func (o *UpdateOrganizationMetadataUnauthorized) String() string
type UpdateOrganizationNotFound ¶
UpdateOrganizationNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateOrganizationNotFound ¶
func NewUpdateOrganizationNotFound() *UpdateOrganizationNotFound
NewUpdateOrganizationNotFound creates a UpdateOrganizationNotFound with default headers values
func (*UpdateOrganizationNotFound) Code ¶
func (o *UpdateOrganizationNotFound) Code() int
Code gets the status code for the update organization not found response
func (*UpdateOrganizationNotFound) Error ¶
func (o *UpdateOrganizationNotFound) Error() string
func (*UpdateOrganizationNotFound) GetPayload ¶
func (o *UpdateOrganizationNotFound) GetPayload() *models.Error
func (*UpdateOrganizationNotFound) IsClientError ¶
func (o *UpdateOrganizationNotFound) IsClientError() bool
IsClientError returns true when this update organization not found response has a 4xx status code
func (*UpdateOrganizationNotFound) IsCode ¶
func (o *UpdateOrganizationNotFound) IsCode(code int) bool
IsCode returns true when this update organization not found response a status code equal to that given
func (*UpdateOrganizationNotFound) IsRedirect ¶
func (o *UpdateOrganizationNotFound) IsRedirect() bool
IsRedirect returns true when this update organization not found response has a 3xx status code
func (*UpdateOrganizationNotFound) IsServerError ¶
func (o *UpdateOrganizationNotFound) IsServerError() bool
IsServerError returns true when this update organization not found response has a 5xx status code
func (*UpdateOrganizationNotFound) IsSuccess ¶
func (o *UpdateOrganizationNotFound) IsSuccess() bool
IsSuccess returns true when this update organization not found response has a 2xx status code
func (*UpdateOrganizationNotFound) String ¶
func (o *UpdateOrganizationNotFound) String() string
type UpdateOrganizationOK ¶
type UpdateOrganizationOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.OrganizationResponse }
UpdateOrganizationOK describes a response with status code 200, with default header values.
Org
func NewUpdateOrganizationOK ¶
func NewUpdateOrganizationOK() *UpdateOrganizationOK
NewUpdateOrganizationOK creates a UpdateOrganizationOK with default headers values
func (*UpdateOrganizationOK) Code ¶
func (o *UpdateOrganizationOK) Code() int
Code gets the status code for the update organization o k response
func (*UpdateOrganizationOK) Error ¶
func (o *UpdateOrganizationOK) Error() string
func (*UpdateOrganizationOK) GetPayload ¶
func (o *UpdateOrganizationOK) GetPayload() *models.OrganizationResponse
func (*UpdateOrganizationOK) IsClientError ¶
func (o *UpdateOrganizationOK) IsClientError() bool
IsClientError returns true when this update organization o k response has a 4xx status code
func (*UpdateOrganizationOK) IsCode ¶
func (o *UpdateOrganizationOK) IsCode(code int) bool
IsCode returns true when this update organization o k response a status code equal to that given
func (*UpdateOrganizationOK) IsRedirect ¶
func (o *UpdateOrganizationOK) IsRedirect() bool
IsRedirect returns true when this update organization o k response has a 3xx status code
func (*UpdateOrganizationOK) IsServerError ¶
func (o *UpdateOrganizationOK) IsServerError() bool
IsServerError returns true when this update organization o k response has a 5xx status code
func (*UpdateOrganizationOK) IsSuccess ¶
func (o *UpdateOrganizationOK) IsSuccess() bool
IsSuccess returns true when this update organization o k response has a 2xx status code
func (*UpdateOrganizationOK) String ¶
func (o *UpdateOrganizationOK) String() string
type UpdateOrganizationParams ¶
type UpdateOrganizationParams struct { // Org. Org *models.Org /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Wid. Organization id Default: "default" */ Wid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateOrganizationParams contains all the parameters to send to the API endpoint
for the update organization operation. Typically these are written to a http.Request.
func NewUpdateOrganizationParams ¶
func NewUpdateOrganizationParams() *UpdateOrganizationParams
NewUpdateOrganizationParams creates a new UpdateOrganizationParams 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 NewUpdateOrganizationParamsWithContext ¶
func NewUpdateOrganizationParamsWithContext(ctx context.Context) *UpdateOrganizationParams
NewUpdateOrganizationParamsWithContext creates a new UpdateOrganizationParams object with the ability to set a context for a request.
func NewUpdateOrganizationParamsWithHTTPClient ¶
func NewUpdateOrganizationParamsWithHTTPClient(client *http.Client) *UpdateOrganizationParams
NewUpdateOrganizationParamsWithHTTPClient creates a new UpdateOrganizationParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateOrganizationParamsWithTimeout ¶
func NewUpdateOrganizationParamsWithTimeout(timeout time.Duration) *UpdateOrganizationParams
NewUpdateOrganizationParamsWithTimeout creates a new UpdateOrganizationParams object with the ability to set a timeout on a request.
func (*UpdateOrganizationParams) SetContext ¶
func (o *UpdateOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the update organization params
func (*UpdateOrganizationParams) SetDefaults ¶
func (o *UpdateOrganizationParams) SetDefaults()
SetDefaults hydrates default values in the update organization params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrganizationParams) SetHTTPClient ¶
func (o *UpdateOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update organization params
func (*UpdateOrganizationParams) SetIfMatch ¶
func (o *UpdateOrganizationParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the update organization params
func (*UpdateOrganizationParams) SetOrg ¶
func (o *UpdateOrganizationParams) SetOrg(org *models.Org)
SetOrg adds the org to the update organization params
func (*UpdateOrganizationParams) SetTimeout ¶
func (o *UpdateOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update organization params
func (*UpdateOrganizationParams) SetWid ¶
func (o *UpdateOrganizationParams) SetWid(wid string)
SetWid adds the wid to the update organization params
func (*UpdateOrganizationParams) WithContext ¶
func (o *UpdateOrganizationParams) WithContext(ctx context.Context) *UpdateOrganizationParams
WithContext adds the context to the update organization params
func (*UpdateOrganizationParams) WithDefaults ¶
func (o *UpdateOrganizationParams) WithDefaults() *UpdateOrganizationParams
WithDefaults hydrates default values in the update organization params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrganizationParams) WithHTTPClient ¶
func (o *UpdateOrganizationParams) WithHTTPClient(client *http.Client) *UpdateOrganizationParams
WithHTTPClient adds the HTTPClient to the update organization params
func (*UpdateOrganizationParams) WithIfMatch ¶
func (o *UpdateOrganizationParams) WithIfMatch(ifMatch *string) *UpdateOrganizationParams
WithIfMatch adds the ifMatch to the update organization params
func (*UpdateOrganizationParams) WithOrg ¶
func (o *UpdateOrganizationParams) WithOrg(org *models.Org) *UpdateOrganizationParams
WithOrg adds the org to the update organization params
func (*UpdateOrganizationParams) WithTimeout ¶
func (o *UpdateOrganizationParams) WithTimeout(timeout time.Duration) *UpdateOrganizationParams
WithTimeout adds the timeout to the update organization params
func (*UpdateOrganizationParams) WithWid ¶
func (o *UpdateOrganizationParams) WithWid(wid string) *UpdateOrganizationParams
WithWid adds the wid to the update organization params
func (*UpdateOrganizationParams) WriteToRequest ¶
func (o *UpdateOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateOrganizationReader ¶
type UpdateOrganizationReader struct {
// contains filtered or unexported fields
}
UpdateOrganizationReader is a Reader for the UpdateOrganization structure.
func (*UpdateOrganizationReader) ReadResponse ¶
func (o *UpdateOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateOrganizationTooManyRequests ¶
UpdateOrganizationTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewUpdateOrganizationTooManyRequests ¶
func NewUpdateOrganizationTooManyRequests() *UpdateOrganizationTooManyRequests
NewUpdateOrganizationTooManyRequests creates a UpdateOrganizationTooManyRequests with default headers values
func (*UpdateOrganizationTooManyRequests) Code ¶
func (o *UpdateOrganizationTooManyRequests) Code() int
Code gets the status code for the update organization too many requests response
func (*UpdateOrganizationTooManyRequests) Error ¶
func (o *UpdateOrganizationTooManyRequests) Error() string
func (*UpdateOrganizationTooManyRequests) GetPayload ¶
func (o *UpdateOrganizationTooManyRequests) GetPayload() *models.Error
func (*UpdateOrganizationTooManyRequests) IsClientError ¶
func (o *UpdateOrganizationTooManyRequests) IsClientError() bool
IsClientError returns true when this update organization too many requests response has a 4xx status code
func (*UpdateOrganizationTooManyRequests) IsCode ¶
func (o *UpdateOrganizationTooManyRequests) IsCode(code int) bool
IsCode returns true when this update organization too many requests response a status code equal to that given
func (*UpdateOrganizationTooManyRequests) IsRedirect ¶
func (o *UpdateOrganizationTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update organization too many requests response has a 3xx status code
func (*UpdateOrganizationTooManyRequests) IsServerError ¶
func (o *UpdateOrganizationTooManyRequests) IsServerError() bool
IsServerError returns true when this update organization too many requests response has a 5xx status code
func (*UpdateOrganizationTooManyRequests) IsSuccess ¶
func (o *UpdateOrganizationTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update organization too many requests response has a 2xx status code
func (*UpdateOrganizationTooManyRequests) String ¶
func (o *UpdateOrganizationTooManyRequests) String() string
type UpdateOrganizationUnauthorized ¶
type UpdateOrganizationUnauthorized struct {
}UpdateOrganizationUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateOrganizationUnauthorized ¶
func NewUpdateOrganizationUnauthorized() *UpdateOrganizationUnauthorized
NewUpdateOrganizationUnauthorized creates a UpdateOrganizationUnauthorized with default headers values
func (*UpdateOrganizationUnauthorized) Code ¶
func (o *UpdateOrganizationUnauthorized) Code() int
Code gets the status code for the update organization unauthorized response
func (*UpdateOrganizationUnauthorized) Error ¶
func (o *UpdateOrganizationUnauthorized) Error() string
func (*UpdateOrganizationUnauthorized) GetPayload ¶
func (o *UpdateOrganizationUnauthorized) GetPayload() *models.Error
func (*UpdateOrganizationUnauthorized) IsClientError ¶
func (o *UpdateOrganizationUnauthorized) IsClientError() bool
IsClientError returns true when this update organization unauthorized response has a 4xx status code
func (*UpdateOrganizationUnauthorized) IsCode ¶
func (o *UpdateOrganizationUnauthorized) IsCode(code int) bool
IsCode returns true when this update organization unauthorized response a status code equal to that given
func (*UpdateOrganizationUnauthorized) IsRedirect ¶
func (o *UpdateOrganizationUnauthorized) IsRedirect() bool
IsRedirect returns true when this update organization unauthorized response has a 3xx status code
func (*UpdateOrganizationUnauthorized) IsServerError ¶
func (o *UpdateOrganizationUnauthorized) IsServerError() bool
IsServerError returns true when this update organization unauthorized response has a 5xx status code
func (*UpdateOrganizationUnauthorized) IsSuccess ¶
func (o *UpdateOrganizationUnauthorized) IsSuccess() bool
IsSuccess returns true when this update organization unauthorized response has a 2xx status code
func (*UpdateOrganizationUnauthorized) String ¶
func (o *UpdateOrganizationUnauthorized) String() string
type UpdateOrganizationUnprocessableEntity ¶
UpdateOrganizationUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewUpdateOrganizationUnprocessableEntity ¶
func NewUpdateOrganizationUnprocessableEntity() *UpdateOrganizationUnprocessableEntity
NewUpdateOrganizationUnprocessableEntity creates a UpdateOrganizationUnprocessableEntity with default headers values
func (*UpdateOrganizationUnprocessableEntity) Code ¶
func (o *UpdateOrganizationUnprocessableEntity) Code() int
Code gets the status code for the update organization unprocessable entity response
func (*UpdateOrganizationUnprocessableEntity) Error ¶
func (o *UpdateOrganizationUnprocessableEntity) Error() string
func (*UpdateOrganizationUnprocessableEntity) GetPayload ¶
func (o *UpdateOrganizationUnprocessableEntity) GetPayload() *models.Error
func (*UpdateOrganizationUnprocessableEntity) IsClientError ¶
func (o *UpdateOrganizationUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update organization unprocessable entity response has a 4xx status code
func (*UpdateOrganizationUnprocessableEntity) IsCode ¶
func (o *UpdateOrganizationUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update organization unprocessable entity response a status code equal to that given
func (*UpdateOrganizationUnprocessableEntity) IsRedirect ¶
func (o *UpdateOrganizationUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update organization unprocessable entity response has a 3xx status code
func (*UpdateOrganizationUnprocessableEntity) IsServerError ¶
func (o *UpdateOrganizationUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update organization unprocessable entity response has a 5xx status code
func (*UpdateOrganizationUnprocessableEntity) IsSuccess ¶
func (o *UpdateOrganizationUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update organization unprocessable entity response has a 2xx status code
func (*UpdateOrganizationUnprocessableEntity) String ¶
func (o *UpdateOrganizationUnprocessableEntity) String() string
Source Files
¶
- create_organization_parameters.go
- create_organization_responses.go
- delete_organization_parameters.go
- delete_organization_responses.go
- get_organization_parameters.go
- get_organization_responses.go
- list_organizations_parameters.go
- list_organizations_responses.go
- list_user_organizations_parameters.go
- list_user_organizations_responses.go
- organizations_client.go
- update_organization_metadata_parameters.go
- update_organization_metadata_responses.go
- update_organization_parameters.go
- update_organization_responses.go