Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateOrg(params *CreateOrgParams, authInfo runtime.ClientAuthInfoWriter) (*CreateOrgOK, error)
- func (a *Client) DeleteOrg(params *DeleteOrgParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOrgNoContent, error)
- func (a *Client) GetOrg(params *GetOrgParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgOK, error)
- func (a *Client) GetOrgAncestors(params *GetOrgAncestorsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgAncestorsOK, error)
- func (a *Client) GetOrgEvents(params *GetOrgEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgEventsOK, error)
- func (a *Client) GetOrgEventsTags(params *GetOrgEventsTagsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgEventsTagsOK, error)
- func (a *Client) GetOrgSummary(params *GetOrgSummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgSummaryOK, error)
- func (a *Client) GetOrgs(params *GetOrgsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgsOK, error)
- func (a *Client) GetRepoBranches(params *GetRepoBranchesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoBranchesOK, error)
- func (a *Client) SendOrgEvent(params *SendOrgEventParams, authInfo runtime.ClientAuthInfoWriter) (*SendOrgEventOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateOrg(params *UpdateOrgParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateOrgOK, error)
- type CreateOrgDefault
- type CreateOrgLengthRequired
- type CreateOrgOK
- type CreateOrgOKBody
- type CreateOrgParams
- func (o *CreateOrgParams) SetBody(body *models.NewOrganization)
- func (o *CreateOrgParams) SetContext(ctx context.Context)
- func (o *CreateOrgParams) SetHTTPClient(client *http.Client)
- func (o *CreateOrgParams) SetTimeout(timeout time.Duration)
- func (o *CreateOrgParams) WithBody(body *models.NewOrganization) *CreateOrgParams
- func (o *CreateOrgParams) WithContext(ctx context.Context) *CreateOrgParams
- func (o *CreateOrgParams) WithHTTPClient(client *http.Client) *CreateOrgParams
- func (o *CreateOrgParams) WithTimeout(timeout time.Duration) *CreateOrgParams
- func (o *CreateOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateOrgReader
- type CreateOrgUnprocessableEntity
- type DeleteOrgDefault
- type DeleteOrgForbidden
- type DeleteOrgNoContent
- type DeleteOrgNotFound
- type DeleteOrgParams
- func (o *DeleteOrgParams) SetContext(ctx context.Context)
- func (o *DeleteOrgParams) SetHTTPClient(client *http.Client)
- func (o *DeleteOrgParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *DeleteOrgParams) SetTimeout(timeout time.Duration)
- func (o *DeleteOrgParams) WithContext(ctx context.Context) *DeleteOrgParams
- func (o *DeleteOrgParams) WithHTTPClient(client *http.Client) *DeleteOrgParams
- func (o *DeleteOrgParams) WithOrganizationCanonical(organizationCanonical string) *DeleteOrgParams
- func (o *DeleteOrgParams) WithTimeout(timeout time.Duration) *DeleteOrgParams
- func (o *DeleteOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteOrgReader
- type GetOrgAncestorsDefault
- type GetOrgAncestorsOK
- type GetOrgAncestorsOKBody
- type GetOrgAncestorsParams
- func NewGetOrgAncestorsParams() *GetOrgAncestorsParams
- func NewGetOrgAncestorsParamsWithContext(ctx context.Context) *GetOrgAncestorsParams
- func NewGetOrgAncestorsParamsWithHTTPClient(client *http.Client) *GetOrgAncestorsParams
- func NewGetOrgAncestorsParamsWithTimeout(timeout time.Duration) *GetOrgAncestorsParams
- func (o *GetOrgAncestorsParams) SetContext(ctx context.Context)
- func (o *GetOrgAncestorsParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgAncestorsParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetOrgAncestorsParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgAncestorsParams) WithContext(ctx context.Context) *GetOrgAncestorsParams
- func (o *GetOrgAncestorsParams) WithHTTPClient(client *http.Client) *GetOrgAncestorsParams
- func (o *GetOrgAncestorsParams) WithOrganizationCanonical(organizationCanonical string) *GetOrgAncestorsParams
- func (o *GetOrgAncestorsParams) WithTimeout(timeout time.Duration) *GetOrgAncestorsParams
- func (o *GetOrgAncestorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgAncestorsReader
- type GetOrgAncestorsUnauthorized
- type GetOrgDefault
- type GetOrgEventsDefault
- type GetOrgEventsForbidden
- type GetOrgEventsNotFound
- type GetOrgEventsOK
- type GetOrgEventsOKBody
- type GetOrgEventsParams
- func (o *GetOrgEventsParams) SetBegin(begin *uint64)
- func (o *GetOrgEventsParams) SetContext(ctx context.Context)
- func (o *GetOrgEventsParams) SetEnd(end *uint64)
- func (o *GetOrgEventsParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgEventsParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetOrgEventsParams) SetSeverity(severity []string)
- func (o *GetOrgEventsParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgEventsParams) SetType(typeVar []string)
- func (o *GetOrgEventsParams) WithBegin(begin *uint64) *GetOrgEventsParams
- func (o *GetOrgEventsParams) WithContext(ctx context.Context) *GetOrgEventsParams
- func (o *GetOrgEventsParams) WithEnd(end *uint64) *GetOrgEventsParams
- func (o *GetOrgEventsParams) WithHTTPClient(client *http.Client) *GetOrgEventsParams
- func (o *GetOrgEventsParams) WithOrganizationCanonical(organizationCanonical string) *GetOrgEventsParams
- func (o *GetOrgEventsParams) WithSeverity(severity []string) *GetOrgEventsParams
- func (o *GetOrgEventsParams) WithTimeout(timeout time.Duration) *GetOrgEventsParams
- func (o *GetOrgEventsParams) WithType(typeVar []string) *GetOrgEventsParams
- func (o *GetOrgEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgEventsReader
- type GetOrgEventsTagsDefault
- type GetOrgEventsTagsForbidden
- type GetOrgEventsTagsOK
- type GetOrgEventsTagsOKBody
- type GetOrgEventsTagsParams
- func NewGetOrgEventsTagsParams() *GetOrgEventsTagsParams
- func NewGetOrgEventsTagsParamsWithContext(ctx context.Context) *GetOrgEventsTagsParams
- func NewGetOrgEventsTagsParamsWithHTTPClient(client *http.Client) *GetOrgEventsTagsParams
- func NewGetOrgEventsTagsParamsWithTimeout(timeout time.Duration) *GetOrgEventsTagsParams
- func (o *GetOrgEventsTagsParams) SetContext(ctx context.Context)
- func (o *GetOrgEventsTagsParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgEventsTagsParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetOrgEventsTagsParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgEventsTagsParams) WithContext(ctx context.Context) *GetOrgEventsTagsParams
- func (o *GetOrgEventsTagsParams) WithHTTPClient(client *http.Client) *GetOrgEventsTagsParams
- func (o *GetOrgEventsTagsParams) WithOrganizationCanonical(organizationCanonical string) *GetOrgEventsTagsParams
- func (o *GetOrgEventsTagsParams) WithTimeout(timeout time.Duration) *GetOrgEventsTagsParams
- func (o *GetOrgEventsTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgEventsTagsReader
- type GetOrgEventsTagsUnprocessableEntity
- type GetOrgEventsUnprocessableEntity
- type GetOrgForbidden
- type GetOrgNotFound
- type GetOrgOK
- type GetOrgOKBody
- type GetOrgParams
- func (o *GetOrgParams) SetContext(ctx context.Context)
- func (o *GetOrgParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetOrgParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgParams) WithContext(ctx context.Context) *GetOrgParams
- func (o *GetOrgParams) WithHTTPClient(client *http.Client) *GetOrgParams
- func (o *GetOrgParams) WithOrganizationCanonical(organizationCanonical string) *GetOrgParams
- func (o *GetOrgParams) WithTimeout(timeout time.Duration) *GetOrgParams
- func (o *GetOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgReader
- type GetOrgSummaryForbidden
- type GetOrgSummaryNotFound
- type GetOrgSummaryOK
- type GetOrgSummaryOKBody
- type GetOrgSummaryParams
- func (o *GetOrgSummaryParams) SetContext(ctx context.Context)
- func (o *GetOrgSummaryParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgSummaryParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetOrgSummaryParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgSummaryParams) WithContext(ctx context.Context) *GetOrgSummaryParams
- func (o *GetOrgSummaryParams) WithHTTPClient(client *http.Client) *GetOrgSummaryParams
- func (o *GetOrgSummaryParams) WithOrganizationCanonical(organizationCanonical string) *GetOrgSummaryParams
- func (o *GetOrgSummaryParams) WithTimeout(timeout time.Duration) *GetOrgSummaryParams
- func (o *GetOrgSummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgSummaryReader
- type GetOrgsDefault
- type GetOrgsOK
- type GetOrgsOKBody
- type GetOrgsParams
- func (o *GetOrgsParams) SetContext(ctx context.Context)
- func (o *GetOrgsParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgsParams) SetOrderBy(orderBy *string)
- func (o *GetOrgsParams) SetOrganizationCreatedAt(organizationCreatedAt *uint64)
- func (o *GetOrgsParams) SetOrganizationName(organizationName *string)
- func (o *GetOrgsParams) SetPageIndex(pageIndex *uint32)
- func (o *GetOrgsParams) SetPageSize(pageSize *uint32)
- func (o *GetOrgsParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgsParams) WithContext(ctx context.Context) *GetOrgsParams
- func (o *GetOrgsParams) WithHTTPClient(client *http.Client) *GetOrgsParams
- func (o *GetOrgsParams) WithOrderBy(orderBy *string) *GetOrgsParams
- func (o *GetOrgsParams) WithOrganizationCreatedAt(organizationCreatedAt *uint64) *GetOrgsParams
- func (o *GetOrgsParams) WithOrganizationName(organizationName *string) *GetOrgsParams
- func (o *GetOrgsParams) WithPageIndex(pageIndex *uint32) *GetOrgsParams
- func (o *GetOrgsParams) WithPageSize(pageSize *uint32) *GetOrgsParams
- func (o *GetOrgsParams) WithTimeout(timeout time.Duration) *GetOrgsParams
- func (o *GetOrgsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgsReader
- type GetOrgsUnprocessableEntity
- type GetRepoBranchesDefault
- type GetRepoBranchesForbidden
- type GetRepoBranchesNotFound
- type GetRepoBranchesOK
- type GetRepoBranchesOKBody
- type GetRepoBranchesParams
- func NewGetRepoBranchesParams() *GetRepoBranchesParams
- func NewGetRepoBranchesParamsWithContext(ctx context.Context) *GetRepoBranchesParams
- func NewGetRepoBranchesParamsWithHTTPClient(client *http.Client) *GetRepoBranchesParams
- func NewGetRepoBranchesParamsWithTimeout(timeout time.Duration) *GetRepoBranchesParams
- func (o *GetRepoBranchesParams) SetContext(ctx context.Context)
- func (o *GetRepoBranchesParams) SetCredentialID(credentialID *uint32)
- func (o *GetRepoBranchesParams) SetGitURL(gitURL string)
- func (o *GetRepoBranchesParams) SetHTTPClient(client *http.Client)
- func (o *GetRepoBranchesParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetRepoBranchesParams) SetTimeout(timeout time.Duration)
- func (o *GetRepoBranchesParams) WithContext(ctx context.Context) *GetRepoBranchesParams
- func (o *GetRepoBranchesParams) WithCredentialID(credentialID *uint32) *GetRepoBranchesParams
- func (o *GetRepoBranchesParams) WithGitURL(gitURL string) *GetRepoBranchesParams
- func (o *GetRepoBranchesParams) WithHTTPClient(client *http.Client) *GetRepoBranchesParams
- func (o *GetRepoBranchesParams) WithOrganizationCanonical(organizationCanonical string) *GetRepoBranchesParams
- func (o *GetRepoBranchesParams) WithTimeout(timeout time.Duration) *GetRepoBranchesParams
- func (o *GetRepoBranchesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepoBranchesReader
- type GetRepoBranchesUnprocessableEntity
- type SendOrgEventForbidden
- type SendOrgEventNotFound
- type SendOrgEventOK
- type SendOrgEventOKBody
- type SendOrgEventParams
- func (o *SendOrgEventParams) SetBody(body *models.NewEvent)
- func (o *SendOrgEventParams) SetContext(ctx context.Context)
- func (o *SendOrgEventParams) SetHTTPClient(client *http.Client)
- func (o *SendOrgEventParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *SendOrgEventParams) SetTimeout(timeout time.Duration)
- func (o *SendOrgEventParams) WithBody(body *models.NewEvent) *SendOrgEventParams
- func (o *SendOrgEventParams) WithContext(ctx context.Context) *SendOrgEventParams
- func (o *SendOrgEventParams) WithHTTPClient(client *http.Client) *SendOrgEventParams
- func (o *SendOrgEventParams) WithOrganizationCanonical(organizationCanonical string) *SendOrgEventParams
- func (o *SendOrgEventParams) WithTimeout(timeout time.Duration) *SendOrgEventParams
- func (o *SendOrgEventParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendOrgEventReader
- type SendOrgEventUnprocessableEntity
- type UpdateOrgDefault
- type UpdateOrgForbidden
- type UpdateOrgLengthRequired
- type UpdateOrgNotFound
- type UpdateOrgOK
- type UpdateOrgOKBody
- type UpdateOrgParams
- func (o *UpdateOrgParams) SetBody(body *models.UpdateOrganization)
- func (o *UpdateOrgParams) SetContext(ctx context.Context)
- func (o *UpdateOrgParams) SetHTTPClient(client *http.Client)
- func (o *UpdateOrgParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *UpdateOrgParams) SetTimeout(timeout time.Duration)
- func (o *UpdateOrgParams) WithBody(body *models.UpdateOrganization) *UpdateOrgParams
- func (o *UpdateOrgParams) WithContext(ctx context.Context) *UpdateOrgParams
- func (o *UpdateOrgParams) WithHTTPClient(client *http.Client) *UpdateOrgParams
- func (o *UpdateOrgParams) WithOrganizationCanonical(organizationCanonical string) *UpdateOrgParams
- func (o *UpdateOrgParams) WithTimeout(timeout time.Duration) *UpdateOrgParams
- func (o *UpdateOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOrgReader
- type UpdateOrgUnprocessableEntity
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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new organizations API client.
func (*Client) CreateOrg ¶
func (a *Client) CreateOrg(params *CreateOrgParams, authInfo runtime.ClientAuthInfoWriter) (*CreateOrgOK, error)
CreateOrg Create a new organization, making the authenticated user the owner of it.
func (*Client) DeleteOrg ¶
func (a *Client) DeleteOrg(params *DeleteOrgParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOrgNoContent, error)
DeleteOrg Delete the organization.
func (*Client) GetOrg ¶
func (a *Client) GetOrg(params *GetOrgParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgOK, error)
GetOrg Get the information of the organization.
func (*Client) GetOrgAncestors ¶ added in v1.0.49
func (a *Client) GetOrgAncestors(params *GetOrgAncestorsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgAncestorsOK, error)
GetOrgAncestors Get all the ancestors between the Organization and the User with the shortest path.
func (*Client) GetOrgEvents ¶ added in v1.0.49
func (a *Client) GetOrgEvents(params *GetOrgEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgEventsOK, error)
GetOrgEvents Retrieve the list of events which has been registered on the organization. The events to request can be filtered using Unix timestamps in milliseconds (begin and end timestamps range), the event type and severity; when more than one are applied then they are applied with a logical AND.
- The Unix timestamps must always be specified, the rest of the filters are not mandatory.
func (*Client) GetOrgEventsTags ¶ added in v1.0.49
func (a *Client) GetOrgEventsTags(params *GetOrgEventsTagsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgEventsTagsOK, error)
GetOrgEventsTags Retrieve the list of tags and set of values for all the events of the organization.
func (*Client) GetOrgSummary ¶ added in v1.0.49
func (a *Client) GetOrgSummary(params *GetOrgSummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgSummaryOK, error)
GetOrgSummary Get the summary of the organization
func (*Client) GetOrgs ¶
func (a *Client) GetOrgs(params *GetOrgsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgsOK, error)
GetOrgs Get the organizations that the authenticated user has access.
func (*Client) GetRepoBranches ¶
func (a *Client) GetRepoBranches(params *GetRepoBranchesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoBranchesOK, error)
GetRepoBranches Return all the branches of repository
func (*Client) SendOrgEvent ¶ added in v1.0.49
func (a *Client) SendOrgEvent(params *SendOrgEventParams, authInfo runtime.ClientAuthInfoWriter) (*SendOrgEventOK, error)
SendOrgEvent Send a event on the organization to be registered.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateOrg ¶
func (a *Client) UpdateOrg(params *UpdateOrgParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateOrgOK, error)
UpdateOrg Update the information of the organization.
type CreateOrgDefault ¶
type CreateOrgDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
CreateOrgDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewCreateOrgDefault ¶
func NewCreateOrgDefault(code int) *CreateOrgDefault
NewCreateOrgDefault creates a CreateOrgDefault with default headers values
func (*CreateOrgDefault) Code ¶
func (o *CreateOrgDefault) Code() int
Code gets the status code for the create org default response
func (*CreateOrgDefault) Error ¶
func (o *CreateOrgDefault) Error() string
func (*CreateOrgDefault) GetPayload ¶
func (o *CreateOrgDefault) GetPayload() *models.ErrorPayload
type CreateOrgLengthRequired ¶
type CreateOrgLengthRequired struct {
}
CreateOrgLengthRequired handles this case with default header values.
The request has a body but it doesn't have a Content-Length header.
func NewCreateOrgLengthRequired ¶
func NewCreateOrgLengthRequired() *CreateOrgLengthRequired
NewCreateOrgLengthRequired creates a CreateOrgLengthRequired with default headers values
func (*CreateOrgLengthRequired) Error ¶
func (o *CreateOrgLengthRequired) Error() string
type CreateOrgOK ¶
type CreateOrgOK struct {
Payload *CreateOrgOKBody
}
CreateOrgOK handles this case with default header values.
Organization created. The body contains the information of the new created organization.
func NewCreateOrgOK ¶
func NewCreateOrgOK() *CreateOrgOK
NewCreateOrgOK creates a CreateOrgOK with default headers values
func (*CreateOrgOK) Error ¶
func (o *CreateOrgOK) Error() string
func (*CreateOrgOK) GetPayload ¶
func (o *CreateOrgOK) GetPayload() *CreateOrgOKBody
type CreateOrgOKBody ¶
type CreateOrgOKBody struct {
// data
// Required: true
Data *models.Organization `json:"data"`
}
CreateOrgOKBody create org o k body swagger:model CreateOrgOKBody
func (*CreateOrgOKBody) MarshalBinary ¶
func (o *CreateOrgOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateOrgOKBody) UnmarshalBinary ¶
func (o *CreateOrgOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateOrgParams ¶
type CreateOrgParams struct {
/*Body
The information of the organization to create.
*/
Body *models.NewOrganization
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateOrgParams contains all the parameters to send to the API endpoint for the create org operation typically these are written to a http.Request
func NewCreateOrgParams ¶
func NewCreateOrgParams() *CreateOrgParams
NewCreateOrgParams creates a new CreateOrgParams object with the default values initialized.
func NewCreateOrgParamsWithContext ¶
func NewCreateOrgParamsWithContext(ctx context.Context) *CreateOrgParams
NewCreateOrgParamsWithContext creates a new CreateOrgParams object with the default values initialized, and the ability to set a context for a request
func NewCreateOrgParamsWithHTTPClient ¶
func NewCreateOrgParamsWithHTTPClient(client *http.Client) *CreateOrgParams
NewCreateOrgParamsWithHTTPClient creates a new CreateOrgParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateOrgParamsWithTimeout ¶
func NewCreateOrgParamsWithTimeout(timeout time.Duration) *CreateOrgParams
NewCreateOrgParamsWithTimeout creates a new CreateOrgParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateOrgParams) SetBody ¶
func (o *CreateOrgParams) SetBody(body *models.NewOrganization)
SetBody adds the body to the create org params
func (*CreateOrgParams) SetContext ¶
func (o *CreateOrgParams) SetContext(ctx context.Context)
SetContext adds the context to the create org params
func (*CreateOrgParams) SetHTTPClient ¶
func (o *CreateOrgParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create org params
func (*CreateOrgParams) SetTimeout ¶
func (o *CreateOrgParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create org params
func (*CreateOrgParams) WithBody ¶
func (o *CreateOrgParams) WithBody(body *models.NewOrganization) *CreateOrgParams
WithBody adds the body to the create org params
func (*CreateOrgParams) WithContext ¶
func (o *CreateOrgParams) WithContext(ctx context.Context) *CreateOrgParams
WithContext adds the context to the create org params
func (*CreateOrgParams) WithHTTPClient ¶
func (o *CreateOrgParams) WithHTTPClient(client *http.Client) *CreateOrgParams
WithHTTPClient adds the HTTPClient to the create org params
func (*CreateOrgParams) WithTimeout ¶
func (o *CreateOrgParams) WithTimeout(timeout time.Duration) *CreateOrgParams
WithTimeout adds the timeout to the create org params
func (*CreateOrgParams) WriteToRequest ¶
func (o *CreateOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateOrgReader ¶
type CreateOrgReader struct {
// contains filtered or unexported fields
}
CreateOrgReader is a Reader for the CreateOrg structure.
func (*CreateOrgReader) ReadResponse ¶
func (o *CreateOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateOrgUnprocessableEntity ¶
type CreateOrgUnprocessableEntity struct {
Payload *models.ErrorPayload
}
CreateOrgUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewCreateOrgUnprocessableEntity ¶
func NewCreateOrgUnprocessableEntity() *CreateOrgUnprocessableEntity
NewCreateOrgUnprocessableEntity creates a CreateOrgUnprocessableEntity with default headers values
func (*CreateOrgUnprocessableEntity) Error ¶
func (o *CreateOrgUnprocessableEntity) Error() string
func (*CreateOrgUnprocessableEntity) GetPayload ¶
func (o *CreateOrgUnprocessableEntity) GetPayload() *models.ErrorPayload
type DeleteOrgDefault ¶
type DeleteOrgDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
DeleteOrgDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewDeleteOrgDefault ¶
func NewDeleteOrgDefault(code int) *DeleteOrgDefault
NewDeleteOrgDefault creates a DeleteOrgDefault with default headers values
func (*DeleteOrgDefault) Code ¶
func (o *DeleteOrgDefault) Code() int
Code gets the status code for the delete org default response
func (*DeleteOrgDefault) Error ¶
func (o *DeleteOrgDefault) Error() string
func (*DeleteOrgDefault) GetPayload ¶
func (o *DeleteOrgDefault) GetPayload() *models.ErrorPayload
type DeleteOrgForbidden ¶
type DeleteOrgForbidden struct {
Payload *models.ErrorPayload
}
DeleteOrgForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewDeleteOrgForbidden ¶
func NewDeleteOrgForbidden() *DeleteOrgForbidden
NewDeleteOrgForbidden creates a DeleteOrgForbidden with default headers values
func (*DeleteOrgForbidden) Error ¶
func (o *DeleteOrgForbidden) Error() string
func (*DeleteOrgForbidden) GetPayload ¶
func (o *DeleteOrgForbidden) GetPayload() *models.ErrorPayload
type DeleteOrgNoContent ¶
type DeleteOrgNoContent struct {
}
DeleteOrgNoContent handles this case with default header values.
Organization has been deleted.
func NewDeleteOrgNoContent ¶
func NewDeleteOrgNoContent() *DeleteOrgNoContent
NewDeleteOrgNoContent creates a DeleteOrgNoContent with default headers values
func (*DeleteOrgNoContent) Error ¶
func (o *DeleteOrgNoContent) Error() string
type DeleteOrgNotFound ¶
type DeleteOrgNotFound struct {
Payload *models.ErrorPayload
}
DeleteOrgNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewDeleteOrgNotFound ¶
func NewDeleteOrgNotFound() *DeleteOrgNotFound
NewDeleteOrgNotFound creates a DeleteOrgNotFound with default headers values
func (*DeleteOrgNotFound) Error ¶
func (o *DeleteOrgNotFound) Error() string
func (*DeleteOrgNotFound) GetPayload ¶
func (o *DeleteOrgNotFound) GetPayload() *models.ErrorPayload
type DeleteOrgParams ¶
type DeleteOrgParams struct {
/*OrganizationCanonical
A canonical of an organization.
*/
OrganizationCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteOrgParams contains all the parameters to send to the API endpoint for the delete org operation typically these are written to a http.Request
func NewDeleteOrgParams ¶
func NewDeleteOrgParams() *DeleteOrgParams
NewDeleteOrgParams creates a new DeleteOrgParams object with the default values initialized.
func NewDeleteOrgParamsWithContext ¶
func NewDeleteOrgParamsWithContext(ctx context.Context) *DeleteOrgParams
NewDeleteOrgParamsWithContext creates a new DeleteOrgParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteOrgParamsWithHTTPClient ¶
func NewDeleteOrgParamsWithHTTPClient(client *http.Client) *DeleteOrgParams
NewDeleteOrgParamsWithHTTPClient creates a new DeleteOrgParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteOrgParamsWithTimeout ¶
func NewDeleteOrgParamsWithTimeout(timeout time.Duration) *DeleteOrgParams
NewDeleteOrgParamsWithTimeout creates a new DeleteOrgParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteOrgParams) SetContext ¶
func (o *DeleteOrgParams) SetContext(ctx context.Context)
SetContext adds the context to the delete org params
func (*DeleteOrgParams) SetHTTPClient ¶
func (o *DeleteOrgParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete org params
func (*DeleteOrgParams) SetOrganizationCanonical ¶
func (o *DeleteOrgParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the delete org params
func (*DeleteOrgParams) SetTimeout ¶
func (o *DeleteOrgParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete org params
func (*DeleteOrgParams) WithContext ¶
func (o *DeleteOrgParams) WithContext(ctx context.Context) *DeleteOrgParams
WithContext adds the context to the delete org params
func (*DeleteOrgParams) WithHTTPClient ¶
func (o *DeleteOrgParams) WithHTTPClient(client *http.Client) *DeleteOrgParams
WithHTTPClient adds the HTTPClient to the delete org params
func (*DeleteOrgParams) WithOrganizationCanonical ¶
func (o *DeleteOrgParams) WithOrganizationCanonical(organizationCanonical string) *DeleteOrgParams
WithOrganizationCanonical adds the organizationCanonical to the delete org params
func (*DeleteOrgParams) WithTimeout ¶
func (o *DeleteOrgParams) WithTimeout(timeout time.Duration) *DeleteOrgParams
WithTimeout adds the timeout to the delete org params
func (*DeleteOrgParams) WriteToRequest ¶
func (o *DeleteOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteOrgReader ¶
type DeleteOrgReader struct {
// contains filtered or unexported fields
}
DeleteOrgReader is a Reader for the DeleteOrg structure.
func (*DeleteOrgReader) ReadResponse ¶
func (o *DeleteOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgAncestorsDefault ¶ added in v1.0.49
type GetOrgAncestorsDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
GetOrgAncestorsDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetOrgAncestorsDefault ¶ added in v1.0.49
func NewGetOrgAncestorsDefault(code int) *GetOrgAncestorsDefault
NewGetOrgAncestorsDefault creates a GetOrgAncestorsDefault with default headers values
func (*GetOrgAncestorsDefault) Code ¶ added in v1.0.49
func (o *GetOrgAncestorsDefault) Code() int
Code gets the status code for the get org ancestors default response
func (*GetOrgAncestorsDefault) Error ¶ added in v1.0.49
func (o *GetOrgAncestorsDefault) Error() string
func (*GetOrgAncestorsDefault) GetPayload ¶ added in v1.0.49
func (o *GetOrgAncestorsDefault) GetPayload() *models.ErrorPayload
type GetOrgAncestorsOK ¶ added in v1.0.49
type GetOrgAncestorsOK struct {
Payload *GetOrgAncestorsOKBody
}
GetOrgAncestorsOK handles this case with default header values.
Get all the ancestors between the Organization and the User with the shortest path. 0 index is the parent and n is the searched child
func NewGetOrgAncestorsOK ¶ added in v1.0.49
func NewGetOrgAncestorsOK() *GetOrgAncestorsOK
NewGetOrgAncestorsOK creates a GetOrgAncestorsOK with default headers values
func (*GetOrgAncestorsOK) Error ¶ added in v1.0.49
func (o *GetOrgAncestorsOK) Error() string
func (*GetOrgAncestorsOK) GetPayload ¶ added in v1.0.49
func (o *GetOrgAncestorsOK) GetPayload() *GetOrgAncestorsOKBody
type GetOrgAncestorsOKBody ¶ added in v1.0.49
type GetOrgAncestorsOKBody struct {
// data
// Required: true
Data []*models.Organization `json:"data"`
// pagination
// Required: true
Pagination *models.Pagination `json:"pagination"`
}
GetOrgAncestorsOKBody get org ancestors o k body swagger:model GetOrgAncestorsOKBody
func (*GetOrgAncestorsOKBody) MarshalBinary ¶ added in v1.0.49
func (o *GetOrgAncestorsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgAncestorsOKBody) UnmarshalBinary ¶ added in v1.0.49
func (o *GetOrgAncestorsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgAncestorsParams ¶ added in v1.0.49
type GetOrgAncestorsParams struct {
/*OrganizationCanonical
A canonical of an organization.
*/
OrganizationCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetOrgAncestorsParams contains all the parameters to send to the API endpoint for the get org ancestors operation typically these are written to a http.Request
func NewGetOrgAncestorsParams ¶ added in v1.0.49
func NewGetOrgAncestorsParams() *GetOrgAncestorsParams
NewGetOrgAncestorsParams creates a new GetOrgAncestorsParams object with the default values initialized.
func NewGetOrgAncestorsParamsWithContext ¶ added in v1.0.49
func NewGetOrgAncestorsParamsWithContext(ctx context.Context) *GetOrgAncestorsParams
NewGetOrgAncestorsParamsWithContext creates a new GetOrgAncestorsParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrgAncestorsParamsWithHTTPClient ¶ added in v1.0.49
func NewGetOrgAncestorsParamsWithHTTPClient(client *http.Client) *GetOrgAncestorsParams
NewGetOrgAncestorsParamsWithHTTPClient creates a new GetOrgAncestorsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrgAncestorsParamsWithTimeout ¶ added in v1.0.49
func NewGetOrgAncestorsParamsWithTimeout(timeout time.Duration) *GetOrgAncestorsParams
NewGetOrgAncestorsParamsWithTimeout creates a new GetOrgAncestorsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrgAncestorsParams) SetContext ¶ added in v1.0.49
func (o *GetOrgAncestorsParams) SetContext(ctx context.Context)
SetContext adds the context to the get org ancestors params
func (*GetOrgAncestorsParams) SetHTTPClient ¶ added in v1.0.49
func (o *GetOrgAncestorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get org ancestors params
func (*GetOrgAncestorsParams) SetOrganizationCanonical ¶ added in v1.0.49
func (o *GetOrgAncestorsParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get org ancestors params
func (*GetOrgAncestorsParams) SetTimeout ¶ added in v1.0.49
func (o *GetOrgAncestorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get org ancestors params
func (*GetOrgAncestorsParams) WithContext ¶ added in v1.0.49
func (o *GetOrgAncestorsParams) WithContext(ctx context.Context) *GetOrgAncestorsParams
WithContext adds the context to the get org ancestors params
func (*GetOrgAncestorsParams) WithHTTPClient ¶ added in v1.0.49
func (o *GetOrgAncestorsParams) WithHTTPClient(client *http.Client) *GetOrgAncestorsParams
WithHTTPClient adds the HTTPClient to the get org ancestors params
func (*GetOrgAncestorsParams) WithOrganizationCanonical ¶ added in v1.0.49
func (o *GetOrgAncestorsParams) WithOrganizationCanonical(organizationCanonical string) *GetOrgAncestorsParams
WithOrganizationCanonical adds the organizationCanonical to the get org ancestors params
func (*GetOrgAncestorsParams) WithTimeout ¶ added in v1.0.49
func (o *GetOrgAncestorsParams) WithTimeout(timeout time.Duration) *GetOrgAncestorsParams
WithTimeout adds the timeout to the get org ancestors params
func (*GetOrgAncestorsParams) WriteToRequest ¶ added in v1.0.49
func (o *GetOrgAncestorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrgAncestorsReader ¶ added in v1.0.49
type GetOrgAncestorsReader struct {
// contains filtered or unexported fields
}
GetOrgAncestorsReader is a Reader for the GetOrgAncestors structure.
func (*GetOrgAncestorsReader) ReadResponse ¶ added in v1.0.49
func (o *GetOrgAncestorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgAncestorsUnauthorized ¶ added in v1.0.49
type GetOrgAncestorsUnauthorized struct {
}
GetOrgAncestorsUnauthorized handles this case with default header values.
The user cannot be authenticated with the credentials which she/he has used.
func NewGetOrgAncestorsUnauthorized ¶ added in v1.0.49
func NewGetOrgAncestorsUnauthorized() *GetOrgAncestorsUnauthorized
NewGetOrgAncestorsUnauthorized creates a GetOrgAncestorsUnauthorized with default headers values
func (*GetOrgAncestorsUnauthorized) Error ¶ added in v1.0.49
func (o *GetOrgAncestorsUnauthorized) Error() string
func (*GetOrgAncestorsUnauthorized) GetPayload ¶ added in v1.0.49
func (o *GetOrgAncestorsUnauthorized) GetPayload() *models.ErrorPayload
type GetOrgDefault ¶
type GetOrgDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
GetOrgDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetOrgDefault ¶
func NewGetOrgDefault(code int) *GetOrgDefault
NewGetOrgDefault creates a GetOrgDefault with default headers values
func (*GetOrgDefault) Code ¶
func (o *GetOrgDefault) Code() int
Code gets the status code for the get org default response
func (*GetOrgDefault) Error ¶
func (o *GetOrgDefault) Error() string
func (*GetOrgDefault) GetPayload ¶
func (o *GetOrgDefault) GetPayload() *models.ErrorPayload
type GetOrgEventsDefault ¶ added in v1.0.49
type GetOrgEventsDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
GetOrgEventsDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetOrgEventsDefault ¶ added in v1.0.49
func NewGetOrgEventsDefault(code int) *GetOrgEventsDefault
NewGetOrgEventsDefault creates a GetOrgEventsDefault with default headers values
func (*GetOrgEventsDefault) Code ¶ added in v1.0.49
func (o *GetOrgEventsDefault) Code() int
Code gets the status code for the get org events default response
func (*GetOrgEventsDefault) Error ¶ added in v1.0.49
func (o *GetOrgEventsDefault) Error() string
func (*GetOrgEventsDefault) GetPayload ¶ added in v1.0.49
func (o *GetOrgEventsDefault) GetPayload() *models.ErrorPayload
type GetOrgEventsForbidden ¶ added in v1.0.49
type GetOrgEventsForbidden struct {
Payload *models.ErrorPayload
}
GetOrgEventsForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetOrgEventsForbidden ¶ added in v1.0.49
func NewGetOrgEventsForbidden() *GetOrgEventsForbidden
NewGetOrgEventsForbidden creates a GetOrgEventsForbidden with default headers values
func (*GetOrgEventsForbidden) Error ¶ added in v1.0.49
func (o *GetOrgEventsForbidden) Error() string
func (*GetOrgEventsForbidden) GetPayload ¶ added in v1.0.49
func (o *GetOrgEventsForbidden) GetPayload() *models.ErrorPayload
type GetOrgEventsNotFound ¶ added in v1.0.49
type GetOrgEventsNotFound struct {
Payload *models.ErrorPayload
}
GetOrgEventsNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewGetOrgEventsNotFound ¶ added in v1.0.49
func NewGetOrgEventsNotFound() *GetOrgEventsNotFound
NewGetOrgEventsNotFound creates a GetOrgEventsNotFound with default headers values
func (*GetOrgEventsNotFound) Error ¶ added in v1.0.49
func (o *GetOrgEventsNotFound) Error() string
func (*GetOrgEventsNotFound) GetPayload ¶ added in v1.0.49
func (o *GetOrgEventsNotFound) GetPayload() *models.ErrorPayload
type GetOrgEventsOK ¶ added in v1.0.49
type GetOrgEventsOK struct {
Payload *GetOrgEventsOKBody
}
GetOrgEventsOK handles this case with default header values.
The list of events which fulfills the query parameters filter
format: uint64
func NewGetOrgEventsOK ¶ added in v1.0.49
func NewGetOrgEventsOK() *GetOrgEventsOK
NewGetOrgEventsOK creates a GetOrgEventsOK with default headers values
func (*GetOrgEventsOK) Error ¶ added in v1.0.49
func (o *GetOrgEventsOK) Error() string
func (*GetOrgEventsOK) GetPayload ¶ added in v1.0.49
func (o *GetOrgEventsOK) GetPayload() *GetOrgEventsOKBody
type GetOrgEventsOKBody ¶ added in v1.0.49
GetOrgEventsOKBody The list of log lines swagger:model GetOrgEventsOKBody
func (*GetOrgEventsOKBody) MarshalBinary ¶ added in v1.0.49
func (o *GetOrgEventsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgEventsOKBody) UnmarshalBinary ¶ added in v1.0.49
func (o *GetOrgEventsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgEventsParams ¶ added in v1.0.49
type GetOrgEventsParams struct {
/*Begin
The unix timestamp in milliseconds, which indicate the start of the time range.
*/
Begin *uint64
/*End
The unix timestamp in milliseconds, which indicate the end of the time range.
*/
End *uint64
/*OrganizationCanonical
A canonical of an organization.
*/
OrganizationCanonical string
/*Severity
Specify the severities of the events to be requested. The returned events must have one of the specified severities.
*/
Severity []string
/*Type
Specify the types of the events to be requested. The returned events must have one of the specified types.
*/
Type []string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetOrgEventsParams contains all the parameters to send to the API endpoint for the get org events operation typically these are written to a http.Request
func NewGetOrgEventsParams ¶ added in v1.0.49
func NewGetOrgEventsParams() *GetOrgEventsParams
NewGetOrgEventsParams creates a new GetOrgEventsParams object with the default values initialized.
func NewGetOrgEventsParamsWithContext ¶ added in v1.0.49
func NewGetOrgEventsParamsWithContext(ctx context.Context) *GetOrgEventsParams
NewGetOrgEventsParamsWithContext creates a new GetOrgEventsParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrgEventsParamsWithHTTPClient ¶ added in v1.0.49
func NewGetOrgEventsParamsWithHTTPClient(client *http.Client) *GetOrgEventsParams
NewGetOrgEventsParamsWithHTTPClient creates a new GetOrgEventsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrgEventsParamsWithTimeout ¶ added in v1.0.49
func NewGetOrgEventsParamsWithTimeout(timeout time.Duration) *GetOrgEventsParams
NewGetOrgEventsParamsWithTimeout creates a new GetOrgEventsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrgEventsParams) SetBegin ¶ added in v1.0.49
func (o *GetOrgEventsParams) SetBegin(begin *uint64)
SetBegin adds the begin to the get org events params
func (*GetOrgEventsParams) SetContext ¶ added in v1.0.49
func (o *GetOrgEventsParams) SetContext(ctx context.Context)
SetContext adds the context to the get org events params
func (*GetOrgEventsParams) SetEnd ¶ added in v1.0.49
func (o *GetOrgEventsParams) SetEnd(end *uint64)
SetEnd adds the end to the get org events params
func (*GetOrgEventsParams) SetHTTPClient ¶ added in v1.0.49
func (o *GetOrgEventsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get org events params
func (*GetOrgEventsParams) SetOrganizationCanonical ¶ added in v1.0.49
func (o *GetOrgEventsParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get org events params
func (*GetOrgEventsParams) SetSeverity ¶ added in v1.0.49
func (o *GetOrgEventsParams) SetSeverity(severity []string)
SetSeverity adds the severity to the get org events params
func (*GetOrgEventsParams) SetTimeout ¶ added in v1.0.49
func (o *GetOrgEventsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get org events params
func (*GetOrgEventsParams) SetType ¶ added in v1.0.49
func (o *GetOrgEventsParams) SetType(typeVar []string)
SetType adds the type to the get org events params
func (*GetOrgEventsParams) WithBegin ¶ added in v1.0.49
func (o *GetOrgEventsParams) WithBegin(begin *uint64) *GetOrgEventsParams
WithBegin adds the begin to the get org events params
func (*GetOrgEventsParams) WithContext ¶ added in v1.0.49
func (o *GetOrgEventsParams) WithContext(ctx context.Context) *GetOrgEventsParams
WithContext adds the context to the get org events params
func (*GetOrgEventsParams) WithEnd ¶ added in v1.0.49
func (o *GetOrgEventsParams) WithEnd(end *uint64) *GetOrgEventsParams
WithEnd adds the end to the get org events params
func (*GetOrgEventsParams) WithHTTPClient ¶ added in v1.0.49
func (o *GetOrgEventsParams) WithHTTPClient(client *http.Client) *GetOrgEventsParams
WithHTTPClient adds the HTTPClient to the get org events params
func (*GetOrgEventsParams) WithOrganizationCanonical ¶ added in v1.0.49
func (o *GetOrgEventsParams) WithOrganizationCanonical(organizationCanonical string) *GetOrgEventsParams
WithOrganizationCanonical adds the organizationCanonical to the get org events params
func (*GetOrgEventsParams) WithSeverity ¶ added in v1.0.49
func (o *GetOrgEventsParams) WithSeverity(severity []string) *GetOrgEventsParams
WithSeverity adds the severity to the get org events params
func (*GetOrgEventsParams) WithTimeout ¶ added in v1.0.49
func (o *GetOrgEventsParams) WithTimeout(timeout time.Duration) *GetOrgEventsParams
WithTimeout adds the timeout to the get org events params
func (*GetOrgEventsParams) WithType ¶ added in v1.0.49
func (o *GetOrgEventsParams) WithType(typeVar []string) *GetOrgEventsParams
WithType adds the typeVar to the get org events params
func (*GetOrgEventsParams) WriteToRequest ¶ added in v1.0.49
func (o *GetOrgEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrgEventsReader ¶ added in v1.0.49
type GetOrgEventsReader struct {
// contains filtered or unexported fields
}
GetOrgEventsReader is a Reader for the GetOrgEvents structure.
func (*GetOrgEventsReader) ReadResponse ¶ added in v1.0.49
func (o *GetOrgEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgEventsTagsDefault ¶ added in v1.0.49
type GetOrgEventsTagsDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
GetOrgEventsTagsDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetOrgEventsTagsDefault ¶ added in v1.0.49
func NewGetOrgEventsTagsDefault(code int) *GetOrgEventsTagsDefault
NewGetOrgEventsTagsDefault creates a GetOrgEventsTagsDefault with default headers values
func (*GetOrgEventsTagsDefault) Code ¶ added in v1.0.49
func (o *GetOrgEventsTagsDefault) Code() int
Code gets the status code for the get org events tags default response
func (*GetOrgEventsTagsDefault) Error ¶ added in v1.0.49
func (o *GetOrgEventsTagsDefault) Error() string
func (*GetOrgEventsTagsDefault) GetPayload ¶ added in v1.0.49
func (o *GetOrgEventsTagsDefault) GetPayload() *models.ErrorPayload
type GetOrgEventsTagsForbidden ¶ added in v1.0.49
type GetOrgEventsTagsForbidden struct {
Payload *models.ErrorPayload
}
GetOrgEventsTagsForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetOrgEventsTagsForbidden ¶ added in v1.0.49
func NewGetOrgEventsTagsForbidden() *GetOrgEventsTagsForbidden
NewGetOrgEventsTagsForbidden creates a GetOrgEventsTagsForbidden with default headers values
func (*GetOrgEventsTagsForbidden) Error ¶ added in v1.0.49
func (o *GetOrgEventsTagsForbidden) Error() string
func (*GetOrgEventsTagsForbidden) GetPayload ¶ added in v1.0.49
func (o *GetOrgEventsTagsForbidden) GetPayload() *models.ErrorPayload
type GetOrgEventsTagsOK ¶ added in v1.0.49
type GetOrgEventsTagsOK struct {
Payload *GetOrgEventsTagsOKBody
}
GetOrgEventsTagsOK handles this case with default header values.
The list of tags and set of values for all the events of the organization.
format: int64
func NewGetOrgEventsTagsOK ¶ added in v1.0.49
func NewGetOrgEventsTagsOK() *GetOrgEventsTagsOK
NewGetOrgEventsTagsOK creates a GetOrgEventsTagsOK with default headers values
func (*GetOrgEventsTagsOK) Error ¶ added in v1.0.49
func (o *GetOrgEventsTagsOK) Error() string
func (*GetOrgEventsTagsOK) GetPayload ¶ added in v1.0.49
func (o *GetOrgEventsTagsOK) GetPayload() *GetOrgEventsTagsOKBody
type GetOrgEventsTagsOKBody ¶ added in v1.0.49
type GetOrgEventsTagsOKBody struct {
// data
// Required: true
Data interface{} `json:"data"`
}
GetOrgEventsTagsOKBody The list of tags with associated set of values swagger:model GetOrgEventsTagsOKBody
func (*GetOrgEventsTagsOKBody) MarshalBinary ¶ added in v1.0.49
func (o *GetOrgEventsTagsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgEventsTagsOKBody) UnmarshalBinary ¶ added in v1.0.49
func (o *GetOrgEventsTagsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgEventsTagsParams ¶ added in v1.0.49
type GetOrgEventsTagsParams struct {
/*OrganizationCanonical
A canonical of an organization.
*/
OrganizationCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetOrgEventsTagsParams contains all the parameters to send to the API endpoint for the get org events tags operation typically these are written to a http.Request
func NewGetOrgEventsTagsParams ¶ added in v1.0.49
func NewGetOrgEventsTagsParams() *GetOrgEventsTagsParams
NewGetOrgEventsTagsParams creates a new GetOrgEventsTagsParams object with the default values initialized.
func NewGetOrgEventsTagsParamsWithContext ¶ added in v1.0.49
func NewGetOrgEventsTagsParamsWithContext(ctx context.Context) *GetOrgEventsTagsParams
NewGetOrgEventsTagsParamsWithContext creates a new GetOrgEventsTagsParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrgEventsTagsParamsWithHTTPClient ¶ added in v1.0.49
func NewGetOrgEventsTagsParamsWithHTTPClient(client *http.Client) *GetOrgEventsTagsParams
NewGetOrgEventsTagsParamsWithHTTPClient creates a new GetOrgEventsTagsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrgEventsTagsParamsWithTimeout ¶ added in v1.0.49
func NewGetOrgEventsTagsParamsWithTimeout(timeout time.Duration) *GetOrgEventsTagsParams
NewGetOrgEventsTagsParamsWithTimeout creates a new GetOrgEventsTagsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrgEventsTagsParams) SetContext ¶ added in v1.0.49
func (o *GetOrgEventsTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the get org events tags params
func (*GetOrgEventsTagsParams) SetHTTPClient ¶ added in v1.0.49
func (o *GetOrgEventsTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get org events tags params
func (*GetOrgEventsTagsParams) SetOrganizationCanonical ¶ added in v1.0.49
func (o *GetOrgEventsTagsParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get org events tags params
func (*GetOrgEventsTagsParams) SetTimeout ¶ added in v1.0.49
func (o *GetOrgEventsTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get org events tags params
func (*GetOrgEventsTagsParams) WithContext ¶ added in v1.0.49
func (o *GetOrgEventsTagsParams) WithContext(ctx context.Context) *GetOrgEventsTagsParams
WithContext adds the context to the get org events tags params
func (*GetOrgEventsTagsParams) WithHTTPClient ¶ added in v1.0.49
func (o *GetOrgEventsTagsParams) WithHTTPClient(client *http.Client) *GetOrgEventsTagsParams
WithHTTPClient adds the HTTPClient to the get org events tags params
func (*GetOrgEventsTagsParams) WithOrganizationCanonical ¶ added in v1.0.49
func (o *GetOrgEventsTagsParams) WithOrganizationCanonical(organizationCanonical string) *GetOrgEventsTagsParams
WithOrganizationCanonical adds the organizationCanonical to the get org events tags params
func (*GetOrgEventsTagsParams) WithTimeout ¶ added in v1.0.49
func (o *GetOrgEventsTagsParams) WithTimeout(timeout time.Duration) *GetOrgEventsTagsParams
WithTimeout adds the timeout to the get org events tags params
func (*GetOrgEventsTagsParams) WriteToRequest ¶ added in v1.0.49
func (o *GetOrgEventsTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrgEventsTagsReader ¶ added in v1.0.49
type GetOrgEventsTagsReader struct {
// contains filtered or unexported fields
}
GetOrgEventsTagsReader is a Reader for the GetOrgEventsTags structure.
func (*GetOrgEventsTagsReader) ReadResponse ¶ added in v1.0.49
func (o *GetOrgEventsTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgEventsTagsUnprocessableEntity ¶ added in v1.0.49
type GetOrgEventsTagsUnprocessableEntity struct {
Payload *models.ErrorPayload
}
GetOrgEventsTagsUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewGetOrgEventsTagsUnprocessableEntity ¶ added in v1.0.49
func NewGetOrgEventsTagsUnprocessableEntity() *GetOrgEventsTagsUnprocessableEntity
NewGetOrgEventsTagsUnprocessableEntity creates a GetOrgEventsTagsUnprocessableEntity with default headers values
func (*GetOrgEventsTagsUnprocessableEntity) Error ¶ added in v1.0.49
func (o *GetOrgEventsTagsUnprocessableEntity) Error() string
func (*GetOrgEventsTagsUnprocessableEntity) GetPayload ¶ added in v1.0.49
func (o *GetOrgEventsTagsUnprocessableEntity) GetPayload() *models.ErrorPayload
type GetOrgEventsUnprocessableEntity ¶ added in v1.0.49
type GetOrgEventsUnprocessableEntity struct {
Payload *models.ErrorPayload
}
GetOrgEventsUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewGetOrgEventsUnprocessableEntity ¶ added in v1.0.49
func NewGetOrgEventsUnprocessableEntity() *GetOrgEventsUnprocessableEntity
NewGetOrgEventsUnprocessableEntity creates a GetOrgEventsUnprocessableEntity with default headers values
func (*GetOrgEventsUnprocessableEntity) Error ¶ added in v1.0.49
func (o *GetOrgEventsUnprocessableEntity) Error() string
func (*GetOrgEventsUnprocessableEntity) GetPayload ¶ added in v1.0.49
func (o *GetOrgEventsUnprocessableEntity) GetPayload() *models.ErrorPayload
type GetOrgForbidden ¶
type GetOrgForbidden struct {
Payload *models.ErrorPayload
}
GetOrgForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetOrgForbidden ¶
func NewGetOrgForbidden() *GetOrgForbidden
NewGetOrgForbidden creates a GetOrgForbidden with default headers values
func (*GetOrgForbidden) Error ¶
func (o *GetOrgForbidden) Error() string
func (*GetOrgForbidden) GetPayload ¶
func (o *GetOrgForbidden) GetPayload() *models.ErrorPayload
type GetOrgNotFound ¶
type GetOrgNotFound struct {
Payload *models.ErrorPayload
}
GetOrgNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewGetOrgNotFound ¶
func NewGetOrgNotFound() *GetOrgNotFound
NewGetOrgNotFound creates a GetOrgNotFound with default headers values
func (*GetOrgNotFound) Error ¶
func (o *GetOrgNotFound) Error() string
func (*GetOrgNotFound) GetPayload ¶
func (o *GetOrgNotFound) GetPayload() *models.ErrorPayload
type GetOrgOK ¶
type GetOrgOK struct {
Payload *GetOrgOKBody
}
GetOrgOK handles this case with default header values.
The information of the organization which has the specified ID.
func NewGetOrgOK ¶
func NewGetOrgOK() *GetOrgOK
NewGetOrgOK creates a GetOrgOK with default headers values
func (*GetOrgOK) GetPayload ¶
func (o *GetOrgOK) GetPayload() *GetOrgOKBody
type GetOrgOKBody ¶
type GetOrgOKBody struct {
// data
// Required: true
Data *models.Organization `json:"data"`
}
GetOrgOKBody get org o k body swagger:model GetOrgOKBody
func (*GetOrgOKBody) MarshalBinary ¶
func (o *GetOrgOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgOKBody) UnmarshalBinary ¶
func (o *GetOrgOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgParams ¶
type GetOrgParams struct {
/*OrganizationCanonical
A canonical of an organization.
*/
OrganizationCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetOrgParams contains all the parameters to send to the API endpoint for the get org operation typically these are written to a http.Request
func NewGetOrgParams ¶
func NewGetOrgParams() *GetOrgParams
NewGetOrgParams creates a new GetOrgParams object with the default values initialized.
func NewGetOrgParamsWithContext ¶
func NewGetOrgParamsWithContext(ctx context.Context) *GetOrgParams
NewGetOrgParamsWithContext creates a new GetOrgParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrgParamsWithHTTPClient ¶
func NewGetOrgParamsWithHTTPClient(client *http.Client) *GetOrgParams
NewGetOrgParamsWithHTTPClient creates a new GetOrgParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrgParamsWithTimeout ¶
func NewGetOrgParamsWithTimeout(timeout time.Duration) *GetOrgParams
NewGetOrgParamsWithTimeout creates a new GetOrgParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrgParams) SetContext ¶
func (o *GetOrgParams) SetContext(ctx context.Context)
SetContext adds the context to the get org params
func (*GetOrgParams) SetHTTPClient ¶
func (o *GetOrgParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get org params
func (*GetOrgParams) SetOrganizationCanonical ¶
func (o *GetOrgParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get org params
func (*GetOrgParams) SetTimeout ¶
func (o *GetOrgParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get org params
func (*GetOrgParams) WithContext ¶
func (o *GetOrgParams) WithContext(ctx context.Context) *GetOrgParams
WithContext adds the context to the get org params
func (*GetOrgParams) WithHTTPClient ¶
func (o *GetOrgParams) WithHTTPClient(client *http.Client) *GetOrgParams
WithHTTPClient adds the HTTPClient to the get org params
func (*GetOrgParams) WithOrganizationCanonical ¶
func (o *GetOrgParams) WithOrganizationCanonical(organizationCanonical string) *GetOrgParams
WithOrganizationCanonical adds the organizationCanonical to the get org params
func (*GetOrgParams) WithTimeout ¶
func (o *GetOrgParams) WithTimeout(timeout time.Duration) *GetOrgParams
WithTimeout adds the timeout to the get org params
func (*GetOrgParams) WriteToRequest ¶
func (o *GetOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrgReader ¶
type GetOrgReader struct {
// contains filtered or unexported fields
}
GetOrgReader is a Reader for the GetOrg structure.
func (*GetOrgReader) ReadResponse ¶
func (o *GetOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgSummaryForbidden ¶ added in v1.0.49
type GetOrgSummaryForbidden struct {
Payload *models.ErrorPayload
}
GetOrgSummaryForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetOrgSummaryForbidden ¶ added in v1.0.49
func NewGetOrgSummaryForbidden() *GetOrgSummaryForbidden
NewGetOrgSummaryForbidden creates a GetOrgSummaryForbidden with default headers values
func (*GetOrgSummaryForbidden) Error ¶ added in v1.0.49
func (o *GetOrgSummaryForbidden) Error() string
func (*GetOrgSummaryForbidden) GetPayload ¶ added in v1.0.49
func (o *GetOrgSummaryForbidden) GetPayload() *models.ErrorPayload
type GetOrgSummaryNotFound ¶ added in v1.0.49
type GetOrgSummaryNotFound struct {
Payload *models.ErrorPayload
}
GetOrgSummaryNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewGetOrgSummaryNotFound ¶ added in v1.0.49
func NewGetOrgSummaryNotFound() *GetOrgSummaryNotFound
NewGetOrgSummaryNotFound creates a GetOrgSummaryNotFound with default headers values
func (*GetOrgSummaryNotFound) Error ¶ added in v1.0.49
func (o *GetOrgSummaryNotFound) Error() string
func (*GetOrgSummaryNotFound) GetPayload ¶ added in v1.0.49
func (o *GetOrgSummaryNotFound) GetPayload() *models.ErrorPayload
type GetOrgSummaryOK ¶ added in v1.0.49
type GetOrgSummaryOK struct {
Payload *GetOrgSummaryOKBody
}
GetOrgSummaryOK handles this case with default header values.
The summary object
func NewGetOrgSummaryOK ¶ added in v1.0.49
func NewGetOrgSummaryOK() *GetOrgSummaryOK
NewGetOrgSummaryOK creates a GetOrgSummaryOK with default headers values
func (*GetOrgSummaryOK) Error ¶ added in v1.0.49
func (o *GetOrgSummaryOK) Error() string
func (*GetOrgSummaryOK) GetPayload ¶ added in v1.0.49
func (o *GetOrgSummaryOK) GetPayload() *GetOrgSummaryOKBody
type GetOrgSummaryOKBody ¶ added in v1.0.49
type GetOrgSummaryOKBody struct {
// summary
// Required: true
Summary *models.Summary `json:"summary"`
}
GetOrgSummaryOKBody get org summary o k body swagger:model GetOrgSummaryOKBody
func (*GetOrgSummaryOKBody) MarshalBinary ¶ added in v1.0.49
func (o *GetOrgSummaryOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgSummaryOKBody) UnmarshalBinary ¶ added in v1.0.49
func (o *GetOrgSummaryOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgSummaryParams ¶ added in v1.0.49
type GetOrgSummaryParams struct {
/*OrganizationCanonical
A canonical of an organization.
*/
OrganizationCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetOrgSummaryParams contains all the parameters to send to the API endpoint for the get org summary operation typically these are written to a http.Request
func NewGetOrgSummaryParams ¶ added in v1.0.49
func NewGetOrgSummaryParams() *GetOrgSummaryParams
NewGetOrgSummaryParams creates a new GetOrgSummaryParams object with the default values initialized.
func NewGetOrgSummaryParamsWithContext ¶ added in v1.0.49
func NewGetOrgSummaryParamsWithContext(ctx context.Context) *GetOrgSummaryParams
NewGetOrgSummaryParamsWithContext creates a new GetOrgSummaryParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrgSummaryParamsWithHTTPClient ¶ added in v1.0.49
func NewGetOrgSummaryParamsWithHTTPClient(client *http.Client) *GetOrgSummaryParams
NewGetOrgSummaryParamsWithHTTPClient creates a new GetOrgSummaryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrgSummaryParamsWithTimeout ¶ added in v1.0.49
func NewGetOrgSummaryParamsWithTimeout(timeout time.Duration) *GetOrgSummaryParams
NewGetOrgSummaryParamsWithTimeout creates a new GetOrgSummaryParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrgSummaryParams) SetContext ¶ added in v1.0.49
func (o *GetOrgSummaryParams) SetContext(ctx context.Context)
SetContext adds the context to the get org summary params
func (*GetOrgSummaryParams) SetHTTPClient ¶ added in v1.0.49
func (o *GetOrgSummaryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get org summary params
func (*GetOrgSummaryParams) SetOrganizationCanonical ¶ added in v1.0.49
func (o *GetOrgSummaryParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get org summary params
func (*GetOrgSummaryParams) SetTimeout ¶ added in v1.0.49
func (o *GetOrgSummaryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get org summary params
func (*GetOrgSummaryParams) WithContext ¶ added in v1.0.49
func (o *GetOrgSummaryParams) WithContext(ctx context.Context) *GetOrgSummaryParams
WithContext adds the context to the get org summary params
func (*GetOrgSummaryParams) WithHTTPClient ¶ added in v1.0.49
func (o *GetOrgSummaryParams) WithHTTPClient(client *http.Client) *GetOrgSummaryParams
WithHTTPClient adds the HTTPClient to the get org summary params
func (*GetOrgSummaryParams) WithOrganizationCanonical ¶ added in v1.0.49
func (o *GetOrgSummaryParams) WithOrganizationCanonical(organizationCanonical string) *GetOrgSummaryParams
WithOrganizationCanonical adds the organizationCanonical to the get org summary params
func (*GetOrgSummaryParams) WithTimeout ¶ added in v1.0.49
func (o *GetOrgSummaryParams) WithTimeout(timeout time.Duration) *GetOrgSummaryParams
WithTimeout adds the timeout to the get org summary params
func (*GetOrgSummaryParams) WriteToRequest ¶ added in v1.0.49
func (o *GetOrgSummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrgSummaryReader ¶ added in v1.0.49
type GetOrgSummaryReader struct {
// contains filtered or unexported fields
}
GetOrgSummaryReader is a Reader for the GetOrgSummary structure.
func (*GetOrgSummaryReader) ReadResponse ¶ added in v1.0.49
func (o *GetOrgSummaryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgsDefault ¶
type GetOrgsDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
GetOrgsDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetOrgsDefault ¶
func NewGetOrgsDefault(code int) *GetOrgsDefault
NewGetOrgsDefault creates a GetOrgsDefault with default headers values
func (*GetOrgsDefault) Code ¶
func (o *GetOrgsDefault) Code() int
Code gets the status code for the get orgs default response
func (*GetOrgsDefault) Error ¶
func (o *GetOrgsDefault) Error() string
func (*GetOrgsDefault) GetPayload ¶
func (o *GetOrgsDefault) GetPayload() *models.ErrorPayload
type GetOrgsOK ¶
type GetOrgsOK struct {
Payload *GetOrgsOKBody
}
GetOrgsOK handles this case with default header values.
List of the organizations which authenticated user has access.
func NewGetOrgsOK ¶
func NewGetOrgsOK() *GetOrgsOK
NewGetOrgsOK creates a GetOrgsOK with default headers values
func (*GetOrgsOK) GetPayload ¶
func (o *GetOrgsOK) GetPayload() *GetOrgsOKBody
type GetOrgsOKBody ¶
type GetOrgsOKBody struct {
// data
// Required: true
Data []*models.Organization `json:"data"`
// pagination
// Required: true
Pagination *models.Pagination `json:"pagination"`
}
GetOrgsOKBody get orgs o k body swagger:model GetOrgsOKBody
func (*GetOrgsOKBody) MarshalBinary ¶
func (o *GetOrgsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgsOKBody) UnmarshalBinary ¶
func (o *GetOrgsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgsParams ¶
type GetOrgsParams struct {
/*OrderBy
Allows to order the list of items. Example usage: field_name:asc
*/
OrderBy *string
/*OrganizationCreatedAt
Search by organization's creation date
*/
OrganizationCreatedAt *uint64
/*OrganizationName
Search by the organization's name
*/
OrganizationName *string
/*PageIndex
The page number to request. The first page is 1.
*/
PageIndex *uint32
/*PageSize
The number of items at most which the response can have.
*/
PageSize *uint32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetOrgsParams contains all the parameters to send to the API endpoint for the get orgs operation typically these are written to a http.Request
func NewGetOrgsParams ¶
func NewGetOrgsParams() *GetOrgsParams
NewGetOrgsParams creates a new GetOrgsParams object with the default values initialized.
func NewGetOrgsParamsWithContext ¶
func NewGetOrgsParamsWithContext(ctx context.Context) *GetOrgsParams
NewGetOrgsParamsWithContext creates a new GetOrgsParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrgsParamsWithHTTPClient ¶
func NewGetOrgsParamsWithHTTPClient(client *http.Client) *GetOrgsParams
NewGetOrgsParamsWithHTTPClient creates a new GetOrgsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrgsParamsWithTimeout ¶
func NewGetOrgsParamsWithTimeout(timeout time.Duration) *GetOrgsParams
NewGetOrgsParamsWithTimeout creates a new GetOrgsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrgsParams) SetContext ¶
func (o *GetOrgsParams) SetContext(ctx context.Context)
SetContext adds the context to the get orgs params
func (*GetOrgsParams) SetHTTPClient ¶
func (o *GetOrgsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get orgs params
func (*GetOrgsParams) SetOrderBy ¶
func (o *GetOrgsParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the get orgs params
func (*GetOrgsParams) SetOrganizationCreatedAt ¶
func (o *GetOrgsParams) SetOrganizationCreatedAt(organizationCreatedAt *uint64)
SetOrganizationCreatedAt adds the organizationCreatedAt to the get orgs params
func (*GetOrgsParams) SetOrganizationName ¶
func (o *GetOrgsParams) SetOrganizationName(organizationName *string)
SetOrganizationName adds the organizationName to the get orgs params
func (*GetOrgsParams) SetPageIndex ¶
func (o *GetOrgsParams) SetPageIndex(pageIndex *uint32)
SetPageIndex adds the pageIndex to the get orgs params
func (*GetOrgsParams) SetPageSize ¶
func (o *GetOrgsParams) SetPageSize(pageSize *uint32)
SetPageSize adds the pageSize to the get orgs params
func (*GetOrgsParams) SetTimeout ¶
func (o *GetOrgsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get orgs params
func (*GetOrgsParams) WithContext ¶
func (o *GetOrgsParams) WithContext(ctx context.Context) *GetOrgsParams
WithContext adds the context to the get orgs params
func (*GetOrgsParams) WithHTTPClient ¶
func (o *GetOrgsParams) WithHTTPClient(client *http.Client) *GetOrgsParams
WithHTTPClient adds the HTTPClient to the get orgs params
func (*GetOrgsParams) WithOrderBy ¶
func (o *GetOrgsParams) WithOrderBy(orderBy *string) *GetOrgsParams
WithOrderBy adds the orderBy to the get orgs params
func (*GetOrgsParams) WithOrganizationCreatedAt ¶
func (o *GetOrgsParams) WithOrganizationCreatedAt(organizationCreatedAt *uint64) *GetOrgsParams
WithOrganizationCreatedAt adds the organizationCreatedAt to the get orgs params
func (*GetOrgsParams) WithOrganizationName ¶
func (o *GetOrgsParams) WithOrganizationName(organizationName *string) *GetOrgsParams
WithOrganizationName adds the organizationName to the get orgs params
func (*GetOrgsParams) WithPageIndex ¶
func (o *GetOrgsParams) WithPageIndex(pageIndex *uint32) *GetOrgsParams
WithPageIndex adds the pageIndex to the get orgs params
func (*GetOrgsParams) WithPageSize ¶
func (o *GetOrgsParams) WithPageSize(pageSize *uint32) *GetOrgsParams
WithPageSize adds the pageSize to the get orgs params
func (*GetOrgsParams) WithTimeout ¶
func (o *GetOrgsParams) WithTimeout(timeout time.Duration) *GetOrgsParams
WithTimeout adds the timeout to the get orgs params
func (*GetOrgsParams) WriteToRequest ¶
func (o *GetOrgsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrgsReader ¶
type GetOrgsReader struct {
// contains filtered or unexported fields
}
GetOrgsReader is a Reader for the GetOrgs structure.
func (*GetOrgsReader) ReadResponse ¶
func (o *GetOrgsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgsUnprocessableEntity ¶
type GetOrgsUnprocessableEntity struct {
Payload *models.ErrorPayload
}
GetOrgsUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewGetOrgsUnprocessableEntity ¶
func NewGetOrgsUnprocessableEntity() *GetOrgsUnprocessableEntity
NewGetOrgsUnprocessableEntity creates a GetOrgsUnprocessableEntity with default headers values
func (*GetOrgsUnprocessableEntity) Error ¶
func (o *GetOrgsUnprocessableEntity) Error() string
func (*GetOrgsUnprocessableEntity) GetPayload ¶
func (o *GetOrgsUnprocessableEntity) GetPayload() *models.ErrorPayload
type GetRepoBranchesDefault ¶
type GetRepoBranchesDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
GetRepoBranchesDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetRepoBranchesDefault ¶
func NewGetRepoBranchesDefault(code int) *GetRepoBranchesDefault
NewGetRepoBranchesDefault creates a GetRepoBranchesDefault with default headers values
func (*GetRepoBranchesDefault) Code ¶
func (o *GetRepoBranchesDefault) Code() int
Code gets the status code for the get repo branches default response
func (*GetRepoBranchesDefault) Error ¶
func (o *GetRepoBranchesDefault) Error() string
func (*GetRepoBranchesDefault) GetPayload ¶
func (o *GetRepoBranchesDefault) GetPayload() *models.ErrorPayload
type GetRepoBranchesForbidden ¶
type GetRepoBranchesForbidden struct {
Payload *models.ErrorPayload
}
GetRepoBranchesForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetRepoBranchesForbidden ¶
func NewGetRepoBranchesForbidden() *GetRepoBranchesForbidden
NewGetRepoBranchesForbidden creates a GetRepoBranchesForbidden with default headers values
func (*GetRepoBranchesForbidden) Error ¶
func (o *GetRepoBranchesForbidden) Error() string
func (*GetRepoBranchesForbidden) GetPayload ¶
func (o *GetRepoBranchesForbidden) GetPayload() *models.ErrorPayload
type GetRepoBranchesNotFound ¶
type GetRepoBranchesNotFound struct {
Payload *models.ErrorPayload
}
GetRepoBranchesNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewGetRepoBranchesNotFound ¶
func NewGetRepoBranchesNotFound() *GetRepoBranchesNotFound
NewGetRepoBranchesNotFound creates a GetRepoBranchesNotFound with default headers values
func (*GetRepoBranchesNotFound) Error ¶
func (o *GetRepoBranchesNotFound) Error() string
func (*GetRepoBranchesNotFound) GetPayload ¶
func (o *GetRepoBranchesNotFound) GetPayload() *models.ErrorPayload
type GetRepoBranchesOK ¶
type GetRepoBranchesOK struct {
Payload *GetRepoBranchesOKBody
}
GetRepoBranchesOK handles this case with default header values.
List of the repository branches
func NewGetRepoBranchesOK ¶
func NewGetRepoBranchesOK() *GetRepoBranchesOK
NewGetRepoBranchesOK creates a GetRepoBranchesOK with default headers values
func (*GetRepoBranchesOK) Error ¶
func (o *GetRepoBranchesOK) Error() string
func (*GetRepoBranchesOK) GetPayload ¶
func (o *GetRepoBranchesOK) GetPayload() *GetRepoBranchesOKBody
type GetRepoBranchesOKBody ¶
type GetRepoBranchesOKBody struct {
// data
// Required: true
Data []string `json:"data"`
}
GetRepoBranchesOKBody get repo branches o k body swagger:model GetRepoBranchesOKBody
func (*GetRepoBranchesOKBody) MarshalBinary ¶
func (o *GetRepoBranchesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetRepoBranchesOKBody) UnmarshalBinary ¶
func (o *GetRepoBranchesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetRepoBranchesParams ¶
type GetRepoBranchesParams struct {
/*CredentialID
A Credential id
*/
CredentialID *uint32
/*GitURL
Git URL to repository
*/
GitURL string
/*OrganizationCanonical
A canonical of an organization.
*/
OrganizationCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetRepoBranchesParams contains all the parameters to send to the API endpoint for the get repo branches operation typically these are written to a http.Request
func NewGetRepoBranchesParams ¶
func NewGetRepoBranchesParams() *GetRepoBranchesParams
NewGetRepoBranchesParams creates a new GetRepoBranchesParams object with the default values initialized.
func NewGetRepoBranchesParamsWithContext ¶
func NewGetRepoBranchesParamsWithContext(ctx context.Context) *GetRepoBranchesParams
NewGetRepoBranchesParamsWithContext creates a new GetRepoBranchesParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepoBranchesParamsWithHTTPClient ¶
func NewGetRepoBranchesParamsWithHTTPClient(client *http.Client) *GetRepoBranchesParams
NewGetRepoBranchesParamsWithHTTPClient creates a new GetRepoBranchesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepoBranchesParamsWithTimeout ¶
func NewGetRepoBranchesParamsWithTimeout(timeout time.Duration) *GetRepoBranchesParams
NewGetRepoBranchesParamsWithTimeout creates a new GetRepoBranchesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepoBranchesParams) SetContext ¶
func (o *GetRepoBranchesParams) SetContext(ctx context.Context)
SetContext adds the context to the get repo branches params
func (*GetRepoBranchesParams) SetCredentialID ¶ added in v1.0.49
func (o *GetRepoBranchesParams) SetCredentialID(credentialID *uint32)
SetCredentialID adds the credentialId to the get repo branches params
func (*GetRepoBranchesParams) SetGitURL ¶
func (o *GetRepoBranchesParams) SetGitURL(gitURL string)
SetGitURL adds the gitUrl to the get repo branches params
func (*GetRepoBranchesParams) SetHTTPClient ¶
func (o *GetRepoBranchesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repo branches params
func (*GetRepoBranchesParams) SetOrganizationCanonical ¶
func (o *GetRepoBranchesParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get repo branches params
func (*GetRepoBranchesParams) SetTimeout ¶
func (o *GetRepoBranchesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repo branches params
func (*GetRepoBranchesParams) WithContext ¶
func (o *GetRepoBranchesParams) WithContext(ctx context.Context) *GetRepoBranchesParams
WithContext adds the context to the get repo branches params
func (*GetRepoBranchesParams) WithCredentialID ¶ added in v1.0.49
func (o *GetRepoBranchesParams) WithCredentialID(credentialID *uint32) *GetRepoBranchesParams
WithCredentialID adds the credentialID to the get repo branches params
func (*GetRepoBranchesParams) WithGitURL ¶
func (o *GetRepoBranchesParams) WithGitURL(gitURL string) *GetRepoBranchesParams
WithGitURL adds the gitURL to the get repo branches params
func (*GetRepoBranchesParams) WithHTTPClient ¶
func (o *GetRepoBranchesParams) WithHTTPClient(client *http.Client) *GetRepoBranchesParams
WithHTTPClient adds the HTTPClient to the get repo branches params
func (*GetRepoBranchesParams) WithOrganizationCanonical ¶
func (o *GetRepoBranchesParams) WithOrganizationCanonical(organizationCanonical string) *GetRepoBranchesParams
WithOrganizationCanonical adds the organizationCanonical to the get repo branches params
func (*GetRepoBranchesParams) WithTimeout ¶
func (o *GetRepoBranchesParams) WithTimeout(timeout time.Duration) *GetRepoBranchesParams
WithTimeout adds the timeout to the get repo branches params
func (*GetRepoBranchesParams) WriteToRequest ¶
func (o *GetRepoBranchesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepoBranchesReader ¶
type GetRepoBranchesReader struct {
// contains filtered or unexported fields
}
GetRepoBranchesReader is a Reader for the GetRepoBranches structure.
func (*GetRepoBranchesReader) ReadResponse ¶
func (o *GetRepoBranchesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepoBranchesUnprocessableEntity ¶
type GetRepoBranchesUnprocessableEntity struct {
Payload *models.ErrorPayload
}
GetRepoBranchesUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewGetRepoBranchesUnprocessableEntity ¶
func NewGetRepoBranchesUnprocessableEntity() *GetRepoBranchesUnprocessableEntity
NewGetRepoBranchesUnprocessableEntity creates a GetRepoBranchesUnprocessableEntity with default headers values
func (*GetRepoBranchesUnprocessableEntity) Error ¶
func (o *GetRepoBranchesUnprocessableEntity) Error() string
func (*GetRepoBranchesUnprocessableEntity) GetPayload ¶
func (o *GetRepoBranchesUnprocessableEntity) GetPayload() *models.ErrorPayload
type SendOrgEventForbidden ¶ added in v1.0.49
type SendOrgEventForbidden struct {
Payload *models.ErrorPayload
}
SendOrgEventForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewSendOrgEventForbidden ¶ added in v1.0.49
func NewSendOrgEventForbidden() *SendOrgEventForbidden
NewSendOrgEventForbidden creates a SendOrgEventForbidden with default headers values
func (*SendOrgEventForbidden) Error ¶ added in v1.0.49
func (o *SendOrgEventForbidden) Error() string
func (*SendOrgEventForbidden) GetPayload ¶ added in v1.0.49
func (o *SendOrgEventForbidden) GetPayload() *models.ErrorPayload
type SendOrgEventNotFound ¶ added in v1.0.49
type SendOrgEventNotFound struct {
Payload *models.ErrorPayload
}
SendOrgEventNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewSendOrgEventNotFound ¶ added in v1.0.49
func NewSendOrgEventNotFound() *SendOrgEventNotFound
NewSendOrgEventNotFound creates a SendOrgEventNotFound with default headers values
func (*SendOrgEventNotFound) Error ¶ added in v1.0.49
func (o *SendOrgEventNotFound) Error() string
func (*SendOrgEventNotFound) GetPayload ¶ added in v1.0.49
func (o *SendOrgEventNotFound) GetPayload() *models.ErrorPayload
type SendOrgEventOK ¶ added in v1.0.49
type SendOrgEventOK struct {
Payload *SendOrgEventOKBody
}
SendOrgEventOK handles this case with default header values.
Event has been registered
func NewSendOrgEventOK ¶ added in v1.0.49
func NewSendOrgEventOK() *SendOrgEventOK
NewSendOrgEventOK creates a SendOrgEventOK with default headers values
func (*SendOrgEventOK) Error ¶ added in v1.0.49
func (o *SendOrgEventOK) Error() string
func (*SendOrgEventOK) GetPayload ¶ added in v1.0.49
func (o *SendOrgEventOK) GetPayload() *SendOrgEventOKBody
type SendOrgEventOKBody ¶ added in v1.0.49
SendOrgEventOKBody The newly created event swagger:model SendOrgEventOKBody
func (*SendOrgEventOKBody) MarshalBinary ¶ added in v1.0.49
func (o *SendOrgEventOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SendOrgEventOKBody) UnmarshalBinary ¶ added in v1.0.49
func (o *SendOrgEventOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SendOrgEventParams ¶ added in v1.0.49
type SendOrgEventParams struct {
/*Body
The information associated with the event to register.
*/
Body *models.NewEvent
/*OrganizationCanonical
A canonical of an organization.
*/
OrganizationCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
SendOrgEventParams contains all the parameters to send to the API endpoint for the send org event operation typically these are written to a http.Request
func NewSendOrgEventParams ¶ added in v1.0.49
func NewSendOrgEventParams() *SendOrgEventParams
NewSendOrgEventParams creates a new SendOrgEventParams object with the default values initialized.
func NewSendOrgEventParamsWithContext ¶ added in v1.0.49
func NewSendOrgEventParamsWithContext(ctx context.Context) *SendOrgEventParams
NewSendOrgEventParamsWithContext creates a new SendOrgEventParams object with the default values initialized, and the ability to set a context for a request
func NewSendOrgEventParamsWithHTTPClient ¶ added in v1.0.49
func NewSendOrgEventParamsWithHTTPClient(client *http.Client) *SendOrgEventParams
NewSendOrgEventParamsWithHTTPClient creates a new SendOrgEventParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSendOrgEventParamsWithTimeout ¶ added in v1.0.49
func NewSendOrgEventParamsWithTimeout(timeout time.Duration) *SendOrgEventParams
NewSendOrgEventParamsWithTimeout creates a new SendOrgEventParams object with the default values initialized, and the ability to set a timeout on a request
func (*SendOrgEventParams) SetBody ¶ added in v1.0.49
func (o *SendOrgEventParams) SetBody(body *models.NewEvent)
SetBody adds the body to the send org event params
func (*SendOrgEventParams) SetContext ¶ added in v1.0.49
func (o *SendOrgEventParams) SetContext(ctx context.Context)
SetContext adds the context to the send org event params
func (*SendOrgEventParams) SetHTTPClient ¶ added in v1.0.49
func (o *SendOrgEventParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the send org event params
func (*SendOrgEventParams) SetOrganizationCanonical ¶ added in v1.0.49
func (o *SendOrgEventParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the send org event params
func (*SendOrgEventParams) SetTimeout ¶ added in v1.0.49
func (o *SendOrgEventParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the send org event params
func (*SendOrgEventParams) WithBody ¶ added in v1.0.49
func (o *SendOrgEventParams) WithBody(body *models.NewEvent) *SendOrgEventParams
WithBody adds the body to the send org event params
func (*SendOrgEventParams) WithContext ¶ added in v1.0.49
func (o *SendOrgEventParams) WithContext(ctx context.Context) *SendOrgEventParams
WithContext adds the context to the send org event params
func (*SendOrgEventParams) WithHTTPClient ¶ added in v1.0.49
func (o *SendOrgEventParams) WithHTTPClient(client *http.Client) *SendOrgEventParams
WithHTTPClient adds the HTTPClient to the send org event params
func (*SendOrgEventParams) WithOrganizationCanonical ¶ added in v1.0.49
func (o *SendOrgEventParams) WithOrganizationCanonical(organizationCanonical string) *SendOrgEventParams
WithOrganizationCanonical adds the organizationCanonical to the send org event params
func (*SendOrgEventParams) WithTimeout ¶ added in v1.0.49
func (o *SendOrgEventParams) WithTimeout(timeout time.Duration) *SendOrgEventParams
WithTimeout adds the timeout to the send org event params
func (*SendOrgEventParams) WriteToRequest ¶ added in v1.0.49
func (o *SendOrgEventParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SendOrgEventReader ¶ added in v1.0.49
type SendOrgEventReader struct {
// contains filtered or unexported fields
}
SendOrgEventReader is a Reader for the SendOrgEvent structure.
func (*SendOrgEventReader) ReadResponse ¶ added in v1.0.49
func (o *SendOrgEventReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SendOrgEventUnprocessableEntity ¶ added in v1.0.49
type SendOrgEventUnprocessableEntity struct {
Payload *models.ErrorPayload
}
SendOrgEventUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewSendOrgEventUnprocessableEntity ¶ added in v1.0.49
func NewSendOrgEventUnprocessableEntity() *SendOrgEventUnprocessableEntity
NewSendOrgEventUnprocessableEntity creates a SendOrgEventUnprocessableEntity with default headers values
func (*SendOrgEventUnprocessableEntity) Error ¶ added in v1.0.49
func (o *SendOrgEventUnprocessableEntity) Error() string
func (*SendOrgEventUnprocessableEntity) GetPayload ¶ added in v1.0.49
func (o *SendOrgEventUnprocessableEntity) GetPayload() *models.ErrorPayload
type UpdateOrgDefault ¶
type UpdateOrgDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
UpdateOrgDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewUpdateOrgDefault ¶
func NewUpdateOrgDefault(code int) *UpdateOrgDefault
NewUpdateOrgDefault creates a UpdateOrgDefault with default headers values
func (*UpdateOrgDefault) Code ¶
func (o *UpdateOrgDefault) Code() int
Code gets the status code for the update org default response
func (*UpdateOrgDefault) Error ¶
func (o *UpdateOrgDefault) Error() string
func (*UpdateOrgDefault) GetPayload ¶
func (o *UpdateOrgDefault) GetPayload() *models.ErrorPayload
type UpdateOrgForbidden ¶
type UpdateOrgForbidden struct {
Payload *models.ErrorPayload
}
UpdateOrgForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewUpdateOrgForbidden ¶
func NewUpdateOrgForbidden() *UpdateOrgForbidden
NewUpdateOrgForbidden creates a UpdateOrgForbidden with default headers values
func (*UpdateOrgForbidden) Error ¶
func (o *UpdateOrgForbidden) Error() string
func (*UpdateOrgForbidden) GetPayload ¶
func (o *UpdateOrgForbidden) GetPayload() *models.ErrorPayload
type UpdateOrgLengthRequired ¶
type UpdateOrgLengthRequired struct {
}
UpdateOrgLengthRequired handles this case with default header values.
The request has a body but it doesn't have a Content-Length header.
func NewUpdateOrgLengthRequired ¶
func NewUpdateOrgLengthRequired() *UpdateOrgLengthRequired
NewUpdateOrgLengthRequired creates a UpdateOrgLengthRequired with default headers values
func (*UpdateOrgLengthRequired) Error ¶
func (o *UpdateOrgLengthRequired) Error() string
type UpdateOrgNotFound ¶
type UpdateOrgNotFound struct {
Payload *models.ErrorPayload
}
UpdateOrgNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewUpdateOrgNotFound ¶
func NewUpdateOrgNotFound() *UpdateOrgNotFound
NewUpdateOrgNotFound creates a UpdateOrgNotFound with default headers values
func (*UpdateOrgNotFound) Error ¶
func (o *UpdateOrgNotFound) Error() string
func (*UpdateOrgNotFound) GetPayload ¶
func (o *UpdateOrgNotFound) GetPayload() *models.ErrorPayload
type UpdateOrgOK ¶
type UpdateOrgOK struct {
Payload *UpdateOrgOKBody
}
UpdateOrgOK handles this case with default header values.
Organization updated. The body contains information of the updated organization.
func NewUpdateOrgOK ¶
func NewUpdateOrgOK() *UpdateOrgOK
NewUpdateOrgOK creates a UpdateOrgOK with default headers values
func (*UpdateOrgOK) Error ¶
func (o *UpdateOrgOK) Error() string
func (*UpdateOrgOK) GetPayload ¶
func (o *UpdateOrgOK) GetPayload() *UpdateOrgOKBody
type UpdateOrgOKBody ¶
type UpdateOrgOKBody struct {
// data
// Required: true
Data *models.Organization `json:"data"`
}
UpdateOrgOKBody update org o k body swagger:model UpdateOrgOKBody
func (*UpdateOrgOKBody) MarshalBinary ¶
func (o *UpdateOrgOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgOKBody) UnmarshalBinary ¶
func (o *UpdateOrgOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgParams ¶
type UpdateOrgParams struct {
/*Body
The information of the organization to update.
*/
Body *models.UpdateOrganization
/*OrganizationCanonical
A canonical of an organization.
*/
OrganizationCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateOrgParams contains all the parameters to send to the API endpoint for the update org operation typically these are written to a http.Request
func NewUpdateOrgParams ¶
func NewUpdateOrgParams() *UpdateOrgParams
NewUpdateOrgParams creates a new UpdateOrgParams object with the default values initialized.
func NewUpdateOrgParamsWithContext ¶
func NewUpdateOrgParamsWithContext(ctx context.Context) *UpdateOrgParams
NewUpdateOrgParamsWithContext creates a new UpdateOrgParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateOrgParamsWithHTTPClient ¶
func NewUpdateOrgParamsWithHTTPClient(client *http.Client) *UpdateOrgParams
NewUpdateOrgParamsWithHTTPClient creates a new UpdateOrgParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateOrgParamsWithTimeout ¶
func NewUpdateOrgParamsWithTimeout(timeout time.Duration) *UpdateOrgParams
NewUpdateOrgParamsWithTimeout creates a new UpdateOrgParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateOrgParams) SetBody ¶
func (o *UpdateOrgParams) SetBody(body *models.UpdateOrganization)
SetBody adds the body to the update org params
func (*UpdateOrgParams) SetContext ¶
func (o *UpdateOrgParams) SetContext(ctx context.Context)
SetContext adds the context to the update org params
func (*UpdateOrgParams) SetHTTPClient ¶
func (o *UpdateOrgParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update org params
func (*UpdateOrgParams) SetOrganizationCanonical ¶
func (o *UpdateOrgParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the update org params
func (*UpdateOrgParams) SetTimeout ¶
func (o *UpdateOrgParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update org params
func (*UpdateOrgParams) WithBody ¶
func (o *UpdateOrgParams) WithBody(body *models.UpdateOrganization) *UpdateOrgParams
WithBody adds the body to the update org params
func (*UpdateOrgParams) WithContext ¶
func (o *UpdateOrgParams) WithContext(ctx context.Context) *UpdateOrgParams
WithContext adds the context to the update org params
func (*UpdateOrgParams) WithHTTPClient ¶
func (o *UpdateOrgParams) WithHTTPClient(client *http.Client) *UpdateOrgParams
WithHTTPClient adds the HTTPClient to the update org params
func (*UpdateOrgParams) WithOrganizationCanonical ¶
func (o *UpdateOrgParams) WithOrganizationCanonical(organizationCanonical string) *UpdateOrgParams
WithOrganizationCanonical adds the organizationCanonical to the update org params
func (*UpdateOrgParams) WithTimeout ¶
func (o *UpdateOrgParams) WithTimeout(timeout time.Duration) *UpdateOrgParams
WithTimeout adds the timeout to the update org params
func (*UpdateOrgParams) WriteToRequest ¶
func (o *UpdateOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateOrgReader ¶
type UpdateOrgReader struct {
// contains filtered or unexported fields
}
UpdateOrgReader is a Reader for the UpdateOrg structure.
func (*UpdateOrgReader) ReadResponse ¶
func (o *UpdateOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateOrgUnprocessableEntity ¶
type UpdateOrgUnprocessableEntity struct {
Payload *models.ErrorPayload
}
UpdateOrgUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewUpdateOrgUnprocessableEntity ¶
func NewUpdateOrgUnprocessableEntity() *UpdateOrgUnprocessableEntity
NewUpdateOrgUnprocessableEntity creates a UpdateOrgUnprocessableEntity with default headers values
func (*UpdateOrgUnprocessableEntity) Error ¶
func (o *UpdateOrgUnprocessableEntity) Error() string
func (*UpdateOrgUnprocessableEntity) GetPayload ¶
func (o *UpdateOrgUnprocessableEntity) GetPayload() *models.ErrorPayload
Source Files
¶
- create_org_parameters.go
- create_org_responses.go
- delete_org_parameters.go
- delete_org_responses.go
- get_org_ancestors_parameters.go
- get_org_ancestors_responses.go
- get_org_events_parameters.go
- get_org_events_responses.go
- get_org_events_tags_parameters.go
- get_org_events_tags_responses.go
- get_org_parameters.go
- get_org_responses.go
- get_org_summary_parameters.go
- get_org_summary_responses.go
- get_orgs_parameters.go
- get_orgs_responses.go
- get_repo_branches_parameters.go
- get_repo_branches_responses.go
- organizations_client.go
- send_org_event_parameters.go
- send_org_event_responses.go
- update_org_parameters.go
- update_org_responses.go