Documentation ¶
Index ¶
- type AddBranchBadRequest
- type AddBranchBody
- type AddBranchConflict
- type AddBranchForbidden
- type AddBranchInternalServerError
- type AddBranchNotFound
- type AddBranchOK
- type AddBranchParams
- func (o *AddBranchParams) SetBody(body AddBranchBody)
- func (o *AddBranchParams) SetContext(ctx context.Context)
- func (o *AddBranchParams) SetDefaults()
- func (o *AddBranchParams) SetHTTPClient(client *http.Client)
- func (o *AddBranchParams) SetProjectID(projectID strfmt.UUID)
- func (o *AddBranchParams) SetTimeout(timeout time.Duration)
- func (o *AddBranchParams) WithBody(body AddBranchBody) *AddBranchParams
- func (o *AddBranchParams) WithContext(ctx context.Context) *AddBranchParams
- func (o *AddBranchParams) WithDefaults() *AddBranchParams
- func (o *AddBranchParams) WithHTTPClient(client *http.Client) *AddBranchParams
- func (o *AddBranchParams) WithProjectID(projectID strfmt.UUID) *AddBranchParams
- func (o *AddBranchParams) WithTimeout(timeout time.Duration) *AddBranchParams
- func (o *AddBranchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddBranchReader
- type AddProjectBadRequest
- type AddProjectConflict
- type AddProjectForbidden
- type AddProjectInternalServerError
- type AddProjectNotFound
- type AddProjectOK
- type AddProjectParams
- func (o *AddProjectParams) SetContext(ctx context.Context)
- func (o *AddProjectParams) SetDefaults()
- func (o *AddProjectParams) SetHTTPClient(client *http.Client)
- func (o *AddProjectParams) SetOrganizationName(organizationName string)
- func (o *AddProjectParams) SetProject(project *mono_models.Project)
- func (o *AddProjectParams) SetTimeout(timeout time.Duration)
- func (o *AddProjectParams) WithContext(ctx context.Context) *AddProjectParams
- func (o *AddProjectParams) WithDefaults() *AddProjectParams
- func (o *AddProjectParams) WithHTTPClient(client *http.Client) *AddProjectParams
- func (o *AddProjectParams) WithOrganizationName(organizationName string) *AddProjectParams
- func (o *AddProjectParams) WithProject(project *mono_models.Project) *AddProjectParams
- func (o *AddProjectParams) WithTimeout(timeout time.Duration) *AddProjectParams
- func (o *AddProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddProjectReader
- type Client
- func (a *Client) AddBranch(params *AddBranchParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddBranchOK, error)
- func (a *Client) AddProject(params *AddProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddProjectOK, error)
- func (a *Client) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteProjectOK, error)
- func (a *Client) EditProject(params *EditProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EditProjectOK, error)
- func (a *Client) ForkProject(params *ForkProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ForkProjectOK, error)
- func (a *Client) GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetProjectOK, error)
- func (a *Client) GetProjectByID(params *GetProjectByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetProjectByIDOK, error)
- func (a *Client) ListProjects(params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListProjectsOK, error)
- func (a *Client) MoveProject(params *MoveProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*MoveProjectOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteProjectBadRequest
- type DeleteProjectForbidden
- type DeleteProjectInternalServerError
- type DeleteProjectNotFound
- type DeleteProjectOK
- type DeleteProjectParams
- func (o *DeleteProjectParams) SetContext(ctx context.Context)
- func (o *DeleteProjectParams) SetDefaults()
- func (o *DeleteProjectParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProjectParams) SetOrganizationName(organizationName string)
- func (o *DeleteProjectParams) SetProjectName(projectName string)
- func (o *DeleteProjectParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProjectParams) WithContext(ctx context.Context) *DeleteProjectParams
- func (o *DeleteProjectParams) WithDefaults() *DeleteProjectParams
- func (o *DeleteProjectParams) WithHTTPClient(client *http.Client) *DeleteProjectParams
- func (o *DeleteProjectParams) WithOrganizationName(organizationName string) *DeleteProjectParams
- func (o *DeleteProjectParams) WithProjectName(projectName string) *DeleteProjectParams
- func (o *DeleteProjectParams) WithTimeout(timeout time.Duration) *DeleteProjectParams
- func (o *DeleteProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProjectReader
- type EditProjectBadRequest
- type EditProjectConflict
- type EditProjectForbidden
- type EditProjectInternalServerError
- type EditProjectNotFound
- type EditProjectOK
- type EditProjectParams
- func (o *EditProjectParams) SetContext(ctx context.Context)
- func (o *EditProjectParams) SetDefaults()
- func (o *EditProjectParams) SetHTTPClient(client *http.Client)
- func (o *EditProjectParams) SetOrganizationName(organizationName string)
- func (o *EditProjectParams) SetProject(project *mono_models.ProjectEditable)
- func (o *EditProjectParams) SetProjectName(projectName string)
- func (o *EditProjectParams) SetTimeout(timeout time.Duration)
- func (o *EditProjectParams) WithContext(ctx context.Context) *EditProjectParams
- func (o *EditProjectParams) WithDefaults() *EditProjectParams
- func (o *EditProjectParams) WithHTTPClient(client *http.Client) *EditProjectParams
- func (o *EditProjectParams) WithOrganizationName(organizationName string) *EditProjectParams
- func (o *EditProjectParams) WithProject(project *mono_models.ProjectEditable) *EditProjectParams
- func (o *EditProjectParams) WithProjectName(projectName string) *EditProjectParams
- func (o *EditProjectParams) WithTimeout(timeout time.Duration) *EditProjectParams
- func (o *EditProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EditProjectReader
- type ForkProjectBadRequest
- type ForkProjectBody
- type ForkProjectConflict
- type ForkProjectForbidden
- type ForkProjectInternalServerError
- type ForkProjectNotFound
- type ForkProjectOK
- type ForkProjectParams
- func (o *ForkProjectParams) SetContext(ctx context.Context)
- func (o *ForkProjectParams) SetDefaults()
- func (o *ForkProjectParams) SetDestination(destination ForkProjectBody)
- func (o *ForkProjectParams) SetHTTPClient(client *http.Client)
- func (o *ForkProjectParams) SetOrganizationName(organizationName string)
- func (o *ForkProjectParams) SetProjectName(projectName string)
- func (o *ForkProjectParams) SetTimeout(timeout time.Duration)
- func (o *ForkProjectParams) WithContext(ctx context.Context) *ForkProjectParams
- func (o *ForkProjectParams) WithDefaults() *ForkProjectParams
- func (o *ForkProjectParams) WithDestination(destination ForkProjectBody) *ForkProjectParams
- func (o *ForkProjectParams) WithHTTPClient(client *http.Client) *ForkProjectParams
- func (o *ForkProjectParams) WithOrganizationName(organizationName string) *ForkProjectParams
- func (o *ForkProjectParams) WithProjectName(projectName string) *ForkProjectParams
- func (o *ForkProjectParams) WithTimeout(timeout time.Duration) *ForkProjectParams
- func (o *ForkProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ForkProjectReader
- type GetProjectByIDInternalServerError
- type GetProjectByIDNotFound
- type GetProjectByIDOK
- type GetProjectByIDParams
- func NewGetProjectByIDParams() *GetProjectByIDParams
- func NewGetProjectByIDParamsWithContext(ctx context.Context) *GetProjectByIDParams
- func NewGetProjectByIDParamsWithHTTPClient(client *http.Client) *GetProjectByIDParams
- func NewGetProjectByIDParamsWithTimeout(timeout time.Duration) *GetProjectByIDParams
- func (o *GetProjectByIDParams) SetContext(ctx context.Context)
- func (o *GetProjectByIDParams) SetDefaults()
- func (o *GetProjectByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectByIDParams) SetProjectID(projectID strfmt.UUID)
- func (o *GetProjectByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectByIDParams) WithContext(ctx context.Context) *GetProjectByIDParams
- func (o *GetProjectByIDParams) WithDefaults() *GetProjectByIDParams
- func (o *GetProjectByIDParams) WithHTTPClient(client *http.Client) *GetProjectByIDParams
- func (o *GetProjectByIDParams) WithProjectID(projectID strfmt.UUID) *GetProjectByIDParams
- func (o *GetProjectByIDParams) WithTimeout(timeout time.Duration) *GetProjectByIDParams
- func (o *GetProjectByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectByIDReader
- type GetProjectInternalServerError
- type GetProjectNotFound
- type GetProjectOK
- type GetProjectParams
- func (o *GetProjectParams) SetContext(ctx context.Context)
- func (o *GetProjectParams) SetDefaults()
- func (o *GetProjectParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectParams) SetOrganizationName(organizationName string)
- func (o *GetProjectParams) SetProjectName(projectName string)
- func (o *GetProjectParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectParams) WithContext(ctx context.Context) *GetProjectParams
- func (o *GetProjectParams) WithDefaults() *GetProjectParams
- func (o *GetProjectParams) WithHTTPClient(client *http.Client) *GetProjectParams
- func (o *GetProjectParams) WithOrganizationName(organizationName string) *GetProjectParams
- func (o *GetProjectParams) WithProjectName(projectName string) *GetProjectParams
- func (o *GetProjectParams) WithTimeout(timeout time.Duration) *GetProjectParams
- func (o *GetProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectReader
- type ListProjectsInternalServerError
- type ListProjectsNotFound
- type ListProjectsOK
- type ListProjectsParams
- func (o *ListProjectsParams) SetContext(ctx context.Context)
- func (o *ListProjectsParams) SetDefaults()
- func (o *ListProjectsParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectsParams) SetOrganizationName(organizationName string)
- func (o *ListProjectsParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectsParams) WithContext(ctx context.Context) *ListProjectsParams
- func (o *ListProjectsParams) WithDefaults() *ListProjectsParams
- func (o *ListProjectsParams) WithHTTPClient(client *http.Client) *ListProjectsParams
- func (o *ListProjectsParams) WithOrganizationName(organizationName string) *ListProjectsParams
- func (o *ListProjectsParams) WithTimeout(timeout time.Duration) *ListProjectsParams
- func (o *ListProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectsReader
- type MoveProjectBadRequest
- type MoveProjectBody
- type MoveProjectConflict
- type MoveProjectForbidden
- type MoveProjectInternalServerError
- type MoveProjectNotFound
- type MoveProjectOK
- type MoveProjectParams
- func (o *MoveProjectParams) SetContext(ctx context.Context)
- func (o *MoveProjectParams) SetDefaults()
- func (o *MoveProjectParams) SetDestination(destination MoveProjectBody)
- func (o *MoveProjectParams) SetHTTPClient(client *http.Client)
- func (o *MoveProjectParams) SetIdentifierType(identifierType *string)
- func (o *MoveProjectParams) SetOrganizationIdentifier(organizationIdentifier string)
- func (o *MoveProjectParams) SetProjectName(projectName string)
- func (o *MoveProjectParams) SetTimeout(timeout time.Duration)
- func (o *MoveProjectParams) WithContext(ctx context.Context) *MoveProjectParams
- func (o *MoveProjectParams) WithDefaults() *MoveProjectParams
- func (o *MoveProjectParams) WithDestination(destination MoveProjectBody) *MoveProjectParams
- func (o *MoveProjectParams) WithHTTPClient(client *http.Client) *MoveProjectParams
- func (o *MoveProjectParams) WithIdentifierType(identifierType *string) *MoveProjectParams
- func (o *MoveProjectParams) WithOrganizationIdentifier(organizationIdentifier string) *MoveProjectParams
- func (o *MoveProjectParams) WithProjectName(projectName string) *MoveProjectParams
- func (o *MoveProjectParams) WithTimeout(timeout time.Duration) *MoveProjectParams
- func (o *MoveProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MoveProjectReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddBranchBadRequest ¶
type AddBranchBadRequest struct {
Payload *mono_models.Message
}
AddBranchBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewAddBranchBadRequest ¶
func NewAddBranchBadRequest() *AddBranchBadRequest
NewAddBranchBadRequest creates a AddBranchBadRequest with default headers values
func (*AddBranchBadRequest) Error ¶
func (o *AddBranchBadRequest) Error() string
func (*AddBranchBadRequest) GetPayload ¶
func (o *AddBranchBadRequest) GetPayload() *mono_models.Message
type AddBranchBody ¶
type AddBranchBody struct { // branch label Label string `json:"label,omitempty"` }
AddBranchBody add branch body swagger:model AddBranchBody
func (*AddBranchBody) ContextValidate ¶
ContextValidate validates this add branch body based on context it is used
func (*AddBranchBody) MarshalBinary ¶
func (o *AddBranchBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddBranchBody) UnmarshalBinary ¶
func (o *AddBranchBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddBranchConflict ¶
type AddBranchConflict struct {
Payload *mono_models.Message
}
AddBranchConflict describes a response with status code 409, with default header values.
Conflict
func NewAddBranchConflict ¶
func NewAddBranchConflict() *AddBranchConflict
NewAddBranchConflict creates a AddBranchConflict with default headers values
func (*AddBranchConflict) Error ¶
func (o *AddBranchConflict) Error() string
func (*AddBranchConflict) GetPayload ¶
func (o *AddBranchConflict) GetPayload() *mono_models.Message
type AddBranchForbidden ¶
type AddBranchForbidden struct {
Payload *mono_models.Message
}
AddBranchForbidden describes a response with status code 403, with default header values.
Forbidden
func NewAddBranchForbidden ¶
func NewAddBranchForbidden() *AddBranchForbidden
NewAddBranchForbidden creates a AddBranchForbidden with default headers values
func (*AddBranchForbidden) Error ¶
func (o *AddBranchForbidden) Error() string
func (*AddBranchForbidden) GetPayload ¶
func (o *AddBranchForbidden) GetPayload() *mono_models.Message
type AddBranchInternalServerError ¶
type AddBranchInternalServerError struct {
Payload *mono_models.Message
}
AddBranchInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewAddBranchInternalServerError ¶
func NewAddBranchInternalServerError() *AddBranchInternalServerError
NewAddBranchInternalServerError creates a AddBranchInternalServerError with default headers values
func (*AddBranchInternalServerError) Error ¶
func (o *AddBranchInternalServerError) Error() string
func (*AddBranchInternalServerError) GetPayload ¶
func (o *AddBranchInternalServerError) GetPayload() *mono_models.Message
type AddBranchNotFound ¶
type AddBranchNotFound struct {
Payload *mono_models.Message
}
AddBranchNotFound describes a response with status code 404, with default header values.
Not Found
func NewAddBranchNotFound ¶
func NewAddBranchNotFound() *AddBranchNotFound
NewAddBranchNotFound creates a AddBranchNotFound with default headers values
func (*AddBranchNotFound) Error ¶
func (o *AddBranchNotFound) Error() string
func (*AddBranchNotFound) GetPayload ¶
func (o *AddBranchNotFound) GetPayload() *mono_models.Message
type AddBranchOK ¶
type AddBranchOK struct {
Payload *mono_models.Branch
}
AddBranchOK describes a response with status code 200, with default header values.
Success
func NewAddBranchOK ¶
func NewAddBranchOK() *AddBranchOK
NewAddBranchOK creates a AddBranchOK with default headers values
func (*AddBranchOK) Error ¶
func (o *AddBranchOK) Error() string
func (*AddBranchOK) GetPayload ¶
func (o *AddBranchOK) GetPayload() *mono_models.Branch
type AddBranchParams ¶
type AddBranchParams struct { // Body. Body AddBranchBody /* ProjectID. project ID Format: uuid */ ProjectID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddBranchParams contains all the parameters to send to the API endpoint
for the add branch operation. Typically these are written to a http.Request.
func NewAddBranchParams ¶
func NewAddBranchParams() *AddBranchParams
NewAddBranchParams creates a new AddBranchParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddBranchParamsWithContext ¶
func NewAddBranchParamsWithContext(ctx context.Context) *AddBranchParams
NewAddBranchParamsWithContext creates a new AddBranchParams object with the ability to set a context for a request.
func NewAddBranchParamsWithHTTPClient ¶
func NewAddBranchParamsWithHTTPClient(client *http.Client) *AddBranchParams
NewAddBranchParamsWithHTTPClient creates a new AddBranchParams object with the ability to set a custom HTTPClient for a request.
func NewAddBranchParamsWithTimeout ¶
func NewAddBranchParamsWithTimeout(timeout time.Duration) *AddBranchParams
NewAddBranchParamsWithTimeout creates a new AddBranchParams object with the ability to set a timeout on a request.
func (*AddBranchParams) SetBody ¶
func (o *AddBranchParams) SetBody(body AddBranchBody)
SetBody adds the body to the add branch params
func (*AddBranchParams) SetContext ¶
func (o *AddBranchParams) SetContext(ctx context.Context)
SetContext adds the context to the add branch params
func (*AddBranchParams) SetDefaults ¶
func (o *AddBranchParams) SetDefaults()
SetDefaults hydrates default values in the add branch params (not the query body).
All values with no default are reset to their zero value.
func (*AddBranchParams) SetHTTPClient ¶
func (o *AddBranchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add branch params
func (*AddBranchParams) SetProjectID ¶
func (o *AddBranchParams) SetProjectID(projectID strfmt.UUID)
SetProjectID adds the projectId to the add branch params
func (*AddBranchParams) SetTimeout ¶
func (o *AddBranchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add branch params
func (*AddBranchParams) WithBody ¶
func (o *AddBranchParams) WithBody(body AddBranchBody) *AddBranchParams
WithBody adds the body to the add branch params
func (*AddBranchParams) WithContext ¶
func (o *AddBranchParams) WithContext(ctx context.Context) *AddBranchParams
WithContext adds the context to the add branch params
func (*AddBranchParams) WithDefaults ¶
func (o *AddBranchParams) WithDefaults() *AddBranchParams
WithDefaults hydrates default values in the add branch params (not the query body).
All values with no default are reset to their zero value.
func (*AddBranchParams) WithHTTPClient ¶
func (o *AddBranchParams) WithHTTPClient(client *http.Client) *AddBranchParams
WithHTTPClient adds the HTTPClient to the add branch params
func (*AddBranchParams) WithProjectID ¶
func (o *AddBranchParams) WithProjectID(projectID strfmt.UUID) *AddBranchParams
WithProjectID adds the projectID to the add branch params
func (*AddBranchParams) WithTimeout ¶
func (o *AddBranchParams) WithTimeout(timeout time.Duration) *AddBranchParams
WithTimeout adds the timeout to the add branch params
func (*AddBranchParams) WriteToRequest ¶
func (o *AddBranchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddBranchReader ¶
type AddBranchReader struct {
// contains filtered or unexported fields
}
AddBranchReader is a Reader for the AddBranch structure.
func (*AddBranchReader) ReadResponse ¶
func (o *AddBranchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddProjectBadRequest ¶
type AddProjectBadRequest struct {
Payload *mono_models.Message
}
AddProjectBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewAddProjectBadRequest ¶
func NewAddProjectBadRequest() *AddProjectBadRequest
NewAddProjectBadRequest creates a AddProjectBadRequest with default headers values
func (*AddProjectBadRequest) Error ¶
func (o *AddProjectBadRequest) Error() string
func (*AddProjectBadRequest) GetPayload ¶
func (o *AddProjectBadRequest) GetPayload() *mono_models.Message
type AddProjectConflict ¶
type AddProjectConflict struct {
Payload *mono_models.Message
}
AddProjectConflict describes a response with status code 409, with default header values.
Conflict
func NewAddProjectConflict ¶
func NewAddProjectConflict() *AddProjectConflict
NewAddProjectConflict creates a AddProjectConflict with default headers values
func (*AddProjectConflict) Error ¶
func (o *AddProjectConflict) Error() string
func (*AddProjectConflict) GetPayload ¶
func (o *AddProjectConflict) GetPayload() *mono_models.Message
type AddProjectForbidden ¶
type AddProjectForbidden struct {
Payload *mono_models.Message
}
AddProjectForbidden describes a response with status code 403, with default header values.
Forbidden
func NewAddProjectForbidden ¶
func NewAddProjectForbidden() *AddProjectForbidden
NewAddProjectForbidden creates a AddProjectForbidden with default headers values
func (*AddProjectForbidden) Error ¶
func (o *AddProjectForbidden) Error() string
func (*AddProjectForbidden) GetPayload ¶
func (o *AddProjectForbidden) GetPayload() *mono_models.Message
type AddProjectInternalServerError ¶
type AddProjectInternalServerError struct {
Payload *mono_models.Message
}
AddProjectInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewAddProjectInternalServerError ¶
func NewAddProjectInternalServerError() *AddProjectInternalServerError
NewAddProjectInternalServerError creates a AddProjectInternalServerError with default headers values
func (*AddProjectInternalServerError) Error ¶
func (o *AddProjectInternalServerError) Error() string
func (*AddProjectInternalServerError) GetPayload ¶
func (o *AddProjectInternalServerError) GetPayload() *mono_models.Message
type AddProjectNotFound ¶
type AddProjectNotFound struct {
Payload *mono_models.Message
}
AddProjectNotFound describes a response with status code 404, with default header values.
Not Found
func NewAddProjectNotFound ¶
func NewAddProjectNotFound() *AddProjectNotFound
NewAddProjectNotFound creates a AddProjectNotFound with default headers values
func (*AddProjectNotFound) Error ¶
func (o *AddProjectNotFound) Error() string
func (*AddProjectNotFound) GetPayload ¶
func (o *AddProjectNotFound) GetPayload() *mono_models.Message
type AddProjectOK ¶
type AddProjectOK struct {
Payload *mono_models.Project
}
AddProjectOK describes a response with status code 200, with default header values.
Project Added
func NewAddProjectOK ¶
func NewAddProjectOK() *AddProjectOK
NewAddProjectOK creates a AddProjectOK with default headers values
func (*AddProjectOK) Error ¶
func (o *AddProjectOK) Error() string
func (*AddProjectOK) GetPayload ¶
func (o *AddProjectOK) GetPayload() *mono_models.Project
type AddProjectParams ¶
type AddProjectParams struct { /* OrganizationName. organization name of desired organization */ OrganizationName string /* Project. Project to add/update */ Project *mono_models.Project Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddProjectParams contains all the parameters to send to the API endpoint
for the add project operation. Typically these are written to a http.Request.
func NewAddProjectParams ¶
func NewAddProjectParams() *AddProjectParams
NewAddProjectParams creates a new AddProjectParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddProjectParamsWithContext ¶
func NewAddProjectParamsWithContext(ctx context.Context) *AddProjectParams
NewAddProjectParamsWithContext creates a new AddProjectParams object with the ability to set a context for a request.
func NewAddProjectParamsWithHTTPClient ¶
func NewAddProjectParamsWithHTTPClient(client *http.Client) *AddProjectParams
NewAddProjectParamsWithHTTPClient creates a new AddProjectParams object with the ability to set a custom HTTPClient for a request.
func NewAddProjectParamsWithTimeout ¶
func NewAddProjectParamsWithTimeout(timeout time.Duration) *AddProjectParams
NewAddProjectParamsWithTimeout creates a new AddProjectParams object with the ability to set a timeout on a request.
func (*AddProjectParams) SetContext ¶
func (o *AddProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the add project params
func (*AddProjectParams) SetDefaults ¶
func (o *AddProjectParams) SetDefaults()
SetDefaults hydrates default values in the add project params (not the query body).
All values with no default are reset to their zero value.
func (*AddProjectParams) SetHTTPClient ¶
func (o *AddProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add project params
func (*AddProjectParams) SetOrganizationName ¶
func (o *AddProjectParams) SetOrganizationName(organizationName string)
SetOrganizationName adds the organizationName to the add project params
func (*AddProjectParams) SetProject ¶
func (o *AddProjectParams) SetProject(project *mono_models.Project)
SetProject adds the project to the add project params
func (*AddProjectParams) SetTimeout ¶
func (o *AddProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add project params
func (*AddProjectParams) WithContext ¶
func (o *AddProjectParams) WithContext(ctx context.Context) *AddProjectParams
WithContext adds the context to the add project params
func (*AddProjectParams) WithDefaults ¶
func (o *AddProjectParams) WithDefaults() *AddProjectParams
WithDefaults hydrates default values in the add project params (not the query body).
All values with no default are reset to their zero value.
func (*AddProjectParams) WithHTTPClient ¶
func (o *AddProjectParams) WithHTTPClient(client *http.Client) *AddProjectParams
WithHTTPClient adds the HTTPClient to the add project params
func (*AddProjectParams) WithOrganizationName ¶
func (o *AddProjectParams) WithOrganizationName(organizationName string) *AddProjectParams
WithOrganizationName adds the organizationName to the add project params
func (*AddProjectParams) WithProject ¶
func (o *AddProjectParams) WithProject(project *mono_models.Project) *AddProjectParams
WithProject adds the project to the add project params
func (*AddProjectParams) WithTimeout ¶
func (o *AddProjectParams) WithTimeout(timeout time.Duration) *AddProjectParams
WithTimeout adds the timeout to the add project params
func (*AddProjectParams) WriteToRequest ¶
func (o *AddProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddProjectReader ¶
type AddProjectReader struct {
// contains filtered or unexported fields
}
AddProjectReader is a Reader for the AddProject structure.
func (*AddProjectReader) ReadResponse ¶
func (o *AddProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for projects API
func (*Client) AddBranch ¶
func (a *Client) AddBranch(params *AddBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddBranchOK, error)
AddBranch adds branch
Add a branch on the specified project
func (*Client) AddProject ¶
func (a *Client) AddProject(params *AddProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddProjectOK, error)
AddProject creates a project
Add a new project to an organization
func (*Client) DeleteProject ¶
func (a *Client) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectOK, error)
DeleteProject deletes a project
Delete a Project
func (*Client) EditProject ¶
func (a *Client) EditProject(params *EditProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditProjectOK, error)
EditProject edits a project
Edit a project
func (*Client) ForkProject ¶
func (a *Client) ForkProject(params *ForkProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForkProjectOK, error)
ForkProject forks a project
Fork a project
func (*Client) GetProject ¶
func (a *Client) GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectOK, error)
GetProject organizations project info
Get project details
func (*Client) GetProjectByID ¶
func (a *Client) GetProjectByID(params *GetProjectByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectByIDOK, error)
GetProjectByID projects info
Get project details by ID
func (*Client) ListProjects ¶
func (a *Client) ListProjects(params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectsOK, error)
ListProjects organizations projects
Return a list of projects for an organization
func (*Client) MoveProject ¶
func (a *Client) MoveProject(params *MoveProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MoveProjectOK, error)
MoveProject moves a project to a different organization
Move a project to a different organization
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AddBranch(params *AddBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddBranchOK, error) AddProject(params *AddProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddProjectOK, error) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectOK, error) EditProject(params *EditProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditProjectOK, error) ForkProject(params *ForkProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForkProjectOK, error) GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectOK, error) GetProjectByID(params *GetProjectByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectByIDOK, error) ListProjects(params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectsOK, error) MoveProject(params *MoveProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MoveProjectOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new projects API client.
type DeleteProjectBadRequest ¶
type DeleteProjectBadRequest struct {
Payload *mono_models.Message
}
DeleteProjectBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteProjectBadRequest ¶
func NewDeleteProjectBadRequest() *DeleteProjectBadRequest
NewDeleteProjectBadRequest creates a DeleteProjectBadRequest with default headers values
func (*DeleteProjectBadRequest) Error ¶
func (o *DeleteProjectBadRequest) Error() string
func (*DeleteProjectBadRequest) GetPayload ¶
func (o *DeleteProjectBadRequest) GetPayload() *mono_models.Message
type DeleteProjectForbidden ¶
type DeleteProjectForbidden struct {
Payload *mono_models.Message
}
DeleteProjectForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteProjectForbidden ¶
func NewDeleteProjectForbidden() *DeleteProjectForbidden
NewDeleteProjectForbidden creates a DeleteProjectForbidden with default headers values
func (*DeleteProjectForbidden) Error ¶
func (o *DeleteProjectForbidden) Error() string
func (*DeleteProjectForbidden) GetPayload ¶
func (o *DeleteProjectForbidden) GetPayload() *mono_models.Message
type DeleteProjectInternalServerError ¶
type DeleteProjectInternalServerError struct {
Payload *mono_models.Message
}
DeleteProjectInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewDeleteProjectInternalServerError ¶
func NewDeleteProjectInternalServerError() *DeleteProjectInternalServerError
NewDeleteProjectInternalServerError creates a DeleteProjectInternalServerError with default headers values
func (*DeleteProjectInternalServerError) Error ¶
func (o *DeleteProjectInternalServerError) Error() string
func (*DeleteProjectInternalServerError) GetPayload ¶
func (o *DeleteProjectInternalServerError) GetPayload() *mono_models.Message
type DeleteProjectNotFound ¶
type DeleteProjectNotFound struct {
Payload *mono_models.Message
}
DeleteProjectNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteProjectNotFound ¶
func NewDeleteProjectNotFound() *DeleteProjectNotFound
NewDeleteProjectNotFound creates a DeleteProjectNotFound with default headers values
func (*DeleteProjectNotFound) Error ¶
func (o *DeleteProjectNotFound) Error() string
func (*DeleteProjectNotFound) GetPayload ¶
func (o *DeleteProjectNotFound) GetPayload() *mono_models.Message
type DeleteProjectOK ¶
type DeleteProjectOK struct {
Payload *mono_models.Message
}
DeleteProjectOK describes a response with status code 200, with default header values.
Project deleted
func NewDeleteProjectOK ¶
func NewDeleteProjectOK() *DeleteProjectOK
NewDeleteProjectOK creates a DeleteProjectOK with default headers values
func (*DeleteProjectOK) Error ¶
func (o *DeleteProjectOK) Error() string
func (*DeleteProjectOK) GetPayload ¶
func (o *DeleteProjectOK) GetPayload() *mono_models.Message
type DeleteProjectParams ¶
type DeleteProjectParams struct { /* OrganizationName. Name of desired project's parent organization */ OrganizationName string /* ProjectName. Name of the desired project */ ProjectName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteProjectParams contains all the parameters to send to the API endpoint
for the delete project operation. Typically these are written to a http.Request.
func NewDeleteProjectParams ¶
func NewDeleteProjectParams() *DeleteProjectParams
NewDeleteProjectParams creates a new DeleteProjectParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteProjectParamsWithContext ¶
func NewDeleteProjectParamsWithContext(ctx context.Context) *DeleteProjectParams
NewDeleteProjectParamsWithContext creates a new DeleteProjectParams object with the ability to set a context for a request.
func NewDeleteProjectParamsWithHTTPClient ¶
func NewDeleteProjectParamsWithHTTPClient(client *http.Client) *DeleteProjectParams
NewDeleteProjectParamsWithHTTPClient creates a new DeleteProjectParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteProjectParamsWithTimeout ¶
func NewDeleteProjectParamsWithTimeout(timeout time.Duration) *DeleteProjectParams
NewDeleteProjectParamsWithTimeout creates a new DeleteProjectParams object with the ability to set a timeout on a request.
func (*DeleteProjectParams) SetContext ¶
func (o *DeleteProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the delete project params
func (*DeleteProjectParams) SetDefaults ¶
func (o *DeleteProjectParams) SetDefaults()
SetDefaults hydrates default values in the delete project params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProjectParams) SetHTTPClient ¶
func (o *DeleteProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete project params
func (*DeleteProjectParams) SetOrganizationName ¶
func (o *DeleteProjectParams) SetOrganizationName(organizationName string)
SetOrganizationName adds the organizationName to the delete project params
func (*DeleteProjectParams) SetProjectName ¶
func (o *DeleteProjectParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the delete project params
func (*DeleteProjectParams) SetTimeout ¶
func (o *DeleteProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete project params
func (*DeleteProjectParams) WithContext ¶
func (o *DeleteProjectParams) WithContext(ctx context.Context) *DeleteProjectParams
WithContext adds the context to the delete project params
func (*DeleteProjectParams) WithDefaults ¶
func (o *DeleteProjectParams) WithDefaults() *DeleteProjectParams
WithDefaults hydrates default values in the delete project params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProjectParams) WithHTTPClient ¶
func (o *DeleteProjectParams) WithHTTPClient(client *http.Client) *DeleteProjectParams
WithHTTPClient adds the HTTPClient to the delete project params
func (*DeleteProjectParams) WithOrganizationName ¶
func (o *DeleteProjectParams) WithOrganizationName(organizationName string) *DeleteProjectParams
WithOrganizationName adds the organizationName to the delete project params
func (*DeleteProjectParams) WithProjectName ¶
func (o *DeleteProjectParams) WithProjectName(projectName string) *DeleteProjectParams
WithProjectName adds the projectName to the delete project params
func (*DeleteProjectParams) WithTimeout ¶
func (o *DeleteProjectParams) WithTimeout(timeout time.Duration) *DeleteProjectParams
WithTimeout adds the timeout to the delete project params
func (*DeleteProjectParams) WriteToRequest ¶
func (o *DeleteProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteProjectReader ¶
type DeleteProjectReader struct {
// contains filtered or unexported fields
}
DeleteProjectReader is a Reader for the DeleteProject structure.
func (*DeleteProjectReader) ReadResponse ¶
func (o *DeleteProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EditProjectBadRequest ¶
type EditProjectBadRequest struct {
Payload *mono_models.Message
}
EditProjectBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewEditProjectBadRequest ¶
func NewEditProjectBadRequest() *EditProjectBadRequest
NewEditProjectBadRequest creates a EditProjectBadRequest with default headers values
func (*EditProjectBadRequest) Error ¶
func (o *EditProjectBadRequest) Error() string
func (*EditProjectBadRequest) GetPayload ¶
func (o *EditProjectBadRequest) GetPayload() *mono_models.Message
type EditProjectConflict ¶
type EditProjectConflict struct {
Payload *mono_models.Message
}
EditProjectConflict describes a response with status code 409, with default header values.
Conflict
func NewEditProjectConflict ¶
func NewEditProjectConflict() *EditProjectConflict
NewEditProjectConflict creates a EditProjectConflict with default headers values
func (*EditProjectConflict) Error ¶
func (o *EditProjectConflict) Error() string
func (*EditProjectConflict) GetPayload ¶
func (o *EditProjectConflict) GetPayload() *mono_models.Message
type EditProjectForbidden ¶
type EditProjectForbidden struct {
Payload *mono_models.Message
}
EditProjectForbidden describes a response with status code 403, with default header values.
Unauthorized
func NewEditProjectForbidden ¶
func NewEditProjectForbidden() *EditProjectForbidden
NewEditProjectForbidden creates a EditProjectForbidden with default headers values
func (*EditProjectForbidden) Error ¶
func (o *EditProjectForbidden) Error() string
func (*EditProjectForbidden) GetPayload ¶
func (o *EditProjectForbidden) GetPayload() *mono_models.Message
type EditProjectInternalServerError ¶
type EditProjectInternalServerError struct {
Payload *mono_models.Message
}
EditProjectInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewEditProjectInternalServerError ¶
func NewEditProjectInternalServerError() *EditProjectInternalServerError
NewEditProjectInternalServerError creates a EditProjectInternalServerError with default headers values
func (*EditProjectInternalServerError) Error ¶
func (o *EditProjectInternalServerError) Error() string
func (*EditProjectInternalServerError) GetPayload ¶
func (o *EditProjectInternalServerError) GetPayload() *mono_models.Message
type EditProjectNotFound ¶
type EditProjectNotFound struct {
Payload *mono_models.Message
}
EditProjectNotFound describes a response with status code 404, with default header values.
Not Found
func NewEditProjectNotFound ¶
func NewEditProjectNotFound() *EditProjectNotFound
NewEditProjectNotFound creates a EditProjectNotFound with default headers values
func (*EditProjectNotFound) Error ¶
func (o *EditProjectNotFound) Error() string
func (*EditProjectNotFound) GetPayload ¶
func (o *EditProjectNotFound) GetPayload() *mono_models.Message
type EditProjectOK ¶
type EditProjectOK struct {
Payload *mono_models.Project
}
EditProjectOK describes a response with status code 200, with default header values.
Project updated
func NewEditProjectOK ¶
func NewEditProjectOK() *EditProjectOK
NewEditProjectOK creates a EditProjectOK with default headers values
func (*EditProjectOK) Error ¶
func (o *EditProjectOK) Error() string
func (*EditProjectOK) GetPayload ¶
func (o *EditProjectOK) GetPayload() *mono_models.Project
type EditProjectParams ¶
type EditProjectParams struct { /* OrganizationName. organizationName of desired organization */ OrganizationName string // Project. Project *mono_models.ProjectEditable /* ProjectName. projectName of desired project */ ProjectName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EditProjectParams contains all the parameters to send to the API endpoint
for the edit project operation. Typically these are written to a http.Request.
func NewEditProjectParams ¶
func NewEditProjectParams() *EditProjectParams
NewEditProjectParams creates a new EditProjectParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewEditProjectParamsWithContext ¶
func NewEditProjectParamsWithContext(ctx context.Context) *EditProjectParams
NewEditProjectParamsWithContext creates a new EditProjectParams object with the ability to set a context for a request.
func NewEditProjectParamsWithHTTPClient ¶
func NewEditProjectParamsWithHTTPClient(client *http.Client) *EditProjectParams
NewEditProjectParamsWithHTTPClient creates a new EditProjectParams object with the ability to set a custom HTTPClient for a request.
func NewEditProjectParamsWithTimeout ¶
func NewEditProjectParamsWithTimeout(timeout time.Duration) *EditProjectParams
NewEditProjectParamsWithTimeout creates a new EditProjectParams object with the ability to set a timeout on a request.
func (*EditProjectParams) SetContext ¶
func (o *EditProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the edit project params
func (*EditProjectParams) SetDefaults ¶
func (o *EditProjectParams) SetDefaults()
SetDefaults hydrates default values in the edit project params (not the query body).
All values with no default are reset to their zero value.
func (*EditProjectParams) SetHTTPClient ¶
func (o *EditProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the edit project params
func (*EditProjectParams) SetOrganizationName ¶
func (o *EditProjectParams) SetOrganizationName(organizationName string)
SetOrganizationName adds the organizationName to the edit project params
func (*EditProjectParams) SetProject ¶
func (o *EditProjectParams) SetProject(project *mono_models.ProjectEditable)
SetProject adds the project to the edit project params
func (*EditProjectParams) SetProjectName ¶
func (o *EditProjectParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the edit project params
func (*EditProjectParams) SetTimeout ¶
func (o *EditProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the edit project params
func (*EditProjectParams) WithContext ¶
func (o *EditProjectParams) WithContext(ctx context.Context) *EditProjectParams
WithContext adds the context to the edit project params
func (*EditProjectParams) WithDefaults ¶
func (o *EditProjectParams) WithDefaults() *EditProjectParams
WithDefaults hydrates default values in the edit project params (not the query body).
All values with no default are reset to their zero value.
func (*EditProjectParams) WithHTTPClient ¶
func (o *EditProjectParams) WithHTTPClient(client *http.Client) *EditProjectParams
WithHTTPClient adds the HTTPClient to the edit project params
func (*EditProjectParams) WithOrganizationName ¶
func (o *EditProjectParams) WithOrganizationName(organizationName string) *EditProjectParams
WithOrganizationName adds the organizationName to the edit project params
func (*EditProjectParams) WithProject ¶
func (o *EditProjectParams) WithProject(project *mono_models.ProjectEditable) *EditProjectParams
WithProject adds the project to the edit project params
func (*EditProjectParams) WithProjectName ¶
func (o *EditProjectParams) WithProjectName(projectName string) *EditProjectParams
WithProjectName adds the projectName to the edit project params
func (*EditProjectParams) WithTimeout ¶
func (o *EditProjectParams) WithTimeout(timeout time.Duration) *EditProjectParams
WithTimeout adds the timeout to the edit project params
func (*EditProjectParams) WriteToRequest ¶
func (o *EditProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EditProjectReader ¶
type EditProjectReader struct {
// contains filtered or unexported fields
}
EditProjectReader is a Reader for the EditProject structure.
func (*EditProjectReader) ReadResponse ¶
func (o *EditProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ForkProjectBadRequest ¶
type ForkProjectBadRequest struct {
Payload *mono_models.Message
}
ForkProjectBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewForkProjectBadRequest ¶
func NewForkProjectBadRequest() *ForkProjectBadRequest
NewForkProjectBadRequest creates a ForkProjectBadRequest with default headers values
func (*ForkProjectBadRequest) Error ¶
func (o *ForkProjectBadRequest) Error() string
func (*ForkProjectBadRequest) GetPayload ¶
func (o *ForkProjectBadRequest) GetPayload() *mono_models.Message
type ForkProjectBody ¶
type ForkProjectBody struct { // Whether the project should be managed or not. // Required: true Managed *bool `json:"managed"` // Destination organization for the forked project. // Required: true OrganizationName string `json:"organizationName"` // Whether the project should be private or not. // Required: true Private *bool `json:"private"` // Optional new name of project. ProjectName string `json:"projectName,omitempty"` }
ForkProjectBody fork project body swagger:model ForkProjectBody
func (*ForkProjectBody) ContextValidate ¶
ContextValidate validates this fork project body based on context it is used
func (*ForkProjectBody) MarshalBinary ¶
func (o *ForkProjectBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ForkProjectBody) UnmarshalBinary ¶
func (o *ForkProjectBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ForkProjectConflict ¶
type ForkProjectConflict struct {
Payload *mono_models.Message
}
ForkProjectConflict describes a response with status code 409, with default header values.
Conflict
func NewForkProjectConflict ¶
func NewForkProjectConflict() *ForkProjectConflict
NewForkProjectConflict creates a ForkProjectConflict with default headers values
func (*ForkProjectConflict) Error ¶
func (o *ForkProjectConflict) Error() string
func (*ForkProjectConflict) GetPayload ¶
func (o *ForkProjectConflict) GetPayload() *mono_models.Message
type ForkProjectForbidden ¶
type ForkProjectForbidden struct {
Payload *mono_models.Message
}
ForkProjectForbidden describes a response with status code 403, with default header values.
Unauthorized
func NewForkProjectForbidden ¶
func NewForkProjectForbidden() *ForkProjectForbidden
NewForkProjectForbidden creates a ForkProjectForbidden with default headers values
func (*ForkProjectForbidden) Error ¶
func (o *ForkProjectForbidden) Error() string
func (*ForkProjectForbidden) GetPayload ¶
func (o *ForkProjectForbidden) GetPayload() *mono_models.Message
type ForkProjectInternalServerError ¶
type ForkProjectInternalServerError struct {
Payload *mono_models.Message
}
ForkProjectInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewForkProjectInternalServerError ¶
func NewForkProjectInternalServerError() *ForkProjectInternalServerError
NewForkProjectInternalServerError creates a ForkProjectInternalServerError with default headers values
func (*ForkProjectInternalServerError) Error ¶
func (o *ForkProjectInternalServerError) Error() string
func (*ForkProjectInternalServerError) GetPayload ¶
func (o *ForkProjectInternalServerError) GetPayload() *mono_models.Message
type ForkProjectNotFound ¶
type ForkProjectNotFound struct {
Payload *mono_models.Message
}
ForkProjectNotFound describes a response with status code 404, with default header values.
Not Found
func NewForkProjectNotFound ¶
func NewForkProjectNotFound() *ForkProjectNotFound
NewForkProjectNotFound creates a ForkProjectNotFound with default headers values
func (*ForkProjectNotFound) Error ¶
func (o *ForkProjectNotFound) Error() string
func (*ForkProjectNotFound) GetPayload ¶
func (o *ForkProjectNotFound) GetPayload() *mono_models.Message
type ForkProjectOK ¶
type ForkProjectOK struct {
Payload *mono_models.Project
}
ForkProjectOK describes a response with status code 200, with default header values.
Project forked
func NewForkProjectOK ¶
func NewForkProjectOK() *ForkProjectOK
NewForkProjectOK creates a ForkProjectOK with default headers values
func (*ForkProjectOK) Error ¶
func (o *ForkProjectOK) Error() string
func (*ForkProjectOK) GetPayload ¶
func (o *ForkProjectOK) GetPayload() *mono_models.Project
type ForkProjectParams ¶
type ForkProjectParams struct { /* Destination. Information about where to fork the project to. */ Destination ForkProjectBody /* OrganizationName. Name of origin organization */ OrganizationName string /* ProjectName. Name of origin project. */ ProjectName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ForkProjectParams contains all the parameters to send to the API endpoint
for the fork project operation. Typically these are written to a http.Request.
func NewForkProjectParams ¶
func NewForkProjectParams() *ForkProjectParams
NewForkProjectParams creates a new ForkProjectParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewForkProjectParamsWithContext ¶
func NewForkProjectParamsWithContext(ctx context.Context) *ForkProjectParams
NewForkProjectParamsWithContext creates a new ForkProjectParams object with the ability to set a context for a request.
func NewForkProjectParamsWithHTTPClient ¶
func NewForkProjectParamsWithHTTPClient(client *http.Client) *ForkProjectParams
NewForkProjectParamsWithHTTPClient creates a new ForkProjectParams object with the ability to set a custom HTTPClient for a request.
func NewForkProjectParamsWithTimeout ¶
func NewForkProjectParamsWithTimeout(timeout time.Duration) *ForkProjectParams
NewForkProjectParamsWithTimeout creates a new ForkProjectParams object with the ability to set a timeout on a request.
func (*ForkProjectParams) SetContext ¶
func (o *ForkProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the fork project params
func (*ForkProjectParams) SetDefaults ¶
func (o *ForkProjectParams) SetDefaults()
SetDefaults hydrates default values in the fork project params (not the query body).
All values with no default are reset to their zero value.
func (*ForkProjectParams) SetDestination ¶
func (o *ForkProjectParams) SetDestination(destination ForkProjectBody)
SetDestination adds the destination to the fork project params
func (*ForkProjectParams) SetHTTPClient ¶
func (o *ForkProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the fork project params
func (*ForkProjectParams) SetOrganizationName ¶
func (o *ForkProjectParams) SetOrganizationName(organizationName string)
SetOrganizationName adds the organizationName to the fork project params
func (*ForkProjectParams) SetProjectName ¶
func (o *ForkProjectParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the fork project params
func (*ForkProjectParams) SetTimeout ¶
func (o *ForkProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the fork project params
func (*ForkProjectParams) WithContext ¶
func (o *ForkProjectParams) WithContext(ctx context.Context) *ForkProjectParams
WithContext adds the context to the fork project params
func (*ForkProjectParams) WithDefaults ¶
func (o *ForkProjectParams) WithDefaults() *ForkProjectParams
WithDefaults hydrates default values in the fork project params (not the query body).
All values with no default are reset to their zero value.
func (*ForkProjectParams) WithDestination ¶
func (o *ForkProjectParams) WithDestination(destination ForkProjectBody) *ForkProjectParams
WithDestination adds the destination to the fork project params
func (*ForkProjectParams) WithHTTPClient ¶
func (o *ForkProjectParams) WithHTTPClient(client *http.Client) *ForkProjectParams
WithHTTPClient adds the HTTPClient to the fork project params
func (*ForkProjectParams) WithOrganizationName ¶
func (o *ForkProjectParams) WithOrganizationName(organizationName string) *ForkProjectParams
WithOrganizationName adds the organizationName to the fork project params
func (*ForkProjectParams) WithProjectName ¶
func (o *ForkProjectParams) WithProjectName(projectName string) *ForkProjectParams
WithProjectName adds the projectName to the fork project params
func (*ForkProjectParams) WithTimeout ¶
func (o *ForkProjectParams) WithTimeout(timeout time.Duration) *ForkProjectParams
WithTimeout adds the timeout to the fork project params
func (*ForkProjectParams) WriteToRequest ¶
func (o *ForkProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ForkProjectReader ¶
type ForkProjectReader struct {
// contains filtered or unexported fields
}
ForkProjectReader is a Reader for the ForkProject structure.
func (*ForkProjectReader) ReadResponse ¶
func (o *ForkProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectByIDInternalServerError ¶
type GetProjectByIDInternalServerError struct {
Payload *mono_models.Message
}
GetProjectByIDInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewGetProjectByIDInternalServerError ¶
func NewGetProjectByIDInternalServerError() *GetProjectByIDInternalServerError
NewGetProjectByIDInternalServerError creates a GetProjectByIDInternalServerError with default headers values
func (*GetProjectByIDInternalServerError) Error ¶
func (o *GetProjectByIDInternalServerError) Error() string
func (*GetProjectByIDInternalServerError) GetPayload ¶
func (o *GetProjectByIDInternalServerError) GetPayload() *mono_models.Message
type GetProjectByIDNotFound ¶
type GetProjectByIDNotFound struct {
Payload *mono_models.Message
}
GetProjectByIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetProjectByIDNotFound ¶
func NewGetProjectByIDNotFound() *GetProjectByIDNotFound
NewGetProjectByIDNotFound creates a GetProjectByIDNotFound with default headers values
func (*GetProjectByIDNotFound) Error ¶
func (o *GetProjectByIDNotFound) Error() string
func (*GetProjectByIDNotFound) GetPayload ¶
func (o *GetProjectByIDNotFound) GetPayload() *mono_models.Message
type GetProjectByIDOK ¶
type GetProjectByIDOK struct {
Payload *mono_models.Project
}
GetProjectByIDOK describes a response with status code 200, with default header values.
Success
func NewGetProjectByIDOK ¶
func NewGetProjectByIDOK() *GetProjectByIDOK
NewGetProjectByIDOK creates a GetProjectByIDOK with default headers values
func (*GetProjectByIDOK) Error ¶
func (o *GetProjectByIDOK) Error() string
func (*GetProjectByIDOK) GetPayload ¶
func (o *GetProjectByIDOK) GetPayload() *mono_models.Project
type GetProjectByIDParams ¶
type GetProjectByIDParams struct { /* ProjectID. project ID Format: uuid */ ProjectID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProjectByIDParams contains all the parameters to send to the API endpoint
for the get project by ID operation. Typically these are written to a http.Request.
func NewGetProjectByIDParams ¶
func NewGetProjectByIDParams() *GetProjectByIDParams
NewGetProjectByIDParams creates a new GetProjectByIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetProjectByIDParamsWithContext ¶
func NewGetProjectByIDParamsWithContext(ctx context.Context) *GetProjectByIDParams
NewGetProjectByIDParamsWithContext creates a new GetProjectByIDParams object with the ability to set a context for a request.
func NewGetProjectByIDParamsWithHTTPClient ¶
func NewGetProjectByIDParamsWithHTTPClient(client *http.Client) *GetProjectByIDParams
NewGetProjectByIDParamsWithHTTPClient creates a new GetProjectByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetProjectByIDParamsWithTimeout ¶
func NewGetProjectByIDParamsWithTimeout(timeout time.Duration) *GetProjectByIDParams
NewGetProjectByIDParamsWithTimeout creates a new GetProjectByIDParams object with the ability to set a timeout on a request.
func (*GetProjectByIDParams) SetContext ¶
func (o *GetProjectByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get project by ID params
func (*GetProjectByIDParams) SetDefaults ¶
func (o *GetProjectByIDParams) SetDefaults()
SetDefaults hydrates default values in the get project by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectByIDParams) SetHTTPClient ¶
func (o *GetProjectByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get project by ID params
func (*GetProjectByIDParams) SetProjectID ¶
func (o *GetProjectByIDParams) SetProjectID(projectID strfmt.UUID)
SetProjectID adds the projectId to the get project by ID params
func (*GetProjectByIDParams) SetTimeout ¶
func (o *GetProjectByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get project by ID params
func (*GetProjectByIDParams) WithContext ¶
func (o *GetProjectByIDParams) WithContext(ctx context.Context) *GetProjectByIDParams
WithContext adds the context to the get project by ID params
func (*GetProjectByIDParams) WithDefaults ¶
func (o *GetProjectByIDParams) WithDefaults() *GetProjectByIDParams
WithDefaults hydrates default values in the get project by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectByIDParams) WithHTTPClient ¶
func (o *GetProjectByIDParams) WithHTTPClient(client *http.Client) *GetProjectByIDParams
WithHTTPClient adds the HTTPClient to the get project by ID params
func (*GetProjectByIDParams) WithProjectID ¶
func (o *GetProjectByIDParams) WithProjectID(projectID strfmt.UUID) *GetProjectByIDParams
WithProjectID adds the projectID to the get project by ID params
func (*GetProjectByIDParams) WithTimeout ¶
func (o *GetProjectByIDParams) WithTimeout(timeout time.Duration) *GetProjectByIDParams
WithTimeout adds the timeout to the get project by ID params
func (*GetProjectByIDParams) WriteToRequest ¶
func (o *GetProjectByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectByIDReader ¶
type GetProjectByIDReader struct {
// contains filtered or unexported fields
}
GetProjectByIDReader is a Reader for the GetProjectByID structure.
func (*GetProjectByIDReader) ReadResponse ¶
func (o *GetProjectByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectInternalServerError ¶
type GetProjectInternalServerError struct {
Payload *mono_models.Message
}
GetProjectInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewGetProjectInternalServerError ¶
func NewGetProjectInternalServerError() *GetProjectInternalServerError
NewGetProjectInternalServerError creates a GetProjectInternalServerError with default headers values
func (*GetProjectInternalServerError) Error ¶
func (o *GetProjectInternalServerError) Error() string
func (*GetProjectInternalServerError) GetPayload ¶
func (o *GetProjectInternalServerError) GetPayload() *mono_models.Message
type GetProjectNotFound ¶
type GetProjectNotFound struct {
Payload *mono_models.Message
}
GetProjectNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetProjectNotFound ¶
func NewGetProjectNotFound() *GetProjectNotFound
NewGetProjectNotFound creates a GetProjectNotFound with default headers values
func (*GetProjectNotFound) Error ¶
func (o *GetProjectNotFound) Error() string
func (*GetProjectNotFound) GetPayload ¶
func (o *GetProjectNotFound) GetPayload() *mono_models.Message
type GetProjectOK ¶
type GetProjectOK struct {
Payload *mono_models.Project
}
GetProjectOK describes a response with status code 200, with default header values.
Success
func NewGetProjectOK ¶
func NewGetProjectOK() *GetProjectOK
NewGetProjectOK creates a GetProjectOK with default headers values
func (*GetProjectOK) Error ¶
func (o *GetProjectOK) Error() string
func (*GetProjectOK) GetPayload ¶
func (o *GetProjectOK) GetPayload() *mono_models.Project
type GetProjectParams ¶
type GetProjectParams struct { /* OrganizationName. organization to search */ OrganizationName string /* ProjectName. project to fetch */ ProjectName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProjectParams contains all the parameters to send to the API endpoint
for the get project operation. Typically these are written to a http.Request.
func NewGetProjectParams ¶
func NewGetProjectParams() *GetProjectParams
NewGetProjectParams creates a new GetProjectParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetProjectParamsWithContext ¶
func NewGetProjectParamsWithContext(ctx context.Context) *GetProjectParams
NewGetProjectParamsWithContext creates a new GetProjectParams object with the ability to set a context for a request.
func NewGetProjectParamsWithHTTPClient ¶
func NewGetProjectParamsWithHTTPClient(client *http.Client) *GetProjectParams
NewGetProjectParamsWithHTTPClient creates a new GetProjectParams object with the ability to set a custom HTTPClient for a request.
func NewGetProjectParamsWithTimeout ¶
func NewGetProjectParamsWithTimeout(timeout time.Duration) *GetProjectParams
NewGetProjectParamsWithTimeout creates a new GetProjectParams object with the ability to set a timeout on a request.
func (*GetProjectParams) SetContext ¶
func (o *GetProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the get project params
func (*GetProjectParams) SetDefaults ¶
func (o *GetProjectParams) SetDefaults()
SetDefaults hydrates default values in the get project params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectParams) SetHTTPClient ¶
func (o *GetProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get project params
func (*GetProjectParams) SetOrganizationName ¶
func (o *GetProjectParams) SetOrganizationName(organizationName string)
SetOrganizationName adds the organizationName to the get project params
func (*GetProjectParams) SetProjectName ¶
func (o *GetProjectParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the get project params
func (*GetProjectParams) SetTimeout ¶
func (o *GetProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get project params
func (*GetProjectParams) WithContext ¶
func (o *GetProjectParams) WithContext(ctx context.Context) *GetProjectParams
WithContext adds the context to the get project params
func (*GetProjectParams) WithDefaults ¶
func (o *GetProjectParams) WithDefaults() *GetProjectParams
WithDefaults hydrates default values in the get project params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectParams) WithHTTPClient ¶
func (o *GetProjectParams) WithHTTPClient(client *http.Client) *GetProjectParams
WithHTTPClient adds the HTTPClient to the get project params
func (*GetProjectParams) WithOrganizationName ¶
func (o *GetProjectParams) WithOrganizationName(organizationName string) *GetProjectParams
WithOrganizationName adds the organizationName to the get project params
func (*GetProjectParams) WithProjectName ¶
func (o *GetProjectParams) WithProjectName(projectName string) *GetProjectParams
WithProjectName adds the projectName to the get project params
func (*GetProjectParams) WithTimeout ¶
func (o *GetProjectParams) WithTimeout(timeout time.Duration) *GetProjectParams
WithTimeout adds the timeout to the get project params
func (*GetProjectParams) WriteToRequest ¶
func (o *GetProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectReader ¶
type GetProjectReader struct {
// contains filtered or unexported fields
}
GetProjectReader is a Reader for the GetProject structure.
func (*GetProjectReader) ReadResponse ¶
func (o *GetProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListProjectsInternalServerError ¶
type ListProjectsInternalServerError struct {
Payload *mono_models.Message
}
ListProjectsInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewListProjectsInternalServerError ¶
func NewListProjectsInternalServerError() *ListProjectsInternalServerError
NewListProjectsInternalServerError creates a ListProjectsInternalServerError with default headers values
func (*ListProjectsInternalServerError) Error ¶
func (o *ListProjectsInternalServerError) Error() string
func (*ListProjectsInternalServerError) GetPayload ¶
func (o *ListProjectsInternalServerError) GetPayload() *mono_models.Message
type ListProjectsNotFound ¶
type ListProjectsNotFound struct {
Payload *mono_models.Message
}
ListProjectsNotFound describes a response with status code 404, with default header values.
Not Found
func NewListProjectsNotFound ¶
func NewListProjectsNotFound() *ListProjectsNotFound
NewListProjectsNotFound creates a ListProjectsNotFound with default headers values
func (*ListProjectsNotFound) Error ¶
func (o *ListProjectsNotFound) Error() string
func (*ListProjectsNotFound) GetPayload ¶
func (o *ListProjectsNotFound) GetPayload() *mono_models.Message
type ListProjectsOK ¶
type ListProjectsOK struct {
Payload []*mono_models.Project
}
ListProjectsOK describes a response with status code 200, with default header values.
Success
func NewListProjectsOK ¶
func NewListProjectsOK() *ListProjectsOK
NewListProjectsOK creates a ListProjectsOK with default headers values
func (*ListProjectsOK) Error ¶
func (o *ListProjectsOK) Error() string
func (*ListProjectsOK) GetPayload ¶
func (o *ListProjectsOK) GetPayload() []*mono_models.Project
type ListProjectsParams ¶
type ListProjectsParams struct { /* OrganizationName. organization to search */ OrganizationName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListProjectsParams contains all the parameters to send to the API endpoint
for the list projects operation. Typically these are written to a http.Request.
func NewListProjectsParams ¶
func NewListProjectsParams() *ListProjectsParams
NewListProjectsParams creates a new ListProjectsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListProjectsParamsWithContext ¶
func NewListProjectsParamsWithContext(ctx context.Context) *ListProjectsParams
NewListProjectsParamsWithContext creates a new ListProjectsParams object with the ability to set a context for a request.
func NewListProjectsParamsWithHTTPClient ¶
func NewListProjectsParamsWithHTTPClient(client *http.Client) *ListProjectsParams
NewListProjectsParamsWithHTTPClient creates a new ListProjectsParams object with the ability to set a custom HTTPClient for a request.
func NewListProjectsParamsWithTimeout ¶
func NewListProjectsParamsWithTimeout(timeout time.Duration) *ListProjectsParams
NewListProjectsParamsWithTimeout creates a new ListProjectsParams object with the ability to set a timeout on a request.
func (*ListProjectsParams) SetContext ¶
func (o *ListProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the list projects params
func (*ListProjectsParams) SetDefaults ¶
func (o *ListProjectsParams) SetDefaults()
SetDefaults hydrates default values in the list projects params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectsParams) SetHTTPClient ¶
func (o *ListProjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list projects params
func (*ListProjectsParams) SetOrganizationName ¶
func (o *ListProjectsParams) SetOrganizationName(organizationName string)
SetOrganizationName adds the organizationName to the list projects params
func (*ListProjectsParams) SetTimeout ¶
func (o *ListProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list projects params
func (*ListProjectsParams) WithContext ¶
func (o *ListProjectsParams) WithContext(ctx context.Context) *ListProjectsParams
WithContext adds the context to the list projects params
func (*ListProjectsParams) WithDefaults ¶
func (o *ListProjectsParams) WithDefaults() *ListProjectsParams
WithDefaults hydrates default values in the list projects params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectsParams) WithHTTPClient ¶
func (o *ListProjectsParams) WithHTTPClient(client *http.Client) *ListProjectsParams
WithHTTPClient adds the HTTPClient to the list projects params
func (*ListProjectsParams) WithOrganizationName ¶
func (o *ListProjectsParams) WithOrganizationName(organizationName string) *ListProjectsParams
WithOrganizationName adds the organizationName to the list projects params
func (*ListProjectsParams) WithTimeout ¶
func (o *ListProjectsParams) WithTimeout(timeout time.Duration) *ListProjectsParams
WithTimeout adds the timeout to the list projects params
func (*ListProjectsParams) WriteToRequest ¶
func (o *ListProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListProjectsReader ¶
type ListProjectsReader struct {
// contains filtered or unexported fields
}
ListProjectsReader is a Reader for the ListProjects structure.
func (*ListProjectsReader) ReadResponse ¶
func (o *ListProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MoveProjectBadRequest ¶
type MoveProjectBadRequest struct {
Payload *mono_models.Message
}
MoveProjectBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewMoveProjectBadRequest ¶
func NewMoveProjectBadRequest() *MoveProjectBadRequest
NewMoveProjectBadRequest creates a MoveProjectBadRequest with default headers values
func (*MoveProjectBadRequest) Error ¶
func (o *MoveProjectBadRequest) Error() string
func (*MoveProjectBadRequest) GetPayload ¶
func (o *MoveProjectBadRequest) GetPayload() *mono_models.Message
type MoveProjectBody ¶
type MoveProjectBody struct { // Destination organization name for the moved project. Destination string `json:"destination,omitempty"` }
MoveProjectBody move project body swagger:model MoveProjectBody
func (*MoveProjectBody) ContextValidate ¶
ContextValidate validates this move project body based on context it is used
func (*MoveProjectBody) MarshalBinary ¶
func (o *MoveProjectBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MoveProjectBody) UnmarshalBinary ¶
func (o *MoveProjectBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MoveProjectConflict ¶
type MoveProjectConflict struct {
Payload *mono_models.Message
}
MoveProjectConflict describes a response with status code 409, with default header values.
Conflict
func NewMoveProjectConflict ¶
func NewMoveProjectConflict() *MoveProjectConflict
NewMoveProjectConflict creates a MoveProjectConflict with default headers values
func (*MoveProjectConflict) Error ¶
func (o *MoveProjectConflict) Error() string
func (*MoveProjectConflict) GetPayload ¶
func (o *MoveProjectConflict) GetPayload() *mono_models.Message
type MoveProjectForbidden ¶
type MoveProjectForbidden struct {
Payload *mono_models.Message
}
MoveProjectForbidden describes a response with status code 403, with default header values.
Unauthorized
func NewMoveProjectForbidden ¶
func NewMoveProjectForbidden() *MoveProjectForbidden
NewMoveProjectForbidden creates a MoveProjectForbidden with default headers values
func (*MoveProjectForbidden) Error ¶
func (o *MoveProjectForbidden) Error() string
func (*MoveProjectForbidden) GetPayload ¶
func (o *MoveProjectForbidden) GetPayload() *mono_models.Message
type MoveProjectInternalServerError ¶
type MoveProjectInternalServerError struct {
Payload *mono_models.Message
}
MoveProjectInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewMoveProjectInternalServerError ¶
func NewMoveProjectInternalServerError() *MoveProjectInternalServerError
NewMoveProjectInternalServerError creates a MoveProjectInternalServerError with default headers values
func (*MoveProjectInternalServerError) Error ¶
func (o *MoveProjectInternalServerError) Error() string
func (*MoveProjectInternalServerError) GetPayload ¶
func (o *MoveProjectInternalServerError) GetPayload() *mono_models.Message
type MoveProjectNotFound ¶
type MoveProjectNotFound struct {
Payload *mono_models.Message
}
MoveProjectNotFound describes a response with status code 404, with default header values.
Not Found
func NewMoveProjectNotFound ¶
func NewMoveProjectNotFound() *MoveProjectNotFound
NewMoveProjectNotFound creates a MoveProjectNotFound with default headers values
func (*MoveProjectNotFound) Error ¶
func (o *MoveProjectNotFound) Error() string
func (*MoveProjectNotFound) GetPayload ¶
func (o *MoveProjectNotFound) GetPayload() *mono_models.Message
type MoveProjectOK ¶
type MoveProjectOK struct {
Payload *mono_models.Project
}
MoveProjectOK describes a response with status code 200, with default header values.
Project moved
func NewMoveProjectOK ¶
func NewMoveProjectOK() *MoveProjectOK
NewMoveProjectOK creates a MoveProjectOK with default headers values
func (*MoveProjectOK) Error ¶
func (o *MoveProjectOK) Error() string
func (*MoveProjectOK) GetPayload ¶
func (o *MoveProjectOK) GetPayload() *mono_models.Project
type MoveProjectParams ¶
type MoveProjectParams struct { /* Destination. Information about where to move the project to. */ Destination MoveProjectBody /* IdentifierType. what kind of thing the provided organizationIdentifier is Default: "URLname" */ IdentifierType *string /* OrganizationIdentifier. identifier (URLname, by default) of the desired organization */ OrganizationIdentifier string /* ProjectName. Name of origin project. */ ProjectName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MoveProjectParams contains all the parameters to send to the API endpoint
for the move project operation. Typically these are written to a http.Request.
func NewMoveProjectParams ¶
func NewMoveProjectParams() *MoveProjectParams
NewMoveProjectParams creates a new MoveProjectParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewMoveProjectParamsWithContext ¶
func NewMoveProjectParamsWithContext(ctx context.Context) *MoveProjectParams
NewMoveProjectParamsWithContext creates a new MoveProjectParams object with the ability to set a context for a request.
func NewMoveProjectParamsWithHTTPClient ¶
func NewMoveProjectParamsWithHTTPClient(client *http.Client) *MoveProjectParams
NewMoveProjectParamsWithHTTPClient creates a new MoveProjectParams object with the ability to set a custom HTTPClient for a request.
func NewMoveProjectParamsWithTimeout ¶
func NewMoveProjectParamsWithTimeout(timeout time.Duration) *MoveProjectParams
NewMoveProjectParamsWithTimeout creates a new MoveProjectParams object with the ability to set a timeout on a request.
func (*MoveProjectParams) SetContext ¶
func (o *MoveProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the move project params
func (*MoveProjectParams) SetDefaults ¶
func (o *MoveProjectParams) SetDefaults()
SetDefaults hydrates default values in the move project params (not the query body).
All values with no default are reset to their zero value.
func (*MoveProjectParams) SetDestination ¶
func (o *MoveProjectParams) SetDestination(destination MoveProjectBody)
SetDestination adds the destination to the move project params
func (*MoveProjectParams) SetHTTPClient ¶
func (o *MoveProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the move project params
func (*MoveProjectParams) SetIdentifierType ¶
func (o *MoveProjectParams) SetIdentifierType(identifierType *string)
SetIdentifierType adds the identifierType to the move project params
func (*MoveProjectParams) SetOrganizationIdentifier ¶
func (o *MoveProjectParams) SetOrganizationIdentifier(organizationIdentifier string)
SetOrganizationIdentifier adds the organizationIdentifier to the move project params
func (*MoveProjectParams) SetProjectName ¶
func (o *MoveProjectParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the move project params
func (*MoveProjectParams) SetTimeout ¶
func (o *MoveProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the move project params
func (*MoveProjectParams) WithContext ¶
func (o *MoveProjectParams) WithContext(ctx context.Context) *MoveProjectParams
WithContext adds the context to the move project params
func (*MoveProjectParams) WithDefaults ¶
func (o *MoveProjectParams) WithDefaults() *MoveProjectParams
WithDefaults hydrates default values in the move project params (not the query body).
All values with no default are reset to their zero value.
func (*MoveProjectParams) WithDestination ¶
func (o *MoveProjectParams) WithDestination(destination MoveProjectBody) *MoveProjectParams
WithDestination adds the destination to the move project params
func (*MoveProjectParams) WithHTTPClient ¶
func (o *MoveProjectParams) WithHTTPClient(client *http.Client) *MoveProjectParams
WithHTTPClient adds the HTTPClient to the move project params
func (*MoveProjectParams) WithIdentifierType ¶
func (o *MoveProjectParams) WithIdentifierType(identifierType *string) *MoveProjectParams
WithIdentifierType adds the identifierType to the move project params
func (*MoveProjectParams) WithOrganizationIdentifier ¶
func (o *MoveProjectParams) WithOrganizationIdentifier(organizationIdentifier string) *MoveProjectParams
WithOrganizationIdentifier adds the organizationIdentifier to the move project params
func (*MoveProjectParams) WithProjectName ¶
func (o *MoveProjectParams) WithProjectName(projectName string) *MoveProjectParams
WithProjectName adds the projectName to the move project params
func (*MoveProjectParams) WithTimeout ¶
func (o *MoveProjectParams) WithTimeout(timeout time.Duration) *MoveProjectParams
WithTimeout adds the timeout to the move project params
func (*MoveProjectParams) WriteToRequest ¶
func (o *MoveProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MoveProjectReader ¶
type MoveProjectReader struct {
// contains filtered or unexported fields
}
MoveProjectReader is a Reader for the MoveProject structure.
func (*MoveProjectReader) ReadResponse ¶
func (o *MoveProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_branch_parameters.go
- add_branch_responses.go
- add_project_parameters.go
- add_project_responses.go
- delete_project_parameters.go
- delete_project_responses.go
- edit_project_parameters.go
- edit_project_responses.go
- fork_project_parameters.go
- fork_project_responses.go
- get_project_by_id_parameters.go
- get_project_by_id_responses.go
- get_project_parameters.go
- get_project_responses.go
- list_projects_parameters.go
- list_projects_responses.go
- move_project_parameters.go
- move_project_responses.go
- projects_client.go