Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteV1ProjectsProjectID(params *DeleteV1ProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteV1ProjectsProjectIDOK, *DeleteV1ProjectsProjectIDNoContent, error)
- func (a *Client) GetV1Projects(params *GetV1ProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*GetV1ProjectsOK, error)
- func (a *Client) GetV1ProjectsProjectID(params *GetV1ProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetV1ProjectsProjectIDOK, error)
- func (a *Client) PostV1Projects(params *PostV1ProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*PostV1ProjectsCreated, error)
- func (a *Client) PutV1ProjectsProjectID(params *PutV1ProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutV1ProjectsProjectIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteV1ProjectsProjectIDConflict
- type DeleteV1ProjectsProjectIDForbidden
- type DeleteV1ProjectsProjectIDNoContent
- type DeleteV1ProjectsProjectIDNotFound
- type DeleteV1ProjectsProjectIDOK
- type DeleteV1ProjectsProjectIDParams
- func (o *DeleteV1ProjectsProjectIDParams) SetContext(ctx context.Context)
- func (o *DeleteV1ProjectsProjectIDParams) SetProjectID(projectID int64)
- func (o *DeleteV1ProjectsProjectIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV1ProjectsProjectIDParams) WithContext(ctx context.Context) *DeleteV1ProjectsProjectIDParams
- func (o *DeleteV1ProjectsProjectIDParams) WithProjectID(projectID int64) *DeleteV1ProjectsProjectIDParams
- func (o *DeleteV1ProjectsProjectIDParams) WithTimeout(timeout time.Duration) *DeleteV1ProjectsProjectIDParams
- func (o *DeleteV1ProjectsProjectIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV1ProjectsProjectIDReader
- type DeleteV1ProjectsProjectIDUnauthorized
- type GetV1ProjectsOK
- type GetV1ProjectsParams
- func (o *GetV1ProjectsParams) SetContext(ctx context.Context)
- func (o *GetV1ProjectsParams) SetName(name *string)
- func (o *GetV1ProjectsParams) SetSort(sort *string)
- func (o *GetV1ProjectsParams) SetTimeout(timeout time.Duration)
- func (o *GetV1ProjectsParams) WithContext(ctx context.Context) *GetV1ProjectsParams
- func (o *GetV1ProjectsParams) WithName(name *string) *GetV1ProjectsParams
- func (o *GetV1ProjectsParams) WithSort(sort *string) *GetV1ProjectsParams
- func (o *GetV1ProjectsParams) WithTimeout(timeout time.Duration) *GetV1ProjectsParams
- func (o *GetV1ProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1ProjectsProjectIDNotFound
- type GetV1ProjectsProjectIDOK
- type GetV1ProjectsProjectIDParams
- func (o *GetV1ProjectsProjectIDParams) SetContext(ctx context.Context)
- func (o *GetV1ProjectsProjectIDParams) SetProjectID(projectID int64)
- func (o *GetV1ProjectsProjectIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1ProjectsProjectIDParams) WithContext(ctx context.Context) *GetV1ProjectsProjectIDParams
- func (o *GetV1ProjectsProjectIDParams) WithProjectID(projectID int64) *GetV1ProjectsProjectIDParams
- func (o *GetV1ProjectsProjectIDParams) WithTimeout(timeout time.Duration) *GetV1ProjectsProjectIDParams
- func (o *GetV1ProjectsProjectIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1ProjectsProjectIDReader
- type GetV1ProjectsProjectIDUnauthorized
- type GetV1ProjectsReader
- type GetV1ProjectsUnauthorized
- type PostV1ProjectsCreated
- type PostV1ProjectsForbidden
- type PostV1ProjectsParams
- func (o *PostV1ProjectsParams) SetContext(ctx context.Context)
- func (o *PostV1ProjectsParams) SetProject(project *models.ProjectUpdate)
- func (o *PostV1ProjectsParams) SetTimeout(timeout time.Duration)
- func (o *PostV1ProjectsParams) WithContext(ctx context.Context) *PostV1ProjectsParams
- func (o *PostV1ProjectsParams) WithProject(project *models.ProjectUpdate) *PostV1ProjectsParams
- func (o *PostV1ProjectsParams) WithTimeout(timeout time.Duration) *PostV1ProjectsParams
- func (o *PostV1ProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1ProjectsReader
- type PostV1ProjectsUnauthorized
- type PostV1ProjectsUnprocessableEntity
- type PutV1ProjectsProjectIDForbidden
- type PutV1ProjectsProjectIDNotFound
- type PutV1ProjectsProjectIDOK
- type PutV1ProjectsProjectIDParams
- func (o *PutV1ProjectsProjectIDParams) SetContext(ctx context.Context)
- func (o *PutV1ProjectsProjectIDParams) SetProject(project *models.ProjectUpdate)
- func (o *PutV1ProjectsProjectIDParams) SetProjectID(projectID int64)
- func (o *PutV1ProjectsProjectIDParams) SetTimeout(timeout time.Duration)
- func (o *PutV1ProjectsProjectIDParams) WithContext(ctx context.Context) *PutV1ProjectsProjectIDParams
- func (o *PutV1ProjectsProjectIDParams) WithProject(project *models.ProjectUpdate) *PutV1ProjectsProjectIDParams
- func (o *PutV1ProjectsProjectIDParams) WithProjectID(projectID int64) *PutV1ProjectsProjectIDParams
- func (o *PutV1ProjectsProjectIDParams) WithTimeout(timeout time.Duration) *PutV1ProjectsProjectIDParams
- func (o *PutV1ProjectsProjectIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutV1ProjectsProjectIDReader
- type PutV1ProjectsProjectIDUnauthorized
- type PutV1ProjectsProjectIDUnprocessableEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for project API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new project API client.
func (*Client) DeleteV1ProjectsProjectID ¶
func (a *Client) DeleteV1ProjectsProjectID(params *DeleteV1ProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteV1ProjectsProjectIDOK, *DeleteV1ProjectsProjectIDNoContent, error)
DeleteV1ProjectsProjectID deletes project
Delete a project based on single ID
func (*Client) GetV1Projects ¶
func (a *Client) GetV1Projects(params *GetV1ProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*GetV1ProjectsOK, error)
GetV1Projects projects list
Returns projects list.
func (*Client) GetV1ProjectsProjectID ¶
func (a *Client) GetV1ProjectsProjectID(params *GetV1ProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetV1ProjectsProjectIDOK, error)
GetV1ProjectsProjectID gets project
Returns a project based on a single ID
func (*Client) PostV1Projects ¶
func (a *Client) PostV1Projects(params *PostV1ProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*PostV1ProjectsCreated, error)
PostV1Projects creates project
Creates a new project
func (*Client) PutV1ProjectsProjectID ¶
func (a *Client) PutV1ProjectsProjectID(params *PutV1ProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutV1ProjectsProjectIDOK, error)
PutV1ProjectsProjectID updates project
Update a project based on a single ID
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteV1ProjectsProjectIDConflict ¶
type DeleteV1ProjectsProjectIDConflict struct { }
DeleteV1ProjectsProjectIDConflict handles this case with default header values.
Conflict error
func NewDeleteV1ProjectsProjectIDConflict ¶
func NewDeleteV1ProjectsProjectIDConflict() *DeleteV1ProjectsProjectIDConflict
NewDeleteV1ProjectsProjectIDConflict creates a DeleteV1ProjectsProjectIDConflict with default headers values
func (*DeleteV1ProjectsProjectIDConflict) Error ¶
func (o *DeleteV1ProjectsProjectIDConflict) Error() string
type DeleteV1ProjectsProjectIDForbidden ¶
type DeleteV1ProjectsProjectIDForbidden struct { }
DeleteV1ProjectsProjectIDForbidden handles this case with default header values.
Forbidden
func NewDeleteV1ProjectsProjectIDForbidden ¶
func NewDeleteV1ProjectsProjectIDForbidden() *DeleteV1ProjectsProjectIDForbidden
NewDeleteV1ProjectsProjectIDForbidden creates a DeleteV1ProjectsProjectIDForbidden with default headers values
func (*DeleteV1ProjectsProjectIDForbidden) Error ¶
func (o *DeleteV1ProjectsProjectIDForbidden) Error() string
type DeleteV1ProjectsProjectIDNoContent ¶
type DeleteV1ProjectsProjectIDNoContent struct { }
DeleteV1ProjectsProjectIDNoContent handles this case with default header values.
No Content
func NewDeleteV1ProjectsProjectIDNoContent ¶
func NewDeleteV1ProjectsProjectIDNoContent() *DeleteV1ProjectsProjectIDNoContent
NewDeleteV1ProjectsProjectIDNoContent creates a DeleteV1ProjectsProjectIDNoContent with default headers values
func (*DeleteV1ProjectsProjectIDNoContent) Error ¶
func (o *DeleteV1ProjectsProjectIDNoContent) Error() string
type DeleteV1ProjectsProjectIDNotFound ¶
type DeleteV1ProjectsProjectIDNotFound struct { }
DeleteV1ProjectsProjectIDNotFound handles this case with default header values.
Not found
func NewDeleteV1ProjectsProjectIDNotFound ¶
func NewDeleteV1ProjectsProjectIDNotFound() *DeleteV1ProjectsProjectIDNotFound
NewDeleteV1ProjectsProjectIDNotFound creates a DeleteV1ProjectsProjectIDNotFound with default headers values
func (*DeleteV1ProjectsProjectIDNotFound) Error ¶
func (o *DeleteV1ProjectsProjectIDNotFound) Error() string
type DeleteV1ProjectsProjectIDOK ¶
type DeleteV1ProjectsProjectIDOK struct { }
DeleteV1ProjectsProjectIDOK handles this case with default header values.
Successful
func NewDeleteV1ProjectsProjectIDOK ¶
func NewDeleteV1ProjectsProjectIDOK() *DeleteV1ProjectsProjectIDOK
NewDeleteV1ProjectsProjectIDOK creates a DeleteV1ProjectsProjectIDOK with default headers values
func (*DeleteV1ProjectsProjectIDOK) Error ¶
func (o *DeleteV1ProjectsProjectIDOK) Error() string
type DeleteV1ProjectsProjectIDParams ¶
type DeleteV1ProjectsProjectIDParams struct { /*ProjectID ID of project */ ProjectID int64 Context context.Context // contains filtered or unexported fields }
DeleteV1ProjectsProjectIDParams contains all the parameters to send to the API endpoint for the delete v1 projects project ID operation typically these are written to a http.Request
func NewDeleteV1ProjectsProjectIDParams ¶
func NewDeleteV1ProjectsProjectIDParams() *DeleteV1ProjectsProjectIDParams
NewDeleteV1ProjectsProjectIDParams creates a new DeleteV1ProjectsProjectIDParams object with the default values initialized.
func NewDeleteV1ProjectsProjectIDParamsWithContext ¶
func NewDeleteV1ProjectsProjectIDParamsWithContext(ctx context.Context) *DeleteV1ProjectsProjectIDParams
NewDeleteV1ProjectsProjectIDParamsWithContext creates a new DeleteV1ProjectsProjectIDParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteV1ProjectsProjectIDParamsWithTimeout ¶
func NewDeleteV1ProjectsProjectIDParamsWithTimeout(timeout time.Duration) *DeleteV1ProjectsProjectIDParams
NewDeleteV1ProjectsProjectIDParamsWithTimeout creates a new DeleteV1ProjectsProjectIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteV1ProjectsProjectIDParams) SetContext ¶
func (o *DeleteV1ProjectsProjectIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete v1 projects project ID params
func (*DeleteV1ProjectsProjectIDParams) SetProjectID ¶
func (o *DeleteV1ProjectsProjectIDParams) SetProjectID(projectID int64)
SetProjectID adds the projectId to the delete v1 projects project ID params
func (*DeleteV1ProjectsProjectIDParams) SetTimeout ¶
func (o *DeleteV1ProjectsProjectIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete v1 projects project ID params
func (*DeleteV1ProjectsProjectIDParams) WithContext ¶
func (o *DeleteV1ProjectsProjectIDParams) WithContext(ctx context.Context) *DeleteV1ProjectsProjectIDParams
WithContext adds the context to the delete v1 projects project ID params
func (*DeleteV1ProjectsProjectIDParams) WithProjectID ¶
func (o *DeleteV1ProjectsProjectIDParams) WithProjectID(projectID int64) *DeleteV1ProjectsProjectIDParams
WithProjectID adds the projectID to the delete v1 projects project ID params
func (*DeleteV1ProjectsProjectIDParams) WithTimeout ¶
func (o *DeleteV1ProjectsProjectIDParams) WithTimeout(timeout time.Duration) *DeleteV1ProjectsProjectIDParams
WithTimeout adds the timeout to the delete v1 projects project ID params
func (*DeleteV1ProjectsProjectIDParams) WriteToRequest ¶
func (o *DeleteV1ProjectsProjectIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteV1ProjectsProjectIDReader ¶
type DeleteV1ProjectsProjectIDReader struct {
// contains filtered or unexported fields
}
DeleteV1ProjectsProjectIDReader is a Reader for the DeleteV1ProjectsProjectID structure.
func (*DeleteV1ProjectsProjectIDReader) ReadResponse ¶
func (o *DeleteV1ProjectsProjectIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteV1ProjectsProjectIDUnauthorized ¶
type DeleteV1ProjectsProjectIDUnauthorized struct { }
DeleteV1ProjectsProjectIDUnauthorized handles this case with default header values.
Unauthenticated
func NewDeleteV1ProjectsProjectIDUnauthorized ¶
func NewDeleteV1ProjectsProjectIDUnauthorized() *DeleteV1ProjectsProjectIDUnauthorized
NewDeleteV1ProjectsProjectIDUnauthorized creates a DeleteV1ProjectsProjectIDUnauthorized with default headers values
func (*DeleteV1ProjectsProjectIDUnauthorized) Error ¶
func (o *DeleteV1ProjectsProjectIDUnauthorized) Error() string
type GetV1ProjectsOK ¶
GetV1ProjectsOK handles this case with default header values.
Projects
func NewGetV1ProjectsOK ¶
func NewGetV1ProjectsOK() *GetV1ProjectsOK
NewGetV1ProjectsOK creates a GetV1ProjectsOK with default headers values
func (*GetV1ProjectsOK) Error ¶
func (o *GetV1ProjectsOK) Error() string
type GetV1ProjectsParams ¶
type GetV1ProjectsParams struct { /*Name Keyword in name */ Name *string /*Sort Sort fields */ Sort *string Context context.Context // contains filtered or unexported fields }
GetV1ProjectsParams contains all the parameters to send to the API endpoint for the get v1 projects operation typically these are written to a http.Request
func NewGetV1ProjectsParams ¶
func NewGetV1ProjectsParams() *GetV1ProjectsParams
NewGetV1ProjectsParams creates a new GetV1ProjectsParams object with the default values initialized.
func NewGetV1ProjectsParamsWithContext ¶
func NewGetV1ProjectsParamsWithContext(ctx context.Context) *GetV1ProjectsParams
NewGetV1ProjectsParamsWithContext creates a new GetV1ProjectsParams object with the default values initialized, and the ability to set a context for a request
func NewGetV1ProjectsParamsWithTimeout ¶
func NewGetV1ProjectsParamsWithTimeout(timeout time.Duration) *GetV1ProjectsParams
NewGetV1ProjectsParamsWithTimeout creates a new GetV1ProjectsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetV1ProjectsParams) SetContext ¶
func (o *GetV1ProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 projects params
func (*GetV1ProjectsParams) SetName ¶
func (o *GetV1ProjectsParams) SetName(name *string)
SetName adds the name to the get v1 projects params
func (*GetV1ProjectsParams) SetSort ¶
func (o *GetV1ProjectsParams) SetSort(sort *string)
SetSort adds the sort to the get v1 projects params
func (*GetV1ProjectsParams) SetTimeout ¶
func (o *GetV1ProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 projects params
func (*GetV1ProjectsParams) WithContext ¶
func (o *GetV1ProjectsParams) WithContext(ctx context.Context) *GetV1ProjectsParams
WithContext adds the context to the get v1 projects params
func (*GetV1ProjectsParams) WithName ¶
func (o *GetV1ProjectsParams) WithName(name *string) *GetV1ProjectsParams
WithName adds the name to the get v1 projects params
func (*GetV1ProjectsParams) WithSort ¶
func (o *GetV1ProjectsParams) WithSort(sort *string) *GetV1ProjectsParams
WithSort adds the sort to the get v1 projects params
func (*GetV1ProjectsParams) WithTimeout ¶
func (o *GetV1ProjectsParams) WithTimeout(timeout time.Duration) *GetV1ProjectsParams
WithTimeout adds the timeout to the get v1 projects params
func (*GetV1ProjectsParams) WriteToRequest ¶
func (o *GetV1ProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1ProjectsProjectIDNotFound ¶
type GetV1ProjectsProjectIDNotFound struct { }
GetV1ProjectsProjectIDNotFound handles this case with default header values.
Not found
func NewGetV1ProjectsProjectIDNotFound ¶
func NewGetV1ProjectsProjectIDNotFound() *GetV1ProjectsProjectIDNotFound
NewGetV1ProjectsProjectIDNotFound creates a GetV1ProjectsProjectIDNotFound with default headers values
func (*GetV1ProjectsProjectIDNotFound) Error ¶
func (o *GetV1ProjectsProjectIDNotFound) Error() string
type GetV1ProjectsProjectIDOK ¶
GetV1ProjectsProjectIDOK handles this case with default header values.
Project
func NewGetV1ProjectsProjectIDOK ¶
func NewGetV1ProjectsProjectIDOK() *GetV1ProjectsProjectIDOK
NewGetV1ProjectsProjectIDOK creates a GetV1ProjectsProjectIDOK with default headers values
func (*GetV1ProjectsProjectIDOK) Error ¶
func (o *GetV1ProjectsProjectIDOK) Error() string
type GetV1ProjectsProjectIDParams ¶
type GetV1ProjectsProjectIDParams struct { /*ProjectID ID of project to fetch */ ProjectID int64 Context context.Context // contains filtered or unexported fields }
GetV1ProjectsProjectIDParams contains all the parameters to send to the API endpoint for the get v1 projects project ID operation typically these are written to a http.Request
func NewGetV1ProjectsProjectIDParams ¶
func NewGetV1ProjectsProjectIDParams() *GetV1ProjectsProjectIDParams
NewGetV1ProjectsProjectIDParams creates a new GetV1ProjectsProjectIDParams object with the default values initialized.
func NewGetV1ProjectsProjectIDParamsWithContext ¶
func NewGetV1ProjectsProjectIDParamsWithContext(ctx context.Context) *GetV1ProjectsProjectIDParams
NewGetV1ProjectsProjectIDParamsWithContext creates a new GetV1ProjectsProjectIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetV1ProjectsProjectIDParamsWithTimeout ¶
func NewGetV1ProjectsProjectIDParamsWithTimeout(timeout time.Duration) *GetV1ProjectsProjectIDParams
NewGetV1ProjectsProjectIDParamsWithTimeout creates a new GetV1ProjectsProjectIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetV1ProjectsProjectIDParams) SetContext ¶
func (o *GetV1ProjectsProjectIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 projects project ID params
func (*GetV1ProjectsProjectIDParams) SetProjectID ¶
func (o *GetV1ProjectsProjectIDParams) SetProjectID(projectID int64)
SetProjectID adds the projectId to the get v1 projects project ID params
func (*GetV1ProjectsProjectIDParams) SetTimeout ¶
func (o *GetV1ProjectsProjectIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 projects project ID params
func (*GetV1ProjectsProjectIDParams) WithContext ¶
func (o *GetV1ProjectsProjectIDParams) WithContext(ctx context.Context) *GetV1ProjectsProjectIDParams
WithContext adds the context to the get v1 projects project ID params
func (*GetV1ProjectsProjectIDParams) WithProjectID ¶
func (o *GetV1ProjectsProjectIDParams) WithProjectID(projectID int64) *GetV1ProjectsProjectIDParams
WithProjectID adds the projectID to the get v1 projects project ID params
func (*GetV1ProjectsProjectIDParams) WithTimeout ¶
func (o *GetV1ProjectsProjectIDParams) WithTimeout(timeout time.Duration) *GetV1ProjectsProjectIDParams
WithTimeout adds the timeout to the get v1 projects project ID params
func (*GetV1ProjectsProjectIDParams) WriteToRequest ¶
func (o *GetV1ProjectsProjectIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1ProjectsProjectIDReader ¶
type GetV1ProjectsProjectIDReader struct {
// contains filtered or unexported fields
}
GetV1ProjectsProjectIDReader is a Reader for the GetV1ProjectsProjectID structure.
func (*GetV1ProjectsProjectIDReader) ReadResponse ¶
func (o *GetV1ProjectsProjectIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1ProjectsProjectIDUnauthorized ¶
type GetV1ProjectsProjectIDUnauthorized struct { }
GetV1ProjectsProjectIDUnauthorized handles this case with default header values.
Unauthenticated
func NewGetV1ProjectsProjectIDUnauthorized ¶
func NewGetV1ProjectsProjectIDUnauthorized() *GetV1ProjectsProjectIDUnauthorized
NewGetV1ProjectsProjectIDUnauthorized creates a GetV1ProjectsProjectIDUnauthorized with default headers values
func (*GetV1ProjectsProjectIDUnauthorized) Error ¶
func (o *GetV1ProjectsProjectIDUnauthorized) Error() string
type GetV1ProjectsReader ¶
type GetV1ProjectsReader struct {
// contains filtered or unexported fields
}
GetV1ProjectsReader is a Reader for the GetV1Projects structure.
func (*GetV1ProjectsReader) ReadResponse ¶
func (o *GetV1ProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1ProjectsUnauthorized ¶
type GetV1ProjectsUnauthorized struct { }
GetV1ProjectsUnauthorized handles this case with default header values.
Unauthenticated
func NewGetV1ProjectsUnauthorized ¶
func NewGetV1ProjectsUnauthorized() *GetV1ProjectsUnauthorized
NewGetV1ProjectsUnauthorized creates a GetV1ProjectsUnauthorized with default headers values
func (*GetV1ProjectsUnauthorized) Error ¶
func (o *GetV1ProjectsUnauthorized) Error() string
type PostV1ProjectsCreated ¶
PostV1ProjectsCreated handles this case with default header values.
Created project
func NewPostV1ProjectsCreated ¶
func NewPostV1ProjectsCreated() *PostV1ProjectsCreated
NewPostV1ProjectsCreated creates a PostV1ProjectsCreated with default headers values
func (*PostV1ProjectsCreated) Error ¶
func (o *PostV1ProjectsCreated) Error() string
type PostV1ProjectsForbidden ¶
type PostV1ProjectsForbidden struct { }
PostV1ProjectsForbidden handles this case with default header values.
Forbidden
func NewPostV1ProjectsForbidden ¶
func NewPostV1ProjectsForbidden() *PostV1ProjectsForbidden
NewPostV1ProjectsForbidden creates a PostV1ProjectsForbidden with default headers values
func (*PostV1ProjectsForbidden) Error ¶
func (o *PostV1ProjectsForbidden) Error() string
type PostV1ProjectsParams ¶
type PostV1ProjectsParams struct { /*Project Project to create */ Project *models.ProjectUpdate Context context.Context // contains filtered or unexported fields }
PostV1ProjectsParams contains all the parameters to send to the API endpoint for the post v1 projects operation typically these are written to a http.Request
func NewPostV1ProjectsParams ¶
func NewPostV1ProjectsParams() *PostV1ProjectsParams
NewPostV1ProjectsParams creates a new PostV1ProjectsParams object with the default values initialized.
func NewPostV1ProjectsParamsWithContext ¶
func NewPostV1ProjectsParamsWithContext(ctx context.Context) *PostV1ProjectsParams
NewPostV1ProjectsParamsWithContext creates a new PostV1ProjectsParams object with the default values initialized, and the ability to set a context for a request
func NewPostV1ProjectsParamsWithTimeout ¶
func NewPostV1ProjectsParamsWithTimeout(timeout time.Duration) *PostV1ProjectsParams
NewPostV1ProjectsParamsWithTimeout creates a new PostV1ProjectsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostV1ProjectsParams) SetContext ¶
func (o *PostV1ProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the post v1 projects params
func (*PostV1ProjectsParams) SetProject ¶
func (o *PostV1ProjectsParams) SetProject(project *models.ProjectUpdate)
SetProject adds the project to the post v1 projects params
func (*PostV1ProjectsParams) SetTimeout ¶
func (o *PostV1ProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v1 projects params
func (*PostV1ProjectsParams) WithContext ¶
func (o *PostV1ProjectsParams) WithContext(ctx context.Context) *PostV1ProjectsParams
WithContext adds the context to the post v1 projects params
func (*PostV1ProjectsParams) WithProject ¶
func (o *PostV1ProjectsParams) WithProject(project *models.ProjectUpdate) *PostV1ProjectsParams
WithProject adds the project to the post v1 projects params
func (*PostV1ProjectsParams) WithTimeout ¶
func (o *PostV1ProjectsParams) WithTimeout(timeout time.Duration) *PostV1ProjectsParams
WithTimeout adds the timeout to the post v1 projects params
func (*PostV1ProjectsParams) WriteToRequest ¶
func (o *PostV1ProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostV1ProjectsReader ¶
type PostV1ProjectsReader struct {
// contains filtered or unexported fields
}
PostV1ProjectsReader is a Reader for the PostV1Projects structure.
func (*PostV1ProjectsReader) ReadResponse ¶
func (o *PostV1ProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostV1ProjectsUnauthorized ¶
type PostV1ProjectsUnauthorized struct { }
PostV1ProjectsUnauthorized handles this case with default header values.
Unauthenticated
func NewPostV1ProjectsUnauthorized ¶
func NewPostV1ProjectsUnauthorized() *PostV1ProjectsUnauthorized
NewPostV1ProjectsUnauthorized creates a PostV1ProjectsUnauthorized with default headers values
func (*PostV1ProjectsUnauthorized) Error ¶
func (o *PostV1ProjectsUnauthorized) Error() string
type PostV1ProjectsUnprocessableEntity ¶
type PostV1ProjectsUnprocessableEntity struct { }
PostV1ProjectsUnprocessableEntity handles this case with default header values.
Validation error
func NewPostV1ProjectsUnprocessableEntity ¶
func NewPostV1ProjectsUnprocessableEntity() *PostV1ProjectsUnprocessableEntity
NewPostV1ProjectsUnprocessableEntity creates a PostV1ProjectsUnprocessableEntity with default headers values
func (*PostV1ProjectsUnprocessableEntity) Error ¶
func (o *PostV1ProjectsUnprocessableEntity) Error() string
type PutV1ProjectsProjectIDForbidden ¶
type PutV1ProjectsProjectIDForbidden struct { }
PutV1ProjectsProjectIDForbidden handles this case with default header values.
Forbidden
func NewPutV1ProjectsProjectIDForbidden ¶
func NewPutV1ProjectsProjectIDForbidden() *PutV1ProjectsProjectIDForbidden
NewPutV1ProjectsProjectIDForbidden creates a PutV1ProjectsProjectIDForbidden with default headers values
func (*PutV1ProjectsProjectIDForbidden) Error ¶
func (o *PutV1ProjectsProjectIDForbidden) Error() string
type PutV1ProjectsProjectIDNotFound ¶
type PutV1ProjectsProjectIDNotFound struct { }
PutV1ProjectsProjectIDNotFound handles this case with default header values.
Not found
func NewPutV1ProjectsProjectIDNotFound ¶
func NewPutV1ProjectsProjectIDNotFound() *PutV1ProjectsProjectIDNotFound
NewPutV1ProjectsProjectIDNotFound creates a PutV1ProjectsProjectIDNotFound with default headers values
func (*PutV1ProjectsProjectIDNotFound) Error ¶
func (o *PutV1ProjectsProjectIDNotFound) Error() string
type PutV1ProjectsProjectIDOK ¶
PutV1ProjectsProjectIDOK handles this case with default header values.
Updated project
func NewPutV1ProjectsProjectIDOK ¶
func NewPutV1ProjectsProjectIDOK() *PutV1ProjectsProjectIDOK
NewPutV1ProjectsProjectIDOK creates a PutV1ProjectsProjectIDOK with default headers values
func (*PutV1ProjectsProjectIDOK) Error ¶
func (o *PutV1ProjectsProjectIDOK) Error() string
type PutV1ProjectsProjectIDParams ¶
type PutV1ProjectsProjectIDParams struct { /*Project Project to create */ Project *models.ProjectUpdate /*ProjectID ID of project */ ProjectID int64 Context context.Context // contains filtered or unexported fields }
PutV1ProjectsProjectIDParams contains all the parameters to send to the API endpoint for the put v1 projects project ID operation typically these are written to a http.Request
func NewPutV1ProjectsProjectIDParams ¶
func NewPutV1ProjectsProjectIDParams() *PutV1ProjectsProjectIDParams
NewPutV1ProjectsProjectIDParams creates a new PutV1ProjectsProjectIDParams object with the default values initialized.
func NewPutV1ProjectsProjectIDParamsWithContext ¶
func NewPutV1ProjectsProjectIDParamsWithContext(ctx context.Context) *PutV1ProjectsProjectIDParams
NewPutV1ProjectsProjectIDParamsWithContext creates a new PutV1ProjectsProjectIDParams object with the default values initialized, and the ability to set a context for a request
func NewPutV1ProjectsProjectIDParamsWithTimeout ¶
func NewPutV1ProjectsProjectIDParamsWithTimeout(timeout time.Duration) *PutV1ProjectsProjectIDParams
NewPutV1ProjectsProjectIDParamsWithTimeout creates a new PutV1ProjectsProjectIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutV1ProjectsProjectIDParams) SetContext ¶
func (o *PutV1ProjectsProjectIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put v1 projects project ID params
func (*PutV1ProjectsProjectIDParams) SetProject ¶
func (o *PutV1ProjectsProjectIDParams) SetProject(project *models.ProjectUpdate)
SetProject adds the project to the put v1 projects project ID params
func (*PutV1ProjectsProjectIDParams) SetProjectID ¶
func (o *PutV1ProjectsProjectIDParams) SetProjectID(projectID int64)
SetProjectID adds the projectId to the put v1 projects project ID params
func (*PutV1ProjectsProjectIDParams) SetTimeout ¶
func (o *PutV1ProjectsProjectIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put v1 projects project ID params
func (*PutV1ProjectsProjectIDParams) WithContext ¶
func (o *PutV1ProjectsProjectIDParams) WithContext(ctx context.Context) *PutV1ProjectsProjectIDParams
WithContext adds the context to the put v1 projects project ID params
func (*PutV1ProjectsProjectIDParams) WithProject ¶
func (o *PutV1ProjectsProjectIDParams) WithProject(project *models.ProjectUpdate) *PutV1ProjectsProjectIDParams
WithProject adds the project to the put v1 projects project ID params
func (*PutV1ProjectsProjectIDParams) WithProjectID ¶
func (o *PutV1ProjectsProjectIDParams) WithProjectID(projectID int64) *PutV1ProjectsProjectIDParams
WithProjectID adds the projectID to the put v1 projects project ID params
func (*PutV1ProjectsProjectIDParams) WithTimeout ¶
func (o *PutV1ProjectsProjectIDParams) WithTimeout(timeout time.Duration) *PutV1ProjectsProjectIDParams
WithTimeout adds the timeout to the put v1 projects project ID params
func (*PutV1ProjectsProjectIDParams) WriteToRequest ¶
func (o *PutV1ProjectsProjectIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutV1ProjectsProjectIDReader ¶
type PutV1ProjectsProjectIDReader struct {
// contains filtered or unexported fields
}
PutV1ProjectsProjectIDReader is a Reader for the PutV1ProjectsProjectID structure.
func (*PutV1ProjectsProjectIDReader) ReadResponse ¶
func (o *PutV1ProjectsProjectIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutV1ProjectsProjectIDUnauthorized ¶
type PutV1ProjectsProjectIDUnauthorized struct { }
PutV1ProjectsProjectIDUnauthorized handles this case with default header values.
Unauthenticated
func NewPutV1ProjectsProjectIDUnauthorized ¶
func NewPutV1ProjectsProjectIDUnauthorized() *PutV1ProjectsProjectIDUnauthorized
NewPutV1ProjectsProjectIDUnauthorized creates a PutV1ProjectsProjectIDUnauthorized with default headers values
func (*PutV1ProjectsProjectIDUnauthorized) Error ¶
func (o *PutV1ProjectsProjectIDUnauthorized) Error() string
type PutV1ProjectsProjectIDUnprocessableEntity ¶
type PutV1ProjectsProjectIDUnprocessableEntity struct { }
PutV1ProjectsProjectIDUnprocessableEntity handles this case with default header values.
Validation error
func NewPutV1ProjectsProjectIDUnprocessableEntity ¶
func NewPutV1ProjectsProjectIDUnprocessableEntity() *PutV1ProjectsProjectIDUnprocessableEntity
NewPutV1ProjectsProjectIDUnprocessableEntity creates a PutV1ProjectsProjectIDUnprocessableEntity with default headers values
func (*PutV1ProjectsProjectIDUnprocessableEntity) Error ¶
func (o *PutV1ProjectsProjectIDUnprocessableEntity) Error() string
Source Files ¶
- delete_v1_projects_project_id_parameters.go
- delete_v1_projects_project_id_responses.go
- get_v1_projects_parameters.go
- get_v1_projects_project_id_parameters.go
- get_v1_projects_project_id_responses.go
- get_v1_projects_responses.go
- post_v1_projects_parameters.go
- post_v1_projects_responses.go
- project_client.go
- put_v1_projects_project_id_parameters.go
- put_v1_projects_project_id_responses.go