artifact_of_project_version_controller

package
v0.0.0-...-7b3e9a7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

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

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

type ListArtifactOfProjectVersionBadRequest struct {
	Payload *models.APIResult
}

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

type ListArtifactOfProjectVersionConflict

type ListArtifactOfProjectVersionConflict struct {
	Payload *models.APIResult
}

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

type ListArtifactOfProjectVersionForbidden

type ListArtifactOfProjectVersionForbidden struct {
	Payload *models.APIResult
}

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

type ListArtifactOfProjectVersionInternalServerError

type ListArtifactOfProjectVersionInternalServerError struct {
	Payload *models.APIResult
}

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

type ListArtifactOfProjectVersionNotFound

type ListArtifactOfProjectVersionNotFound struct {
	Payload *models.APIResult
}

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

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

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

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

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

WithContext adds the context to the list artifact of project version params

func (*ListArtifactOfProjectVersionParams) WithEmbed

WithEmbed adds the embed to the list artifact of project version params

func (*ListArtifactOfProjectVersionParams) WithFields

WithFields adds the fields to the list artifact of project version params

func (*ListArtifactOfProjectVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list artifact of project version params

func (*ListArtifactOfProjectVersionParams) WithLimit

WithLimit adds the limit to the list artifact of project version params

func (*ListArtifactOfProjectVersionParams) WithParentID

WithParentID adds the parentID to the list artifact of project version params

func (*ListArtifactOfProjectVersionParams) WithQ

WithQ adds the q to the list artifact of project version params

func (*ListArtifactOfProjectVersionParams) WithStart

WithStart adds the start to the list artifact of project version params

func (*ListArtifactOfProjectVersionParams) WithTimeout

WithTimeout adds the timeout to the list artifact of project version params

func (*ListArtifactOfProjectVersionParams) WriteToRequest

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 {
	Payload *models.APIResult
}

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

type UploadArtifactOfProjectVersionBadRequest

type UploadArtifactOfProjectVersionBadRequest struct {
	Payload *models.APIResult
}

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

type UploadArtifactOfProjectVersionConflict

type UploadArtifactOfProjectVersionConflict struct {
	Payload *models.APIResult
}

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

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

type UploadArtifactOfProjectVersionForbidden

type UploadArtifactOfProjectVersionForbidden struct {
	Payload *models.APIResult
}

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

type UploadArtifactOfProjectVersionInternalServerError

type UploadArtifactOfProjectVersionInternalServerError struct {
	Payload *models.APIResult
}

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

type UploadArtifactOfProjectVersionNotFound

type UploadArtifactOfProjectVersionNotFound struct {
	Payload *models.APIResult
}

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

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

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

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

WithContext adds the context to the upload artifact of project version params

func (*UploadArtifactOfProjectVersionParams) WithEngineType

WithEngineType adds the engineType to the upload artifact of project version params

func (*UploadArtifactOfProjectVersionParams) WithFile

WithFile adds the file to the upload artifact of project version params

func (*UploadArtifactOfProjectVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upload artifact of project version params

func (*UploadArtifactOfProjectVersionParams) WithParentID

WithParentID adds the parentID to the upload artifact of project version params

func (*UploadArtifactOfProjectVersionParams) WithTimeout

WithTimeout adds the timeout to the upload artifact of project version params

func (*UploadArtifactOfProjectVersionParams) WriteToRequest

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 {
	Payload *models.APIResult
}

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

Jump to

Keyboard shortcuts

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