Documentation ¶
Index ¶
- type Client
- func (a *Client) ListArtifactOfProjectVersion(params *ListArtifactOfProjectVersionParams, ...) (*ListArtifactOfProjectVersionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UploadArtifactOfProjectVersion(params *UploadArtifactOfProjectVersionParams, ...) (*UploadArtifactOfProjectVersionCreated, error)
- type ClientService
- type ListArtifactOfProjectVersionBadRequest
- type ListArtifactOfProjectVersionConflict
- type ListArtifactOfProjectVersionForbidden
- type ListArtifactOfProjectVersionInternalServerError
- type ListArtifactOfProjectVersionNotFound
- type ListArtifactOfProjectVersionOK
- type ListArtifactOfProjectVersionParams
- func NewListArtifactOfProjectVersionParams() *ListArtifactOfProjectVersionParams
- func NewListArtifactOfProjectVersionParamsWithContext(ctx context.Context) *ListArtifactOfProjectVersionParams
- func NewListArtifactOfProjectVersionParamsWithHTTPClient(client *http.Client) *ListArtifactOfProjectVersionParams
- func NewListArtifactOfProjectVersionParamsWithTimeout(timeout time.Duration) *ListArtifactOfProjectVersionParams
- func (o *ListArtifactOfProjectVersionParams) SetContext(ctx context.Context)
- func (o *ListArtifactOfProjectVersionParams) SetEmbed(embed *string)
- func (o *ListArtifactOfProjectVersionParams) SetFields(fields *string)
- func (o *ListArtifactOfProjectVersionParams) SetHTTPClient(client *http.Client)
- func (o *ListArtifactOfProjectVersionParams) SetLimit(limit *int32)
- func (o *ListArtifactOfProjectVersionParams) SetParentID(parentID int64)
- func (o *ListArtifactOfProjectVersionParams) SetQ(q *string)
- func (o *ListArtifactOfProjectVersionParams) SetStart(start *int32)
- func (o *ListArtifactOfProjectVersionParams) SetTimeout(timeout time.Duration)
- func (o *ListArtifactOfProjectVersionParams) WithContext(ctx context.Context) *ListArtifactOfProjectVersionParams
- func (o *ListArtifactOfProjectVersionParams) WithEmbed(embed *string) *ListArtifactOfProjectVersionParams
- func (o *ListArtifactOfProjectVersionParams) WithFields(fields *string) *ListArtifactOfProjectVersionParams
- func (o *ListArtifactOfProjectVersionParams) WithHTTPClient(client *http.Client) *ListArtifactOfProjectVersionParams
- func (o *ListArtifactOfProjectVersionParams) WithLimit(limit *int32) *ListArtifactOfProjectVersionParams
- func (o *ListArtifactOfProjectVersionParams) WithParentID(parentID int64) *ListArtifactOfProjectVersionParams
- func (o *ListArtifactOfProjectVersionParams) WithQ(q *string) *ListArtifactOfProjectVersionParams
- func (o *ListArtifactOfProjectVersionParams) WithStart(start *int32) *ListArtifactOfProjectVersionParams
- func (o *ListArtifactOfProjectVersionParams) WithTimeout(timeout time.Duration) *ListArtifactOfProjectVersionParams
- func (o *ListArtifactOfProjectVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListArtifactOfProjectVersionReader
- type ListArtifactOfProjectVersionUnauthorized
- type UploadArtifactOfProjectVersionBadRequest
- type UploadArtifactOfProjectVersionConflict
- type UploadArtifactOfProjectVersionCreated
- type UploadArtifactOfProjectVersionForbidden
- type UploadArtifactOfProjectVersionInternalServerError
- type UploadArtifactOfProjectVersionNotFound
- type UploadArtifactOfProjectVersionParams
- func NewUploadArtifactOfProjectVersionParams() *UploadArtifactOfProjectVersionParams
- func NewUploadArtifactOfProjectVersionParamsWithContext(ctx context.Context) *UploadArtifactOfProjectVersionParams
- func NewUploadArtifactOfProjectVersionParamsWithHTTPClient(client *http.Client) *UploadArtifactOfProjectVersionParams
- func NewUploadArtifactOfProjectVersionParamsWithTimeout(timeout time.Duration) *UploadArtifactOfProjectVersionParams
- func (o *UploadArtifactOfProjectVersionParams) SetContext(ctx context.Context)
- func (o *UploadArtifactOfProjectVersionParams) SetEngineType(engineType *string)
- func (o *UploadArtifactOfProjectVersionParams) SetFile(file runtime.NamedReadCloser)
- func (o *UploadArtifactOfProjectVersionParams) SetHTTPClient(client *http.Client)
- func (o *UploadArtifactOfProjectVersionParams) SetParentID(parentID int64)
- func (o *UploadArtifactOfProjectVersionParams) SetTimeout(timeout time.Duration)
- func (o *UploadArtifactOfProjectVersionParams) WithContext(ctx context.Context) *UploadArtifactOfProjectVersionParams
- func (o *UploadArtifactOfProjectVersionParams) WithEngineType(engineType *string) *UploadArtifactOfProjectVersionParams
- func (o *UploadArtifactOfProjectVersionParams) WithFile(file runtime.NamedReadCloser) *UploadArtifactOfProjectVersionParams
- func (o *UploadArtifactOfProjectVersionParams) WithHTTPClient(client *http.Client) *UploadArtifactOfProjectVersionParams
- func (o *UploadArtifactOfProjectVersionParams) WithParentID(parentID int64) *UploadArtifactOfProjectVersionParams
- func (o *UploadArtifactOfProjectVersionParams) WithTimeout(timeout time.Duration) *UploadArtifactOfProjectVersionParams
- func (o *UploadArtifactOfProjectVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadArtifactOfProjectVersionReader
- type UploadArtifactOfProjectVersionUnauthorized
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 artifact of project version controller API
func (*Client) ListArtifactOfProjectVersion ¶
func (a *Client) ListArtifactOfProjectVersion(params *ListArtifactOfProjectVersionParams, authInfo runtime.ClientAuthInfoWriter) (*ListArtifactOfProjectVersionOK, error)
ListArtifactOfProjectVersion lists
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UploadArtifactOfProjectVersion ¶
func (a *Client) UploadArtifactOfProjectVersion(params *UploadArtifactOfProjectVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UploadArtifactOfProjectVersionCreated, error)
UploadArtifactOfProjectVersion uploads
type ClientService ¶
type ClientService interface { ListArtifactOfProjectVersion(params *ListArtifactOfProjectVersionParams, authInfo runtime.ClientAuthInfoWriter) (*ListArtifactOfProjectVersionOK, error) UploadArtifactOfProjectVersion(params *UploadArtifactOfProjectVersionParams, authInfo runtime.ClientAuthInfoWriter) (*UploadArtifactOfProjectVersionCreated, 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 artifact of project version controller API client.
type ListArtifactOfProjectVersionBadRequest ¶
ListArtifactOfProjectVersionBadRequest handles this case with default header values.
Bad Request
func NewListArtifactOfProjectVersionBadRequest ¶
func NewListArtifactOfProjectVersionBadRequest() *ListArtifactOfProjectVersionBadRequest
NewListArtifactOfProjectVersionBadRequest creates a ListArtifactOfProjectVersionBadRequest with default headers values
func (*ListArtifactOfProjectVersionBadRequest) Error ¶
func (o *ListArtifactOfProjectVersionBadRequest) Error() string
func (*ListArtifactOfProjectVersionBadRequest) GetPayload ¶
func (o *ListArtifactOfProjectVersionBadRequest) GetPayload() *models.APIResult
type ListArtifactOfProjectVersionConflict ¶
ListArtifactOfProjectVersionConflict handles this case with default header values.
Conflict
func NewListArtifactOfProjectVersionConflict ¶
func NewListArtifactOfProjectVersionConflict() *ListArtifactOfProjectVersionConflict
NewListArtifactOfProjectVersionConflict creates a ListArtifactOfProjectVersionConflict with default headers values
func (*ListArtifactOfProjectVersionConflict) Error ¶
func (o *ListArtifactOfProjectVersionConflict) Error() string
func (*ListArtifactOfProjectVersionConflict) GetPayload ¶
func (o *ListArtifactOfProjectVersionConflict) GetPayload() *models.APIResult
type ListArtifactOfProjectVersionForbidden ¶
ListArtifactOfProjectVersionForbidden handles this case with default header values.
Forbidden
func NewListArtifactOfProjectVersionForbidden ¶
func NewListArtifactOfProjectVersionForbidden() *ListArtifactOfProjectVersionForbidden
NewListArtifactOfProjectVersionForbidden creates a ListArtifactOfProjectVersionForbidden with default headers values
func (*ListArtifactOfProjectVersionForbidden) Error ¶
func (o *ListArtifactOfProjectVersionForbidden) Error() string
func (*ListArtifactOfProjectVersionForbidden) GetPayload ¶
func (o *ListArtifactOfProjectVersionForbidden) GetPayload() *models.APIResult
type ListArtifactOfProjectVersionInternalServerError ¶
ListArtifactOfProjectVersionInternalServerError handles this case with default header values.
Internal Server Error
func NewListArtifactOfProjectVersionInternalServerError ¶
func NewListArtifactOfProjectVersionInternalServerError() *ListArtifactOfProjectVersionInternalServerError
NewListArtifactOfProjectVersionInternalServerError creates a ListArtifactOfProjectVersionInternalServerError with default headers values
func (*ListArtifactOfProjectVersionInternalServerError) Error ¶
func (o *ListArtifactOfProjectVersionInternalServerError) Error() string
func (*ListArtifactOfProjectVersionInternalServerError) GetPayload ¶
func (o *ListArtifactOfProjectVersionInternalServerError) GetPayload() *models.APIResult
type ListArtifactOfProjectVersionNotFound ¶
ListArtifactOfProjectVersionNotFound handles this case with default header values.
Not Found
func NewListArtifactOfProjectVersionNotFound ¶
func NewListArtifactOfProjectVersionNotFound() *ListArtifactOfProjectVersionNotFound
NewListArtifactOfProjectVersionNotFound creates a ListArtifactOfProjectVersionNotFound with default headers values
func (*ListArtifactOfProjectVersionNotFound) Error ¶
func (o *ListArtifactOfProjectVersionNotFound) Error() string
func (*ListArtifactOfProjectVersionNotFound) GetPayload ¶
func (o *ListArtifactOfProjectVersionNotFound) GetPayload() *models.APIResult
type ListArtifactOfProjectVersionOK ¶
type ListArtifactOfProjectVersionOK struct {
Payload *models.APIResultListArtifact
}
ListArtifactOfProjectVersionOK handles this case with default header values.
OK
func NewListArtifactOfProjectVersionOK ¶
func NewListArtifactOfProjectVersionOK() *ListArtifactOfProjectVersionOK
NewListArtifactOfProjectVersionOK creates a ListArtifactOfProjectVersionOK with default headers values
func (*ListArtifactOfProjectVersionOK) Error ¶
func (o *ListArtifactOfProjectVersionOK) Error() string
func (*ListArtifactOfProjectVersionOK) GetPayload ¶
func (o *ListArtifactOfProjectVersionOK) GetPayload() *models.APIResultListArtifact
type ListArtifactOfProjectVersionParams ¶
type ListArtifactOfProjectVersionParams struct { /*Embed Fields to embed */ Embed *string /*Fields Output fields */ Fields *string /*Limit A maximum number of returned objects in listing, if '-1' or '0' no limit is applied */ Limit *int32 /*ParentID parentId */ ParentID int64 /*Q A search query */ Q *string /*Start A start offset in object listing */ Start *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListArtifactOfProjectVersionParams contains all the parameters to send to the API endpoint for the list artifact of project version operation typically these are written to a http.Request
func NewListArtifactOfProjectVersionParams ¶
func NewListArtifactOfProjectVersionParams() *ListArtifactOfProjectVersionParams
NewListArtifactOfProjectVersionParams creates a new ListArtifactOfProjectVersionParams object with the default values initialized.
func NewListArtifactOfProjectVersionParamsWithContext ¶
func NewListArtifactOfProjectVersionParamsWithContext(ctx context.Context) *ListArtifactOfProjectVersionParams
NewListArtifactOfProjectVersionParamsWithContext creates a new ListArtifactOfProjectVersionParams object with the default values initialized, and the ability to set a context for a request
func NewListArtifactOfProjectVersionParamsWithHTTPClient ¶
func NewListArtifactOfProjectVersionParamsWithHTTPClient(client *http.Client) *ListArtifactOfProjectVersionParams
NewListArtifactOfProjectVersionParamsWithHTTPClient creates a new ListArtifactOfProjectVersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListArtifactOfProjectVersionParamsWithTimeout ¶
func NewListArtifactOfProjectVersionParamsWithTimeout(timeout time.Duration) *ListArtifactOfProjectVersionParams
NewListArtifactOfProjectVersionParamsWithTimeout creates a new ListArtifactOfProjectVersionParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListArtifactOfProjectVersionParams) SetContext ¶
func (o *ListArtifactOfProjectVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the list artifact of project version params
func (*ListArtifactOfProjectVersionParams) SetEmbed ¶
func (o *ListArtifactOfProjectVersionParams) SetEmbed(embed *string)
SetEmbed adds the embed to the list artifact of project version params
func (*ListArtifactOfProjectVersionParams) SetFields ¶
func (o *ListArtifactOfProjectVersionParams) SetFields(fields *string)
SetFields adds the fields to the list artifact of project version params
func (*ListArtifactOfProjectVersionParams) SetHTTPClient ¶
func (o *ListArtifactOfProjectVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list artifact of project version params
func (*ListArtifactOfProjectVersionParams) SetLimit ¶
func (o *ListArtifactOfProjectVersionParams) SetLimit(limit *int32)
SetLimit adds the limit to the list artifact of project version params
func (*ListArtifactOfProjectVersionParams) SetParentID ¶
func (o *ListArtifactOfProjectVersionParams) SetParentID(parentID int64)
SetParentID adds the parentId to the list artifact of project version params
func (*ListArtifactOfProjectVersionParams) SetQ ¶
func (o *ListArtifactOfProjectVersionParams) SetQ(q *string)
SetQ adds the q to the list artifact of project version params
func (*ListArtifactOfProjectVersionParams) SetStart ¶
func (o *ListArtifactOfProjectVersionParams) SetStart(start *int32)
SetStart adds the start to the list artifact of project version params
func (*ListArtifactOfProjectVersionParams) SetTimeout ¶
func (o *ListArtifactOfProjectVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list artifact of project version params
func (*ListArtifactOfProjectVersionParams) WithContext ¶
func (o *ListArtifactOfProjectVersionParams) WithContext(ctx context.Context) *ListArtifactOfProjectVersionParams
WithContext adds the context to the list artifact of project version params
func (*ListArtifactOfProjectVersionParams) WithEmbed ¶
func (o *ListArtifactOfProjectVersionParams) WithEmbed(embed *string) *ListArtifactOfProjectVersionParams
WithEmbed adds the embed to the list artifact of project version params
func (*ListArtifactOfProjectVersionParams) WithFields ¶
func (o *ListArtifactOfProjectVersionParams) WithFields(fields *string) *ListArtifactOfProjectVersionParams
WithFields adds the fields to the list artifact of project version params
func (*ListArtifactOfProjectVersionParams) WithHTTPClient ¶
func (o *ListArtifactOfProjectVersionParams) WithHTTPClient(client *http.Client) *ListArtifactOfProjectVersionParams
WithHTTPClient adds the HTTPClient to the list artifact of project version params
func (*ListArtifactOfProjectVersionParams) WithLimit ¶
func (o *ListArtifactOfProjectVersionParams) WithLimit(limit *int32) *ListArtifactOfProjectVersionParams
WithLimit adds the limit to the list artifact of project version params
func (*ListArtifactOfProjectVersionParams) WithParentID ¶
func (o *ListArtifactOfProjectVersionParams) WithParentID(parentID int64) *ListArtifactOfProjectVersionParams
WithParentID adds the parentID to the list artifact of project version params
func (*ListArtifactOfProjectVersionParams) WithQ ¶
func (o *ListArtifactOfProjectVersionParams) WithQ(q *string) *ListArtifactOfProjectVersionParams
WithQ adds the q to the list artifact of project version params
func (*ListArtifactOfProjectVersionParams) WithStart ¶
func (o *ListArtifactOfProjectVersionParams) WithStart(start *int32) *ListArtifactOfProjectVersionParams
WithStart adds the start to the list artifact of project version params
func (*ListArtifactOfProjectVersionParams) WithTimeout ¶
func (o *ListArtifactOfProjectVersionParams) WithTimeout(timeout time.Duration) *ListArtifactOfProjectVersionParams
WithTimeout adds the timeout to the list artifact of project version params
func (*ListArtifactOfProjectVersionParams) WriteToRequest ¶
func (o *ListArtifactOfProjectVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListArtifactOfProjectVersionReader ¶
type ListArtifactOfProjectVersionReader struct {
// contains filtered or unexported fields
}
ListArtifactOfProjectVersionReader is a Reader for the ListArtifactOfProjectVersion structure.
func (*ListArtifactOfProjectVersionReader) ReadResponse ¶
func (o *ListArtifactOfProjectVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListArtifactOfProjectVersionUnauthorized ¶
type ListArtifactOfProjectVersionUnauthorized struct {
}ListArtifactOfProjectVersionUnauthorized handles this case with default header values.
Unauthorized
func NewListArtifactOfProjectVersionUnauthorized ¶
func NewListArtifactOfProjectVersionUnauthorized() *ListArtifactOfProjectVersionUnauthorized
NewListArtifactOfProjectVersionUnauthorized creates a ListArtifactOfProjectVersionUnauthorized with default headers values
func (*ListArtifactOfProjectVersionUnauthorized) Error ¶
func (o *ListArtifactOfProjectVersionUnauthorized) Error() string
func (*ListArtifactOfProjectVersionUnauthorized) GetPayload ¶
func (o *ListArtifactOfProjectVersionUnauthorized) GetPayload() *models.APIResult
type UploadArtifactOfProjectVersionBadRequest ¶
UploadArtifactOfProjectVersionBadRequest handles this case with default header values.
Bad Request
func NewUploadArtifactOfProjectVersionBadRequest ¶
func NewUploadArtifactOfProjectVersionBadRequest() *UploadArtifactOfProjectVersionBadRequest
NewUploadArtifactOfProjectVersionBadRequest creates a UploadArtifactOfProjectVersionBadRequest with default headers values
func (*UploadArtifactOfProjectVersionBadRequest) Error ¶
func (o *UploadArtifactOfProjectVersionBadRequest) Error() string
func (*UploadArtifactOfProjectVersionBadRequest) GetPayload ¶
func (o *UploadArtifactOfProjectVersionBadRequest) GetPayload() *models.APIResult
type UploadArtifactOfProjectVersionConflict ¶
UploadArtifactOfProjectVersionConflict handles this case with default header values.
Conflict
func NewUploadArtifactOfProjectVersionConflict ¶
func NewUploadArtifactOfProjectVersionConflict() *UploadArtifactOfProjectVersionConflict
NewUploadArtifactOfProjectVersionConflict creates a UploadArtifactOfProjectVersionConflict with default headers values
func (*UploadArtifactOfProjectVersionConflict) Error ¶
func (o *UploadArtifactOfProjectVersionConflict) Error() string
func (*UploadArtifactOfProjectVersionConflict) GetPayload ¶
func (o *UploadArtifactOfProjectVersionConflict) GetPayload() *models.APIResult
type UploadArtifactOfProjectVersionCreated ¶
type UploadArtifactOfProjectVersionCreated struct {
Payload *models.APIResultArtifact
}
UploadArtifactOfProjectVersionCreated handles this case with default header values.
Created
func NewUploadArtifactOfProjectVersionCreated ¶
func NewUploadArtifactOfProjectVersionCreated() *UploadArtifactOfProjectVersionCreated
NewUploadArtifactOfProjectVersionCreated creates a UploadArtifactOfProjectVersionCreated with default headers values
func (*UploadArtifactOfProjectVersionCreated) Error ¶
func (o *UploadArtifactOfProjectVersionCreated) Error() string
func (*UploadArtifactOfProjectVersionCreated) GetPayload ¶
func (o *UploadArtifactOfProjectVersionCreated) GetPayload() *models.APIResultArtifact
type UploadArtifactOfProjectVersionForbidden ¶
UploadArtifactOfProjectVersionForbidden handles this case with default header values.
Forbidden
func NewUploadArtifactOfProjectVersionForbidden ¶
func NewUploadArtifactOfProjectVersionForbidden() *UploadArtifactOfProjectVersionForbidden
NewUploadArtifactOfProjectVersionForbidden creates a UploadArtifactOfProjectVersionForbidden with default headers values
func (*UploadArtifactOfProjectVersionForbidden) Error ¶
func (o *UploadArtifactOfProjectVersionForbidden) Error() string
func (*UploadArtifactOfProjectVersionForbidden) GetPayload ¶
func (o *UploadArtifactOfProjectVersionForbidden) GetPayload() *models.APIResult
type UploadArtifactOfProjectVersionInternalServerError ¶
UploadArtifactOfProjectVersionInternalServerError handles this case with default header values.
Internal Server Error
func NewUploadArtifactOfProjectVersionInternalServerError ¶
func NewUploadArtifactOfProjectVersionInternalServerError() *UploadArtifactOfProjectVersionInternalServerError
NewUploadArtifactOfProjectVersionInternalServerError creates a UploadArtifactOfProjectVersionInternalServerError with default headers values
func (*UploadArtifactOfProjectVersionInternalServerError) Error ¶
func (o *UploadArtifactOfProjectVersionInternalServerError) Error() string
func (*UploadArtifactOfProjectVersionInternalServerError) GetPayload ¶
func (o *UploadArtifactOfProjectVersionInternalServerError) GetPayload() *models.APIResult
type UploadArtifactOfProjectVersionNotFound ¶
UploadArtifactOfProjectVersionNotFound handles this case with default header values.
Not Found
func NewUploadArtifactOfProjectVersionNotFound ¶
func NewUploadArtifactOfProjectVersionNotFound() *UploadArtifactOfProjectVersionNotFound
NewUploadArtifactOfProjectVersionNotFound creates a UploadArtifactOfProjectVersionNotFound with default headers values
func (*UploadArtifactOfProjectVersionNotFound) Error ¶
func (o *UploadArtifactOfProjectVersionNotFound) Error() string
func (*UploadArtifactOfProjectVersionNotFound) GetPayload ¶
func (o *UploadArtifactOfProjectVersionNotFound) GetPayload() *models.APIResult
type UploadArtifactOfProjectVersionParams ¶
type UploadArtifactOfProjectVersionParams struct { /*EngineType engineType */ EngineType *string /*File file */ File runtime.NamedReadCloser /*ParentID parentId */ ParentID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UploadArtifactOfProjectVersionParams contains all the parameters to send to the API endpoint for the upload artifact of project version operation typically these are written to a http.Request
func NewUploadArtifactOfProjectVersionParams ¶
func NewUploadArtifactOfProjectVersionParams() *UploadArtifactOfProjectVersionParams
NewUploadArtifactOfProjectVersionParams creates a new UploadArtifactOfProjectVersionParams object with the default values initialized.
func NewUploadArtifactOfProjectVersionParamsWithContext ¶
func NewUploadArtifactOfProjectVersionParamsWithContext(ctx context.Context) *UploadArtifactOfProjectVersionParams
NewUploadArtifactOfProjectVersionParamsWithContext creates a new UploadArtifactOfProjectVersionParams object with the default values initialized, and the ability to set a context for a request
func NewUploadArtifactOfProjectVersionParamsWithHTTPClient ¶
func NewUploadArtifactOfProjectVersionParamsWithHTTPClient(client *http.Client) *UploadArtifactOfProjectVersionParams
NewUploadArtifactOfProjectVersionParamsWithHTTPClient creates a new UploadArtifactOfProjectVersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUploadArtifactOfProjectVersionParamsWithTimeout ¶
func NewUploadArtifactOfProjectVersionParamsWithTimeout(timeout time.Duration) *UploadArtifactOfProjectVersionParams
NewUploadArtifactOfProjectVersionParamsWithTimeout creates a new UploadArtifactOfProjectVersionParams object with the default values initialized, and the ability to set a timeout on a request
func (*UploadArtifactOfProjectVersionParams) SetContext ¶
func (o *UploadArtifactOfProjectVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the upload artifact of project version params
func (*UploadArtifactOfProjectVersionParams) SetEngineType ¶
func (o *UploadArtifactOfProjectVersionParams) SetEngineType(engineType *string)
SetEngineType adds the engineType to the upload artifact of project version params
func (*UploadArtifactOfProjectVersionParams) SetFile ¶
func (o *UploadArtifactOfProjectVersionParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the upload artifact of project version params
func (*UploadArtifactOfProjectVersionParams) SetHTTPClient ¶
func (o *UploadArtifactOfProjectVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload artifact of project version params
func (*UploadArtifactOfProjectVersionParams) SetParentID ¶
func (o *UploadArtifactOfProjectVersionParams) SetParentID(parentID int64)
SetParentID adds the parentId to the upload artifact of project version params
func (*UploadArtifactOfProjectVersionParams) SetTimeout ¶
func (o *UploadArtifactOfProjectVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload artifact of project version params
func (*UploadArtifactOfProjectVersionParams) WithContext ¶
func (o *UploadArtifactOfProjectVersionParams) WithContext(ctx context.Context) *UploadArtifactOfProjectVersionParams
WithContext adds the context to the upload artifact of project version params
func (*UploadArtifactOfProjectVersionParams) WithEngineType ¶
func (o *UploadArtifactOfProjectVersionParams) WithEngineType(engineType *string) *UploadArtifactOfProjectVersionParams
WithEngineType adds the engineType to the upload artifact of project version params
func (*UploadArtifactOfProjectVersionParams) WithFile ¶
func (o *UploadArtifactOfProjectVersionParams) WithFile(file runtime.NamedReadCloser) *UploadArtifactOfProjectVersionParams
WithFile adds the file to the upload artifact of project version params
func (*UploadArtifactOfProjectVersionParams) WithHTTPClient ¶
func (o *UploadArtifactOfProjectVersionParams) WithHTTPClient(client *http.Client) *UploadArtifactOfProjectVersionParams
WithHTTPClient adds the HTTPClient to the upload artifact of project version params
func (*UploadArtifactOfProjectVersionParams) WithParentID ¶
func (o *UploadArtifactOfProjectVersionParams) WithParentID(parentID int64) *UploadArtifactOfProjectVersionParams
WithParentID adds the parentID to the upload artifact of project version params
func (*UploadArtifactOfProjectVersionParams) WithTimeout ¶
func (o *UploadArtifactOfProjectVersionParams) WithTimeout(timeout time.Duration) *UploadArtifactOfProjectVersionParams
WithTimeout adds the timeout to the upload artifact of project version params
func (*UploadArtifactOfProjectVersionParams) WriteToRequest ¶
func (o *UploadArtifactOfProjectVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadArtifactOfProjectVersionReader ¶
type UploadArtifactOfProjectVersionReader struct {
// contains filtered or unexported fields
}
UploadArtifactOfProjectVersionReader is a Reader for the UploadArtifactOfProjectVersion structure.
func (*UploadArtifactOfProjectVersionReader) ReadResponse ¶
func (o *UploadArtifactOfProjectVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UploadArtifactOfProjectVersionUnauthorized ¶
type UploadArtifactOfProjectVersionUnauthorized struct {
}UploadArtifactOfProjectVersionUnauthorized handles this case with default header values.
Unauthorized
func NewUploadArtifactOfProjectVersionUnauthorized ¶
func NewUploadArtifactOfProjectVersionUnauthorized() *UploadArtifactOfProjectVersionUnauthorized
NewUploadArtifactOfProjectVersionUnauthorized creates a UploadArtifactOfProjectVersionUnauthorized with default headers values
func (*UploadArtifactOfProjectVersionUnauthorized) Error ¶
func (o *UploadArtifactOfProjectVersionUnauthorized) Error() string
func (*UploadArtifactOfProjectVersionUnauthorized) GetPayload ¶
func (o *UploadArtifactOfProjectVersionUnauthorized) GetPayload() *models.APIResult