organizations

package
v1.0.64-rc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CanDoDefault added in v1.0.58

type CanDoDefault struct {
	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

CanDoDefault handles this case with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewCanDoDefault added in v1.0.58

func NewCanDoDefault(code int) *CanDoDefault

NewCanDoDefault creates a CanDoDefault with default headers values

func (*CanDoDefault) Code added in v1.0.58

func (o *CanDoDefault) Code() int

Code gets the status code for the can do default response

func (*CanDoDefault) Error added in v1.0.58

func (o *CanDoDefault) Error() string

func (*CanDoDefault) GetPayload added in v1.0.58

func (o *CanDoDefault) GetPayload() *models.ErrorPayload

type CanDoForbidden added in v1.0.58

type CanDoForbidden struct {
	Payload *models.ErrorPayload
}

CanDoForbidden handles this case with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewCanDoForbidden added in v1.0.58

func NewCanDoForbidden() *CanDoForbidden

NewCanDoForbidden creates a CanDoForbidden with default headers values

func (*CanDoForbidden) Error added in v1.0.58

func (o *CanDoForbidden) Error() string

func (*CanDoForbidden) GetPayload added in v1.0.58

func (o *CanDoForbidden) GetPayload() *models.ErrorPayload

type CanDoNotFound added in v1.0.58

type CanDoNotFound struct {
	Payload *models.ErrorPayload
}

CanDoNotFound handles this case with default header values.

The response sent when any of the entities present in the path is not found.

func NewCanDoNotFound added in v1.0.58

func NewCanDoNotFound() *CanDoNotFound

NewCanDoNotFound creates a CanDoNotFound with default headers values

func (*CanDoNotFound) Error added in v1.0.58

func (o *CanDoNotFound) Error() string

func (*CanDoNotFound) GetPayload added in v1.0.58

func (o *CanDoNotFound) GetPayload() *models.ErrorPayload

type CanDoOK added in v1.0.58

type CanDoOK struct {
	Payload *CanDoOKBody
}

CanDoOK handles this case with default header values.

The information of the possibility to do the action

func NewCanDoOK added in v1.0.58

func NewCanDoOK() *CanDoOK

NewCanDoOK creates a CanDoOK with default headers values

func (*CanDoOK) Error added in v1.0.58

func (o *CanDoOK) Error() string

func (*CanDoOK) GetPayload added in v1.0.58

func (o *CanDoOK) GetPayload() *CanDoOKBody

type CanDoOKBody added in v1.0.58

type CanDoOKBody struct {

	// data
	// Required: true
	Data *models.CanDoOutput `json:"data"`
}

CanDoOKBody can do o k body swagger:model CanDoOKBody

func (*CanDoOKBody) MarshalBinary added in v1.0.58

func (o *CanDoOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CanDoOKBody) UnmarshalBinary added in v1.0.58

func (o *CanDoOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CanDoOKBody) Validate added in v1.0.58

func (o *CanDoOKBody) Validate(formats strfmt.Registry) error

Validate validates this can do o k body

type CanDoParams added in v1.0.58

type CanDoParams struct {

	/*Body
	  The information of the authorization

	*/
	Body *models.CanDoInput
	/*OrganizationCanonical
	  A canonical of an organization.

	*/
	OrganizationCanonical string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CanDoParams contains all the parameters to send to the API endpoint for the can do operation typically these are written to a http.Request

func NewCanDoParams added in v1.0.58

func NewCanDoParams() *CanDoParams

NewCanDoParams creates a new CanDoParams object with the default values initialized.

func NewCanDoParamsWithContext added in v1.0.58

func NewCanDoParamsWithContext(ctx context.Context) *CanDoParams

NewCanDoParamsWithContext creates a new CanDoParams object with the default values initialized, and the ability to set a context for a request

func NewCanDoParamsWithHTTPClient added in v1.0.58

func NewCanDoParamsWithHTTPClient(client *http.Client) *CanDoParams

NewCanDoParamsWithHTTPClient creates a new CanDoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCanDoParamsWithTimeout added in v1.0.58

func NewCanDoParamsWithTimeout(timeout time.Duration) *CanDoParams

NewCanDoParamsWithTimeout creates a new CanDoParams object with the default values initialized, and the ability to set a timeout on a request

func (*CanDoParams) SetBody added in v1.0.58

func (o *CanDoParams) SetBody(body *models.CanDoInput)

SetBody adds the body to the can do params

func (*CanDoParams) SetContext added in v1.0.58

func (o *CanDoParams) SetContext(ctx context.Context)

SetContext adds the context to the can do params

func (*CanDoParams) SetHTTPClient added in v1.0.58

func (o *CanDoParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the can do params

func (*CanDoParams) SetOrganizationCanonical added in v1.0.58

func (o *CanDoParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the can do params

func (*CanDoParams) SetTimeout added in v1.0.58

func (o *CanDoParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the can do params

func (*CanDoParams) WithBody added in v1.0.58

func (o *CanDoParams) WithBody(body *models.CanDoInput) *CanDoParams

WithBody adds the body to the can do params

func (*CanDoParams) WithContext added in v1.0.58

func (o *CanDoParams) WithContext(ctx context.Context) *CanDoParams

WithContext adds the context to the can do params

func (*CanDoParams) WithHTTPClient added in v1.0.58

func (o *CanDoParams) WithHTTPClient(client *http.Client) *CanDoParams

WithHTTPClient adds the HTTPClient to the can do params

func (*CanDoParams) WithOrganizationCanonical added in v1.0.58

func (o *CanDoParams) WithOrganizationCanonical(organizationCanonical string) *CanDoParams

WithOrganizationCanonical adds the organizationCanonical to the can do params

func (*CanDoParams) WithTimeout added in v1.0.58

func (o *CanDoParams) WithTimeout(timeout time.Duration) *CanDoParams

WithTimeout adds the timeout to the can do params

func (*CanDoParams) WriteToRequest added in v1.0.58

func (o *CanDoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CanDoReader added in v1.0.58

type CanDoReader struct {
	// contains filtered or unexported fields
}

CanDoReader is a Reader for the CanDo structure.

func (*CanDoReader) ReadResponse added in v1.0.58

func (o *CanDoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CanDoUnprocessableEntity added in v1.0.58

type CanDoUnprocessableEntity struct {
	Payload *models.ErrorPayload
}

CanDoUnprocessableEntity handles this case with default header values.

All the custom errors that are generated from the Cycloid API

func NewCanDoUnprocessableEntity added in v1.0.58

func NewCanDoUnprocessableEntity() *CanDoUnprocessableEntity

NewCanDoUnprocessableEntity creates a CanDoUnprocessableEntity with default headers values

func (*CanDoUnprocessableEntity) Error added in v1.0.58

func (o *CanDoUnprocessableEntity) Error() string

func (*CanDoUnprocessableEntity) GetPayload added in v1.0.58

func (o *CanDoUnprocessableEntity) GetPayload() *models.ErrorPayload

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) CanDo added in v1.0.58

func (a *Client) CanDo(params *CanDoParams, authInfo runtime.ClientAuthInfoWriter) (*CanDoOK, error)

CanDo Checks if the JWT can do the action

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

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

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

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

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

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

func (*CreateOrgOKBody) Validate

func (o *CreateOrgOKBody) Validate(formats strfmt.Registry) error

Validate validates this create org o k body

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

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 (*CreateOrgUnprocessableEntity) GetPayload

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

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

func NewGetOrgAncestorsDefault(code int) *GetOrgAncestorsDefault

NewGetOrgAncestorsDefault creates a GetOrgAncestorsDefault with default headers values

func (*GetOrgAncestorsDefault) Code

func (o *GetOrgAncestorsDefault) Code() int

Code gets the status code for the get org ancestors default response

func (*GetOrgAncestorsDefault) Error

func (o *GetOrgAncestorsDefault) Error() string

func (*GetOrgAncestorsDefault) GetPayload

func (o *GetOrgAncestorsDefault) GetPayload() *models.ErrorPayload

type GetOrgAncestorsOK

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

func NewGetOrgAncestorsOK() *GetOrgAncestorsOK

NewGetOrgAncestorsOK creates a GetOrgAncestorsOK with default headers values

func (*GetOrgAncestorsOK) Error

func (o *GetOrgAncestorsOK) Error() string

func (*GetOrgAncestorsOK) GetPayload

func (o *GetOrgAncestorsOK) GetPayload() *GetOrgAncestorsOKBody

type GetOrgAncestorsOKBody

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

func (o *GetOrgAncestorsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgAncestorsOKBody) UnmarshalBinary

func (o *GetOrgAncestorsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgAncestorsOKBody) Validate

func (o *GetOrgAncestorsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get org ancestors o k body

type GetOrgAncestorsParams

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

func NewGetOrgAncestorsParams() *GetOrgAncestorsParams

NewGetOrgAncestorsParams creates a new GetOrgAncestorsParams object with the default values initialized.

func NewGetOrgAncestorsParamsWithContext

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

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

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

func (o *GetOrgAncestorsParams) SetContext(ctx context.Context)

SetContext adds the context to the get org ancestors params

func (*GetOrgAncestorsParams) SetHTTPClient

func (o *GetOrgAncestorsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get org ancestors params

func (*GetOrgAncestorsParams) SetOrganizationCanonical

func (o *GetOrgAncestorsParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get org ancestors params

func (*GetOrgAncestorsParams) SetTimeout

func (o *GetOrgAncestorsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get org ancestors params

func (*GetOrgAncestorsParams) WithContext

WithContext adds the context to the get org ancestors params

func (*GetOrgAncestorsParams) WithHTTPClient

func (o *GetOrgAncestorsParams) WithHTTPClient(client *http.Client) *GetOrgAncestorsParams

WithHTTPClient adds the HTTPClient to the get org ancestors params

func (*GetOrgAncestorsParams) WithOrganizationCanonical

func (o *GetOrgAncestorsParams) WithOrganizationCanonical(organizationCanonical string) *GetOrgAncestorsParams

WithOrganizationCanonical adds the organizationCanonical to the get org ancestors params

func (*GetOrgAncestorsParams) WithTimeout

func (o *GetOrgAncestorsParams) WithTimeout(timeout time.Duration) *GetOrgAncestorsParams

WithTimeout adds the timeout to the get org ancestors params

func (*GetOrgAncestorsParams) WriteToRequest

func (o *GetOrgAncestorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetOrgAncestorsReader

type GetOrgAncestorsReader struct {
	// contains filtered or unexported fields
}

GetOrgAncestorsReader is a Reader for the GetOrgAncestors structure.

func (*GetOrgAncestorsReader) ReadResponse

func (o *GetOrgAncestorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOrgAncestorsUnauthorized

type GetOrgAncestorsUnauthorized struct {
	Payload *models.ErrorPayload
}

GetOrgAncestorsUnauthorized handles this case with default header values.

The user cannot be authenticated with the credentials which she/he has used.

func NewGetOrgAncestorsUnauthorized

func NewGetOrgAncestorsUnauthorized() *GetOrgAncestorsUnauthorized

NewGetOrgAncestorsUnauthorized creates a GetOrgAncestorsUnauthorized with default headers values

func (*GetOrgAncestorsUnauthorized) Error

func (*GetOrgAncestorsUnauthorized) GetPayload

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

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

func NewGetOrgEventsDefault(code int) *GetOrgEventsDefault

NewGetOrgEventsDefault creates a GetOrgEventsDefault with default headers values

func (*GetOrgEventsDefault) Code

func (o *GetOrgEventsDefault) Code() int

Code gets the status code for the get org events default response

func (*GetOrgEventsDefault) Error

func (o *GetOrgEventsDefault) Error() string

func (*GetOrgEventsDefault) GetPayload

func (o *GetOrgEventsDefault) GetPayload() *models.ErrorPayload

type GetOrgEventsForbidden

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

func NewGetOrgEventsForbidden() *GetOrgEventsForbidden

NewGetOrgEventsForbidden creates a GetOrgEventsForbidden with default headers values

func (*GetOrgEventsForbidden) Error

func (o *GetOrgEventsForbidden) Error() string

func (*GetOrgEventsForbidden) GetPayload

func (o *GetOrgEventsForbidden) GetPayload() *models.ErrorPayload

type GetOrgEventsNotFound

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

func NewGetOrgEventsNotFound() *GetOrgEventsNotFound

NewGetOrgEventsNotFound creates a GetOrgEventsNotFound with default headers values

func (*GetOrgEventsNotFound) Error

func (o *GetOrgEventsNotFound) Error() string

func (*GetOrgEventsNotFound) GetPayload

func (o *GetOrgEventsNotFound) GetPayload() *models.ErrorPayload

type GetOrgEventsOK

type GetOrgEventsOK struct {
	Payload *GetOrgEventsOKBody
}

GetOrgEventsOK handles this case with default header values.

The list of events which fulfills the query parameters filter

func NewGetOrgEventsOK

func NewGetOrgEventsOK() *GetOrgEventsOK

NewGetOrgEventsOK creates a GetOrgEventsOK with default headers values

func (*GetOrgEventsOK) Error

func (o *GetOrgEventsOK) Error() string

func (*GetOrgEventsOK) GetPayload

func (o *GetOrgEventsOK) GetPayload() *GetOrgEventsOKBody

type GetOrgEventsOKBody

type GetOrgEventsOKBody struct {

	// data
	// Required: true
	Data []*models.Event `json:"data"`
}

GetOrgEventsOKBody The list of log lines swagger:model GetOrgEventsOKBody

func (*GetOrgEventsOKBody) MarshalBinary

func (o *GetOrgEventsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgEventsOKBody) UnmarshalBinary

func (o *GetOrgEventsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgEventsOKBody) Validate

func (o *GetOrgEventsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get org events o k body

type GetOrgEventsParams

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

func NewGetOrgEventsParams() *GetOrgEventsParams

NewGetOrgEventsParams creates a new GetOrgEventsParams object with the default values initialized.

func NewGetOrgEventsParamsWithContext

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

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

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

func (o *GetOrgEventsParams) SetBegin(begin *uint64)

SetBegin adds the begin to the get org events params

func (*GetOrgEventsParams) SetContext

func (o *GetOrgEventsParams) SetContext(ctx context.Context)

SetContext adds the context to the get org events params

func (*GetOrgEventsParams) SetEnd

func (o *GetOrgEventsParams) SetEnd(end *uint64)

SetEnd adds the end to the get org events params

func (*GetOrgEventsParams) SetHTTPClient

func (o *GetOrgEventsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get org events params

func (*GetOrgEventsParams) SetOrganizationCanonical

func (o *GetOrgEventsParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get org events params

func (*GetOrgEventsParams) SetSeverity

func (o *GetOrgEventsParams) SetSeverity(severity []string)

SetSeverity adds the severity to the get org events params

func (*GetOrgEventsParams) SetTimeout

func (o *GetOrgEventsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get org events params

func (*GetOrgEventsParams) SetType

func (o *GetOrgEventsParams) SetType(typeVar []string)

SetType adds the type to the get org events params

func (*GetOrgEventsParams) WithBegin

func (o *GetOrgEventsParams) WithBegin(begin *uint64) *GetOrgEventsParams

WithBegin adds the begin to the get org events params

func (*GetOrgEventsParams) WithContext

WithContext adds the context to the get org events params

func (*GetOrgEventsParams) WithEnd

func (o *GetOrgEventsParams) WithEnd(end *uint64) *GetOrgEventsParams

WithEnd adds the end to the get org events params

func (*GetOrgEventsParams) WithHTTPClient

func (o *GetOrgEventsParams) WithHTTPClient(client *http.Client) *GetOrgEventsParams

WithHTTPClient adds the HTTPClient to the get org events params

func (*GetOrgEventsParams) WithOrganizationCanonical

func (o *GetOrgEventsParams) WithOrganizationCanonical(organizationCanonical string) *GetOrgEventsParams

WithOrganizationCanonical adds the organizationCanonical to the get org events params

func (*GetOrgEventsParams) WithSeverity

func (o *GetOrgEventsParams) WithSeverity(severity []string) *GetOrgEventsParams

WithSeverity adds the severity to the get org events params

func (*GetOrgEventsParams) WithTimeout

func (o *GetOrgEventsParams) WithTimeout(timeout time.Duration) *GetOrgEventsParams

WithTimeout adds the timeout to the get org events params

func (*GetOrgEventsParams) WithType

func (o *GetOrgEventsParams) WithType(typeVar []string) *GetOrgEventsParams

WithType adds the typeVar to the get org events params

func (*GetOrgEventsParams) WriteToRequest

func (o *GetOrgEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetOrgEventsReader

type GetOrgEventsReader struct {
	// contains filtered or unexported fields
}

GetOrgEventsReader is a Reader for the GetOrgEvents structure.

func (*GetOrgEventsReader) ReadResponse

func (o *GetOrgEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOrgEventsTagsDefault

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

func NewGetOrgEventsTagsDefault(code int) *GetOrgEventsTagsDefault

NewGetOrgEventsTagsDefault creates a GetOrgEventsTagsDefault with default headers values

func (*GetOrgEventsTagsDefault) Code

func (o *GetOrgEventsTagsDefault) Code() int

Code gets the status code for the get org events tags default response

func (*GetOrgEventsTagsDefault) Error

func (o *GetOrgEventsTagsDefault) Error() string

func (*GetOrgEventsTagsDefault) GetPayload

func (o *GetOrgEventsTagsDefault) GetPayload() *models.ErrorPayload

type GetOrgEventsTagsForbidden

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

func NewGetOrgEventsTagsForbidden() *GetOrgEventsTagsForbidden

NewGetOrgEventsTagsForbidden creates a GetOrgEventsTagsForbidden with default headers values

func (*GetOrgEventsTagsForbidden) Error

func (o *GetOrgEventsTagsForbidden) Error() string

func (*GetOrgEventsTagsForbidden) GetPayload

type GetOrgEventsTagsOK

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.

func NewGetOrgEventsTagsOK

func NewGetOrgEventsTagsOK() *GetOrgEventsTagsOK

NewGetOrgEventsTagsOK creates a GetOrgEventsTagsOK with default headers values

func (*GetOrgEventsTagsOK) Error

func (o *GetOrgEventsTagsOK) Error() string

func (*GetOrgEventsTagsOK) GetPayload

func (o *GetOrgEventsTagsOK) GetPayload() *GetOrgEventsTagsOKBody

type GetOrgEventsTagsOKBody

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

func (o *GetOrgEventsTagsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgEventsTagsOKBody) UnmarshalBinary

func (o *GetOrgEventsTagsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgEventsTagsOKBody) Validate

func (o *GetOrgEventsTagsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get org events tags o k body

type GetOrgEventsTagsParams

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

func NewGetOrgEventsTagsParams() *GetOrgEventsTagsParams

NewGetOrgEventsTagsParams creates a new GetOrgEventsTagsParams object with the default values initialized.

func NewGetOrgEventsTagsParamsWithContext

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

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

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

func (o *GetOrgEventsTagsParams) SetContext(ctx context.Context)

SetContext adds the context to the get org events tags params

func (*GetOrgEventsTagsParams) SetHTTPClient

func (o *GetOrgEventsTagsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get org events tags params

func (*GetOrgEventsTagsParams) SetOrganizationCanonical

func (o *GetOrgEventsTagsParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get org events tags params

func (*GetOrgEventsTagsParams) SetTimeout

func (o *GetOrgEventsTagsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get org events tags params

func (*GetOrgEventsTagsParams) WithContext

WithContext adds the context to the get org events tags params

func (*GetOrgEventsTagsParams) WithHTTPClient

func (o *GetOrgEventsTagsParams) WithHTTPClient(client *http.Client) *GetOrgEventsTagsParams

WithHTTPClient adds the HTTPClient to the get org events tags params

func (*GetOrgEventsTagsParams) WithOrganizationCanonical

func (o *GetOrgEventsTagsParams) WithOrganizationCanonical(organizationCanonical string) *GetOrgEventsTagsParams

WithOrganizationCanonical adds the organizationCanonical to the get org events tags params

func (*GetOrgEventsTagsParams) WithTimeout

WithTimeout adds the timeout to the get org events tags params

func (*GetOrgEventsTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrgEventsTagsReader

type GetOrgEventsTagsReader struct {
	// contains filtered or unexported fields
}

GetOrgEventsTagsReader is a Reader for the GetOrgEventsTags structure.

func (*GetOrgEventsTagsReader) ReadResponse

func (o *GetOrgEventsTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOrgEventsTagsUnprocessableEntity

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

func NewGetOrgEventsTagsUnprocessableEntity() *GetOrgEventsTagsUnprocessableEntity

NewGetOrgEventsTagsUnprocessableEntity creates a GetOrgEventsTagsUnprocessableEntity with default headers values

func (*GetOrgEventsTagsUnprocessableEntity) Error

func (*GetOrgEventsTagsUnprocessableEntity) GetPayload

type GetOrgEventsUnprocessableEntity

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

func NewGetOrgEventsUnprocessableEntity() *GetOrgEventsUnprocessableEntity

NewGetOrgEventsUnprocessableEntity creates a GetOrgEventsUnprocessableEntity with default headers values

func (*GetOrgEventsUnprocessableEntity) Error

func (*GetOrgEventsUnprocessableEntity) GetPayload

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) Error

func (o *GetOrgOK) Error() string

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

func (*GetOrgOKBody) Validate

func (o *GetOrgOKBody) Validate(formats strfmt.Registry) error

Validate validates this get org o k body

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

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

func NewGetOrgSummaryForbidden() *GetOrgSummaryForbidden

NewGetOrgSummaryForbidden creates a GetOrgSummaryForbidden with default headers values

func (*GetOrgSummaryForbidden) Error

func (o *GetOrgSummaryForbidden) Error() string

func (*GetOrgSummaryForbidden) GetPayload

func (o *GetOrgSummaryForbidden) GetPayload() *models.ErrorPayload

type GetOrgSummaryNotFound

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

func NewGetOrgSummaryNotFound() *GetOrgSummaryNotFound

NewGetOrgSummaryNotFound creates a GetOrgSummaryNotFound with default headers values

func (*GetOrgSummaryNotFound) Error

func (o *GetOrgSummaryNotFound) Error() string

func (*GetOrgSummaryNotFound) GetPayload

func (o *GetOrgSummaryNotFound) GetPayload() *models.ErrorPayload

type GetOrgSummaryOK

type GetOrgSummaryOK struct {
	Payload *GetOrgSummaryOKBody
}

GetOrgSummaryOK handles this case with default header values.

The summary object

func NewGetOrgSummaryOK

func NewGetOrgSummaryOK() *GetOrgSummaryOK

NewGetOrgSummaryOK creates a GetOrgSummaryOK with default headers values

func (*GetOrgSummaryOK) Error

func (o *GetOrgSummaryOK) Error() string

func (*GetOrgSummaryOK) GetPayload

func (o *GetOrgSummaryOK) GetPayload() *GetOrgSummaryOKBody

type GetOrgSummaryOKBody

type GetOrgSummaryOKBody struct {

	// summary
	// Required: true
	Summary *models.Summary `json:"summary"`
}

GetOrgSummaryOKBody get org summary o k body swagger:model GetOrgSummaryOKBody

func (*GetOrgSummaryOKBody) MarshalBinary

func (o *GetOrgSummaryOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgSummaryOKBody) UnmarshalBinary

func (o *GetOrgSummaryOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgSummaryOKBody) Validate

func (o *GetOrgSummaryOKBody) Validate(formats strfmt.Registry) error

Validate validates this get org summary o k body

type GetOrgSummaryParams

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

func NewGetOrgSummaryParams() *GetOrgSummaryParams

NewGetOrgSummaryParams creates a new GetOrgSummaryParams object with the default values initialized.

func NewGetOrgSummaryParamsWithContext

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

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

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

func (o *GetOrgSummaryParams) SetContext(ctx context.Context)

SetContext adds the context to the get org summary params

func (*GetOrgSummaryParams) SetHTTPClient

func (o *GetOrgSummaryParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get org summary params

func (*GetOrgSummaryParams) SetOrganizationCanonical

func (o *GetOrgSummaryParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get org summary params

func (*GetOrgSummaryParams) SetTimeout

func (o *GetOrgSummaryParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get org summary params

func (*GetOrgSummaryParams) WithContext

WithContext adds the context to the get org summary params

func (*GetOrgSummaryParams) WithHTTPClient

func (o *GetOrgSummaryParams) WithHTTPClient(client *http.Client) *GetOrgSummaryParams

WithHTTPClient adds the HTTPClient to the get org summary params

func (*GetOrgSummaryParams) WithOrganizationCanonical

func (o *GetOrgSummaryParams) WithOrganizationCanonical(organizationCanonical string) *GetOrgSummaryParams

WithOrganizationCanonical adds the organizationCanonical to the get org summary params

func (*GetOrgSummaryParams) WithTimeout

func (o *GetOrgSummaryParams) WithTimeout(timeout time.Duration) *GetOrgSummaryParams

WithTimeout adds the timeout to the get org summary params

func (*GetOrgSummaryParams) WriteToRequest

func (o *GetOrgSummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetOrgSummaryReader

type GetOrgSummaryReader struct {
	// contains filtered or unexported fields
}

GetOrgSummaryReader is a Reader for the GetOrgSummary structure.

func (*GetOrgSummaryReader) ReadResponse

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) Error

func (o *GetOrgsOK) Error() string

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

func (*GetOrgsOKBody) Validate

func (o *GetOrgsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get orgs o k body

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 (*GetOrgsUnprocessableEntity) GetPayload

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

func (*GetRepoBranchesOKBody) Validate

func (o *GetRepoBranchesOKBody) Validate(formats strfmt.Registry) error

Validate validates this get repo branches o k body

type GetRepoBranchesParams

type GetRepoBranchesParams struct {

	/*CredentialCanonical
	  A Credential canonical

	*/
	CredentialCanonical *string
	/*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) SetCredentialCanonical added in v1.0.58

func (o *GetRepoBranchesParams) SetCredentialCanonical(credentialCanonical *string)

SetCredentialCanonical adds the credentialCanonical 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

WithContext adds the context to the get repo branches params

func (*GetRepoBranchesParams) WithCredentialCanonical added in v1.0.58

func (o *GetRepoBranchesParams) WithCredentialCanonical(credentialCanonical *string) *GetRepoBranchesParams

WithCredentialCanonical adds the credentialCanonical 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 (*GetRepoBranchesUnprocessableEntity) GetPayload

type SendOrgEventForbidden

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

func NewSendOrgEventForbidden() *SendOrgEventForbidden

NewSendOrgEventForbidden creates a SendOrgEventForbidden with default headers values

func (*SendOrgEventForbidden) Error

func (o *SendOrgEventForbidden) Error() string

func (*SendOrgEventForbidden) GetPayload

func (o *SendOrgEventForbidden) GetPayload() *models.ErrorPayload

type SendOrgEventNotFound

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

func NewSendOrgEventNotFound() *SendOrgEventNotFound

NewSendOrgEventNotFound creates a SendOrgEventNotFound with default headers values

func (*SendOrgEventNotFound) Error

func (o *SendOrgEventNotFound) Error() string

func (*SendOrgEventNotFound) GetPayload

func (o *SendOrgEventNotFound) GetPayload() *models.ErrorPayload

type SendOrgEventOK

type SendOrgEventOK struct {
	Payload *SendOrgEventOKBody
}

SendOrgEventOK handles this case with default header values.

Event has been registered

func NewSendOrgEventOK

func NewSendOrgEventOK() *SendOrgEventOK

NewSendOrgEventOK creates a SendOrgEventOK with default headers values

func (*SendOrgEventOK) Error

func (o *SendOrgEventOK) Error() string

func (*SendOrgEventOK) GetPayload

func (o *SendOrgEventOK) GetPayload() *SendOrgEventOKBody

type SendOrgEventOKBody

type SendOrgEventOKBody struct {

	// data
	// Required: true
	Data *models.Event `json:"data"`
}

SendOrgEventOKBody The newly created event swagger:model SendOrgEventOKBody

func (*SendOrgEventOKBody) MarshalBinary

func (o *SendOrgEventOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SendOrgEventOKBody) UnmarshalBinary

func (o *SendOrgEventOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SendOrgEventOKBody) Validate

func (o *SendOrgEventOKBody) Validate(formats strfmt.Registry) error

Validate validates this send org event o k body

type SendOrgEventParams

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

func NewSendOrgEventParams() *SendOrgEventParams

NewSendOrgEventParams creates a new SendOrgEventParams object with the default values initialized.

func NewSendOrgEventParamsWithContext

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

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

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

func (o *SendOrgEventParams) SetBody(body *models.NewEvent)

SetBody adds the body to the send org event params

func (*SendOrgEventParams) SetContext

func (o *SendOrgEventParams) SetContext(ctx context.Context)

SetContext adds the context to the send org event params

func (*SendOrgEventParams) SetHTTPClient

func (o *SendOrgEventParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the send org event params

func (*SendOrgEventParams) SetOrganizationCanonical

func (o *SendOrgEventParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the send org event params

func (*SendOrgEventParams) SetTimeout

func (o *SendOrgEventParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the send org event params

func (*SendOrgEventParams) WithBody

WithBody adds the body to the send org event params

func (*SendOrgEventParams) WithContext

WithContext adds the context to the send org event params

func (*SendOrgEventParams) WithHTTPClient

func (o *SendOrgEventParams) WithHTTPClient(client *http.Client) *SendOrgEventParams

WithHTTPClient adds the HTTPClient to the send org event params

func (*SendOrgEventParams) WithOrganizationCanonical

func (o *SendOrgEventParams) WithOrganizationCanonical(organizationCanonical string) *SendOrgEventParams

WithOrganizationCanonical adds the organizationCanonical to the send org event params

func (*SendOrgEventParams) WithTimeout

func (o *SendOrgEventParams) WithTimeout(timeout time.Duration) *SendOrgEventParams

WithTimeout adds the timeout to the send org event params

func (*SendOrgEventParams) WriteToRequest

func (o *SendOrgEventParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SendOrgEventReader

type SendOrgEventReader struct {
	// contains filtered or unexported fields
}

SendOrgEventReader is a Reader for the SendOrgEvent structure.

func (*SendOrgEventReader) ReadResponse

func (o *SendOrgEventReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SendOrgEventUnprocessableEntity

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

func NewSendOrgEventUnprocessableEntity() *SendOrgEventUnprocessableEntity

NewSendOrgEventUnprocessableEntity creates a SendOrgEventUnprocessableEntity with default headers values

func (*SendOrgEventUnprocessableEntity) Error

func (*SendOrgEventUnprocessableEntity) GetPayload

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

func (*UpdateOrgOKBody) Validate

func (o *UpdateOrgOKBody) Validate(formats strfmt.Registry) error

Validate validates this update org o k body

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

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 (*UpdateOrgUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL