projects

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 14 Imported by: 2

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 projects API

func (*Client) Create

Create creates project

Create a project.

func (*Client) Delete

Delete deletes project

Delete the project with the provided ID.

func (*Client) GetByID

GetByID gets project by ID

Fetch a project via HTTP/GET request with project-ID as a parameter.

func (*Client) GetByName

GetByName gets project by name

Fetch a project via HTTP/GET request with project-name as a parameter.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) Update

Update updates a project

Note, partial updates are not supported! The body must contain the complete project data including the fields that have not been changed. Therefore, it might be necessary to fetch the project, apply the changes to the retrieved data before eventually submitting the update request.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	Create(params *ProjectsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectsCreateOK, error)

	Delete(params *ProjectsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectsDeleteOK, error)

	GetByID(params *ProjectsGetByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectsGetByIDOK, error)

	GetByName(params *ProjectsGetByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectsGetByNameOK, error)

	Update(params *ProjectsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectsUpdateOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new projects API client.

type ProjectsCreateBadRequest

type ProjectsCreateBadRequest struct {
	Payload *models.ZsrvResponse
}

ProjectsCreateBadRequest describes a response with status code 400, with default header values.

Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.

func NewProjectsCreateBadRequest

func NewProjectsCreateBadRequest() *ProjectsCreateBadRequest

NewProjectsCreateBadRequest creates a ProjectsCreateBadRequest with default headers values

func (*ProjectsCreateBadRequest) Error

func (o *ProjectsCreateBadRequest) Error() string

func (*ProjectsCreateBadRequest) GetPayload

func (o *ProjectsCreateBadRequest) GetPayload() *models.ZsrvResponse

func (*ProjectsCreateBadRequest) IsClientError

func (o *ProjectsCreateBadRequest) IsClientError() bool

IsClientError returns true when this projects create bad request response has a 4xx status code

func (*ProjectsCreateBadRequest) IsCode

func (o *ProjectsCreateBadRequest) IsCode(code int) bool

IsCode returns true when this projects create bad request response a status code equal to that given

func (*ProjectsCreateBadRequest) IsRedirect

func (o *ProjectsCreateBadRequest) IsRedirect() bool

IsRedirect returns true when this projects create bad request response has a 3xx status code

func (*ProjectsCreateBadRequest) IsServerError

func (o *ProjectsCreateBadRequest) IsServerError() bool

IsServerError returns true when this projects create bad request response has a 5xx status code

func (*ProjectsCreateBadRequest) IsSuccess

func (o *ProjectsCreateBadRequest) IsSuccess() bool

IsSuccess returns true when this projects create bad request response has a 2xx status code

func (*ProjectsCreateBadRequest) String

func (o *ProjectsCreateBadRequest) String() string

type ProjectsCreateConflict

type ProjectsCreateConflict struct {
	Payload *models.ZsrvResponse
}

ProjectsCreateConflict describes a response with status code 409, with default header values.

Conflict. The API gateway did not process the request because this edge network record will conflict with an already existing edge network record.

func NewProjectsCreateConflict

func NewProjectsCreateConflict() *ProjectsCreateConflict

NewProjectsCreateConflict creates a ProjectsCreateConflict with default headers values

func (*ProjectsCreateConflict) Error

func (o *ProjectsCreateConflict) Error() string

func (*ProjectsCreateConflict) GetPayload

func (o *ProjectsCreateConflict) GetPayload() *models.ZsrvResponse

func (*ProjectsCreateConflict) IsClientError

func (o *ProjectsCreateConflict) IsClientError() bool

IsClientError returns true when this projects create conflict response has a 4xx status code

func (*ProjectsCreateConflict) IsCode

func (o *ProjectsCreateConflict) IsCode(code int) bool

IsCode returns true when this projects create conflict response a status code equal to that given

func (*ProjectsCreateConflict) IsRedirect

func (o *ProjectsCreateConflict) IsRedirect() bool

IsRedirect returns true when this projects create conflict response has a 3xx status code

func (*ProjectsCreateConflict) IsServerError

func (o *ProjectsCreateConflict) IsServerError() bool

IsServerError returns true when this projects create conflict response has a 5xx status code

func (*ProjectsCreateConflict) IsSuccess

func (o *ProjectsCreateConflict) IsSuccess() bool

IsSuccess returns true when this projects create conflict response has a 2xx status code

func (*ProjectsCreateConflict) String

func (o *ProjectsCreateConflict) String() string

type ProjectsCreateDefault

type ProjectsCreateDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

ProjectsCreateDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewProjectsCreateDefault

func NewProjectsCreateDefault(code int) *ProjectsCreateDefault

NewProjectsCreateDefault creates a ProjectsCreateDefault with default headers values

func (*ProjectsCreateDefault) Code

func (o *ProjectsCreateDefault) Code() int

Code gets the status code for the projects create default response

func (*ProjectsCreateDefault) Error

func (o *ProjectsCreateDefault) Error() string

func (*ProjectsCreateDefault) GetPayload

func (o *ProjectsCreateDefault) GetPayload() *models.GooglerpcStatus

func (*ProjectsCreateDefault) IsClientError

func (o *ProjectsCreateDefault) IsClientError() bool

IsClientError returns true when this projects create default response has a 4xx status code

func (*ProjectsCreateDefault) IsCode

func (o *ProjectsCreateDefault) IsCode(code int) bool

IsCode returns true when this projects create default response a status code equal to that given

func (*ProjectsCreateDefault) IsRedirect

func (o *ProjectsCreateDefault) IsRedirect() bool

IsRedirect returns true when this projects create default response has a 3xx status code

func (*ProjectsCreateDefault) IsServerError

func (o *ProjectsCreateDefault) IsServerError() bool

IsServerError returns true when this projects create default response has a 5xx status code

func (*ProjectsCreateDefault) IsSuccess

func (o *ProjectsCreateDefault) IsSuccess() bool

IsSuccess returns true when this projects create default response has a 2xx status code

func (*ProjectsCreateDefault) String

func (o *ProjectsCreateDefault) String() string

type ProjectsCreateForbidden

type ProjectsCreateForbidden struct {
	Payload *models.ZsrvResponse
}

ProjectsCreateForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the request or does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewProjectsCreateForbidden

func NewProjectsCreateForbidden() *ProjectsCreateForbidden

NewProjectsCreateForbidden creates a ProjectsCreateForbidden with default headers values

func (*ProjectsCreateForbidden) Error

func (o *ProjectsCreateForbidden) Error() string

func (*ProjectsCreateForbidden) GetPayload

func (o *ProjectsCreateForbidden) GetPayload() *models.ZsrvResponse

func (*ProjectsCreateForbidden) IsClientError

func (o *ProjectsCreateForbidden) IsClientError() bool

IsClientError returns true when this projects create forbidden response has a 4xx status code

func (*ProjectsCreateForbidden) IsCode

func (o *ProjectsCreateForbidden) IsCode(code int) bool

IsCode returns true when this projects create forbidden response a status code equal to that given

func (*ProjectsCreateForbidden) IsRedirect

func (o *ProjectsCreateForbidden) IsRedirect() bool

IsRedirect returns true when this projects create forbidden response has a 3xx status code

func (*ProjectsCreateForbidden) IsServerError

func (o *ProjectsCreateForbidden) IsServerError() bool

IsServerError returns true when this projects create forbidden response has a 5xx status code

func (*ProjectsCreateForbidden) IsSuccess

func (o *ProjectsCreateForbidden) IsSuccess() bool

IsSuccess returns true when this projects create forbidden response has a 2xx status code

func (*ProjectsCreateForbidden) String

func (o *ProjectsCreateForbidden) String() string

type ProjectsCreateGatewayTimeout

type ProjectsCreateGatewayTimeout struct {
	Payload *models.ZsrvResponse
}

ProjectsCreateGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewProjectsCreateGatewayTimeout

func NewProjectsCreateGatewayTimeout() *ProjectsCreateGatewayTimeout

NewProjectsCreateGatewayTimeout creates a ProjectsCreateGatewayTimeout with default headers values

func (*ProjectsCreateGatewayTimeout) Error

func (*ProjectsCreateGatewayTimeout) GetPayload

func (*ProjectsCreateGatewayTimeout) IsClientError

func (o *ProjectsCreateGatewayTimeout) IsClientError() bool

IsClientError returns true when this projects create gateway timeout response has a 4xx status code

func (*ProjectsCreateGatewayTimeout) IsCode

func (o *ProjectsCreateGatewayTimeout) IsCode(code int) bool

IsCode returns true when this projects create gateway timeout response a status code equal to that given

func (*ProjectsCreateGatewayTimeout) IsRedirect

func (o *ProjectsCreateGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this projects create gateway timeout response has a 3xx status code

func (*ProjectsCreateGatewayTimeout) IsServerError

func (o *ProjectsCreateGatewayTimeout) IsServerError() bool

IsServerError returns true when this projects create gateway timeout response has a 5xx status code

func (*ProjectsCreateGatewayTimeout) IsSuccess

func (o *ProjectsCreateGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this projects create gateway timeout response has a 2xx status code

func (*ProjectsCreateGatewayTimeout) String

type ProjectsCreateInternalServerError

type ProjectsCreateInternalServerError struct {
	Payload *models.ZsrvResponse
}

ProjectsCreateInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewProjectsCreateInternalServerError

func NewProjectsCreateInternalServerError() *ProjectsCreateInternalServerError

NewProjectsCreateInternalServerError creates a ProjectsCreateInternalServerError with default headers values

func (*ProjectsCreateInternalServerError) Error

func (*ProjectsCreateInternalServerError) GetPayload

func (*ProjectsCreateInternalServerError) IsClientError

func (o *ProjectsCreateInternalServerError) IsClientError() bool

IsClientError returns true when this projects create internal server error response has a 4xx status code

func (*ProjectsCreateInternalServerError) IsCode

func (o *ProjectsCreateInternalServerError) IsCode(code int) bool

IsCode returns true when this projects create internal server error response a status code equal to that given

func (*ProjectsCreateInternalServerError) IsRedirect

func (o *ProjectsCreateInternalServerError) IsRedirect() bool

IsRedirect returns true when this projects create internal server error response has a 3xx status code

func (*ProjectsCreateInternalServerError) IsServerError

func (o *ProjectsCreateInternalServerError) IsServerError() bool

IsServerError returns true when this projects create internal server error response has a 5xx status code

func (*ProjectsCreateInternalServerError) IsSuccess

func (o *ProjectsCreateInternalServerError) IsSuccess() bool

IsSuccess returns true when this projects create internal server error response has a 2xx status code

func (*ProjectsCreateInternalServerError) String

type ProjectsCreateOK

type ProjectsCreateOK struct {
	Payload *models.ZsrvResponse
}

ProjectsCreateOK describes a response with status code 200, with default header values.

A successful response.

func NewProjectsCreateOK

func NewProjectsCreateOK() *ProjectsCreateOK

NewProjectsCreateOK creates a ProjectsCreateOK with default headers values

func (*ProjectsCreateOK) Error

func (o *ProjectsCreateOK) Error() string

func (*ProjectsCreateOK) GetPayload

func (o *ProjectsCreateOK) GetPayload() *models.ZsrvResponse

func (*ProjectsCreateOK) IsClientError

func (o *ProjectsCreateOK) IsClientError() bool

IsClientError returns true when this projects create o k response has a 4xx status code

func (*ProjectsCreateOK) IsCode

func (o *ProjectsCreateOK) IsCode(code int) bool

IsCode returns true when this projects create o k response a status code equal to that given

func (*ProjectsCreateOK) IsRedirect

func (o *ProjectsCreateOK) IsRedirect() bool

IsRedirect returns true when this projects create o k response has a 3xx status code

func (*ProjectsCreateOK) IsServerError

func (o *ProjectsCreateOK) IsServerError() bool

IsServerError returns true when this projects create o k response has a 5xx status code

func (*ProjectsCreateOK) IsSuccess

func (o *ProjectsCreateOK) IsSuccess() bool

IsSuccess returns true when this projects create o k response has a 2xx status code

func (*ProjectsCreateOK) String

func (o *ProjectsCreateOK) String() string

type ProjectsCreateParams

type ProjectsCreateParams struct {

	/* XRequestID.

	   correlation-id
	*/
	XRequestID *string

	// Body.
	Body *models.Tag

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProjectsCreateParams contains all the parameters to send to the API endpoint

for the projects create operation.

Typically these are written to a http.Request.

func CreateParams

func CreateParams() *ProjectsCreateParams

CreateParams creates a new ProjectsCreateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewProjectsCreateParamsWithContext

func NewProjectsCreateParamsWithContext(ctx context.Context) *ProjectsCreateParams

NewProjectsCreateParamsWithContext creates a new ProjectsCreateParams object with the ability to set a context for a request.

func NewProjectsCreateParamsWithHTTPClient

func NewProjectsCreateParamsWithHTTPClient(client *http.Client) *ProjectsCreateParams

NewProjectsCreateParamsWithHTTPClient creates a new ProjectsCreateParams object with the ability to set a custom HTTPClient for a request.

func NewProjectsCreateParamsWithTimeout

func NewProjectsCreateParamsWithTimeout(timeout time.Duration) *ProjectsCreateParams

NewProjectsCreateParamsWithTimeout creates a new ProjectsCreateParams object with the ability to set a timeout on a request.

func (*ProjectsCreateParams) SetBody

func (o *ProjectsCreateParams) SetBody(body *models.Tag)

SetBody adds the body to the projects create params

func (*ProjectsCreateParams) SetContext

func (o *ProjectsCreateParams) SetContext(ctx context.Context)

SetContext adds the context to the projects create params

func (*ProjectsCreateParams) SetDefaults

func (o *ProjectsCreateParams) SetDefaults()

SetDefaults hydrates default values in the projects create params (not the query body).

All values with no default are reset to their zero value.

func (*ProjectsCreateParams) SetHTTPClient

func (o *ProjectsCreateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the projects create params

func (*ProjectsCreateParams) SetTimeout

func (o *ProjectsCreateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the projects create params

func (*ProjectsCreateParams) SetXRequestID

func (o *ProjectsCreateParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the projects create params

func (*ProjectsCreateParams) WithBody

WithBody adds the body to the projects create params

func (*ProjectsCreateParams) WithContext

WithContext adds the context to the projects create params

func (*ProjectsCreateParams) WithDefaults

func (o *ProjectsCreateParams) WithDefaults() *ProjectsCreateParams

WithDefaults hydrates default values in the projects create params (not the query body).

All values with no default are reset to their zero value.

func (*ProjectsCreateParams) WithHTTPClient

func (o *ProjectsCreateParams) WithHTTPClient(client *http.Client) *ProjectsCreateParams

WithHTTPClient adds the HTTPClient to the projects create params

func (*ProjectsCreateParams) WithTimeout

func (o *ProjectsCreateParams) WithTimeout(timeout time.Duration) *ProjectsCreateParams

WithTimeout adds the timeout to the projects create params

func (*ProjectsCreateParams) WithXRequestID

func (o *ProjectsCreateParams) WithXRequestID(xRequestID *string) *ProjectsCreateParams

WithXRequestID adds the xRequestID to the projects create params

func (*ProjectsCreateParams) WriteToRequest

func (o *ProjectsCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ProjectsCreateReader

type ProjectsCreateReader struct {
	// contains filtered or unexported fields
}

ProjectsCreateReader is a Reader for the ProjectsCreate structure.

func (*ProjectsCreateReader) ReadResponse

func (o *ProjectsCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProjectsCreateUnauthorized

type ProjectsCreateUnauthorized struct {
	Payload *models.ZsrvResponse
}

ProjectsCreateUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewProjectsCreateUnauthorized

func NewProjectsCreateUnauthorized() *ProjectsCreateUnauthorized

NewProjectsCreateUnauthorized creates a ProjectsCreateUnauthorized with default headers values

func (*ProjectsCreateUnauthorized) Error

func (*ProjectsCreateUnauthorized) GetPayload

func (*ProjectsCreateUnauthorized) IsClientError

func (o *ProjectsCreateUnauthorized) IsClientError() bool

IsClientError returns true when this projects create unauthorized response has a 4xx status code

func (*ProjectsCreateUnauthorized) IsCode

func (o *ProjectsCreateUnauthorized) IsCode(code int) bool

IsCode returns true when this projects create unauthorized response a status code equal to that given

func (*ProjectsCreateUnauthorized) IsRedirect

func (o *ProjectsCreateUnauthorized) IsRedirect() bool

IsRedirect returns true when this projects create unauthorized response has a 3xx status code

func (*ProjectsCreateUnauthorized) IsServerError

func (o *ProjectsCreateUnauthorized) IsServerError() bool

IsServerError returns true when this projects create unauthorized response has a 5xx status code

func (*ProjectsCreateUnauthorized) IsSuccess

func (o *ProjectsCreateUnauthorized) IsSuccess() bool

IsSuccess returns true when this projects create unauthorized response has a 2xx status code

func (*ProjectsCreateUnauthorized) String

func (o *ProjectsCreateUnauthorized) String() string

type ProjectsDeleteDefault

type ProjectsDeleteDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

ProjectsDeleteDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewProjectsDeleteDefault

func NewProjectsDeleteDefault(code int) *ProjectsDeleteDefault

NewProjectsDeleteDefault creates a ProjectsDeleteDefault with default headers values

func (*ProjectsDeleteDefault) Code

func (o *ProjectsDeleteDefault) Code() int

Code gets the status code for the projects delete default response

func (*ProjectsDeleteDefault) Error

func (o *ProjectsDeleteDefault) Error() string

func (*ProjectsDeleteDefault) GetPayload

func (o *ProjectsDeleteDefault) GetPayload() *models.GooglerpcStatus

func (*ProjectsDeleteDefault) IsClientError

func (o *ProjectsDeleteDefault) IsClientError() bool

IsClientError returns true when this projects delete default response has a 4xx status code

func (*ProjectsDeleteDefault) IsCode

func (o *ProjectsDeleteDefault) IsCode(code int) bool

IsCode returns true when this projects delete default response a status code equal to that given

func (*ProjectsDeleteDefault) IsRedirect

func (o *ProjectsDeleteDefault) IsRedirect() bool

IsRedirect returns true when this projects delete default response has a 3xx status code

func (*ProjectsDeleteDefault) IsServerError

func (o *ProjectsDeleteDefault) IsServerError() bool

IsServerError returns true when this projects delete default response has a 5xx status code

func (*ProjectsDeleteDefault) IsSuccess

func (o *ProjectsDeleteDefault) IsSuccess() bool

IsSuccess returns true when this projects delete default response has a 2xx status code

func (*ProjectsDeleteDefault) String

func (o *ProjectsDeleteDefault) String() string

type ProjectsDeleteForbidden

type ProjectsDeleteForbidden struct {
	Payload *models.ZsrvResponse
}

ProjectsDeleteForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the request or does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewProjectsDeleteForbidden

func NewProjectsDeleteForbidden() *ProjectsDeleteForbidden

NewProjectsDeleteForbidden creates a ProjectsDeleteForbidden with default headers values

func (*ProjectsDeleteForbidden) Error

func (o *ProjectsDeleteForbidden) Error() string

func (*ProjectsDeleteForbidden) GetPayload

func (o *ProjectsDeleteForbidden) GetPayload() *models.ZsrvResponse

func (*ProjectsDeleteForbidden) IsClientError

func (o *ProjectsDeleteForbidden) IsClientError() bool

IsClientError returns true when this projects delete forbidden response has a 4xx status code

func (*ProjectsDeleteForbidden) IsCode

func (o *ProjectsDeleteForbidden) IsCode(code int) bool

IsCode returns true when this projects delete forbidden response a status code equal to that given

func (*ProjectsDeleteForbidden) IsRedirect

func (o *ProjectsDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this projects delete forbidden response has a 3xx status code

func (*ProjectsDeleteForbidden) IsServerError

func (o *ProjectsDeleteForbidden) IsServerError() bool

IsServerError returns true when this projects delete forbidden response has a 5xx status code

func (*ProjectsDeleteForbidden) IsSuccess

func (o *ProjectsDeleteForbidden) IsSuccess() bool

IsSuccess returns true when this projects delete forbidden response has a 2xx status code

func (*ProjectsDeleteForbidden) String

func (o *ProjectsDeleteForbidden) String() string

type ProjectsDeleteGatewayTimeout

type ProjectsDeleteGatewayTimeout struct {
	Payload *models.ZsrvResponse
}

ProjectsDeleteGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewProjectsDeleteGatewayTimeout

func NewProjectsDeleteGatewayTimeout() *ProjectsDeleteGatewayTimeout

NewProjectsDeleteGatewayTimeout creates a ProjectsDeleteGatewayTimeout with default headers values

func (*ProjectsDeleteGatewayTimeout) Error

func (*ProjectsDeleteGatewayTimeout) GetPayload

func (*ProjectsDeleteGatewayTimeout) IsClientError

func (o *ProjectsDeleteGatewayTimeout) IsClientError() bool

IsClientError returns true when this projects delete gateway timeout response has a 4xx status code

func (*ProjectsDeleteGatewayTimeout) IsCode

func (o *ProjectsDeleteGatewayTimeout) IsCode(code int) bool

IsCode returns true when this projects delete gateway timeout response a status code equal to that given

func (*ProjectsDeleteGatewayTimeout) IsRedirect

func (o *ProjectsDeleteGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this projects delete gateway timeout response has a 3xx status code

func (*ProjectsDeleteGatewayTimeout) IsServerError

func (o *ProjectsDeleteGatewayTimeout) IsServerError() bool

IsServerError returns true when this projects delete gateway timeout response has a 5xx status code

func (*ProjectsDeleteGatewayTimeout) IsSuccess

func (o *ProjectsDeleteGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this projects delete gateway timeout response has a 2xx status code

func (*ProjectsDeleteGatewayTimeout) String

type ProjectsDeleteInternalServerError

type ProjectsDeleteInternalServerError struct {
	Payload *models.ZsrvResponse
}

ProjectsDeleteInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewProjectsDeleteInternalServerError

func NewProjectsDeleteInternalServerError() *ProjectsDeleteInternalServerError

NewProjectsDeleteInternalServerError creates a ProjectsDeleteInternalServerError with default headers values

func (*ProjectsDeleteInternalServerError) Error

func (*ProjectsDeleteInternalServerError) GetPayload

func (*ProjectsDeleteInternalServerError) IsClientError

func (o *ProjectsDeleteInternalServerError) IsClientError() bool

IsClientError returns true when this projects delete internal server error response has a 4xx status code

func (*ProjectsDeleteInternalServerError) IsCode

func (o *ProjectsDeleteInternalServerError) IsCode(code int) bool

IsCode returns true when this projects delete internal server error response a status code equal to that given

func (*ProjectsDeleteInternalServerError) IsRedirect

func (o *ProjectsDeleteInternalServerError) IsRedirect() bool

IsRedirect returns true when this projects delete internal server error response has a 3xx status code

func (*ProjectsDeleteInternalServerError) IsServerError

func (o *ProjectsDeleteInternalServerError) IsServerError() bool

IsServerError returns true when this projects delete internal server error response has a 5xx status code

func (*ProjectsDeleteInternalServerError) IsSuccess

func (o *ProjectsDeleteInternalServerError) IsSuccess() bool

IsSuccess returns true when this projects delete internal server error response has a 2xx status code

func (*ProjectsDeleteInternalServerError) String

type ProjectsDeleteNotFound

type ProjectsDeleteNotFound struct {
	Payload *models.ZsrvResponse
}

ProjectsDeleteNotFound describes a response with status code 404, with default header values.

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewProjectsDeleteNotFound

func NewProjectsDeleteNotFound() *ProjectsDeleteNotFound

NewProjectsDeleteNotFound creates a ProjectsDeleteNotFound with default headers values

func (*ProjectsDeleteNotFound) Error

func (o *ProjectsDeleteNotFound) Error() string

func (*ProjectsDeleteNotFound) GetPayload

func (o *ProjectsDeleteNotFound) GetPayload() *models.ZsrvResponse

func (*ProjectsDeleteNotFound) IsClientError

func (o *ProjectsDeleteNotFound) IsClientError() bool

IsClientError returns true when this projects delete not found response has a 4xx status code

func (*ProjectsDeleteNotFound) IsCode

func (o *ProjectsDeleteNotFound) IsCode(code int) bool

IsCode returns true when this projects delete not found response a status code equal to that given

func (*ProjectsDeleteNotFound) IsRedirect

func (o *ProjectsDeleteNotFound) IsRedirect() bool

IsRedirect returns true when this projects delete not found response has a 3xx status code

func (*ProjectsDeleteNotFound) IsServerError

func (o *ProjectsDeleteNotFound) IsServerError() bool

IsServerError returns true when this projects delete not found response has a 5xx status code

func (*ProjectsDeleteNotFound) IsSuccess

func (o *ProjectsDeleteNotFound) IsSuccess() bool

IsSuccess returns true when this projects delete not found response has a 2xx status code

func (*ProjectsDeleteNotFound) String

func (o *ProjectsDeleteNotFound) String() string

type ProjectsDeleteOK

type ProjectsDeleteOK struct {
	Payload *models.ZsrvResponse
}

ProjectsDeleteOK describes a response with status code 200, with default header values.

A successful response.

func NewProjectsDeleteOK

func NewProjectsDeleteOK() *ProjectsDeleteOK

NewProjectsDeleteOK creates a ProjectsDeleteOK with default headers values

func (*ProjectsDeleteOK) Error

func (o *ProjectsDeleteOK) Error() string

func (*ProjectsDeleteOK) GetPayload

func (o *ProjectsDeleteOK) GetPayload() *models.ZsrvResponse

func (*ProjectsDeleteOK) IsClientError

func (o *ProjectsDeleteOK) IsClientError() bool

IsClientError returns true when this projects delete o k response has a 4xx status code

func (*ProjectsDeleteOK) IsCode

func (o *ProjectsDeleteOK) IsCode(code int) bool

IsCode returns true when this projects delete o k response a status code equal to that given

func (*ProjectsDeleteOK) IsRedirect

func (o *ProjectsDeleteOK) IsRedirect() bool

IsRedirect returns true when this projects delete o k response has a 3xx status code

func (*ProjectsDeleteOK) IsServerError

func (o *ProjectsDeleteOK) IsServerError() bool

IsServerError returns true when this projects delete o k response has a 5xx status code

func (*ProjectsDeleteOK) IsSuccess

func (o *ProjectsDeleteOK) IsSuccess() bool

IsSuccess returns true when this projects delete o k response has a 2xx status code

func (*ProjectsDeleteOK) String

func (o *ProjectsDeleteOK) String() string

type ProjectsDeleteParams

type ProjectsDeleteParams struct {

	/* XRequestID.

	   correlation-id
	*/
	XRequestID *string

	/* ID.

	   System defined universally unique Id of the resource group
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProjectsDeleteParams contains all the parameters to send to the API endpoint

for the projects delete operation.

Typically these are written to a http.Request.

func DeleteParams

func DeleteParams() *ProjectsDeleteParams

DeleteParams creates a new ProjectsDeleteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewProjectsDeleteParamsWithContext

func NewProjectsDeleteParamsWithContext(ctx context.Context) *ProjectsDeleteParams

NewProjectsDeleteParamsWithContext creates a new ProjectsDeleteParams object with the ability to set a context for a request.

func NewProjectsDeleteParamsWithHTTPClient

func NewProjectsDeleteParamsWithHTTPClient(client *http.Client) *ProjectsDeleteParams

NewProjectsDeleteParamsWithHTTPClient creates a new ProjectsDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewProjectsDeleteParamsWithTimeout

func NewProjectsDeleteParamsWithTimeout(timeout time.Duration) *ProjectsDeleteParams

NewProjectsDeleteParamsWithTimeout creates a new ProjectsDeleteParams object with the ability to set a timeout on a request.

func (*ProjectsDeleteParams) SetContext

func (o *ProjectsDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the projects delete params

func (*ProjectsDeleteParams) SetDefaults

func (o *ProjectsDeleteParams) SetDefaults()

SetDefaults hydrates default values in the projects delete params (not the query body).

All values with no default are reset to their zero value.

func (*ProjectsDeleteParams) SetHTTPClient

func (o *ProjectsDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the projects delete params

func (*ProjectsDeleteParams) SetID

func (o *ProjectsDeleteParams) SetID(id string)

SetID adds the id to the projects delete params

func (*ProjectsDeleteParams) SetTimeout

func (o *ProjectsDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the projects delete params

func (*ProjectsDeleteParams) SetXRequestID

func (o *ProjectsDeleteParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the projects delete params

func (*ProjectsDeleteParams) WithContext

WithContext adds the context to the projects delete params

func (*ProjectsDeleteParams) WithDefaults

func (o *ProjectsDeleteParams) WithDefaults() *ProjectsDeleteParams

WithDefaults hydrates default values in the projects delete params (not the query body).

All values with no default are reset to their zero value.

func (*ProjectsDeleteParams) WithHTTPClient

func (o *ProjectsDeleteParams) WithHTTPClient(client *http.Client) *ProjectsDeleteParams

WithHTTPClient adds the HTTPClient to the projects delete params

func (*ProjectsDeleteParams) WithID

WithID adds the id to the projects delete params

func (*ProjectsDeleteParams) WithTimeout

func (o *ProjectsDeleteParams) WithTimeout(timeout time.Duration) *ProjectsDeleteParams

WithTimeout adds the timeout to the projects delete params

func (*ProjectsDeleteParams) WithXRequestID

func (o *ProjectsDeleteParams) WithXRequestID(xRequestID *string) *ProjectsDeleteParams

WithXRequestID adds the xRequestID to the projects delete params

func (*ProjectsDeleteParams) WriteToRequest

func (o *ProjectsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ProjectsDeleteReader

type ProjectsDeleteReader struct {
	// contains filtered or unexported fields
}

ProjectsDeleteReader is a Reader for the ProjectsDelete structure.

func (*ProjectsDeleteReader) ReadResponse

func (o *ProjectsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProjectsDeleteUnauthorized

type ProjectsDeleteUnauthorized struct {
	Payload *models.ZsrvResponse
}

ProjectsDeleteUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewProjectsDeleteUnauthorized

func NewProjectsDeleteUnauthorized() *ProjectsDeleteUnauthorized

NewProjectsDeleteUnauthorized creates a ProjectsDeleteUnauthorized with default headers values

func (*ProjectsDeleteUnauthorized) Error

func (*ProjectsDeleteUnauthorized) GetPayload

func (*ProjectsDeleteUnauthorized) IsClientError

func (o *ProjectsDeleteUnauthorized) IsClientError() bool

IsClientError returns true when this projects delete unauthorized response has a 4xx status code

func (*ProjectsDeleteUnauthorized) IsCode

func (o *ProjectsDeleteUnauthorized) IsCode(code int) bool

IsCode returns true when this projects delete unauthorized response a status code equal to that given

func (*ProjectsDeleteUnauthorized) IsRedirect

func (o *ProjectsDeleteUnauthorized) IsRedirect() bool

IsRedirect returns true when this projects delete unauthorized response has a 3xx status code

func (*ProjectsDeleteUnauthorized) IsServerError

func (o *ProjectsDeleteUnauthorized) IsServerError() bool

IsServerError returns true when this projects delete unauthorized response has a 5xx status code

func (*ProjectsDeleteUnauthorized) IsSuccess

func (o *ProjectsDeleteUnauthorized) IsSuccess() bool

IsSuccess returns true when this projects delete unauthorized response has a 2xx status code

func (*ProjectsDeleteUnauthorized) String

func (o *ProjectsDeleteUnauthorized) String() string

type ProjectsGetByIDDefault

type ProjectsGetByIDDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

ProjectsGetByIDDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewProjectsGetByIDDefault

func NewProjectsGetByIDDefault(code int) *ProjectsGetByIDDefault

NewProjectsGetByIDDefault creates a ProjectsGetByIDDefault with default headers values

func (*ProjectsGetByIDDefault) Code

func (o *ProjectsGetByIDDefault) Code() int

Code gets the status code for the projects get by ID default response

func (*ProjectsGetByIDDefault) Error

func (o *ProjectsGetByIDDefault) Error() string

func (*ProjectsGetByIDDefault) GetPayload

func (*ProjectsGetByIDDefault) IsClientError

func (o *ProjectsGetByIDDefault) IsClientError() bool

IsClientError returns true when this projects get by ID default response has a 4xx status code

func (*ProjectsGetByIDDefault) IsCode

func (o *ProjectsGetByIDDefault) IsCode(code int) bool

IsCode returns true when this projects get by ID default response a status code equal to that given

func (*ProjectsGetByIDDefault) IsRedirect

func (o *ProjectsGetByIDDefault) IsRedirect() bool

IsRedirect returns true when this projects get by ID default response has a 3xx status code

func (*ProjectsGetByIDDefault) IsServerError

func (o *ProjectsGetByIDDefault) IsServerError() bool

IsServerError returns true when this projects get by ID default response has a 5xx status code

func (*ProjectsGetByIDDefault) IsSuccess

func (o *ProjectsGetByIDDefault) IsSuccess() bool

IsSuccess returns true when this projects get by ID default response has a 2xx status code

func (*ProjectsGetByIDDefault) String

func (o *ProjectsGetByIDDefault) String() string

type ProjectsGetByIDForbidden

type ProjectsGetByIDForbidden struct {
	Payload *models.ZsrvResponse
}

ProjectsGetByIDForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the request or does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewProjectsGetByIDForbidden

func NewProjectsGetByIDForbidden() *ProjectsGetByIDForbidden

NewProjectsGetByIDForbidden creates a ProjectsGetByIDForbidden with default headers values

func (*ProjectsGetByIDForbidden) Error

func (o *ProjectsGetByIDForbidden) Error() string

func (*ProjectsGetByIDForbidden) GetPayload

func (o *ProjectsGetByIDForbidden) GetPayload() *models.ZsrvResponse

func (*ProjectsGetByIDForbidden) IsClientError

func (o *ProjectsGetByIDForbidden) IsClientError() bool

IsClientError returns true when this projects get by Id forbidden response has a 4xx status code

func (*ProjectsGetByIDForbidden) IsCode

func (o *ProjectsGetByIDForbidden) IsCode(code int) bool

IsCode returns true when this projects get by Id forbidden response a status code equal to that given

func (*ProjectsGetByIDForbidden) IsRedirect

func (o *ProjectsGetByIDForbidden) IsRedirect() bool

IsRedirect returns true when this projects get by Id forbidden response has a 3xx status code

func (*ProjectsGetByIDForbidden) IsServerError

func (o *ProjectsGetByIDForbidden) IsServerError() bool

IsServerError returns true when this projects get by Id forbidden response has a 5xx status code

func (*ProjectsGetByIDForbidden) IsSuccess

func (o *ProjectsGetByIDForbidden) IsSuccess() bool

IsSuccess returns true when this projects get by Id forbidden response has a 2xx status code

func (*ProjectsGetByIDForbidden) String

func (o *ProjectsGetByIDForbidden) String() string

type ProjectsGetByIDGatewayTimeout

type ProjectsGetByIDGatewayTimeout struct {
	Payload *models.ZsrvResponse
}

ProjectsGetByIDGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewProjectsGetByIDGatewayTimeout

func NewProjectsGetByIDGatewayTimeout() *ProjectsGetByIDGatewayTimeout

NewProjectsGetByIDGatewayTimeout creates a ProjectsGetByIDGatewayTimeout with default headers values

func (*ProjectsGetByIDGatewayTimeout) Error

func (*ProjectsGetByIDGatewayTimeout) GetPayload

func (*ProjectsGetByIDGatewayTimeout) IsClientError

func (o *ProjectsGetByIDGatewayTimeout) IsClientError() bool

IsClientError returns true when this projects get by Id gateway timeout response has a 4xx status code

func (*ProjectsGetByIDGatewayTimeout) IsCode

func (o *ProjectsGetByIDGatewayTimeout) IsCode(code int) bool

IsCode returns true when this projects get by Id gateway timeout response a status code equal to that given

func (*ProjectsGetByIDGatewayTimeout) IsRedirect

func (o *ProjectsGetByIDGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this projects get by Id gateway timeout response has a 3xx status code

func (*ProjectsGetByIDGatewayTimeout) IsServerError

func (o *ProjectsGetByIDGatewayTimeout) IsServerError() bool

IsServerError returns true when this projects get by Id gateway timeout response has a 5xx status code

func (*ProjectsGetByIDGatewayTimeout) IsSuccess

func (o *ProjectsGetByIDGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this projects get by Id gateway timeout response has a 2xx status code

func (*ProjectsGetByIDGatewayTimeout) String

type ProjectsGetByIDInternalServerError

type ProjectsGetByIDInternalServerError struct {
	Payload *models.ZsrvResponse
}

ProjectsGetByIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewProjectsGetByIDInternalServerError

func NewProjectsGetByIDInternalServerError() *ProjectsGetByIDInternalServerError

NewProjectsGetByIDInternalServerError creates a ProjectsGetByIDInternalServerError with default headers values

func (*ProjectsGetByIDInternalServerError) Error

func (*ProjectsGetByIDInternalServerError) GetPayload

func (*ProjectsGetByIDInternalServerError) IsClientError

func (o *ProjectsGetByIDInternalServerError) IsClientError() bool

IsClientError returns true when this projects get by Id internal server error response has a 4xx status code

func (*ProjectsGetByIDInternalServerError) IsCode

IsCode returns true when this projects get by Id internal server error response a status code equal to that given

func (*ProjectsGetByIDInternalServerError) IsRedirect

func (o *ProjectsGetByIDInternalServerError) IsRedirect() bool

IsRedirect returns true when this projects get by Id internal server error response has a 3xx status code

func (*ProjectsGetByIDInternalServerError) IsServerError

func (o *ProjectsGetByIDInternalServerError) IsServerError() bool

IsServerError returns true when this projects get by Id internal server error response has a 5xx status code

func (*ProjectsGetByIDInternalServerError) IsSuccess

IsSuccess returns true when this projects get by Id internal server error response has a 2xx status code

func (*ProjectsGetByIDInternalServerError) String

type ProjectsGetByIDNotFound

type ProjectsGetByIDNotFound struct {
	Payload *models.ZsrvResponse
}

ProjectsGetByIDNotFound describes a response with status code 404, with default header values.

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewProjectsGetByIDNotFound

func NewProjectsGetByIDNotFound() *ProjectsGetByIDNotFound

NewProjectsGetByIDNotFound creates a ProjectsGetByIDNotFound with default headers values

func (*ProjectsGetByIDNotFound) Error

func (o *ProjectsGetByIDNotFound) Error() string

func (*ProjectsGetByIDNotFound) GetPayload

func (o *ProjectsGetByIDNotFound) GetPayload() *models.ZsrvResponse

func (*ProjectsGetByIDNotFound) IsClientError

func (o *ProjectsGetByIDNotFound) IsClientError() bool

IsClientError returns true when this projects get by Id not found response has a 4xx status code

func (*ProjectsGetByIDNotFound) IsCode

func (o *ProjectsGetByIDNotFound) IsCode(code int) bool

IsCode returns true when this projects get by Id not found response a status code equal to that given

func (*ProjectsGetByIDNotFound) IsRedirect

func (o *ProjectsGetByIDNotFound) IsRedirect() bool

IsRedirect returns true when this projects get by Id not found response has a 3xx status code

func (*ProjectsGetByIDNotFound) IsServerError

func (o *ProjectsGetByIDNotFound) IsServerError() bool

IsServerError returns true when this projects get by Id not found response has a 5xx status code

func (*ProjectsGetByIDNotFound) IsSuccess

func (o *ProjectsGetByIDNotFound) IsSuccess() bool

IsSuccess returns true when this projects get by Id not found response has a 2xx status code

func (*ProjectsGetByIDNotFound) String

func (o *ProjectsGetByIDNotFound) String() string

type ProjectsGetByIDOK

type ProjectsGetByIDOK struct {
	Payload *models.Tag
}

ProjectsGetByIDOK describes a response with status code 200, with default header values.

A successful response.

func NewProjectsGetByIDOK

func NewProjectsGetByIDOK() *ProjectsGetByIDOK

NewProjectsGetByIDOK creates a ProjectsGetByIDOK with default headers values

func (*ProjectsGetByIDOK) Error

func (o *ProjectsGetByIDOK) Error() string

func (*ProjectsGetByIDOK) GetPayload

func (o *ProjectsGetByIDOK) GetPayload() *models.Tag

func (*ProjectsGetByIDOK) IsClientError

func (o *ProjectsGetByIDOK) IsClientError() bool

IsClientError returns true when this projects get by Id o k response has a 4xx status code

func (*ProjectsGetByIDOK) IsCode

func (o *ProjectsGetByIDOK) IsCode(code int) bool

IsCode returns true when this projects get by Id o k response a status code equal to that given

func (*ProjectsGetByIDOK) IsRedirect

func (o *ProjectsGetByIDOK) IsRedirect() bool

IsRedirect returns true when this projects get by Id o k response has a 3xx status code

func (*ProjectsGetByIDOK) IsServerError

func (o *ProjectsGetByIDOK) IsServerError() bool

IsServerError returns true when this projects get by Id o k response has a 5xx status code

func (*ProjectsGetByIDOK) IsSuccess

func (o *ProjectsGetByIDOK) IsSuccess() bool

IsSuccess returns true when this projects get by Id o k response has a 2xx status code

func (*ProjectsGetByIDOK) String

func (o *ProjectsGetByIDOK) String() string

type ProjectsGetByIDParams

type ProjectsGetByIDParams struct {

	/* XRequestID.

	   correlation-id
	*/
	XRequestID *string

	/* ID.

	   System defined universally unique Id of the resource group
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProjectsGetByIDParams contains all the parameters to send to the API endpoint

for the projects get by ID operation.

Typically these are written to a http.Request.

func GetByIDParams

func GetByIDParams() *ProjectsGetByIDParams

GetByIDParams creates a new ProjectsGetByIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewProjectsGetByIDParamsWithContext

func NewProjectsGetByIDParamsWithContext(ctx context.Context) *ProjectsGetByIDParams

NewProjectsGetByIDParamsWithContext creates a new ProjectsGetByIDParams object with the ability to set a context for a request.

func NewProjectsGetByIDParamsWithHTTPClient

func NewProjectsGetByIDParamsWithHTTPClient(client *http.Client) *ProjectsGetByIDParams

NewProjectsGetByIDParamsWithHTTPClient creates a new ProjectsGetByIDParams object with the ability to set a custom HTTPClient for a request.

func NewProjectsGetByIDParamsWithTimeout

func NewProjectsGetByIDParamsWithTimeout(timeout time.Duration) *ProjectsGetByIDParams

NewProjectsGetByIDParamsWithTimeout creates a new ProjectsGetByIDParams object with the ability to set a timeout on a request.

func (*ProjectsGetByIDParams) SetContext

func (o *ProjectsGetByIDParams) SetContext(ctx context.Context)

SetContext adds the context to the projects get by ID params

func (*ProjectsGetByIDParams) SetDefaults

func (o *ProjectsGetByIDParams) SetDefaults()

SetDefaults hydrates default values in the projects get by ID params (not the query body).

All values with no default are reset to their zero value.

func (*ProjectsGetByIDParams) SetHTTPClient

func (o *ProjectsGetByIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the projects get by ID params

func (*ProjectsGetByIDParams) SetID

func (o *ProjectsGetByIDParams) SetID(id string)

SetID adds the id to the projects get by ID params

func (*ProjectsGetByIDParams) SetTimeout

func (o *ProjectsGetByIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the projects get by ID params

func (*ProjectsGetByIDParams) SetXRequestID

func (o *ProjectsGetByIDParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the projects get by ID params

func (*ProjectsGetByIDParams) WithContext

WithContext adds the context to the projects get by ID params

func (*ProjectsGetByIDParams) WithDefaults

func (o *ProjectsGetByIDParams) WithDefaults() *ProjectsGetByIDParams

WithDefaults hydrates default values in the projects get by ID params (not the query body).

All values with no default are reset to their zero value.

func (*ProjectsGetByIDParams) WithHTTPClient

func (o *ProjectsGetByIDParams) WithHTTPClient(client *http.Client) *ProjectsGetByIDParams

WithHTTPClient adds the HTTPClient to the projects get by ID params

func (*ProjectsGetByIDParams) WithID

WithID adds the id to the projects get by ID params

func (*ProjectsGetByIDParams) WithTimeout

func (o *ProjectsGetByIDParams) WithTimeout(timeout time.Duration) *ProjectsGetByIDParams

WithTimeout adds the timeout to the projects get by ID params

func (*ProjectsGetByIDParams) WithXRequestID

func (o *ProjectsGetByIDParams) WithXRequestID(xRequestID *string) *ProjectsGetByIDParams

WithXRequestID adds the xRequestID to the projects get by ID params

func (*ProjectsGetByIDParams) WriteToRequest

func (o *ProjectsGetByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ProjectsGetByIDReader

type ProjectsGetByIDReader struct {
	// contains filtered or unexported fields
}

ProjectsGetByIDReader is a Reader for the ProjectsGetByID structure.

func (*ProjectsGetByIDReader) ReadResponse

func (o *ProjectsGetByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProjectsGetByIDUnauthorized

type ProjectsGetByIDUnauthorized struct {
	Payload *models.ZsrvResponse
}

ProjectsGetByIDUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewProjectsGetByIDUnauthorized

func NewProjectsGetByIDUnauthorized() *ProjectsGetByIDUnauthorized

NewProjectsGetByIDUnauthorized creates a ProjectsGetByIDUnauthorized with default headers values

func (*ProjectsGetByIDUnauthorized) Error

func (*ProjectsGetByIDUnauthorized) GetPayload

func (*ProjectsGetByIDUnauthorized) IsClientError

func (o *ProjectsGetByIDUnauthorized) IsClientError() bool

IsClientError returns true when this projects get by Id unauthorized response has a 4xx status code

func (*ProjectsGetByIDUnauthorized) IsCode

func (o *ProjectsGetByIDUnauthorized) IsCode(code int) bool

IsCode returns true when this projects get by Id unauthorized response a status code equal to that given

func (*ProjectsGetByIDUnauthorized) IsRedirect

func (o *ProjectsGetByIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this projects get by Id unauthorized response has a 3xx status code

func (*ProjectsGetByIDUnauthorized) IsServerError

func (o *ProjectsGetByIDUnauthorized) IsServerError() bool

IsServerError returns true when this projects get by Id unauthorized response has a 5xx status code

func (*ProjectsGetByIDUnauthorized) IsSuccess

func (o *ProjectsGetByIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this projects get by Id unauthorized response has a 2xx status code

func (*ProjectsGetByIDUnauthorized) String

func (o *ProjectsGetByIDUnauthorized) String() string

type ProjectsGetByNameDefault

type ProjectsGetByNameDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

ProjectsGetByNameDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewProjectsGetByNameDefault

func NewProjectsGetByNameDefault(code int) *ProjectsGetByNameDefault

NewProjectsGetByNameDefault creates a ProjectsGetByNameDefault with default headers values

func (*ProjectsGetByNameDefault) Code

func (o *ProjectsGetByNameDefault) Code() int

Code gets the status code for the projects get by name default response

func (*ProjectsGetByNameDefault) Error

func (o *ProjectsGetByNameDefault) Error() string

func (*ProjectsGetByNameDefault) GetPayload

func (*ProjectsGetByNameDefault) IsClientError

func (o *ProjectsGetByNameDefault) IsClientError() bool

IsClientError returns true when this projects get by name default response has a 4xx status code

func (*ProjectsGetByNameDefault) IsCode

func (o *ProjectsGetByNameDefault) IsCode(code int) bool

IsCode returns true when this projects get by name default response a status code equal to that given

func (*ProjectsGetByNameDefault) IsRedirect

func (o *ProjectsGetByNameDefault) IsRedirect() bool

IsRedirect returns true when this projects get by name default response has a 3xx status code

func (*ProjectsGetByNameDefault) IsServerError

func (o *ProjectsGetByNameDefault) IsServerError() bool

IsServerError returns true when this projects get by name default response has a 5xx status code

func (*ProjectsGetByNameDefault) IsSuccess

func (o *ProjectsGetByNameDefault) IsSuccess() bool

IsSuccess returns true when this projects get by name default response has a 2xx status code

func (*ProjectsGetByNameDefault) String

func (o *ProjectsGetByNameDefault) String() string

type ProjectsGetByNameForbidden

type ProjectsGetByNameForbidden struct {
	Payload *models.ZsrvResponse
}

ProjectsGetByNameForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the request or does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewProjectsGetByNameForbidden

func NewProjectsGetByNameForbidden() *ProjectsGetByNameForbidden

NewProjectsGetByNameForbidden creates a ProjectsGetByNameForbidden with default headers values

func (*ProjectsGetByNameForbidden) Error

func (*ProjectsGetByNameForbidden) GetPayload

func (*ProjectsGetByNameForbidden) IsClientError

func (o *ProjectsGetByNameForbidden) IsClientError() bool

IsClientError returns true when this projects get by name forbidden response has a 4xx status code

func (*ProjectsGetByNameForbidden) IsCode

func (o *ProjectsGetByNameForbidden) IsCode(code int) bool

IsCode returns true when this projects get by name forbidden response a status code equal to that given

func (*ProjectsGetByNameForbidden) IsRedirect

func (o *ProjectsGetByNameForbidden) IsRedirect() bool

IsRedirect returns true when this projects get by name forbidden response has a 3xx status code

func (*ProjectsGetByNameForbidden) IsServerError

func (o *ProjectsGetByNameForbidden) IsServerError() bool

IsServerError returns true when this projects get by name forbidden response has a 5xx status code

func (*ProjectsGetByNameForbidden) IsSuccess

func (o *ProjectsGetByNameForbidden) IsSuccess() bool

IsSuccess returns true when this projects get by name forbidden response has a 2xx status code

func (*ProjectsGetByNameForbidden) String

func (o *ProjectsGetByNameForbidden) String() string

type ProjectsGetByNameGatewayTimeout

type ProjectsGetByNameGatewayTimeout struct {
	Payload *models.ZsrvResponse
}

ProjectsGetByNameGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewProjectsGetByNameGatewayTimeout

func NewProjectsGetByNameGatewayTimeout() *ProjectsGetByNameGatewayTimeout

NewProjectsGetByNameGatewayTimeout creates a ProjectsGetByNameGatewayTimeout with default headers values

func (*ProjectsGetByNameGatewayTimeout) Error

func (*ProjectsGetByNameGatewayTimeout) GetPayload

func (*ProjectsGetByNameGatewayTimeout) IsClientError

func (o *ProjectsGetByNameGatewayTimeout) IsClientError() bool

IsClientError returns true when this projects get by name gateway timeout response has a 4xx status code

func (*ProjectsGetByNameGatewayTimeout) IsCode

func (o *ProjectsGetByNameGatewayTimeout) IsCode(code int) bool

IsCode returns true when this projects get by name gateway timeout response a status code equal to that given

func (*ProjectsGetByNameGatewayTimeout) IsRedirect

func (o *ProjectsGetByNameGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this projects get by name gateway timeout response has a 3xx status code

func (*ProjectsGetByNameGatewayTimeout) IsServerError

func (o *ProjectsGetByNameGatewayTimeout) IsServerError() bool

IsServerError returns true when this projects get by name gateway timeout response has a 5xx status code

func (*ProjectsGetByNameGatewayTimeout) IsSuccess

func (o *ProjectsGetByNameGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this projects get by name gateway timeout response has a 2xx status code

func (*ProjectsGetByNameGatewayTimeout) String

type ProjectsGetByNameInternalServerError

type ProjectsGetByNameInternalServerError struct {
	Payload *models.ZsrvResponse
}

ProjectsGetByNameInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewProjectsGetByNameInternalServerError

func NewProjectsGetByNameInternalServerError() *ProjectsGetByNameInternalServerError

NewProjectsGetByNameInternalServerError creates a ProjectsGetByNameInternalServerError with default headers values

func (*ProjectsGetByNameInternalServerError) Error

func (*ProjectsGetByNameInternalServerError) GetPayload

func (*ProjectsGetByNameInternalServerError) IsClientError

func (o *ProjectsGetByNameInternalServerError) IsClientError() bool

IsClientError returns true when this projects get by name internal server error response has a 4xx status code

func (*ProjectsGetByNameInternalServerError) IsCode

IsCode returns true when this projects get by name internal server error response a status code equal to that given

func (*ProjectsGetByNameInternalServerError) IsRedirect

IsRedirect returns true when this projects get by name internal server error response has a 3xx status code

func (*ProjectsGetByNameInternalServerError) IsServerError

func (o *ProjectsGetByNameInternalServerError) IsServerError() bool

IsServerError returns true when this projects get by name internal server error response has a 5xx status code

func (*ProjectsGetByNameInternalServerError) IsSuccess

IsSuccess returns true when this projects get by name internal server error response has a 2xx status code

func (*ProjectsGetByNameInternalServerError) String

type ProjectsGetByNameNotFound

type ProjectsGetByNameNotFound struct {
	Payload *models.ZsrvResponse
}

ProjectsGetByNameNotFound describes a response with status code 404, with default header values.

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewProjectsGetByNameNotFound

func NewProjectsGetByNameNotFound() *ProjectsGetByNameNotFound

NewProjectsGetByNameNotFound creates a ProjectsGetByNameNotFound with default headers values

func (*ProjectsGetByNameNotFound) Error

func (o *ProjectsGetByNameNotFound) Error() string

func (*ProjectsGetByNameNotFound) GetPayload

func (*ProjectsGetByNameNotFound) IsClientError

func (o *ProjectsGetByNameNotFound) IsClientError() bool

IsClientError returns true when this projects get by name not found response has a 4xx status code

func (*ProjectsGetByNameNotFound) IsCode

func (o *ProjectsGetByNameNotFound) IsCode(code int) bool

IsCode returns true when this projects get by name not found response a status code equal to that given

func (*ProjectsGetByNameNotFound) IsRedirect

func (o *ProjectsGetByNameNotFound) IsRedirect() bool

IsRedirect returns true when this projects get by name not found response has a 3xx status code

func (*ProjectsGetByNameNotFound) IsServerError

func (o *ProjectsGetByNameNotFound) IsServerError() bool

IsServerError returns true when this projects get by name not found response has a 5xx status code

func (*ProjectsGetByNameNotFound) IsSuccess

func (o *ProjectsGetByNameNotFound) IsSuccess() bool

IsSuccess returns true when this projects get by name not found response has a 2xx status code

func (*ProjectsGetByNameNotFound) String

func (o *ProjectsGetByNameNotFound) String() string

type ProjectsGetByNameOK

type ProjectsGetByNameOK struct {
	Payload *models.Tag
}

ProjectsGetByNameOK describes a response with status code 200, with default header values.

A successful response.

func NewProjectsGetByNameOK

func NewProjectsGetByNameOK() *ProjectsGetByNameOK

NewProjectsGetByNameOK creates a ProjectsGetByNameOK with default headers values

func (*ProjectsGetByNameOK) Error

func (o *ProjectsGetByNameOK) Error() string

func (*ProjectsGetByNameOK) GetPayload

func (o *ProjectsGetByNameOK) GetPayload() *models.Tag

func (*ProjectsGetByNameOK) IsClientError

func (o *ProjectsGetByNameOK) IsClientError() bool

IsClientError returns true when this projects get by name o k response has a 4xx status code

func (*ProjectsGetByNameOK) IsCode

func (o *ProjectsGetByNameOK) IsCode(code int) bool

IsCode returns true when this projects get by name o k response a status code equal to that given

func (*ProjectsGetByNameOK) IsRedirect

func (o *ProjectsGetByNameOK) IsRedirect() bool

IsRedirect returns true when this projects get by name o k response has a 3xx status code

func (*ProjectsGetByNameOK) IsServerError

func (o *ProjectsGetByNameOK) IsServerError() bool

IsServerError returns true when this projects get by name o k response has a 5xx status code

func (*ProjectsGetByNameOK) IsSuccess

func (o *ProjectsGetByNameOK) IsSuccess() bool

IsSuccess returns true when this projects get by name o k response has a 2xx status code

func (*ProjectsGetByNameOK) String

func (o *ProjectsGetByNameOK) String() string

type ProjectsGetByNameParams

type ProjectsGetByNameParams struct {

	/* XRequestID.

	   correlation-id
	*/
	XRequestID *string

	/* Name.

	   User defined name of the resource group, unique across the enterprise. Once resource group is created, name can’t be changed.
	*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProjectsGetByNameParams contains all the parameters to send to the API endpoint

for the projects get by name operation.

Typically these are written to a http.Request.

func GetByNameParams

func GetByNameParams() *ProjectsGetByNameParams

GetByNameParams creates a new ProjectsGetByNameParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewProjectsGetByNameParamsWithContext

func NewProjectsGetByNameParamsWithContext(ctx context.Context) *ProjectsGetByNameParams

NewProjectsGetByNameParamsWithContext creates a new ProjectsGetByNameParams object with the ability to set a context for a request.

func NewProjectsGetByNameParamsWithHTTPClient

func NewProjectsGetByNameParamsWithHTTPClient(client *http.Client) *ProjectsGetByNameParams

NewProjectsGetByNameParamsWithHTTPClient creates a new ProjectsGetByNameParams object with the ability to set a custom HTTPClient for a request.

func NewProjectsGetByNameParamsWithTimeout

func NewProjectsGetByNameParamsWithTimeout(timeout time.Duration) *ProjectsGetByNameParams

NewProjectsGetByNameParamsWithTimeout creates a new ProjectsGetByNameParams object with the ability to set a timeout on a request.

func (*ProjectsGetByNameParams) SetContext

func (o *ProjectsGetByNameParams) SetContext(ctx context.Context)

SetContext adds the context to the projects get by name params

func (*ProjectsGetByNameParams) SetDefaults

func (o *ProjectsGetByNameParams) SetDefaults()

SetDefaults hydrates default values in the projects get by name params (not the query body).

All values with no default are reset to their zero value.

func (*ProjectsGetByNameParams) SetHTTPClient

func (o *ProjectsGetByNameParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the projects get by name params

func (*ProjectsGetByNameParams) SetName

func (o *ProjectsGetByNameParams) SetName(name string)

SetName adds the name to the projects get by name params

func (*ProjectsGetByNameParams) SetTimeout

func (o *ProjectsGetByNameParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the projects get by name params

func (*ProjectsGetByNameParams) SetXRequestID

func (o *ProjectsGetByNameParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the projects get by name params

func (*ProjectsGetByNameParams) WithContext

WithContext adds the context to the projects get by name params

func (*ProjectsGetByNameParams) WithDefaults

WithDefaults hydrates default values in the projects get by name params (not the query body).

All values with no default are reset to their zero value.

func (*ProjectsGetByNameParams) WithHTTPClient

func (o *ProjectsGetByNameParams) WithHTTPClient(client *http.Client) *ProjectsGetByNameParams

WithHTTPClient adds the HTTPClient to the projects get by name params

func (*ProjectsGetByNameParams) WithName

WithName adds the name to the projects get by name params

func (*ProjectsGetByNameParams) WithTimeout

WithTimeout adds the timeout to the projects get by name params

func (*ProjectsGetByNameParams) WithXRequestID

func (o *ProjectsGetByNameParams) WithXRequestID(xRequestID *string) *ProjectsGetByNameParams

WithXRequestID adds the xRequestID to the projects get by name params

func (*ProjectsGetByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectsGetByNameReader

type ProjectsGetByNameReader struct {
	// contains filtered or unexported fields
}

ProjectsGetByNameReader is a Reader for the ProjectsGetByName structure.

func (*ProjectsGetByNameReader) ReadResponse

func (o *ProjectsGetByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProjectsGetByNameUnauthorized

type ProjectsGetByNameUnauthorized struct {
	Payload *models.ZsrvResponse
}

ProjectsGetByNameUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewProjectsGetByNameUnauthorized

func NewProjectsGetByNameUnauthorized() *ProjectsGetByNameUnauthorized

NewProjectsGetByNameUnauthorized creates a ProjectsGetByNameUnauthorized with default headers values

func (*ProjectsGetByNameUnauthorized) Error

func (*ProjectsGetByNameUnauthorized) GetPayload

func (*ProjectsGetByNameUnauthorized) IsClientError

func (o *ProjectsGetByNameUnauthorized) IsClientError() bool

IsClientError returns true when this projects get by name unauthorized response has a 4xx status code

func (*ProjectsGetByNameUnauthorized) IsCode

func (o *ProjectsGetByNameUnauthorized) IsCode(code int) bool

IsCode returns true when this projects get by name unauthorized response a status code equal to that given

func (*ProjectsGetByNameUnauthorized) IsRedirect

func (o *ProjectsGetByNameUnauthorized) IsRedirect() bool

IsRedirect returns true when this projects get by name unauthorized response has a 3xx status code

func (*ProjectsGetByNameUnauthorized) IsServerError

func (o *ProjectsGetByNameUnauthorized) IsServerError() bool

IsServerError returns true when this projects get by name unauthorized response has a 5xx status code

func (*ProjectsGetByNameUnauthorized) IsSuccess

func (o *ProjectsGetByNameUnauthorized) IsSuccess() bool

IsSuccess returns true when this projects get by name unauthorized response has a 2xx status code

func (*ProjectsGetByNameUnauthorized) String

type ProjectsUpdateBody

type ProjectsUpdateBody struct {

	// Resource group wide policy for edge applications to be deployed on all edge nodes on this resource group
	// Read Only: true
	AppPolicy *models.Policy `json:"appPolicy,omitempty"`

	// Attestation policy to enforce on all devices of this project
	AttestationPolicy *models.Policy `json:"attestationPolicy,omitempty"`

	// Resource group wide configuration for edge nodes
	// Read Only: true
	Attr map[string]string `json:"attr,omitempty"`

	// Resource group wide policy for Azure IoTEdge configuration to be applied to all edge applications
	// Read Only: true
	CloudPolicy *models.Policy `json:"cloudPolicy,omitempty"`

	// Deployment template containing different types of policies
	Deployment *models.Deployment `json:"deployment,omitempty"`

	// Detailed description of the resource group.
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// Edgeview policy on devices of this project
	EdgeviewPolicy *models.Policy `json:"edgeviewPolicy,omitempty"`

	// Local operator console policy on devices of this project
	LocalOperatorConsolePolicy *models.Policy `json:"localOperatorConsolePolicy,omitempty"`

	// Resource group wide policy for Azure module configuration to be applied to all edge applications
	// Read Only: true
	ModulePolicy []*models.Policy `json:"modulePolicy"`

	// User defined name of the resource group, unique across the enterprise. Once resource group is created, name can’t be changed.
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// Network policy to enforce on all devices of this project
	NetworkPolicy *models.Policy `json:"networkPolicy,omitempty"`

	// Number of edge nodes in this resource group
	// Read Only: true
	Numdevices int64 `json:"numdevices,omitempty"`

	// system defined info
	// Read Only: true
	Revision *models.ObjectRevision `json:"revision,omitempty"`

	// User defined title of the resource group. Title can be changed at any time.
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+
	Title *string `json:"title"`

	// Resource group type
	// Required: true
	Type *models.TagType `json:"type"`
}

ProjectsUpdateBody Resource group detail // // Resource group for edge gateway Base OS or for eedge applications. // Example: {"attr":{},"description":"My test resource group for Edge computing","id":"d1125b0f-633d-459c-99c6-f47e7467cebc","name":"my-test-project","numdevices":208,"revision":{"createdAt":{"seconds":1592068270},"createdBy":"admin@my-company.com","curr":"1","updatedAt":{"seconds":1592068271},"updatedBy":"admin@my-company.com"},"title":"My Test resource group","type":"TAG_TYPE_PROJECT"} swagger:model ProjectsUpdateBody

func (*ProjectsUpdateBody) ContextValidate

func (o *ProjectsUpdateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this projects update body based on the context it is used

func (*ProjectsUpdateBody) MarshalBinary

func (o *ProjectsUpdateBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectsUpdateBody) UnmarshalBinary

func (o *ProjectsUpdateBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectsUpdateBody) Validate

func (o *ProjectsUpdateBody) Validate(formats strfmt.Registry) error

Validate validates this projects update body

type ProjectsUpdateConflict

type ProjectsUpdateConflict struct {
	Payload *models.ZsrvResponse
}

ProjectsUpdateConflict describes a response with status code 409, with default header values.

Conflict. The API gateway did not process the request because this operation will conflict with an already existing edge node record.

func NewProjectsUpdateConflict

func NewProjectsUpdateConflict() *ProjectsUpdateConflict

NewProjectsUpdateConflict creates a ProjectsUpdateConflict with default headers values

func (*ProjectsUpdateConflict) Error

func (o *ProjectsUpdateConflict) Error() string

func (*ProjectsUpdateConflict) GetPayload

func (o *ProjectsUpdateConflict) GetPayload() *models.ZsrvResponse

func (*ProjectsUpdateConflict) IsClientError

func (o *ProjectsUpdateConflict) IsClientError() bool

IsClientError returns true when this projects update conflict response has a 4xx status code

func (*ProjectsUpdateConflict) IsCode

func (o *ProjectsUpdateConflict) IsCode(code int) bool

IsCode returns true when this projects update conflict response a status code equal to that given

func (*ProjectsUpdateConflict) IsRedirect

func (o *ProjectsUpdateConflict) IsRedirect() bool

IsRedirect returns true when this projects update conflict response has a 3xx status code

func (*ProjectsUpdateConflict) IsServerError

func (o *ProjectsUpdateConflict) IsServerError() bool

IsServerError returns true when this projects update conflict response has a 5xx status code

func (*ProjectsUpdateConflict) IsSuccess

func (o *ProjectsUpdateConflict) IsSuccess() bool

IsSuccess returns true when this projects update conflict response has a 2xx status code

func (*ProjectsUpdateConflict) String

func (o *ProjectsUpdateConflict) String() string

type ProjectsUpdateDefault

type ProjectsUpdateDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

ProjectsUpdateDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewProjectsUpdateDefault

func NewProjectsUpdateDefault(code int) *ProjectsUpdateDefault

NewProjectsUpdateDefault creates a ProjectsUpdateDefault with default headers values

func (*ProjectsUpdateDefault) Code

func (o *ProjectsUpdateDefault) Code() int

Code gets the status code for the projects update default response

func (*ProjectsUpdateDefault) Error

func (o *ProjectsUpdateDefault) Error() string

func (*ProjectsUpdateDefault) GetPayload

func (o *ProjectsUpdateDefault) GetPayload() *models.GooglerpcStatus

func (*ProjectsUpdateDefault) IsClientError

func (o *ProjectsUpdateDefault) IsClientError() bool

IsClientError returns true when this projects update default response has a 4xx status code

func (*ProjectsUpdateDefault) IsCode

func (o *ProjectsUpdateDefault) IsCode(code int) bool

IsCode returns true when this projects update default response a status code equal to that given

func (*ProjectsUpdateDefault) IsRedirect

func (o *ProjectsUpdateDefault) IsRedirect() bool

IsRedirect returns true when this projects update default response has a 3xx status code

func (*ProjectsUpdateDefault) IsServerError

func (o *ProjectsUpdateDefault) IsServerError() bool

IsServerError returns true when this projects update default response has a 5xx status code

func (*ProjectsUpdateDefault) IsSuccess

func (o *ProjectsUpdateDefault) IsSuccess() bool

IsSuccess returns true when this projects update default response has a 2xx status code

func (*ProjectsUpdateDefault) String

func (o *ProjectsUpdateDefault) String() string

type ProjectsUpdateForbidden

type ProjectsUpdateForbidden struct {
	Payload *models.ZsrvResponse
}

ProjectsUpdateForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the request or does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewProjectsUpdateForbidden

func NewProjectsUpdateForbidden() *ProjectsUpdateForbidden

NewProjectsUpdateForbidden creates a ProjectsUpdateForbidden with default headers values

func (*ProjectsUpdateForbidden) Error

func (o *ProjectsUpdateForbidden) Error() string

func (*ProjectsUpdateForbidden) GetPayload

func (o *ProjectsUpdateForbidden) GetPayload() *models.ZsrvResponse

func (*ProjectsUpdateForbidden) IsClientError

func (o *ProjectsUpdateForbidden) IsClientError() bool

IsClientError returns true when this projects update forbidden response has a 4xx status code

func (*ProjectsUpdateForbidden) IsCode

func (o *ProjectsUpdateForbidden) IsCode(code int) bool

IsCode returns true when this projects update forbidden response a status code equal to that given

func (*ProjectsUpdateForbidden) IsRedirect

func (o *ProjectsUpdateForbidden) IsRedirect() bool

IsRedirect returns true when this projects update forbidden response has a 3xx status code

func (*ProjectsUpdateForbidden) IsServerError

func (o *ProjectsUpdateForbidden) IsServerError() bool

IsServerError returns true when this projects update forbidden response has a 5xx status code

func (*ProjectsUpdateForbidden) IsSuccess

func (o *ProjectsUpdateForbidden) IsSuccess() bool

IsSuccess returns true when this projects update forbidden response has a 2xx status code

func (*ProjectsUpdateForbidden) String

func (o *ProjectsUpdateForbidden) String() string

type ProjectsUpdateGatewayTimeout

type ProjectsUpdateGatewayTimeout struct {
	Payload *models.ZsrvResponse
}

ProjectsUpdateGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewProjectsUpdateGatewayTimeout

func NewProjectsUpdateGatewayTimeout() *ProjectsUpdateGatewayTimeout

NewProjectsUpdateGatewayTimeout creates a ProjectsUpdateGatewayTimeout with default headers values

func (*ProjectsUpdateGatewayTimeout) Error

func (*ProjectsUpdateGatewayTimeout) GetPayload

func (*ProjectsUpdateGatewayTimeout) IsClientError

func (o *ProjectsUpdateGatewayTimeout) IsClientError() bool

IsClientError returns true when this projects update gateway timeout response has a 4xx status code

func (*ProjectsUpdateGatewayTimeout) IsCode

func (o *ProjectsUpdateGatewayTimeout) IsCode(code int) bool

IsCode returns true when this projects update gateway timeout response a status code equal to that given

func (*ProjectsUpdateGatewayTimeout) IsRedirect

func (o *ProjectsUpdateGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this projects update gateway timeout response has a 3xx status code

func (*ProjectsUpdateGatewayTimeout) IsServerError

func (o *ProjectsUpdateGatewayTimeout) IsServerError() bool

IsServerError returns true when this projects update gateway timeout response has a 5xx status code

func (*ProjectsUpdateGatewayTimeout) IsSuccess

func (o *ProjectsUpdateGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this projects update gateway timeout response has a 2xx status code

func (*ProjectsUpdateGatewayTimeout) String

type ProjectsUpdateInternalServerError

type ProjectsUpdateInternalServerError struct {
	Payload *models.ZsrvResponse
}

ProjectsUpdateInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewProjectsUpdateInternalServerError

func NewProjectsUpdateInternalServerError() *ProjectsUpdateInternalServerError

NewProjectsUpdateInternalServerError creates a ProjectsUpdateInternalServerError with default headers values

func (*ProjectsUpdateInternalServerError) Error

func (*ProjectsUpdateInternalServerError) GetPayload

func (*ProjectsUpdateInternalServerError) IsClientError

func (o *ProjectsUpdateInternalServerError) IsClientError() bool

IsClientError returns true when this projects update internal server error response has a 4xx status code

func (*ProjectsUpdateInternalServerError) IsCode

func (o *ProjectsUpdateInternalServerError) IsCode(code int) bool

IsCode returns true when this projects update internal server error response a status code equal to that given

func (*ProjectsUpdateInternalServerError) IsRedirect

func (o *ProjectsUpdateInternalServerError) IsRedirect() bool

IsRedirect returns true when this projects update internal server error response has a 3xx status code

func (*ProjectsUpdateInternalServerError) IsServerError

func (o *ProjectsUpdateInternalServerError) IsServerError() bool

IsServerError returns true when this projects update internal server error response has a 5xx status code

func (*ProjectsUpdateInternalServerError) IsSuccess

func (o *ProjectsUpdateInternalServerError) IsSuccess() bool

IsSuccess returns true when this projects update internal server error response has a 2xx status code

func (*ProjectsUpdateInternalServerError) String

type ProjectsUpdateNotFound

type ProjectsUpdateNotFound struct {
	Payload *models.ZsrvResponse
}

ProjectsUpdateNotFound describes a response with status code 404, with default header values.

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewProjectsUpdateNotFound

func NewProjectsUpdateNotFound() *ProjectsUpdateNotFound

NewProjectsUpdateNotFound creates a ProjectsUpdateNotFound with default headers values

func (*ProjectsUpdateNotFound) Error

func (o *ProjectsUpdateNotFound) Error() string

func (*ProjectsUpdateNotFound) GetPayload

func (o *ProjectsUpdateNotFound) GetPayload() *models.ZsrvResponse

func (*ProjectsUpdateNotFound) IsClientError

func (o *ProjectsUpdateNotFound) IsClientError() bool

IsClientError returns true when this projects update not found response has a 4xx status code

func (*ProjectsUpdateNotFound) IsCode

func (o *ProjectsUpdateNotFound) IsCode(code int) bool

IsCode returns true when this projects update not found response a status code equal to that given

func (*ProjectsUpdateNotFound) IsRedirect

func (o *ProjectsUpdateNotFound) IsRedirect() bool

IsRedirect returns true when this projects update not found response has a 3xx status code

func (*ProjectsUpdateNotFound) IsServerError

func (o *ProjectsUpdateNotFound) IsServerError() bool

IsServerError returns true when this projects update not found response has a 5xx status code

func (*ProjectsUpdateNotFound) IsSuccess

func (o *ProjectsUpdateNotFound) IsSuccess() bool

IsSuccess returns true when this projects update not found response has a 2xx status code

func (*ProjectsUpdateNotFound) String

func (o *ProjectsUpdateNotFound) String() string

type ProjectsUpdateOK

type ProjectsUpdateOK struct {
	Payload *models.ZsrvResponse
}

ProjectsUpdateOK describes a response with status code 200, with default header values.

A successful response.

func NewProjectsUpdateOK

func NewProjectsUpdateOK() *ProjectsUpdateOK

NewProjectsUpdateOK creates a ProjectsUpdateOK with default headers values

func (*ProjectsUpdateOK) Error

func (o *ProjectsUpdateOK) Error() string

func (*ProjectsUpdateOK) GetPayload

func (o *ProjectsUpdateOK) GetPayload() *models.ZsrvResponse

func (*ProjectsUpdateOK) IsClientError

func (o *ProjectsUpdateOK) IsClientError() bool

IsClientError returns true when this projects update o k response has a 4xx status code

func (*ProjectsUpdateOK) IsCode

func (o *ProjectsUpdateOK) IsCode(code int) bool

IsCode returns true when this projects update o k response a status code equal to that given

func (*ProjectsUpdateOK) IsRedirect

func (o *ProjectsUpdateOK) IsRedirect() bool

IsRedirect returns true when this projects update o k response has a 3xx status code

func (*ProjectsUpdateOK) IsServerError

func (o *ProjectsUpdateOK) IsServerError() bool

IsServerError returns true when this projects update o k response has a 5xx status code

func (*ProjectsUpdateOK) IsSuccess

func (o *ProjectsUpdateOK) IsSuccess() bool

IsSuccess returns true when this projects update o k response has a 2xx status code

func (*ProjectsUpdateOK) String

func (o *ProjectsUpdateOK) String() string

type ProjectsUpdateParams

type ProjectsUpdateParams struct {

	/* XRequestID.

	   correlation-id
	*/
	XRequestID *string

	// Body.
	Body *models.Tag

	/* ID.

	   System defined universally unique Id of the resource group.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProjectsUpdateParams contains all the parameters to send to the API endpoint

for the projects update operation.

Typically these are written to a http.Request.

func NewProjectsUpdateParamsWithContext

func NewProjectsUpdateParamsWithContext(ctx context.Context) *ProjectsUpdateParams

NewProjectsUpdateParamsWithContext creates a new ProjectsUpdateParams object with the ability to set a context for a request.

func NewProjectsUpdateParamsWithHTTPClient

func NewProjectsUpdateParamsWithHTTPClient(client *http.Client) *ProjectsUpdateParams

NewProjectsUpdateParamsWithHTTPClient creates a new ProjectsUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewProjectsUpdateParamsWithTimeout

func NewProjectsUpdateParamsWithTimeout(timeout time.Duration) *ProjectsUpdateParams

NewProjectsUpdateParamsWithTimeout creates a new ProjectsUpdateParams object with the ability to set a timeout on a request.

func UpdateParams

func UpdateParams() *ProjectsUpdateParams

UpdateParams creates a new ProjectsUpdateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func (*ProjectsUpdateParams) SetBody

func (o *ProjectsUpdateParams) SetBody(body *models.Tag)

SetBody adds the body to the projects update params

func (*ProjectsUpdateParams) SetContext

func (o *ProjectsUpdateParams) SetContext(ctx context.Context)

SetContext adds the context to the projects update params

func (*ProjectsUpdateParams) SetDefaults

func (o *ProjectsUpdateParams) SetDefaults()

SetDefaults hydrates default values in the projects update params (not the query body).

All values with no default are reset to their zero value.

func (*ProjectsUpdateParams) SetHTTPClient

func (o *ProjectsUpdateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the projects update params

func (*ProjectsUpdateParams) SetID

func (o *ProjectsUpdateParams) SetID(id string)

SetID adds the id to the projects update params

func (*ProjectsUpdateParams) SetTimeout

func (o *ProjectsUpdateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the projects update params

func (*ProjectsUpdateParams) SetXRequestID

func (o *ProjectsUpdateParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the projects update params

func (*ProjectsUpdateParams) WithBody

WithBody adds the body to the projects update params

func (*ProjectsUpdateParams) WithContext

WithContext adds the context to the projects update params

func (*ProjectsUpdateParams) WithDefaults

func (o *ProjectsUpdateParams) WithDefaults() *ProjectsUpdateParams

WithDefaults hydrates default values in the projects update params (not the query body).

All values with no default are reset to their zero value.

func (*ProjectsUpdateParams) WithHTTPClient

func (o *ProjectsUpdateParams) WithHTTPClient(client *http.Client) *ProjectsUpdateParams

WithHTTPClient adds the HTTPClient to the projects update params

func (*ProjectsUpdateParams) WithID

WithID adds the id to the projects update params

func (*ProjectsUpdateParams) WithTimeout

func (o *ProjectsUpdateParams) WithTimeout(timeout time.Duration) *ProjectsUpdateParams

WithTimeout adds the timeout to the projects update params

func (*ProjectsUpdateParams) WithXRequestID

func (o *ProjectsUpdateParams) WithXRequestID(xRequestID *string) *ProjectsUpdateParams

WithXRequestID adds the xRequestID to the projects update params

func (*ProjectsUpdateParams) WriteToRequest

func (o *ProjectsUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ProjectsUpdateReader

type ProjectsUpdateReader struct {
	// contains filtered or unexported fields
}

ProjectsUpdateReader is a Reader for the ProjectsUpdate structure.

func (*ProjectsUpdateReader) ReadResponse

func (o *ProjectsUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProjectsUpdateUnauthorized

type ProjectsUpdateUnauthorized struct {
	Payload *models.ZsrvResponse
}

ProjectsUpdateUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewProjectsUpdateUnauthorized

func NewProjectsUpdateUnauthorized() *ProjectsUpdateUnauthorized

NewProjectsUpdateUnauthorized creates a ProjectsUpdateUnauthorized with default headers values

func (*ProjectsUpdateUnauthorized) Error

func (*ProjectsUpdateUnauthorized) GetPayload

func (*ProjectsUpdateUnauthorized) IsClientError

func (o *ProjectsUpdateUnauthorized) IsClientError() bool

IsClientError returns true when this projects update unauthorized response has a 4xx status code

func (*ProjectsUpdateUnauthorized) IsCode

func (o *ProjectsUpdateUnauthorized) IsCode(code int) bool

IsCode returns true when this projects update unauthorized response a status code equal to that given

func (*ProjectsUpdateUnauthorized) IsRedirect

func (o *ProjectsUpdateUnauthorized) IsRedirect() bool

IsRedirect returns true when this projects update unauthorized response has a 3xx status code

func (*ProjectsUpdateUnauthorized) IsServerError

func (o *ProjectsUpdateUnauthorized) IsServerError() bool

IsServerError returns true when this projects update unauthorized response has a 5xx status code

func (*ProjectsUpdateUnauthorized) IsSuccess

func (o *ProjectsUpdateUnauthorized) IsSuccess() bool

IsSuccess returns true when this projects update unauthorized response has a 2xx status code

func (*ProjectsUpdateUnauthorized) String

func (o *ProjectsUpdateUnauthorized) String() string

Jump to

Keyboard shortcuts

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