Documentation ¶
Index ¶
- type Client
- func (a *Client) ListProject(params *ListProjectParams, authInfo runtime.ClientAuthInfoWriter) (*ListProjectOK, error)
- func (a *Client) ReadProject(params *ReadProjectParams, authInfo runtime.ClientAuthInfoWriter) (*ReadProjectOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TestProject(params *TestProjectParams, authInfo runtime.ClientAuthInfoWriter) (*TestProjectOK, error)
- func (a *Client) UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateProjectOK, error)
- type ClientService
- type ListProjectBadRequest
- type ListProjectConflict
- type ListProjectForbidden
- type ListProjectInternalServerError
- type ListProjectNotFound
- type ListProjectOK
- type ListProjectParams
- func (o *ListProjectParams) SetContext(ctx context.Context)
- func (o *ListProjectParams) SetFields(fields *string)
- func (o *ListProjectParams) SetFulltextsearch(fulltextsearch *bool)
- func (o *ListProjectParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectParams) SetLimit(limit *int32)
- func (o *ListProjectParams) SetOrderby(orderby *string)
- func (o *ListProjectParams) SetQ(q *string)
- func (o *ListProjectParams) SetStart(start *int32)
- func (o *ListProjectParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectParams) WithContext(ctx context.Context) *ListProjectParams
- func (o *ListProjectParams) WithFields(fields *string) *ListProjectParams
- func (o *ListProjectParams) WithFulltextsearch(fulltextsearch *bool) *ListProjectParams
- func (o *ListProjectParams) WithHTTPClient(client *http.Client) *ListProjectParams
- func (o *ListProjectParams) WithLimit(limit *int32) *ListProjectParams
- func (o *ListProjectParams) WithOrderby(orderby *string) *ListProjectParams
- func (o *ListProjectParams) WithQ(q *string) *ListProjectParams
- func (o *ListProjectParams) WithStart(start *int32) *ListProjectParams
- func (o *ListProjectParams) WithTimeout(timeout time.Duration) *ListProjectParams
- func (o *ListProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectReader
- type ListProjectUnauthorized
- type ReadProjectBadRequest
- type ReadProjectConflict
- type ReadProjectForbidden
- type ReadProjectInternalServerError
- type ReadProjectNotFound
- type ReadProjectOK
- type ReadProjectParams
- func (o *ReadProjectParams) SetContext(ctx context.Context)
- func (o *ReadProjectParams) SetFields(fields *string)
- func (o *ReadProjectParams) SetHTTPClient(client *http.Client)
- func (o *ReadProjectParams) SetID(id int64)
- func (o *ReadProjectParams) SetTimeout(timeout time.Duration)
- func (o *ReadProjectParams) WithContext(ctx context.Context) *ReadProjectParams
- func (o *ReadProjectParams) WithFields(fields *string) *ReadProjectParams
- func (o *ReadProjectParams) WithHTTPClient(client *http.Client) *ReadProjectParams
- func (o *ReadProjectParams) WithID(id int64) *ReadProjectParams
- func (o *ReadProjectParams) WithTimeout(timeout time.Duration) *ReadProjectParams
- func (o *ReadProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadProjectReader
- type ReadProjectUnauthorized
- type TestProjectBadRequest
- type TestProjectConflict
- type TestProjectForbidden
- type TestProjectInternalServerError
- type TestProjectNotFound
- type TestProjectOK
- type TestProjectParams
- func (o *TestProjectParams) SetContext(ctx context.Context)
- func (o *TestProjectParams) SetHTTPClient(client *http.Client)
- func (o *TestProjectParams) SetResource(resource *models.ApplicationNameTestRequest)
- func (o *TestProjectParams) SetTimeout(timeout time.Duration)
- func (o *TestProjectParams) WithContext(ctx context.Context) *TestProjectParams
- func (o *TestProjectParams) WithHTTPClient(client *http.Client) *TestProjectParams
- func (o *TestProjectParams) WithResource(resource *models.ApplicationNameTestRequest) *TestProjectParams
- func (o *TestProjectParams) WithTimeout(timeout time.Duration) *TestProjectParams
- func (o *TestProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TestProjectReader
- type TestProjectUnauthorized
- type UpdateProjectBadRequest
- type UpdateProjectConflict
- type UpdateProjectForbidden
- type UpdateProjectInternalServerError
- type UpdateProjectNotFound
- type UpdateProjectOK
- type UpdateProjectParams
- func (o *UpdateProjectParams) SetContext(ctx context.Context)
- func (o *UpdateProjectParams) SetData(data *models.Project)
- func (o *UpdateProjectParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProjectParams) SetID(id int64)
- func (o *UpdateProjectParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProjectParams) WithContext(ctx context.Context) *UpdateProjectParams
- func (o *UpdateProjectParams) WithData(data *models.Project) *UpdateProjectParams
- func (o *UpdateProjectParams) WithHTTPClient(client *http.Client) *UpdateProjectParams
- func (o *UpdateProjectParams) WithID(id int64) *UpdateProjectParams
- func (o *UpdateProjectParams) WithTimeout(timeout time.Duration) *UpdateProjectParams
- func (o *UpdateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProjectReader
- type UpdateProjectUnauthorized
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 controller API
func (*Client) ListProject ¶
func (a *Client) ListProject(params *ListProjectParams, authInfo runtime.ClientAuthInfoWriter) (*ListProjectOK, error)
ListProject lists
func (*Client) ReadProject ¶
func (a *Client) ReadProject(params *ReadProjectParams, authInfo runtime.ClientAuthInfoWriter) (*ReadProjectOK, error)
ReadProject reads
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TestProject ¶
func (a *Client) TestProject(params *TestProjectParams, authInfo runtime.ClientAuthInfoWriter) (*TestProjectOK, error)
TestProject checks whether the specified application name is already defined in the system
func (*Client) UpdateProject ¶
func (a *Client) UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateProjectOK, error)
UpdateProject updates
type ClientService ¶
type ClientService interface { ListProject(params *ListProjectParams, authInfo runtime.ClientAuthInfoWriter) (*ListProjectOK, error) ReadProject(params *ReadProjectParams, authInfo runtime.ClientAuthInfoWriter) (*ReadProjectOK, error) TestProject(params *TestProjectParams, authInfo runtime.ClientAuthInfoWriter) (*TestProjectOK, error) UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateProjectOK, 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 project controller API client.
type ListProjectBadRequest ¶
ListProjectBadRequest handles this case with default header values.
Bad Request
func NewListProjectBadRequest ¶
func NewListProjectBadRequest() *ListProjectBadRequest
NewListProjectBadRequest creates a ListProjectBadRequest with default headers values
func (*ListProjectBadRequest) Error ¶
func (o *ListProjectBadRequest) Error() string
func (*ListProjectBadRequest) GetPayload ¶
func (o *ListProjectBadRequest) GetPayload() *models.APIResult
type ListProjectConflict ¶
ListProjectConflict handles this case with default header values.
Conflict
func NewListProjectConflict ¶
func NewListProjectConflict() *ListProjectConflict
NewListProjectConflict creates a ListProjectConflict with default headers values
func (*ListProjectConflict) Error ¶
func (o *ListProjectConflict) Error() string
func (*ListProjectConflict) GetPayload ¶
func (o *ListProjectConflict) GetPayload() *models.APIResult
type ListProjectForbidden ¶
ListProjectForbidden handles this case with default header values.
Forbidden
func NewListProjectForbidden ¶
func NewListProjectForbidden() *ListProjectForbidden
NewListProjectForbidden creates a ListProjectForbidden with default headers values
func (*ListProjectForbidden) Error ¶
func (o *ListProjectForbidden) Error() string
func (*ListProjectForbidden) GetPayload ¶
func (o *ListProjectForbidden) GetPayload() *models.APIResult
type ListProjectInternalServerError ¶
ListProjectInternalServerError handles this case with default header values.
Internal Server Error
func NewListProjectInternalServerError ¶
func NewListProjectInternalServerError() *ListProjectInternalServerError
NewListProjectInternalServerError creates a ListProjectInternalServerError with default headers values
func (*ListProjectInternalServerError) Error ¶
func (o *ListProjectInternalServerError) Error() string
func (*ListProjectInternalServerError) GetPayload ¶
func (o *ListProjectInternalServerError) GetPayload() *models.APIResult
type ListProjectNotFound ¶
ListProjectNotFound handles this case with default header values.
Not Found
func NewListProjectNotFound ¶
func NewListProjectNotFound() *ListProjectNotFound
NewListProjectNotFound creates a ListProjectNotFound with default headers values
func (*ListProjectNotFound) Error ¶
func (o *ListProjectNotFound) Error() string
func (*ListProjectNotFound) GetPayload ¶
func (o *ListProjectNotFound) GetPayload() *models.APIResult
type ListProjectOK ¶
type ListProjectOK struct {
Payload *models.APIResultListProject
}
ListProjectOK handles this case with default header values.
OK
func NewListProjectOK ¶
func NewListProjectOK() *ListProjectOK
NewListProjectOK creates a ListProjectOK with default headers values
func (*ListProjectOK) Error ¶
func (o *ListProjectOK) Error() string
func (*ListProjectOK) GetPayload ¶
func (o *ListProjectOK) GetPayload() *models.APIResultListProject
type ListProjectParams ¶
type ListProjectParams struct { /*Fields Output fields */ Fields *string /*Fulltextsearch If 'true', interpret 'q' parameter as full text search query, defaults to 'false' */ Fulltextsearch *bool /*Limit A maximum number of returned objects in listing, if '-1' or '0' no limit is applied */ Limit *int32 /*Orderby Fields to order by */ Orderby *string /*Q A search-spec of full text search query (see fulltextsearch parameter) */ Q *string /*Start A start offset in object listing */ Start *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListProjectParams contains all the parameters to send to the API endpoint for the list project operation typically these are written to a http.Request
func NewListProjectParams ¶
func NewListProjectParams() *ListProjectParams
NewListProjectParams creates a new ListProjectParams object with the default values initialized.
func NewListProjectParamsWithContext ¶
func NewListProjectParamsWithContext(ctx context.Context) *ListProjectParams
NewListProjectParamsWithContext creates a new ListProjectParams object with the default values initialized, and the ability to set a context for a request
func NewListProjectParamsWithHTTPClient ¶
func NewListProjectParamsWithHTTPClient(client *http.Client) *ListProjectParams
NewListProjectParamsWithHTTPClient creates a new ListProjectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListProjectParamsWithTimeout ¶
func NewListProjectParamsWithTimeout(timeout time.Duration) *ListProjectParams
NewListProjectParamsWithTimeout creates a new ListProjectParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListProjectParams) SetContext ¶
func (o *ListProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the list project params
func (*ListProjectParams) SetFields ¶
func (o *ListProjectParams) SetFields(fields *string)
SetFields adds the fields to the list project params
func (*ListProjectParams) SetFulltextsearch ¶
func (o *ListProjectParams) SetFulltextsearch(fulltextsearch *bool)
SetFulltextsearch adds the fulltextsearch to the list project params
func (*ListProjectParams) SetHTTPClient ¶
func (o *ListProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list project params
func (*ListProjectParams) SetLimit ¶
func (o *ListProjectParams) SetLimit(limit *int32)
SetLimit adds the limit to the list project params
func (*ListProjectParams) SetOrderby ¶
func (o *ListProjectParams) SetOrderby(orderby *string)
SetOrderby adds the orderby to the list project params
func (*ListProjectParams) SetQ ¶
func (o *ListProjectParams) SetQ(q *string)
SetQ adds the q to the list project params
func (*ListProjectParams) SetStart ¶
func (o *ListProjectParams) SetStart(start *int32)
SetStart adds the start to the list project params
func (*ListProjectParams) SetTimeout ¶
func (o *ListProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list project params
func (*ListProjectParams) WithContext ¶
func (o *ListProjectParams) WithContext(ctx context.Context) *ListProjectParams
WithContext adds the context to the list project params
func (*ListProjectParams) WithFields ¶
func (o *ListProjectParams) WithFields(fields *string) *ListProjectParams
WithFields adds the fields to the list project params
func (*ListProjectParams) WithFulltextsearch ¶
func (o *ListProjectParams) WithFulltextsearch(fulltextsearch *bool) *ListProjectParams
WithFulltextsearch adds the fulltextsearch to the list project params
func (*ListProjectParams) WithHTTPClient ¶
func (o *ListProjectParams) WithHTTPClient(client *http.Client) *ListProjectParams
WithHTTPClient adds the HTTPClient to the list project params
func (*ListProjectParams) WithLimit ¶
func (o *ListProjectParams) WithLimit(limit *int32) *ListProjectParams
WithLimit adds the limit to the list project params
func (*ListProjectParams) WithOrderby ¶
func (o *ListProjectParams) WithOrderby(orderby *string) *ListProjectParams
WithOrderby adds the orderby to the list project params
func (*ListProjectParams) WithQ ¶
func (o *ListProjectParams) WithQ(q *string) *ListProjectParams
WithQ adds the q to the list project params
func (*ListProjectParams) WithStart ¶
func (o *ListProjectParams) WithStart(start *int32) *ListProjectParams
WithStart adds the start to the list project params
func (*ListProjectParams) WithTimeout ¶
func (o *ListProjectParams) WithTimeout(timeout time.Duration) *ListProjectParams
WithTimeout adds the timeout to the list project params
func (*ListProjectParams) WriteToRequest ¶
func (o *ListProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListProjectReader ¶
type ListProjectReader struct {
// contains filtered or unexported fields
}
ListProjectReader is a Reader for the ListProject structure.
func (*ListProjectReader) ReadResponse ¶
func (o *ListProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListProjectUnauthorized ¶
type ListProjectUnauthorized struct {
}ListProjectUnauthorized handles this case with default header values.
Unauthorized
func NewListProjectUnauthorized ¶
func NewListProjectUnauthorized() *ListProjectUnauthorized
NewListProjectUnauthorized creates a ListProjectUnauthorized with default headers values
func (*ListProjectUnauthorized) Error ¶
func (o *ListProjectUnauthorized) Error() string
func (*ListProjectUnauthorized) GetPayload ¶
func (o *ListProjectUnauthorized) GetPayload() *models.APIResult
type ReadProjectBadRequest ¶
ReadProjectBadRequest handles this case with default header values.
Bad Request
func NewReadProjectBadRequest ¶
func NewReadProjectBadRequest() *ReadProjectBadRequest
NewReadProjectBadRequest creates a ReadProjectBadRequest with default headers values
func (*ReadProjectBadRequest) Error ¶
func (o *ReadProjectBadRequest) Error() string
func (*ReadProjectBadRequest) GetPayload ¶
func (o *ReadProjectBadRequest) GetPayload() *models.APIResult
type ReadProjectConflict ¶
ReadProjectConflict handles this case with default header values.
Conflict
func NewReadProjectConflict ¶
func NewReadProjectConflict() *ReadProjectConflict
NewReadProjectConflict creates a ReadProjectConflict with default headers values
func (*ReadProjectConflict) Error ¶
func (o *ReadProjectConflict) Error() string
func (*ReadProjectConflict) GetPayload ¶
func (o *ReadProjectConflict) GetPayload() *models.APIResult
type ReadProjectForbidden ¶
ReadProjectForbidden handles this case with default header values.
Forbidden
func NewReadProjectForbidden ¶
func NewReadProjectForbidden() *ReadProjectForbidden
NewReadProjectForbidden creates a ReadProjectForbidden with default headers values
func (*ReadProjectForbidden) Error ¶
func (o *ReadProjectForbidden) Error() string
func (*ReadProjectForbidden) GetPayload ¶
func (o *ReadProjectForbidden) GetPayload() *models.APIResult
type ReadProjectInternalServerError ¶
ReadProjectInternalServerError handles this case with default header values.
Internal Server Error
func NewReadProjectInternalServerError ¶
func NewReadProjectInternalServerError() *ReadProjectInternalServerError
NewReadProjectInternalServerError creates a ReadProjectInternalServerError with default headers values
func (*ReadProjectInternalServerError) Error ¶
func (o *ReadProjectInternalServerError) Error() string
func (*ReadProjectInternalServerError) GetPayload ¶
func (o *ReadProjectInternalServerError) GetPayload() *models.APIResult
type ReadProjectNotFound ¶
ReadProjectNotFound handles this case with default header values.
Not Found
func NewReadProjectNotFound ¶
func NewReadProjectNotFound() *ReadProjectNotFound
NewReadProjectNotFound creates a ReadProjectNotFound with default headers values
func (*ReadProjectNotFound) Error ¶
func (o *ReadProjectNotFound) Error() string
func (*ReadProjectNotFound) GetPayload ¶
func (o *ReadProjectNotFound) GetPayload() *models.APIResult
type ReadProjectOK ¶
type ReadProjectOK struct {
Payload *models.APIResultProject
}
ReadProjectOK handles this case with default header values.
OK
func NewReadProjectOK ¶
func NewReadProjectOK() *ReadProjectOK
NewReadProjectOK creates a ReadProjectOK with default headers values
func (*ReadProjectOK) Error ¶
func (o *ReadProjectOK) Error() string
func (*ReadProjectOK) GetPayload ¶
func (o *ReadProjectOK) GetPayload() *models.APIResultProject
type ReadProjectParams ¶
type ReadProjectParams struct { /*Fields Output fields */ Fields *string /*ID id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadProjectParams contains all the parameters to send to the API endpoint for the read project operation typically these are written to a http.Request
func NewReadProjectParams ¶
func NewReadProjectParams() *ReadProjectParams
NewReadProjectParams creates a new ReadProjectParams object with the default values initialized.
func NewReadProjectParamsWithContext ¶
func NewReadProjectParamsWithContext(ctx context.Context) *ReadProjectParams
NewReadProjectParamsWithContext creates a new ReadProjectParams object with the default values initialized, and the ability to set a context for a request
func NewReadProjectParamsWithHTTPClient ¶
func NewReadProjectParamsWithHTTPClient(client *http.Client) *ReadProjectParams
NewReadProjectParamsWithHTTPClient creates a new ReadProjectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReadProjectParamsWithTimeout ¶
func NewReadProjectParamsWithTimeout(timeout time.Duration) *ReadProjectParams
NewReadProjectParamsWithTimeout creates a new ReadProjectParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReadProjectParams) SetContext ¶
func (o *ReadProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the read project params
func (*ReadProjectParams) SetFields ¶
func (o *ReadProjectParams) SetFields(fields *string)
SetFields adds the fields to the read project params
func (*ReadProjectParams) SetHTTPClient ¶
func (o *ReadProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read project params
func (*ReadProjectParams) SetID ¶
func (o *ReadProjectParams) SetID(id int64)
SetID adds the id to the read project params
func (*ReadProjectParams) SetTimeout ¶
func (o *ReadProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read project params
func (*ReadProjectParams) WithContext ¶
func (o *ReadProjectParams) WithContext(ctx context.Context) *ReadProjectParams
WithContext adds the context to the read project params
func (*ReadProjectParams) WithFields ¶
func (o *ReadProjectParams) WithFields(fields *string) *ReadProjectParams
WithFields adds the fields to the read project params
func (*ReadProjectParams) WithHTTPClient ¶
func (o *ReadProjectParams) WithHTTPClient(client *http.Client) *ReadProjectParams
WithHTTPClient adds the HTTPClient to the read project params
func (*ReadProjectParams) WithID ¶
func (o *ReadProjectParams) WithID(id int64) *ReadProjectParams
WithID adds the id to the read project params
func (*ReadProjectParams) WithTimeout ¶
func (o *ReadProjectParams) WithTimeout(timeout time.Duration) *ReadProjectParams
WithTimeout adds the timeout to the read project params
func (*ReadProjectParams) WriteToRequest ¶
func (o *ReadProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadProjectReader ¶
type ReadProjectReader struct {
// contains filtered or unexported fields
}
ReadProjectReader is a Reader for the ReadProject structure.
func (*ReadProjectReader) ReadResponse ¶
func (o *ReadProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadProjectUnauthorized ¶
type ReadProjectUnauthorized struct {
}ReadProjectUnauthorized handles this case with default header values.
Unauthorized
func NewReadProjectUnauthorized ¶
func NewReadProjectUnauthorized() *ReadProjectUnauthorized
NewReadProjectUnauthorized creates a ReadProjectUnauthorized with default headers values
func (*ReadProjectUnauthorized) Error ¶
func (o *ReadProjectUnauthorized) Error() string
func (*ReadProjectUnauthorized) GetPayload ¶
func (o *ReadProjectUnauthorized) GetPayload() *models.APIResult
type TestProjectBadRequest ¶
TestProjectBadRequest handles this case with default header values.
Bad Request
func NewTestProjectBadRequest ¶
func NewTestProjectBadRequest() *TestProjectBadRequest
NewTestProjectBadRequest creates a TestProjectBadRequest with default headers values
func (*TestProjectBadRequest) Error ¶
func (o *TestProjectBadRequest) Error() string
func (*TestProjectBadRequest) GetPayload ¶
func (o *TestProjectBadRequest) GetPayload() *models.APIResult
type TestProjectConflict ¶
TestProjectConflict handles this case with default header values.
Conflict
func NewTestProjectConflict ¶
func NewTestProjectConflict() *TestProjectConflict
NewTestProjectConflict creates a TestProjectConflict with default headers values
func (*TestProjectConflict) Error ¶
func (o *TestProjectConflict) Error() string
func (*TestProjectConflict) GetPayload ¶
func (o *TestProjectConflict) GetPayload() *models.APIResult
type TestProjectForbidden ¶
TestProjectForbidden handles this case with default header values.
Forbidden
func NewTestProjectForbidden ¶
func NewTestProjectForbidden() *TestProjectForbidden
NewTestProjectForbidden creates a TestProjectForbidden with default headers values
func (*TestProjectForbidden) Error ¶
func (o *TestProjectForbidden) Error() string
func (*TestProjectForbidden) GetPayload ¶
func (o *TestProjectForbidden) GetPayload() *models.APIResult
type TestProjectInternalServerError ¶
TestProjectInternalServerError handles this case with default header values.
Internal Server Error
func NewTestProjectInternalServerError ¶
func NewTestProjectInternalServerError() *TestProjectInternalServerError
NewTestProjectInternalServerError creates a TestProjectInternalServerError with default headers values
func (*TestProjectInternalServerError) Error ¶
func (o *TestProjectInternalServerError) Error() string
func (*TestProjectInternalServerError) GetPayload ¶
func (o *TestProjectInternalServerError) GetPayload() *models.APIResult
type TestProjectNotFound ¶
TestProjectNotFound handles this case with default header values.
Not Found
func NewTestProjectNotFound ¶
func NewTestProjectNotFound() *TestProjectNotFound
NewTestProjectNotFound creates a TestProjectNotFound with default headers values
func (*TestProjectNotFound) Error ¶
func (o *TestProjectNotFound) Error() string
func (*TestProjectNotFound) GetPayload ¶
func (o *TestProjectNotFound) GetPayload() *models.APIResult
type TestProjectOK ¶
type TestProjectOK struct {
Payload *models.APIResultApplicationNameTestResponse
}
TestProjectOK handles this case with default header values.
OK
func NewTestProjectOK ¶
func NewTestProjectOK() *TestProjectOK
NewTestProjectOK creates a TestProjectOK with default headers values
func (*TestProjectOK) Error ¶
func (o *TestProjectOK) Error() string
func (*TestProjectOK) GetPayload ¶
func (o *TestProjectOK) GetPayload() *models.APIResultApplicationNameTestResponse
type TestProjectParams ¶
type TestProjectParams struct { /*Resource resource */ Resource *models.ApplicationNameTestRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TestProjectParams contains all the parameters to send to the API endpoint for the test project operation typically these are written to a http.Request
func NewTestProjectParams ¶
func NewTestProjectParams() *TestProjectParams
NewTestProjectParams creates a new TestProjectParams object with the default values initialized.
func NewTestProjectParamsWithContext ¶
func NewTestProjectParamsWithContext(ctx context.Context) *TestProjectParams
NewTestProjectParamsWithContext creates a new TestProjectParams object with the default values initialized, and the ability to set a context for a request
func NewTestProjectParamsWithHTTPClient ¶
func NewTestProjectParamsWithHTTPClient(client *http.Client) *TestProjectParams
NewTestProjectParamsWithHTTPClient creates a new TestProjectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTestProjectParamsWithTimeout ¶
func NewTestProjectParamsWithTimeout(timeout time.Duration) *TestProjectParams
NewTestProjectParamsWithTimeout creates a new TestProjectParams object with the default values initialized, and the ability to set a timeout on a request
func (*TestProjectParams) SetContext ¶
func (o *TestProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the test project params
func (*TestProjectParams) SetHTTPClient ¶
func (o *TestProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the test project params
func (*TestProjectParams) SetResource ¶
func (o *TestProjectParams) SetResource(resource *models.ApplicationNameTestRequest)
SetResource adds the resource to the test project params
func (*TestProjectParams) SetTimeout ¶
func (o *TestProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the test project params
func (*TestProjectParams) WithContext ¶
func (o *TestProjectParams) WithContext(ctx context.Context) *TestProjectParams
WithContext adds the context to the test project params
func (*TestProjectParams) WithHTTPClient ¶
func (o *TestProjectParams) WithHTTPClient(client *http.Client) *TestProjectParams
WithHTTPClient adds the HTTPClient to the test project params
func (*TestProjectParams) WithResource ¶
func (o *TestProjectParams) WithResource(resource *models.ApplicationNameTestRequest) *TestProjectParams
WithResource adds the resource to the test project params
func (*TestProjectParams) WithTimeout ¶
func (o *TestProjectParams) WithTimeout(timeout time.Duration) *TestProjectParams
WithTimeout adds the timeout to the test project params
func (*TestProjectParams) WriteToRequest ¶
func (o *TestProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TestProjectReader ¶
type TestProjectReader struct {
// contains filtered or unexported fields
}
TestProjectReader is a Reader for the TestProject structure.
func (*TestProjectReader) ReadResponse ¶
func (o *TestProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TestProjectUnauthorized ¶
type TestProjectUnauthorized struct {
}TestProjectUnauthorized handles this case with default header values.
Unauthorized
func NewTestProjectUnauthorized ¶
func NewTestProjectUnauthorized() *TestProjectUnauthorized
NewTestProjectUnauthorized creates a TestProjectUnauthorized with default headers values
func (*TestProjectUnauthorized) Error ¶
func (o *TestProjectUnauthorized) Error() string
func (*TestProjectUnauthorized) GetPayload ¶
func (o *TestProjectUnauthorized) GetPayload() *models.APIResult
type UpdateProjectBadRequest ¶
UpdateProjectBadRequest handles this case with default header values.
Bad Request
func NewUpdateProjectBadRequest ¶
func NewUpdateProjectBadRequest() *UpdateProjectBadRequest
NewUpdateProjectBadRequest creates a UpdateProjectBadRequest with default headers values
func (*UpdateProjectBadRequest) Error ¶
func (o *UpdateProjectBadRequest) Error() string
func (*UpdateProjectBadRequest) GetPayload ¶
func (o *UpdateProjectBadRequest) GetPayload() *models.APIResult
type UpdateProjectConflict ¶
UpdateProjectConflict handles this case with default header values.
Conflict
func NewUpdateProjectConflict ¶
func NewUpdateProjectConflict() *UpdateProjectConflict
NewUpdateProjectConflict creates a UpdateProjectConflict with default headers values
func (*UpdateProjectConflict) Error ¶
func (o *UpdateProjectConflict) Error() string
func (*UpdateProjectConflict) GetPayload ¶
func (o *UpdateProjectConflict) GetPayload() *models.APIResult
type UpdateProjectForbidden ¶
UpdateProjectForbidden handles this case with default header values.
Forbidden
func NewUpdateProjectForbidden ¶
func NewUpdateProjectForbidden() *UpdateProjectForbidden
NewUpdateProjectForbidden creates a UpdateProjectForbidden with default headers values
func (*UpdateProjectForbidden) Error ¶
func (o *UpdateProjectForbidden) Error() string
func (*UpdateProjectForbidden) GetPayload ¶
func (o *UpdateProjectForbidden) GetPayload() *models.APIResult
type UpdateProjectInternalServerError ¶
UpdateProjectInternalServerError handles this case with default header values.
Internal Server Error
func NewUpdateProjectInternalServerError ¶
func NewUpdateProjectInternalServerError() *UpdateProjectInternalServerError
NewUpdateProjectInternalServerError creates a UpdateProjectInternalServerError with default headers values
func (*UpdateProjectInternalServerError) Error ¶
func (o *UpdateProjectInternalServerError) Error() string
func (*UpdateProjectInternalServerError) GetPayload ¶
func (o *UpdateProjectInternalServerError) GetPayload() *models.APIResult
type UpdateProjectNotFound ¶
UpdateProjectNotFound handles this case with default header values.
Not Found
func NewUpdateProjectNotFound ¶
func NewUpdateProjectNotFound() *UpdateProjectNotFound
NewUpdateProjectNotFound creates a UpdateProjectNotFound with default headers values
func (*UpdateProjectNotFound) Error ¶
func (o *UpdateProjectNotFound) Error() string
func (*UpdateProjectNotFound) GetPayload ¶
func (o *UpdateProjectNotFound) GetPayload() *models.APIResult
type UpdateProjectOK ¶
type UpdateProjectOK struct {
Payload *models.APIResultProject
}
UpdateProjectOK handles this case with default header values.
OK
func NewUpdateProjectOK ¶
func NewUpdateProjectOK() *UpdateProjectOK
NewUpdateProjectOK creates a UpdateProjectOK with default headers values
func (*UpdateProjectOK) Error ¶
func (o *UpdateProjectOK) Error() string
func (*UpdateProjectOK) GetPayload ¶
func (o *UpdateProjectOK) GetPayload() *models.APIResultProject
type UpdateProjectParams ¶
type UpdateProjectParams struct { /*Data data */ Data *models.Project /*ID id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateProjectParams contains all the parameters to send to the API endpoint for the update project operation typically these are written to a http.Request
func NewUpdateProjectParams ¶
func NewUpdateProjectParams() *UpdateProjectParams
NewUpdateProjectParams creates a new UpdateProjectParams object with the default values initialized.
func NewUpdateProjectParamsWithContext ¶
func NewUpdateProjectParamsWithContext(ctx context.Context) *UpdateProjectParams
NewUpdateProjectParamsWithContext creates a new UpdateProjectParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateProjectParamsWithHTTPClient ¶
func NewUpdateProjectParamsWithHTTPClient(client *http.Client) *UpdateProjectParams
NewUpdateProjectParamsWithHTTPClient creates a new UpdateProjectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateProjectParamsWithTimeout ¶
func NewUpdateProjectParamsWithTimeout(timeout time.Duration) *UpdateProjectParams
NewUpdateProjectParamsWithTimeout creates a new UpdateProjectParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateProjectParams) SetContext ¶
func (o *UpdateProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the update project params
func (*UpdateProjectParams) SetData ¶
func (o *UpdateProjectParams) SetData(data *models.Project)
SetData adds the data to the update project params
func (*UpdateProjectParams) SetHTTPClient ¶
func (o *UpdateProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update project params
func (*UpdateProjectParams) SetID ¶
func (o *UpdateProjectParams) SetID(id int64)
SetID adds the id to the update project params
func (*UpdateProjectParams) SetTimeout ¶
func (o *UpdateProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update project params
func (*UpdateProjectParams) WithContext ¶
func (o *UpdateProjectParams) WithContext(ctx context.Context) *UpdateProjectParams
WithContext adds the context to the update project params
func (*UpdateProjectParams) WithData ¶
func (o *UpdateProjectParams) WithData(data *models.Project) *UpdateProjectParams
WithData adds the data to the update project params
func (*UpdateProjectParams) WithHTTPClient ¶
func (o *UpdateProjectParams) WithHTTPClient(client *http.Client) *UpdateProjectParams
WithHTTPClient adds the HTTPClient to the update project params
func (*UpdateProjectParams) WithID ¶
func (o *UpdateProjectParams) WithID(id int64) *UpdateProjectParams
WithID adds the id to the update project params
func (*UpdateProjectParams) WithTimeout ¶
func (o *UpdateProjectParams) WithTimeout(timeout time.Duration) *UpdateProjectParams
WithTimeout adds the timeout to the update project params
func (*UpdateProjectParams) WriteToRequest ¶
func (o *UpdateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateProjectReader ¶
type UpdateProjectReader struct {
// contains filtered or unexported fields
}
UpdateProjectReader is a Reader for the UpdateProject structure.
func (*UpdateProjectReader) ReadResponse ¶
func (o *UpdateProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateProjectUnauthorized ¶
type UpdateProjectUnauthorized struct {
}UpdateProjectUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateProjectUnauthorized ¶
func NewUpdateProjectUnauthorized() *UpdateProjectUnauthorized
NewUpdateProjectUnauthorized creates a UpdateProjectUnauthorized with default headers values
func (*UpdateProjectUnauthorized) Error ¶
func (o *UpdateProjectUnauthorized) Error() string
func (*UpdateProjectUnauthorized) GetPayload ¶
func (o *UpdateProjectUnauthorized) GetPayload() *models.APIResult