Documentation ¶
Index ¶
- type AddOrganizationBadRequest
- type AddOrganizationConflict
- type AddOrganizationCreated
- type AddOrganizationDefault
- type AddOrganizationForbidden
- type AddOrganizationParams
- func NewAddOrganizationParams() *AddOrganizationParams
- func NewAddOrganizationParamsWithContext(ctx context.Context) *AddOrganizationParams
- func NewAddOrganizationParamsWithHTTPClient(client *http.Client) *AddOrganizationParams
- func NewAddOrganizationParamsWithTimeout(timeout time.Duration) *AddOrganizationParams
- func (o *AddOrganizationParams) SetBody(body *v1.Organization)
- func (o *AddOrganizationParams) SetContext(ctx context.Context)
- func (o *AddOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *AddOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *AddOrganizationParams) SetXDispatchOrg(xDispatchOrg *string)
- func (o *AddOrganizationParams) WithBody(body *v1.Organization) *AddOrganizationParams
- func (o *AddOrganizationParams) WithContext(ctx context.Context) *AddOrganizationParams
- func (o *AddOrganizationParams) WithHTTPClient(client *http.Client) *AddOrganizationParams
- func (o *AddOrganizationParams) WithTimeout(timeout time.Duration) *AddOrganizationParams
- func (o *AddOrganizationParams) WithXDispatchOrg(xDispatchOrg *string) *AddOrganizationParams
- func (o *AddOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddOrganizationReader
- type AddOrganizationUnauthorized
- type Client
- func (a *Client) AddOrganization(params *AddOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*AddOrganizationCreated, error)
- func (a *Client) DeleteOrganization(params *DeleteOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOrganizationOK, error)
- func (a *Client) GetOrganization(params *GetOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationOK, error)
- func (a *Client) GetOrganizations(params *GetOrganizationsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateOrganization(params *UpdateOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateOrganizationOK, error)
- type DeleteOrganizationBadRequest
- type DeleteOrganizationDefault
- type DeleteOrganizationForbidden
- type DeleteOrganizationNotFound
- type DeleteOrganizationOK
- 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) SetHTTPClient(client *http.Client)
- func (o *DeleteOrganizationParams) SetOrganizationName(organizationName string)
- func (o *DeleteOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteOrganizationParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *DeleteOrganizationParams) WithContext(ctx context.Context) *DeleteOrganizationParams
- func (o *DeleteOrganizationParams) WithHTTPClient(client *http.Client) *DeleteOrganizationParams
- func (o *DeleteOrganizationParams) WithOrganizationName(organizationName string) *DeleteOrganizationParams
- func (o *DeleteOrganizationParams) WithTimeout(timeout time.Duration) *DeleteOrganizationParams
- func (o *DeleteOrganizationParams) WithXDispatchOrg(xDispatchOrg string) *DeleteOrganizationParams
- func (o *DeleteOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteOrganizationReader
- type DeleteOrganizationUnauthorized
- type GetOrganizationBadRequest
- type GetOrganizationDefault
- type GetOrganizationForbidden
- type GetOrganizationNotFound
- type GetOrganizationOK
- 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) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationParams) SetOrganizationName(organizationName string)
- func (o *GetOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *GetOrganizationParams) WithContext(ctx context.Context) *GetOrganizationParams
- func (o *GetOrganizationParams) WithHTTPClient(client *http.Client) *GetOrganizationParams
- func (o *GetOrganizationParams) WithOrganizationName(organizationName string) *GetOrganizationParams
- func (o *GetOrganizationParams) WithTimeout(timeout time.Duration) *GetOrganizationParams
- func (o *GetOrganizationParams) WithXDispatchOrg(xDispatchOrg string) *GetOrganizationParams
- func (o *GetOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationReader
- type GetOrganizationUnauthorized
- type GetOrganizationsDefault
- type GetOrganizationsForbidden
- type GetOrganizationsOK
- type GetOrganizationsParams
- func NewGetOrganizationsParams() *GetOrganizationsParams
- func NewGetOrganizationsParamsWithContext(ctx context.Context) *GetOrganizationsParams
- func NewGetOrganizationsParamsWithHTTPClient(client *http.Client) *GetOrganizationsParams
- func NewGetOrganizationsParamsWithTimeout(timeout time.Duration) *GetOrganizationsParams
- func (o *GetOrganizationsParams) SetContext(ctx context.Context)
- func (o *GetOrganizationsParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationsParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationsParams) SetXDispatchOrg(xDispatchOrg *string)
- func (o *GetOrganizationsParams) WithContext(ctx context.Context) *GetOrganizationsParams
- func (o *GetOrganizationsParams) WithHTTPClient(client *http.Client) *GetOrganizationsParams
- func (o *GetOrganizationsParams) WithTimeout(timeout time.Duration) *GetOrganizationsParams
- func (o *GetOrganizationsParams) WithXDispatchOrg(xDispatchOrg *string) *GetOrganizationsParams
- func (o *GetOrganizationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationsReader
- type GetOrganizationsUnauthorized
- type UpdateOrganizationBadRequest
- type UpdateOrganizationDefault
- type UpdateOrganizationForbidden
- type UpdateOrganizationNotFound
- type UpdateOrganizationOK
- 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) SetBody(body *v1.Organization)
- func (o *UpdateOrganizationParams) SetContext(ctx context.Context)
- func (o *UpdateOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *UpdateOrganizationParams) SetOrganizationName(organizationName string)
- func (o *UpdateOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *UpdateOrganizationParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *UpdateOrganizationParams) WithBody(body *v1.Organization) *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) WithContext(ctx context.Context) *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) WithHTTPClient(client *http.Client) *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) WithOrganizationName(organizationName string) *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) WithTimeout(timeout time.Duration) *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) WithXDispatchOrg(xDispatchOrg string) *UpdateOrganizationParams
- func (o *UpdateOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOrganizationReader
- type UpdateOrganizationUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOrganizationBadRequest ¶
AddOrganizationBadRequest handles this case with default header values.
Invalid input
func NewAddOrganizationBadRequest ¶
func NewAddOrganizationBadRequest() *AddOrganizationBadRequest
NewAddOrganizationBadRequest creates a AddOrganizationBadRequest with default headers values
func (*AddOrganizationBadRequest) Error ¶
func (o *AddOrganizationBadRequest) Error() string
type AddOrganizationConflict ¶
AddOrganizationConflict handles this case with default header values.
Already Exists
func NewAddOrganizationConflict ¶
func NewAddOrganizationConflict() *AddOrganizationConflict
NewAddOrganizationConflict creates a AddOrganizationConflict with default headers values
func (*AddOrganizationConflict) Error ¶
func (o *AddOrganizationConflict) Error() string
type AddOrganizationCreated ¶
type AddOrganizationCreated struct {
Payload *v1.Organization
}
AddOrganizationCreated handles this case with default header values.
created
func NewAddOrganizationCreated ¶
func NewAddOrganizationCreated() *AddOrganizationCreated
NewAddOrganizationCreated creates a AddOrganizationCreated with default headers values
func (*AddOrganizationCreated) Error ¶
func (o *AddOrganizationCreated) Error() string
type AddOrganizationDefault ¶
AddOrganizationDefault handles this case with default header values.
Generic error response
func NewAddOrganizationDefault ¶
func NewAddOrganizationDefault(code int) *AddOrganizationDefault
NewAddOrganizationDefault creates a AddOrganizationDefault with default headers values
func (*AddOrganizationDefault) Code ¶
func (o *AddOrganizationDefault) Code() int
Code gets the status code for the add organization default response
func (*AddOrganizationDefault) Error ¶
func (o *AddOrganizationDefault) Error() string
type AddOrganizationForbidden ¶ added in v0.1.18
AddOrganizationForbidden handles this case with default header values.
access to this resource is forbidden
func NewAddOrganizationForbidden ¶ added in v0.1.18
func NewAddOrganizationForbidden() *AddOrganizationForbidden
NewAddOrganizationForbidden creates a AddOrganizationForbidden with default headers values
func (*AddOrganizationForbidden) Error ¶ added in v0.1.18
func (o *AddOrganizationForbidden) Error() string
type AddOrganizationParams ¶
type AddOrganizationParams struct { /*XDispatchOrg*/ XDispatchOrg *string /*Body Organization Object */ Body *v1.Organization Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddOrganizationParams contains all the parameters to send to the API endpoint for the add organization operation typically these are written to a http.Request
func NewAddOrganizationParams ¶
func NewAddOrganizationParams() *AddOrganizationParams
NewAddOrganizationParams creates a new AddOrganizationParams object with the default values initialized.
func NewAddOrganizationParamsWithContext ¶
func NewAddOrganizationParamsWithContext(ctx context.Context) *AddOrganizationParams
NewAddOrganizationParamsWithContext creates a new AddOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewAddOrganizationParamsWithHTTPClient ¶
func NewAddOrganizationParamsWithHTTPClient(client *http.Client) *AddOrganizationParams
NewAddOrganizationParamsWithHTTPClient creates a new AddOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddOrganizationParamsWithTimeout ¶
func NewAddOrganizationParamsWithTimeout(timeout time.Duration) *AddOrganizationParams
NewAddOrganizationParamsWithTimeout creates a new AddOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddOrganizationParams) SetBody ¶
func (o *AddOrganizationParams) SetBody(body *v1.Organization)
SetBody adds the body to the add organization params
func (*AddOrganizationParams) SetContext ¶
func (o *AddOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the add organization params
func (*AddOrganizationParams) SetHTTPClient ¶
func (o *AddOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add organization params
func (*AddOrganizationParams) SetTimeout ¶
func (o *AddOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add organization params
func (*AddOrganizationParams) SetXDispatchOrg ¶ added in v0.1.18
func (o *AddOrganizationParams) SetXDispatchOrg(xDispatchOrg *string)
SetXDispatchOrg adds the xDispatchOrg to the add organization params
func (*AddOrganizationParams) WithBody ¶
func (o *AddOrganizationParams) WithBody(body *v1.Organization) *AddOrganizationParams
WithBody adds the body to the add organization params
func (*AddOrganizationParams) WithContext ¶
func (o *AddOrganizationParams) WithContext(ctx context.Context) *AddOrganizationParams
WithContext adds the context to the add organization params
func (*AddOrganizationParams) WithHTTPClient ¶
func (o *AddOrganizationParams) WithHTTPClient(client *http.Client) *AddOrganizationParams
WithHTTPClient adds the HTTPClient to the add organization params
func (*AddOrganizationParams) WithTimeout ¶
func (o *AddOrganizationParams) WithTimeout(timeout time.Duration) *AddOrganizationParams
WithTimeout adds the timeout to the add organization params
func (*AddOrganizationParams) WithXDispatchOrg ¶ added in v0.1.18
func (o *AddOrganizationParams) WithXDispatchOrg(xDispatchOrg *string) *AddOrganizationParams
WithXDispatchOrg adds the xDispatchOrg to the add organization params
func (*AddOrganizationParams) WriteToRequest ¶
func (o *AddOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddOrganizationReader ¶
type AddOrganizationReader struct {
// contains filtered or unexported fields
}
AddOrganizationReader is a Reader for the AddOrganization structure.
func (*AddOrganizationReader) ReadResponse ¶
func (o *AddOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddOrganizationUnauthorized ¶ added in v0.1.18
type AddOrganizationUnauthorized struct {
}AddOrganizationUnauthorized handles this case with default header values.
Unauthorized Request
func NewAddOrganizationUnauthorized ¶ added in v0.1.18
func NewAddOrganizationUnauthorized() *AddOrganizationUnauthorized
NewAddOrganizationUnauthorized creates a AddOrganizationUnauthorized with default headers values
func (*AddOrganizationUnauthorized) Error ¶ added in v0.1.18
func (o *AddOrganizationUnauthorized) Error() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for organization API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new organization API client.
func (*Client) AddOrganization ¶
func (a *Client) AddOrganization(params *AddOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*AddOrganizationCreated, error)
AddOrganization adds a new organization
func (*Client) DeleteOrganization ¶
func (a *Client) DeleteOrganization(params *DeleteOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOrganizationOK, error)
DeleteOrganization deletes an organization
func (*Client) GetOrganization ¶
func (a *Client) GetOrganization(params *GetOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationOK, error)
GetOrganization finds organization by name
get an Organization by name
func (*Client) GetOrganizations ¶
func (a *Client) GetOrganizations(params *GetOrganizationsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationsOK, error)
GetOrganizations lists all existing organizations
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) (*UpdateOrganizationOK, error)
UpdateOrganization updates a organization
type DeleteOrganizationBadRequest ¶
DeleteOrganizationBadRequest handles this case with default header values.
Invalid Name supplied
func NewDeleteOrganizationBadRequest ¶
func NewDeleteOrganizationBadRequest() *DeleteOrganizationBadRequest
NewDeleteOrganizationBadRequest creates a DeleteOrganizationBadRequest with default headers values
func (*DeleteOrganizationBadRequest) Error ¶
func (o *DeleteOrganizationBadRequest) Error() string
type DeleteOrganizationDefault ¶ added in v0.1.18
type DeleteOrganizationDefault struct { Payload *v1.Error // contains filtered or unexported fields }
DeleteOrganizationDefault handles this case with default header values.
Unknown error
func NewDeleteOrganizationDefault ¶ added in v0.1.18
func NewDeleteOrganizationDefault(code int) *DeleteOrganizationDefault
NewDeleteOrganizationDefault creates a DeleteOrganizationDefault with default headers values
func (*DeleteOrganizationDefault) Code ¶ added in v0.1.18
func (o *DeleteOrganizationDefault) Code() int
Code gets the status code for the delete organization default response
func (*DeleteOrganizationDefault) Error ¶ added in v0.1.18
func (o *DeleteOrganizationDefault) Error() string
type DeleteOrganizationForbidden ¶ added in v0.1.18
DeleteOrganizationForbidden handles this case with default header values.
access to this resource is forbidden
func NewDeleteOrganizationForbidden ¶ added in v0.1.18
func NewDeleteOrganizationForbidden() *DeleteOrganizationForbidden
NewDeleteOrganizationForbidden creates a DeleteOrganizationForbidden with default headers values
func (*DeleteOrganizationForbidden) Error ¶ added in v0.1.18
func (o *DeleteOrganizationForbidden) Error() string
type DeleteOrganizationNotFound ¶
DeleteOrganizationNotFound handles this case with default header values.
Organization not found
func NewDeleteOrganizationNotFound ¶
func NewDeleteOrganizationNotFound() *DeleteOrganizationNotFound
NewDeleteOrganizationNotFound creates a DeleteOrganizationNotFound with default headers values
func (*DeleteOrganizationNotFound) Error ¶
func (o *DeleteOrganizationNotFound) Error() string
type DeleteOrganizationOK ¶
type DeleteOrganizationOK struct {
Payload *v1.Organization
}
DeleteOrganizationOK handles this case with default header values.
Successful operation
func NewDeleteOrganizationOK ¶
func NewDeleteOrganizationOK() *DeleteOrganizationOK
NewDeleteOrganizationOK creates a DeleteOrganizationOK with default headers values
func (*DeleteOrganizationOK) Error ¶
func (o *DeleteOrganizationOK) Error() string
type DeleteOrganizationParams ¶
type DeleteOrganizationParams struct { /*XDispatchOrg*/ XDispatchOrg string /*OrganizationName Name of Organization to work on */ OrganizationName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteOrganizationParams contains all the parameters to send to the API endpoint for the delete organization operation typically these are written to a http.Request
func NewDeleteOrganizationParams ¶
func NewDeleteOrganizationParams() *DeleteOrganizationParams
NewDeleteOrganizationParams creates a new DeleteOrganizationParams object with the default values initialized.
func NewDeleteOrganizationParamsWithContext ¶
func NewDeleteOrganizationParamsWithContext(ctx context.Context) *DeleteOrganizationParams
NewDeleteOrganizationParamsWithContext creates a new DeleteOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteOrganizationParamsWithHTTPClient ¶
func NewDeleteOrganizationParamsWithHTTPClient(client *http.Client) *DeleteOrganizationParams
NewDeleteOrganizationParamsWithHTTPClient creates a new DeleteOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteOrganizationParamsWithTimeout ¶
func NewDeleteOrganizationParamsWithTimeout(timeout time.Duration) *DeleteOrganizationParams
NewDeleteOrganizationParamsWithTimeout creates a new DeleteOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteOrganizationParams) SetContext ¶
func (o *DeleteOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the delete organization params
func (*DeleteOrganizationParams) SetHTTPClient ¶
func (o *DeleteOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete organization params
func (*DeleteOrganizationParams) SetOrganizationName ¶
func (o *DeleteOrganizationParams) SetOrganizationName(organizationName string)
SetOrganizationName adds the organizationName 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) SetXDispatchOrg ¶ added in v0.1.18
func (o *DeleteOrganizationParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg 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) WithHTTPClient ¶
func (o *DeleteOrganizationParams) WithHTTPClient(client *http.Client) *DeleteOrganizationParams
WithHTTPClient adds the HTTPClient to the delete organization params
func (*DeleteOrganizationParams) WithOrganizationName ¶
func (o *DeleteOrganizationParams) WithOrganizationName(organizationName string) *DeleteOrganizationParams
WithOrganizationName adds the organizationName 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) WithXDispatchOrg ¶ added in v0.1.18
func (o *DeleteOrganizationParams) WithXDispatchOrg(xDispatchOrg string) *DeleteOrganizationParams
WithXDispatchOrg adds the xDispatchOrg 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 DeleteOrganizationUnauthorized ¶ added in v0.1.18
type DeleteOrganizationUnauthorized struct {
}DeleteOrganizationUnauthorized handles this case with default header values.
Unauthorized Request
func NewDeleteOrganizationUnauthorized ¶ added in v0.1.18
func NewDeleteOrganizationUnauthorized() *DeleteOrganizationUnauthorized
NewDeleteOrganizationUnauthorized creates a DeleteOrganizationUnauthorized with default headers values
func (*DeleteOrganizationUnauthorized) Error ¶ added in v0.1.18
func (o *DeleteOrganizationUnauthorized) Error() string
type GetOrganizationBadRequest ¶
GetOrganizationBadRequest handles this case with default header values.
Invalid Name supplied
func NewGetOrganizationBadRequest ¶
func NewGetOrganizationBadRequest() *GetOrganizationBadRequest
NewGetOrganizationBadRequest creates a GetOrganizationBadRequest with default headers values
func (*GetOrganizationBadRequest) Error ¶
func (o *GetOrganizationBadRequest) Error() string
type GetOrganizationDefault ¶ added in v0.1.18
GetOrganizationDefault handles this case with default header values.
Unknown error
func NewGetOrganizationDefault ¶ added in v0.1.18
func NewGetOrganizationDefault(code int) *GetOrganizationDefault
NewGetOrganizationDefault creates a GetOrganizationDefault with default headers values
func (*GetOrganizationDefault) Code ¶ added in v0.1.18
func (o *GetOrganizationDefault) Code() int
Code gets the status code for the get organization default response
func (*GetOrganizationDefault) Error ¶ added in v0.1.18
func (o *GetOrganizationDefault) Error() string
type GetOrganizationForbidden ¶ added in v0.1.18
GetOrganizationForbidden handles this case with default header values.
access to this resource is forbidden
func NewGetOrganizationForbidden ¶ added in v0.1.18
func NewGetOrganizationForbidden() *GetOrganizationForbidden
NewGetOrganizationForbidden creates a GetOrganizationForbidden with default headers values
func (*GetOrganizationForbidden) Error ¶ added in v0.1.18
func (o *GetOrganizationForbidden) Error() string
type GetOrganizationNotFound ¶
GetOrganizationNotFound handles this case with default header values.
Organization not found
func NewGetOrganizationNotFound ¶
func NewGetOrganizationNotFound() *GetOrganizationNotFound
NewGetOrganizationNotFound creates a GetOrganizationNotFound with default headers values
func (*GetOrganizationNotFound) Error ¶
func (o *GetOrganizationNotFound) Error() string
type GetOrganizationOK ¶
type GetOrganizationOK struct {
Payload *v1.Organization
}
GetOrganizationOK handles this case with default header values.
Successful operation
func NewGetOrganizationOK ¶
func NewGetOrganizationOK() *GetOrganizationOK
NewGetOrganizationOK creates a GetOrganizationOK with default headers values
func (*GetOrganizationOK) Error ¶
func (o *GetOrganizationOK) Error() string
type GetOrganizationParams ¶
type GetOrganizationParams struct { /*XDispatchOrg*/ XDispatchOrg string /*OrganizationName Name of Organization to work on */ OrganizationName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrganizationParams contains all the parameters to send to the API endpoint for the get organization operation typically these are written to a http.Request
func NewGetOrganizationParams ¶
func NewGetOrganizationParams() *GetOrganizationParams
NewGetOrganizationParams creates a new GetOrganizationParams object with the default values initialized.
func NewGetOrganizationParamsWithContext ¶
func NewGetOrganizationParamsWithContext(ctx context.Context) *GetOrganizationParams
NewGetOrganizationParamsWithContext creates a new GetOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrganizationParamsWithHTTPClient ¶
func NewGetOrganizationParamsWithHTTPClient(client *http.Client) *GetOrganizationParams
NewGetOrganizationParamsWithHTTPClient creates a new GetOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrganizationParamsWithTimeout ¶
func NewGetOrganizationParamsWithTimeout(timeout time.Duration) *GetOrganizationParams
NewGetOrganizationParamsWithTimeout creates a new GetOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrganizationParams) SetContext ¶
func (o *GetOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the get organization params
func (*GetOrganizationParams) SetHTTPClient ¶
func (o *GetOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get organization params
func (*GetOrganizationParams) SetOrganizationName ¶
func (o *GetOrganizationParams) SetOrganizationName(organizationName string)
SetOrganizationName adds the organizationName 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) SetXDispatchOrg ¶ added in v0.1.18
func (o *GetOrganizationParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg 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) WithHTTPClient ¶
func (o *GetOrganizationParams) WithHTTPClient(client *http.Client) *GetOrganizationParams
WithHTTPClient adds the HTTPClient to the get organization params
func (*GetOrganizationParams) WithOrganizationName ¶
func (o *GetOrganizationParams) WithOrganizationName(organizationName string) *GetOrganizationParams
WithOrganizationName adds the organizationName 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) WithXDispatchOrg ¶ added in v0.1.18
func (o *GetOrganizationParams) WithXDispatchOrg(xDispatchOrg string) *GetOrganizationParams
WithXDispatchOrg adds the xDispatchOrg 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 GetOrganizationUnauthorized ¶ added in v0.1.18
type GetOrganizationUnauthorized struct {
}GetOrganizationUnauthorized handles this case with default header values.
Unauthorized Request
func NewGetOrganizationUnauthorized ¶ added in v0.1.18
func NewGetOrganizationUnauthorized() *GetOrganizationUnauthorized
NewGetOrganizationUnauthorized creates a GetOrganizationUnauthorized with default headers values
func (*GetOrganizationUnauthorized) Error ¶ added in v0.1.18
func (o *GetOrganizationUnauthorized) Error() string
type GetOrganizationsDefault ¶
GetOrganizationsDefault handles this case with default header values.
Unexpected Error
func NewGetOrganizationsDefault ¶
func NewGetOrganizationsDefault(code int) *GetOrganizationsDefault
NewGetOrganizationsDefault creates a GetOrganizationsDefault with default headers values
func (*GetOrganizationsDefault) Code ¶
func (o *GetOrganizationsDefault) Code() int
Code gets the status code for the get organizations default response
func (*GetOrganizationsDefault) Error ¶
func (o *GetOrganizationsDefault) Error() string
type GetOrganizationsForbidden ¶ added in v0.1.18
GetOrganizationsForbidden handles this case with default header values.
access to this resource is forbidden
func NewGetOrganizationsForbidden ¶ added in v0.1.18
func NewGetOrganizationsForbidden() *GetOrganizationsForbidden
NewGetOrganizationsForbidden creates a GetOrganizationsForbidden with default headers values
func (*GetOrganizationsForbidden) Error ¶ added in v0.1.18
func (o *GetOrganizationsForbidden) Error() string
type GetOrganizationsOK ¶
type GetOrganizationsOK struct {
Payload []*v1.Organization
}
GetOrganizationsOK handles this case with default header values.
Successful operation
func NewGetOrganizationsOK ¶
func NewGetOrganizationsOK() *GetOrganizationsOK
NewGetOrganizationsOK creates a GetOrganizationsOK with default headers values
func (*GetOrganizationsOK) Error ¶
func (o *GetOrganizationsOK) Error() string
type GetOrganizationsParams ¶
type GetOrganizationsParams struct { /*XDispatchOrg*/ XDispatchOrg *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrganizationsParams contains all the parameters to send to the API endpoint for the get organizations operation typically these are written to a http.Request
func NewGetOrganizationsParams ¶
func NewGetOrganizationsParams() *GetOrganizationsParams
NewGetOrganizationsParams creates a new GetOrganizationsParams object with the default values initialized.
func NewGetOrganizationsParamsWithContext ¶
func NewGetOrganizationsParamsWithContext(ctx context.Context) *GetOrganizationsParams
NewGetOrganizationsParamsWithContext creates a new GetOrganizationsParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrganizationsParamsWithHTTPClient ¶
func NewGetOrganizationsParamsWithHTTPClient(client *http.Client) *GetOrganizationsParams
NewGetOrganizationsParamsWithHTTPClient creates a new GetOrganizationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrganizationsParamsWithTimeout ¶
func NewGetOrganizationsParamsWithTimeout(timeout time.Duration) *GetOrganizationsParams
NewGetOrganizationsParamsWithTimeout creates a new GetOrganizationsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrganizationsParams) SetContext ¶
func (o *GetOrganizationsParams) SetContext(ctx context.Context)
SetContext adds the context to the get organizations params
func (*GetOrganizationsParams) SetHTTPClient ¶
func (o *GetOrganizationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get organizations params
func (*GetOrganizationsParams) SetTimeout ¶
func (o *GetOrganizationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get organizations params
func (*GetOrganizationsParams) SetXDispatchOrg ¶ added in v0.1.18
func (o *GetOrganizationsParams) SetXDispatchOrg(xDispatchOrg *string)
SetXDispatchOrg adds the xDispatchOrg to the get organizations params
func (*GetOrganizationsParams) WithContext ¶
func (o *GetOrganizationsParams) WithContext(ctx context.Context) *GetOrganizationsParams
WithContext adds the context to the get organizations params
func (*GetOrganizationsParams) WithHTTPClient ¶
func (o *GetOrganizationsParams) WithHTTPClient(client *http.Client) *GetOrganizationsParams
WithHTTPClient adds the HTTPClient to the get organizations params
func (*GetOrganizationsParams) WithTimeout ¶
func (o *GetOrganizationsParams) WithTimeout(timeout time.Duration) *GetOrganizationsParams
WithTimeout adds the timeout to the get organizations params
func (*GetOrganizationsParams) WithXDispatchOrg ¶ added in v0.1.18
func (o *GetOrganizationsParams) WithXDispatchOrg(xDispatchOrg *string) *GetOrganizationsParams
WithXDispatchOrg adds the xDispatchOrg to the get organizations params
func (*GetOrganizationsParams) WriteToRequest ¶
func (o *GetOrganizationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrganizationsReader ¶
type GetOrganizationsReader struct {
// contains filtered or unexported fields
}
GetOrganizationsReader is a Reader for the GetOrganizations structure.
func (*GetOrganizationsReader) ReadResponse ¶
func (o *GetOrganizationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrganizationsUnauthorized ¶ added in v0.1.18
type GetOrganizationsUnauthorized struct {
}GetOrganizationsUnauthorized handles this case with default header values.
Unauthorized Request
func NewGetOrganizationsUnauthorized ¶ added in v0.1.18
func NewGetOrganizationsUnauthorized() *GetOrganizationsUnauthorized
NewGetOrganizationsUnauthorized creates a GetOrganizationsUnauthorized with default headers values
func (*GetOrganizationsUnauthorized) Error ¶ added in v0.1.18
func (o *GetOrganizationsUnauthorized) Error() string
type UpdateOrganizationBadRequest ¶
UpdateOrganizationBadRequest handles this case with default header values.
Invalid input
func NewUpdateOrganizationBadRequest ¶
func NewUpdateOrganizationBadRequest() *UpdateOrganizationBadRequest
NewUpdateOrganizationBadRequest creates a UpdateOrganizationBadRequest with default headers values
func (*UpdateOrganizationBadRequest) Error ¶
func (o *UpdateOrganizationBadRequest) Error() string
type UpdateOrganizationDefault ¶ added in v0.1.18
type UpdateOrganizationDefault struct { Payload *v1.Error // contains filtered or unexported fields }
UpdateOrganizationDefault handles this case with default header values.
Unknown error
func NewUpdateOrganizationDefault ¶ added in v0.1.18
func NewUpdateOrganizationDefault(code int) *UpdateOrganizationDefault
NewUpdateOrganizationDefault creates a UpdateOrganizationDefault with default headers values
func (*UpdateOrganizationDefault) Code ¶ added in v0.1.18
func (o *UpdateOrganizationDefault) Code() int
Code gets the status code for the update organization default response
func (*UpdateOrganizationDefault) Error ¶ added in v0.1.18
func (o *UpdateOrganizationDefault) Error() string
type UpdateOrganizationForbidden ¶ added in v0.1.18
UpdateOrganizationForbidden handles this case with default header values.
access to this resource is forbidden
func NewUpdateOrganizationForbidden ¶ added in v0.1.18
func NewUpdateOrganizationForbidden() *UpdateOrganizationForbidden
NewUpdateOrganizationForbidden creates a UpdateOrganizationForbidden with default headers values
func (*UpdateOrganizationForbidden) Error ¶ added in v0.1.18
func (o *UpdateOrganizationForbidden) Error() string
type UpdateOrganizationNotFound ¶
UpdateOrganizationNotFound handles this case with default header values.
Organization not found
func NewUpdateOrganizationNotFound ¶
func NewUpdateOrganizationNotFound() *UpdateOrganizationNotFound
NewUpdateOrganizationNotFound creates a UpdateOrganizationNotFound with default headers values
func (*UpdateOrganizationNotFound) Error ¶
func (o *UpdateOrganizationNotFound) Error() string
type UpdateOrganizationOK ¶
type UpdateOrganizationOK struct {
Payload *v1.Organization
}
UpdateOrganizationOK handles this case with default header values.
Successful update
func NewUpdateOrganizationOK ¶
func NewUpdateOrganizationOK() *UpdateOrganizationOK
NewUpdateOrganizationOK creates a UpdateOrganizationOK with default headers values
func (*UpdateOrganizationOK) Error ¶
func (o *UpdateOrganizationOK) Error() string
type UpdateOrganizationParams ¶
type UpdateOrganizationParams struct { /*XDispatchOrg*/ XDispatchOrg string /*Body Organization object */ Body *v1.Organization /*OrganizationName Name of Organization to work on */ OrganizationName 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 values initialized.
func NewUpdateOrganizationParamsWithContext ¶
func NewUpdateOrganizationParamsWithContext(ctx context.Context) *UpdateOrganizationParams
NewUpdateOrganizationParamsWithContext creates a new UpdateOrganizationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*UpdateOrganizationParams) SetBody ¶
func (o *UpdateOrganizationParams) SetBody(body *v1.Organization)
SetBody adds the body to the update organization params
func (*UpdateOrganizationParams) SetContext ¶
func (o *UpdateOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the update organization params
func (*UpdateOrganizationParams) SetHTTPClient ¶
func (o *UpdateOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update organization params
func (*UpdateOrganizationParams) SetOrganizationName ¶
func (o *UpdateOrganizationParams) SetOrganizationName(organizationName string)
SetOrganizationName adds the organizationName 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) SetXDispatchOrg ¶ added in v0.1.18
func (o *UpdateOrganizationParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg to the update organization params
func (*UpdateOrganizationParams) WithBody ¶
func (o *UpdateOrganizationParams) WithBody(body *v1.Organization) *UpdateOrganizationParams
WithBody adds the body 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) WithHTTPClient ¶
func (o *UpdateOrganizationParams) WithHTTPClient(client *http.Client) *UpdateOrganizationParams
WithHTTPClient adds the HTTPClient to the update organization params
func (*UpdateOrganizationParams) WithOrganizationName ¶
func (o *UpdateOrganizationParams) WithOrganizationName(organizationName string) *UpdateOrganizationParams
WithOrganizationName adds the organizationName 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) WithXDispatchOrg ¶ added in v0.1.18
func (o *UpdateOrganizationParams) WithXDispatchOrg(xDispatchOrg string) *UpdateOrganizationParams
WithXDispatchOrg adds the xDispatchOrg 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 UpdateOrganizationUnauthorized ¶ added in v0.1.18
type UpdateOrganizationUnauthorized struct {
}UpdateOrganizationUnauthorized handles this case with default header values.
Unauthorized Request
func NewUpdateOrganizationUnauthorized ¶ added in v0.1.18
func NewUpdateOrganizationUnauthorized() *UpdateOrganizationUnauthorized
NewUpdateOrganizationUnauthorized creates a UpdateOrganizationUnauthorized with default headers values
func (*UpdateOrganizationUnauthorized) Error ¶ added in v0.1.18
func (o *UpdateOrganizationUnauthorized) Error() string
Source Files ¶
- add_organization_parameters.go
- add_organization_responses.go
- delete_organization_parameters.go
- delete_organization_responses.go
- get_organization_parameters.go
- get_organization_responses.go
- get_organizations_parameters.go
- get_organizations_responses.go
- organization_client.go
- update_organization_parameters.go
- update_organization_responses.go