Documentation
¶
Index ¶
- type AddOrganizationBadRequest
- type AddOrganizationConflict
- type AddOrganizationCreated
- type AddOrganizationDefault
- type AddOrganizationInternalServerError
- 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) 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) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddOrganizationReader
- 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 DeleteOrganizationInternalServerError
- 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) 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) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteOrganizationReader
- type GetOrganizationBadRequest
- type GetOrganizationInternalServerError
- 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) 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) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationReader
- type GetOrganizationsDefault
- type GetOrganizationsInternalServerError
- 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) WithContext(ctx context.Context) *GetOrganizationsParams
- func (o *GetOrganizationsParams) WithHTTPClient(client *http.Client) *GetOrganizationsParams
- func (o *GetOrganizationsParams) WithTimeout(timeout time.Duration) *GetOrganizationsParams
- func (o *GetOrganizationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationsReader
- type UpdateOrganizationBadRequest
- type UpdateOrganizationInternalServerError
- 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) 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) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOrganizationReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOrganizationBadRequest ¶
type AddOrganizationBadRequest struct {
Payload *v1.Error
}
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 ¶
type AddOrganizationConflict struct {
Payload *v1.Error
}
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 ¶
type AddOrganizationDefault struct {
Payload *v1.Error
// contains filtered or unexported fields
}
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 AddOrganizationInternalServerError ¶
type AddOrganizationInternalServerError struct {
Payload *v1.Error
}
AddOrganizationInternalServerError handles this case with default header values.
Internal Error
func NewAddOrganizationInternalServerError ¶
func NewAddOrganizationInternalServerError() *AddOrganizationInternalServerError
NewAddOrganizationInternalServerError creates a AddOrganizationInternalServerError with default headers values
func (*AddOrganizationInternalServerError) Error ¶
func (o *AddOrganizationInternalServerError) Error() string
type AddOrganizationParams ¶
type AddOrganizationParams struct {
/*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) 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) 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 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 ¶
type DeleteOrganizationBadRequest struct {
Payload *v1.Error
}
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 DeleteOrganizationInternalServerError ¶
type DeleteOrganizationInternalServerError struct {
Payload *v1.Error
}
DeleteOrganizationInternalServerError handles this case with default header values.
Internal error
func NewDeleteOrganizationInternalServerError ¶
func NewDeleteOrganizationInternalServerError() *DeleteOrganizationInternalServerError
NewDeleteOrganizationInternalServerError creates a DeleteOrganizationInternalServerError with default headers values
func (*DeleteOrganizationInternalServerError) Error ¶
func (o *DeleteOrganizationInternalServerError) Error() string
type DeleteOrganizationNotFound ¶
type DeleteOrganizationNotFound struct {
Payload *v1.Error
}
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 {
/*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) 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) 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 GetOrganizationBadRequest ¶
type GetOrganizationBadRequest struct {
Payload *v1.Error
}
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 GetOrganizationInternalServerError ¶
type GetOrganizationInternalServerError struct {
Payload *v1.Error
}
GetOrganizationInternalServerError handles this case with default header values.
Internal error
func NewGetOrganizationInternalServerError ¶
func NewGetOrganizationInternalServerError() *GetOrganizationInternalServerError
NewGetOrganizationInternalServerError creates a GetOrganizationInternalServerError with default headers values
func (*GetOrganizationInternalServerError) Error ¶
func (o *GetOrganizationInternalServerError) Error() string
type GetOrganizationNotFound ¶
type GetOrganizationNotFound struct {
Payload *v1.Error
}
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 {
/*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) 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) 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 GetOrganizationsDefault ¶
type GetOrganizationsDefault struct {
Payload *v1.Error
// contains filtered or unexported fields
}
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 GetOrganizationsInternalServerError ¶
type GetOrganizationsInternalServerError struct {
Payload *v1.Error
}
GetOrganizationsInternalServerError handles this case with default header values.
Internal Error
func NewGetOrganizationsInternalServerError ¶
func NewGetOrganizationsInternalServerError() *GetOrganizationsInternalServerError
NewGetOrganizationsInternalServerError creates a GetOrganizationsInternalServerError with default headers values
func (*GetOrganizationsInternalServerError) Error ¶
func (o *GetOrganizationsInternalServerError) 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 {
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) 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) 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 UpdateOrganizationBadRequest ¶
type UpdateOrganizationBadRequest struct {
Payload *v1.Error
}
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 UpdateOrganizationInternalServerError ¶
type UpdateOrganizationInternalServerError struct {
Payload *v1.Error
}
UpdateOrganizationInternalServerError handles this case with default header values.
Internal error
func NewUpdateOrganizationInternalServerError ¶
func NewUpdateOrganizationInternalServerError() *UpdateOrganizationInternalServerError
NewUpdateOrganizationInternalServerError creates a UpdateOrganizationInternalServerError with default headers values
func (*UpdateOrganizationInternalServerError) Error ¶
func (o *UpdateOrganizationInternalServerError) Error() string
type UpdateOrganizationNotFound ¶
type UpdateOrganizationNotFound struct {
Payload *v1.Error
}
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 {
/*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) 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) 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.
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