Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type CreateProjectBadRequest
- func (o *CreateProjectBadRequest) Code() int
- func (o *CreateProjectBadRequest) Error() string
- func (o *CreateProjectBadRequest) GetPayload() *CreateProjectBadRequestBody
- func (o *CreateProjectBadRequest) IsClientError() bool
- func (o *CreateProjectBadRequest) IsCode(code int) bool
- func (o *CreateProjectBadRequest) IsRedirect() bool
- func (o *CreateProjectBadRequest) IsServerError() bool
- func (o *CreateProjectBadRequest) IsSuccess() bool
- func (o *CreateProjectBadRequest) String() string
- type CreateProjectBadRequestBody
- func (o *CreateProjectBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateProjectBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *CreateProjectBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *CreateProjectBadRequestBody) Validate(formats strfmt.Registry) error
- type CreateProjectBody
- type CreateProjectDefault
- func (o *CreateProjectDefault) Code() int
- func (o *CreateProjectDefault) Error() string
- func (o *CreateProjectDefault) GetPayload() *CreateProjectDefaultBody
- func (o *CreateProjectDefault) IsClientError() bool
- func (o *CreateProjectDefault) IsCode(code int) bool
- func (o *CreateProjectDefault) IsRedirect() bool
- func (o *CreateProjectDefault) IsServerError() bool
- func (o *CreateProjectDefault) IsSuccess() bool
- func (o *CreateProjectDefault) String() string
- type CreateProjectDefaultBody
- func (o *CreateProjectDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateProjectDefaultBody) MarshalBinary() ([]byte, error)
- func (o *CreateProjectDefaultBody) UnmarshalBinary(b []byte) error
- func (o *CreateProjectDefaultBody) Validate(formats strfmt.Registry) error
- type CreateProjectDefaultBodyDetailsItems0
- func (o *CreateProjectDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateProjectDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *CreateProjectDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *CreateProjectDefaultBodyDetailsItems0) Validate(formats strfmt.Registry) error
- type CreateProjectForbidden
- func (o *CreateProjectForbidden) Code() int
- func (o *CreateProjectForbidden) Error() string
- func (o *CreateProjectForbidden) GetPayload() *CreateProjectForbiddenBody
- func (o *CreateProjectForbidden) IsClientError() bool
- func (o *CreateProjectForbidden) IsCode(code int) bool
- func (o *CreateProjectForbidden) IsRedirect() bool
- func (o *CreateProjectForbidden) IsServerError() bool
- func (o *CreateProjectForbidden) IsSuccess() bool
- func (o *CreateProjectForbidden) String() string
- type CreateProjectForbiddenBody
- func (o *CreateProjectForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateProjectForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *CreateProjectForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *CreateProjectForbiddenBody) Validate(formats strfmt.Registry) error
- type CreateProjectInternalServerError
- func (o *CreateProjectInternalServerError) Code() int
- func (o *CreateProjectInternalServerError) Error() string
- func (o *CreateProjectInternalServerError) GetPayload() *CreateProjectInternalServerErrorBody
- func (o *CreateProjectInternalServerError) IsClientError() bool
- func (o *CreateProjectInternalServerError) IsCode(code int) bool
- func (o *CreateProjectInternalServerError) IsRedirect() bool
- func (o *CreateProjectInternalServerError) IsServerError() bool
- func (o *CreateProjectInternalServerError) IsSuccess() bool
- func (o *CreateProjectInternalServerError) String() string
- type CreateProjectInternalServerErrorBody
- func (o *CreateProjectInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateProjectInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *CreateProjectInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *CreateProjectInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type CreateProjectNotFound
- func (o *CreateProjectNotFound) Code() int
- func (o *CreateProjectNotFound) Error() string
- func (o *CreateProjectNotFound) GetPayload() *CreateProjectNotFoundBody
- func (o *CreateProjectNotFound) IsClientError() bool
- func (o *CreateProjectNotFound) IsCode(code int) bool
- func (o *CreateProjectNotFound) IsRedirect() bool
- func (o *CreateProjectNotFound) IsServerError() bool
- func (o *CreateProjectNotFound) IsSuccess() bool
- func (o *CreateProjectNotFound) String() string
- type CreateProjectNotFoundBody
- func (o *CreateProjectNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateProjectNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *CreateProjectNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *CreateProjectNotFoundBody) Validate(formats strfmt.Registry) error
- type CreateProjectOK
- func (o *CreateProjectOK) Code() int
- func (o *CreateProjectOK) Error() string
- func (o *CreateProjectOK) GetPayload() *CreateProjectOKBody
- func (o *CreateProjectOK) IsClientError() bool
- func (o *CreateProjectOK) IsCode(code int) bool
- func (o *CreateProjectOK) IsRedirect() bool
- func (o *CreateProjectOK) IsServerError() bool
- func (o *CreateProjectOK) IsSuccess() bool
- func (o *CreateProjectOK) String() string
- type CreateProjectOKBody
- type CreateProjectParams
- func (o *CreateProjectParams) SetBody(body CreateProjectBody)
- func (o *CreateProjectParams) SetContext(ctx context.Context)
- func (o *CreateProjectParams) SetDefaults()
- func (o *CreateProjectParams) SetHTTPClient(client *http.Client)
- func (o *CreateProjectParams) SetTimeout(timeout time.Duration)
- func (o *CreateProjectParams) WithBody(body CreateProjectBody) *CreateProjectParams
- func (o *CreateProjectParams) WithContext(ctx context.Context) *CreateProjectParams
- func (o *CreateProjectParams) WithDefaults() *CreateProjectParams
- func (o *CreateProjectParams) WithHTTPClient(client *http.Client) *CreateProjectParams
- func (o *CreateProjectParams) WithTimeout(timeout time.Duration) *CreateProjectParams
- func (o *CreateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateProjectReader
- type CreateProjectTooManyRequests
- func (o *CreateProjectTooManyRequests) Code() int
- func (o *CreateProjectTooManyRequests) Error() string
- func (o *CreateProjectTooManyRequests) GetPayload() *CreateProjectTooManyRequestsBody
- func (o *CreateProjectTooManyRequests) IsClientError() bool
- func (o *CreateProjectTooManyRequests) IsCode(code int) bool
- func (o *CreateProjectTooManyRequests) IsRedirect() bool
- func (o *CreateProjectTooManyRequests) IsServerError() bool
- func (o *CreateProjectTooManyRequests) IsSuccess() bool
- func (o *CreateProjectTooManyRequests) String() string
- type CreateProjectTooManyRequestsBody
- func (o *CreateProjectTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateProjectTooManyRequestsBody) MarshalBinary() ([]byte, error)
- func (o *CreateProjectTooManyRequestsBody) UnmarshalBinary(b []byte) error
- func (o *CreateProjectTooManyRequestsBody) Validate(formats strfmt.Registry) error
- type CreateProjectUnauthorized
- func (o *CreateProjectUnauthorized) Code() int
- func (o *CreateProjectUnauthorized) Error() string
- func (o *CreateProjectUnauthorized) GetPayload() interface{}
- func (o *CreateProjectUnauthorized) IsClientError() bool
- func (o *CreateProjectUnauthorized) IsCode(code int) bool
- func (o *CreateProjectUnauthorized) IsRedirect() bool
- func (o *CreateProjectUnauthorized) IsServerError() bool
- func (o *CreateProjectUnauthorized) IsSuccess() bool
- func (o *CreateProjectUnauthorized) String() string
- type ListProjectsBadRequest
- func (o *ListProjectsBadRequest) Code() int
- func (o *ListProjectsBadRequest) Error() string
- func (o *ListProjectsBadRequest) GetPayload() *ListProjectsBadRequestBody
- func (o *ListProjectsBadRequest) IsClientError() bool
- func (o *ListProjectsBadRequest) IsCode(code int) bool
- func (o *ListProjectsBadRequest) IsRedirect() bool
- func (o *ListProjectsBadRequest) IsServerError() bool
- func (o *ListProjectsBadRequest) IsSuccess() bool
- func (o *ListProjectsBadRequest) String() string
- type ListProjectsBadRequestBody
- func (o *ListProjectsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProjectsBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *ListProjectsBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *ListProjectsBadRequestBody) Validate(formats strfmt.Registry) error
- type ListProjectsDefault
- func (o *ListProjectsDefault) Code() int
- func (o *ListProjectsDefault) Error() string
- func (o *ListProjectsDefault) GetPayload() *ListProjectsDefaultBody
- func (o *ListProjectsDefault) IsClientError() bool
- func (o *ListProjectsDefault) IsCode(code int) bool
- func (o *ListProjectsDefault) IsRedirect() bool
- func (o *ListProjectsDefault) IsServerError() bool
- func (o *ListProjectsDefault) IsSuccess() bool
- func (o *ListProjectsDefault) String() string
- type ListProjectsDefaultBody
- func (o *ListProjectsDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProjectsDefaultBody) MarshalBinary() ([]byte, error)
- func (o *ListProjectsDefaultBody) UnmarshalBinary(b []byte) error
- func (o *ListProjectsDefaultBody) Validate(formats strfmt.Registry) error
- type ListProjectsDefaultBodyDetailsItems0
- func (o *ListProjectsDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProjectsDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *ListProjectsDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *ListProjectsDefaultBodyDetailsItems0) Validate(formats strfmt.Registry) error
- type ListProjectsForbidden
- func (o *ListProjectsForbidden) Code() int
- func (o *ListProjectsForbidden) Error() string
- func (o *ListProjectsForbidden) GetPayload() *ListProjectsForbiddenBody
- func (o *ListProjectsForbidden) IsClientError() bool
- func (o *ListProjectsForbidden) IsCode(code int) bool
- func (o *ListProjectsForbidden) IsRedirect() bool
- func (o *ListProjectsForbidden) IsServerError() bool
- func (o *ListProjectsForbidden) IsSuccess() bool
- func (o *ListProjectsForbidden) String() string
- type ListProjectsForbiddenBody
- func (o *ListProjectsForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProjectsForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *ListProjectsForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *ListProjectsForbiddenBody) Validate(formats strfmt.Registry) error
- type ListProjectsInternalServerError
- func (o *ListProjectsInternalServerError) Code() int
- func (o *ListProjectsInternalServerError) Error() string
- func (o *ListProjectsInternalServerError) GetPayload() *ListProjectsInternalServerErrorBody
- func (o *ListProjectsInternalServerError) IsClientError() bool
- func (o *ListProjectsInternalServerError) IsCode(code int) bool
- func (o *ListProjectsInternalServerError) IsRedirect() bool
- func (o *ListProjectsInternalServerError) IsServerError() bool
- func (o *ListProjectsInternalServerError) IsSuccess() bool
- func (o *ListProjectsInternalServerError) String() string
- type ListProjectsInternalServerErrorBody
- func (o *ListProjectsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProjectsInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ListProjectsInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ListProjectsInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ListProjectsNotFound
- func (o *ListProjectsNotFound) Code() int
- func (o *ListProjectsNotFound) Error() string
- func (o *ListProjectsNotFound) GetPayload() *ListProjectsNotFoundBody
- func (o *ListProjectsNotFound) IsClientError() bool
- func (o *ListProjectsNotFound) IsCode(code int) bool
- func (o *ListProjectsNotFound) IsRedirect() bool
- func (o *ListProjectsNotFound) IsServerError() bool
- func (o *ListProjectsNotFound) IsSuccess() bool
- func (o *ListProjectsNotFound) String() string
- type ListProjectsNotFoundBody
- func (o *ListProjectsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProjectsNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ListProjectsNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ListProjectsNotFoundBody) Validate(formats strfmt.Registry) error
- type ListProjectsOK
- func (o *ListProjectsOK) Code() int
- func (o *ListProjectsOK) Error() string
- func (o *ListProjectsOK) GetPayload() *ListProjectsOKBody
- func (o *ListProjectsOK) IsClientError() bool
- func (o *ListProjectsOK) IsCode(code int) bool
- func (o *ListProjectsOK) IsRedirect() bool
- func (o *ListProjectsOK) IsServerError() bool
- func (o *ListProjectsOK) IsSuccess() bool
- func (o *ListProjectsOK) String() string
- type ListProjectsOKBody
- type ListProjectsOKBodyItemsItems0
- func (o *ListProjectsOKBodyItemsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProjectsOKBodyItemsItems0) MarshalBinary() ([]byte, error)
- func (o *ListProjectsOKBodyItemsItems0) UnmarshalBinary(b []byte) error
- func (o *ListProjectsOKBodyItemsItems0) Validate(formats strfmt.Registry) error
- type ListProjectsParams
- func (o *ListProjectsParams) SetContext(ctx context.Context)
- func (o *ListProjectsParams) SetDefaults()
- func (o *ListProjectsParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectsParams) SetPage(page *int64)
- func (o *ListProjectsParams) SetPageSize(pageSize *int64)
- func (o *ListProjectsParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectsParams) WithContext(ctx context.Context) *ListProjectsParams
- func (o *ListProjectsParams) WithDefaults() *ListProjectsParams
- func (o *ListProjectsParams) WithHTTPClient(client *http.Client) *ListProjectsParams
- func (o *ListProjectsParams) WithPage(page *int64) *ListProjectsParams
- func (o *ListProjectsParams) WithPageSize(pageSize *int64) *ListProjectsParams
- func (o *ListProjectsParams) WithTimeout(timeout time.Duration) *ListProjectsParams
- func (o *ListProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectsReader
- type ListProjectsTooManyRequests
- func (o *ListProjectsTooManyRequests) Code() int
- func (o *ListProjectsTooManyRequests) Error() string
- func (o *ListProjectsTooManyRequests) GetPayload() *ListProjectsTooManyRequestsBody
- func (o *ListProjectsTooManyRequests) IsClientError() bool
- func (o *ListProjectsTooManyRequests) IsCode(code int) bool
- func (o *ListProjectsTooManyRequests) IsRedirect() bool
- func (o *ListProjectsTooManyRequests) IsServerError() bool
- func (o *ListProjectsTooManyRequests) IsSuccess() bool
- func (o *ListProjectsTooManyRequests) String() string
- type ListProjectsTooManyRequestsBody
- func (o *ListProjectsTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListProjectsTooManyRequestsBody) MarshalBinary() ([]byte, error)
- func (o *ListProjectsTooManyRequestsBody) UnmarshalBinary(b []byte) error
- func (o *ListProjectsTooManyRequestsBody) Validate(formats strfmt.Registry) error
- type ListProjectsUnauthorized
- func (o *ListProjectsUnauthorized) Code() int
- func (o *ListProjectsUnauthorized) Error() string
- func (o *ListProjectsUnauthorized) GetPayload() interface{}
- func (o *ListProjectsUnauthorized) IsClientError() bool
- func (o *ListProjectsUnauthorized) IsCode(code int) bool
- func (o *ListProjectsUnauthorized) IsRedirect() bool
- func (o *ListProjectsUnauthorized) IsServerError() bool
- func (o *ListProjectsUnauthorized) IsSuccess() bool
- func (o *ListProjectsUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for project API
func (*Client) CreateProject ¶
func (a *Client) CreateProject(params *CreateProjectParams, opts ...ClientOption) (*CreateProjectOK, error)
CreateProject creates a project
func (*Client) ListProjects ¶
func (a *Client) ListProjects(params *ListProjectsParams, opts ...ClientOption) (*ListProjectsOK, error)
ListProjects lists all accessible projects
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateProject(params *CreateProjectParams, opts ...ClientOption) (*CreateProjectOK, error) ListProjects(params *ListProjectsParams, opts ...ClientOption) (*ListProjectsOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new project API client.
type CreateProjectBadRequest ¶
type CreateProjectBadRequest struct {
Payload *CreateProjectBadRequestBody
}
CreateProjectBadRequest describes a response with status code 400, with default header values.
A request field is invalid.
func NewCreateProjectBadRequest ¶
func NewCreateProjectBadRequest() *CreateProjectBadRequest
NewCreateProjectBadRequest creates a CreateProjectBadRequest with default headers values
func (*CreateProjectBadRequest) Code ¶
func (o *CreateProjectBadRequest) Code() int
Code gets the status code for the create project bad request response
func (*CreateProjectBadRequest) Error ¶
func (o *CreateProjectBadRequest) Error() string
func (*CreateProjectBadRequest) GetPayload ¶
func (o *CreateProjectBadRequest) GetPayload() *CreateProjectBadRequestBody
func (*CreateProjectBadRequest) IsClientError ¶
func (o *CreateProjectBadRequest) IsClientError() bool
IsClientError returns true when this create project bad request response has a 4xx status code
func (*CreateProjectBadRequest) IsCode ¶
func (o *CreateProjectBadRequest) IsCode(code int) bool
IsCode returns true when this create project bad request response a status code equal to that given
func (*CreateProjectBadRequest) IsRedirect ¶
func (o *CreateProjectBadRequest) IsRedirect() bool
IsRedirect returns true when this create project bad request response has a 3xx status code
func (*CreateProjectBadRequest) IsServerError ¶
func (o *CreateProjectBadRequest) IsServerError() bool
IsServerError returns true when this create project bad request response has a 5xx status code
func (*CreateProjectBadRequest) IsSuccess ¶
func (o *CreateProjectBadRequest) IsSuccess() bool
IsSuccess returns true when this create project bad request response has a 2xx status code
func (*CreateProjectBadRequest) String ¶
func (o *CreateProjectBadRequest) String() string
type CreateProjectBadRequestBody ¶
type CreateProjectBadRequestBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreateProjectBadRequestBody create project bad request body swagger:model CreateProjectBadRequestBody
func (*CreateProjectBadRequestBody) ContextValidate ¶
func (o *CreateProjectBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create project bad request body based on context it is used
func (*CreateProjectBadRequestBody) MarshalBinary ¶
func (o *CreateProjectBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateProjectBadRequestBody) UnmarshalBinary ¶
func (o *CreateProjectBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateProjectBody ¶
type CreateProjectBody struct { // Flag that indicates whether to enable AWS Customer-Managed Encryption Keys. // // Currently this feature is only available upon request. If you need to try out this feature, contact [support](https://docs.pingcap.com/tidbcloud/tidb-cloud-support). // Example: false AwsCmekEnabled *bool `json:"aws_cmek_enabled,omitempty"` // The name of the project. // Example: Project0 // Required: true Name *string `json:"name"` }
CreateProjectBody CreateProjectReq // // CreateProjectReq is the request for creating project. swagger:model CreateProjectBody
func (*CreateProjectBody) ContextValidate ¶
ContextValidate validates this create project body based on context it is used
func (*CreateProjectBody) MarshalBinary ¶
func (o *CreateProjectBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateProjectBody) UnmarshalBinary ¶
func (o *CreateProjectBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateProjectDefault ¶
type CreateProjectDefault struct { Payload *CreateProjectDefaultBody // contains filtered or unexported fields }
CreateProjectDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateProjectDefault ¶
func NewCreateProjectDefault(code int) *CreateProjectDefault
NewCreateProjectDefault creates a CreateProjectDefault with default headers values
func (*CreateProjectDefault) Code ¶
func (o *CreateProjectDefault) Code() int
Code gets the status code for the create project default response
func (*CreateProjectDefault) Error ¶
func (o *CreateProjectDefault) Error() string
func (*CreateProjectDefault) GetPayload ¶
func (o *CreateProjectDefault) GetPayload() *CreateProjectDefaultBody
func (*CreateProjectDefault) IsClientError ¶
func (o *CreateProjectDefault) IsClientError() bool
IsClientError returns true when this create project default response has a 4xx status code
func (*CreateProjectDefault) IsCode ¶
func (o *CreateProjectDefault) IsCode(code int) bool
IsCode returns true when this create project default response a status code equal to that given
func (*CreateProjectDefault) IsRedirect ¶
func (o *CreateProjectDefault) IsRedirect() bool
IsRedirect returns true when this create project default response has a 3xx status code
func (*CreateProjectDefault) IsServerError ¶
func (o *CreateProjectDefault) IsServerError() bool
IsServerError returns true when this create project default response has a 5xx status code
func (*CreateProjectDefault) IsSuccess ¶
func (o *CreateProjectDefault) IsSuccess() bool
IsSuccess returns true when this create project default response has a 2xx status code
func (*CreateProjectDefault) String ¶
func (o *CreateProjectDefault) String() string
type CreateProjectDefaultBody ¶
type CreateProjectDefaultBody struct { // code Code int32 `json:"code,omitempty"` // details Details []*CreateProjectDefaultBodyDetailsItems0 `json:"details"` // message Message string `json:"message,omitempty"` }
CreateProjectDefaultBody create project default body swagger:model CreateProjectDefaultBody
func (*CreateProjectDefaultBody) ContextValidate ¶
func (o *CreateProjectDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create project default body based on the context it is used
func (*CreateProjectDefaultBody) MarshalBinary ¶
func (o *CreateProjectDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateProjectDefaultBody) UnmarshalBinary ¶
func (o *CreateProjectDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateProjectDefaultBodyDetailsItems0 ¶
type CreateProjectDefaultBodyDetailsItems0 struct { // at type AtType string `json:"@type,omitempty"` }
CreateProjectDefaultBodyDetailsItems0 create project default body details items0 swagger:model CreateProjectDefaultBodyDetailsItems0
func (*CreateProjectDefaultBodyDetailsItems0) ContextValidate ¶
func (o *CreateProjectDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create project default body details items0 based on context it is used
func (*CreateProjectDefaultBodyDetailsItems0) MarshalBinary ¶
func (o *CreateProjectDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateProjectDefaultBodyDetailsItems0) UnmarshalBinary ¶
func (o *CreateProjectDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateProjectForbidden ¶
type CreateProjectForbidden struct {
Payload *CreateProjectForbiddenBody
}
CreateProjectForbidden describes a response with status code 403, with default header values.
The API key does not have permission to access the resource.
func NewCreateProjectForbidden ¶
func NewCreateProjectForbidden() *CreateProjectForbidden
NewCreateProjectForbidden creates a CreateProjectForbidden with default headers values
func (*CreateProjectForbidden) Code ¶
func (o *CreateProjectForbidden) Code() int
Code gets the status code for the create project forbidden response
func (*CreateProjectForbidden) Error ¶
func (o *CreateProjectForbidden) Error() string
func (*CreateProjectForbidden) GetPayload ¶
func (o *CreateProjectForbidden) GetPayload() *CreateProjectForbiddenBody
func (*CreateProjectForbidden) IsClientError ¶
func (o *CreateProjectForbidden) IsClientError() bool
IsClientError returns true when this create project forbidden response has a 4xx status code
func (*CreateProjectForbidden) IsCode ¶
func (o *CreateProjectForbidden) IsCode(code int) bool
IsCode returns true when this create project forbidden response a status code equal to that given
func (*CreateProjectForbidden) IsRedirect ¶
func (o *CreateProjectForbidden) IsRedirect() bool
IsRedirect returns true when this create project forbidden response has a 3xx status code
func (*CreateProjectForbidden) IsServerError ¶
func (o *CreateProjectForbidden) IsServerError() bool
IsServerError returns true when this create project forbidden response has a 5xx status code
func (*CreateProjectForbidden) IsSuccess ¶
func (o *CreateProjectForbidden) IsSuccess() bool
IsSuccess returns true when this create project forbidden response has a 2xx status code
func (*CreateProjectForbidden) String ¶
func (o *CreateProjectForbidden) String() string
type CreateProjectForbiddenBody ¶
type CreateProjectForbiddenBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreateProjectForbiddenBody create project forbidden body swagger:model CreateProjectForbiddenBody
func (*CreateProjectForbiddenBody) ContextValidate ¶
func (o *CreateProjectForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create project forbidden body based on context it is used
func (*CreateProjectForbiddenBody) MarshalBinary ¶
func (o *CreateProjectForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateProjectForbiddenBody) UnmarshalBinary ¶
func (o *CreateProjectForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateProjectInternalServerError ¶
type CreateProjectInternalServerError struct {
Payload *CreateProjectInternalServerErrorBody
}
CreateProjectInternalServerError describes a response with status code 500, with default header values.
Server error.
func NewCreateProjectInternalServerError ¶
func NewCreateProjectInternalServerError() *CreateProjectInternalServerError
NewCreateProjectInternalServerError creates a CreateProjectInternalServerError with default headers values
func (*CreateProjectInternalServerError) Code ¶
func (o *CreateProjectInternalServerError) Code() int
Code gets the status code for the create project internal server error response
func (*CreateProjectInternalServerError) Error ¶
func (o *CreateProjectInternalServerError) Error() string
func (*CreateProjectInternalServerError) GetPayload ¶
func (o *CreateProjectInternalServerError) GetPayload() *CreateProjectInternalServerErrorBody
func (*CreateProjectInternalServerError) IsClientError ¶
func (o *CreateProjectInternalServerError) IsClientError() bool
IsClientError returns true when this create project internal server error response has a 4xx status code
func (*CreateProjectInternalServerError) IsCode ¶
func (o *CreateProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this create project internal server error response a status code equal to that given
func (*CreateProjectInternalServerError) IsRedirect ¶
func (o *CreateProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this create project internal server error response has a 3xx status code
func (*CreateProjectInternalServerError) IsServerError ¶
func (o *CreateProjectInternalServerError) IsServerError() bool
IsServerError returns true when this create project internal server error response has a 5xx status code
func (*CreateProjectInternalServerError) IsSuccess ¶
func (o *CreateProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this create project internal server error response has a 2xx status code
func (*CreateProjectInternalServerError) String ¶
func (o *CreateProjectInternalServerError) String() string
type CreateProjectInternalServerErrorBody ¶
type CreateProjectInternalServerErrorBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreateProjectInternalServerErrorBody create project internal server error body swagger:model CreateProjectInternalServerErrorBody
func (*CreateProjectInternalServerErrorBody) ContextValidate ¶
func (o *CreateProjectInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create project internal server error body based on context it is used
func (*CreateProjectInternalServerErrorBody) MarshalBinary ¶
func (o *CreateProjectInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateProjectInternalServerErrorBody) UnmarshalBinary ¶
func (o *CreateProjectInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateProjectNotFound ¶
type CreateProjectNotFound struct {
Payload *CreateProjectNotFoundBody
}
CreateProjectNotFound describes a response with status code 404, with default header values.
The requested resource does not exist.
func NewCreateProjectNotFound ¶
func NewCreateProjectNotFound() *CreateProjectNotFound
NewCreateProjectNotFound creates a CreateProjectNotFound with default headers values
func (*CreateProjectNotFound) Code ¶
func (o *CreateProjectNotFound) Code() int
Code gets the status code for the create project not found response
func (*CreateProjectNotFound) Error ¶
func (o *CreateProjectNotFound) Error() string
func (*CreateProjectNotFound) GetPayload ¶
func (o *CreateProjectNotFound) GetPayload() *CreateProjectNotFoundBody
func (*CreateProjectNotFound) IsClientError ¶
func (o *CreateProjectNotFound) IsClientError() bool
IsClientError returns true when this create project not found response has a 4xx status code
func (*CreateProjectNotFound) IsCode ¶
func (o *CreateProjectNotFound) IsCode(code int) bool
IsCode returns true when this create project not found response a status code equal to that given
func (*CreateProjectNotFound) IsRedirect ¶
func (o *CreateProjectNotFound) IsRedirect() bool
IsRedirect returns true when this create project not found response has a 3xx status code
func (*CreateProjectNotFound) IsServerError ¶
func (o *CreateProjectNotFound) IsServerError() bool
IsServerError returns true when this create project not found response has a 5xx status code
func (*CreateProjectNotFound) IsSuccess ¶
func (o *CreateProjectNotFound) IsSuccess() bool
IsSuccess returns true when this create project not found response has a 2xx status code
func (*CreateProjectNotFound) String ¶
func (o *CreateProjectNotFound) String() string
type CreateProjectNotFoundBody ¶
type CreateProjectNotFoundBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreateProjectNotFoundBody create project not found body swagger:model CreateProjectNotFoundBody
func (*CreateProjectNotFoundBody) ContextValidate ¶
func (o *CreateProjectNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create project not found body based on context it is used
func (*CreateProjectNotFoundBody) MarshalBinary ¶
func (o *CreateProjectNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateProjectNotFoundBody) UnmarshalBinary ¶
func (o *CreateProjectNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateProjectOK ¶
type CreateProjectOK struct {
Payload *CreateProjectOKBody
}
CreateProjectOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateProjectOK ¶
func NewCreateProjectOK() *CreateProjectOK
NewCreateProjectOK creates a CreateProjectOK with default headers values
func (*CreateProjectOK) Code ¶
func (o *CreateProjectOK) Code() int
Code gets the status code for the create project o k response
func (*CreateProjectOK) Error ¶
func (o *CreateProjectOK) Error() string
func (*CreateProjectOK) GetPayload ¶
func (o *CreateProjectOK) GetPayload() *CreateProjectOKBody
func (*CreateProjectOK) IsClientError ¶
func (o *CreateProjectOK) IsClientError() bool
IsClientError returns true when this create project o k response has a 4xx status code
func (*CreateProjectOK) IsCode ¶
func (o *CreateProjectOK) IsCode(code int) bool
IsCode returns true when this create project o k response a status code equal to that given
func (*CreateProjectOK) IsRedirect ¶
func (o *CreateProjectOK) IsRedirect() bool
IsRedirect returns true when this create project o k response has a 3xx status code
func (*CreateProjectOK) IsServerError ¶
func (o *CreateProjectOK) IsServerError() bool
IsServerError returns true when this create project o k response has a 5xx status code
func (*CreateProjectOK) IsSuccess ¶
func (o *CreateProjectOK) IsSuccess() bool
IsSuccess returns true when this create project o k response has a 2xx status code
func (*CreateProjectOK) String ¶
func (o *CreateProjectOK) String() string
type CreateProjectOKBody ¶
type CreateProjectOKBody struct { // The ID of the project. // Example: 1 // Required: true ID *string `json:"id"` }
CreateProjectOKBody CreateProjectResp // // CreateProjectResp is the response for creating project. swagger:model CreateProjectOKBody
func (*CreateProjectOKBody) ContextValidate ¶
ContextValidate validates this create project o k body based on context it is used
func (*CreateProjectOKBody) MarshalBinary ¶
func (o *CreateProjectOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateProjectOKBody) UnmarshalBinary ¶
func (o *CreateProjectOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateProjectParams ¶
type CreateProjectParams struct { /* Body. CreateProjectReq is the request for creating project. */ Body CreateProjectBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateProjectParams contains all the parameters to send to the API endpoint
for the create project operation. Typically these are written to a http.Request.
func NewCreateProjectParams ¶
func NewCreateProjectParams() *CreateProjectParams
NewCreateProjectParams creates a new CreateProjectParams 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 NewCreateProjectParamsWithContext ¶
func NewCreateProjectParamsWithContext(ctx context.Context) *CreateProjectParams
NewCreateProjectParamsWithContext creates a new CreateProjectParams object with the ability to set a context for a request.
func NewCreateProjectParamsWithHTTPClient ¶
func NewCreateProjectParamsWithHTTPClient(client *http.Client) *CreateProjectParams
NewCreateProjectParamsWithHTTPClient creates a new CreateProjectParams object with the ability to set a custom HTTPClient for a request.
func NewCreateProjectParamsWithTimeout ¶
func NewCreateProjectParamsWithTimeout(timeout time.Duration) *CreateProjectParams
NewCreateProjectParamsWithTimeout creates a new CreateProjectParams object with the ability to set a timeout on a request.
func (*CreateProjectParams) SetBody ¶
func (o *CreateProjectParams) SetBody(body CreateProjectBody)
SetBody adds the body to the create project params
func (*CreateProjectParams) SetContext ¶
func (o *CreateProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the create project params
func (*CreateProjectParams) SetDefaults ¶
func (o *CreateProjectParams) SetDefaults()
SetDefaults hydrates default values in the create project params (not the query body).
All values with no default are reset to their zero value.
func (*CreateProjectParams) SetHTTPClient ¶
func (o *CreateProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create project params
func (*CreateProjectParams) SetTimeout ¶
func (o *CreateProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create project params
func (*CreateProjectParams) WithBody ¶
func (o *CreateProjectParams) WithBody(body CreateProjectBody) *CreateProjectParams
WithBody adds the body to the create project params
func (*CreateProjectParams) WithContext ¶
func (o *CreateProjectParams) WithContext(ctx context.Context) *CreateProjectParams
WithContext adds the context to the create project params
func (*CreateProjectParams) WithDefaults ¶
func (o *CreateProjectParams) WithDefaults() *CreateProjectParams
WithDefaults hydrates default values in the create project params (not the query body).
All values with no default are reset to their zero value.
func (*CreateProjectParams) WithHTTPClient ¶
func (o *CreateProjectParams) WithHTTPClient(client *http.Client) *CreateProjectParams
WithHTTPClient adds the HTTPClient to the create project params
func (*CreateProjectParams) WithTimeout ¶
func (o *CreateProjectParams) WithTimeout(timeout time.Duration) *CreateProjectParams
WithTimeout adds the timeout to the create project params
func (*CreateProjectParams) WriteToRequest ¶
func (o *CreateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateProjectReader ¶
type CreateProjectReader struct {
// contains filtered or unexported fields
}
CreateProjectReader is a Reader for the CreateProject structure.
func (*CreateProjectReader) ReadResponse ¶
func (o *CreateProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateProjectTooManyRequests ¶
type CreateProjectTooManyRequests struct {
Payload *CreateProjectTooManyRequestsBody
}
CreateProjectTooManyRequests describes a response with status code 429, with default header values.
You have exceed the rate limit.
func NewCreateProjectTooManyRequests ¶
func NewCreateProjectTooManyRequests() *CreateProjectTooManyRequests
NewCreateProjectTooManyRequests creates a CreateProjectTooManyRequests with default headers values
func (*CreateProjectTooManyRequests) Code ¶
func (o *CreateProjectTooManyRequests) Code() int
Code gets the status code for the create project too many requests response
func (*CreateProjectTooManyRequests) Error ¶
func (o *CreateProjectTooManyRequests) Error() string
func (*CreateProjectTooManyRequests) GetPayload ¶
func (o *CreateProjectTooManyRequests) GetPayload() *CreateProjectTooManyRequestsBody
func (*CreateProjectTooManyRequests) IsClientError ¶
func (o *CreateProjectTooManyRequests) IsClientError() bool
IsClientError returns true when this create project too many requests response has a 4xx status code
func (*CreateProjectTooManyRequests) IsCode ¶
func (o *CreateProjectTooManyRequests) IsCode(code int) bool
IsCode returns true when this create project too many requests response a status code equal to that given
func (*CreateProjectTooManyRequests) IsRedirect ¶
func (o *CreateProjectTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create project too many requests response has a 3xx status code
func (*CreateProjectTooManyRequests) IsServerError ¶
func (o *CreateProjectTooManyRequests) IsServerError() bool
IsServerError returns true when this create project too many requests response has a 5xx status code
func (*CreateProjectTooManyRequests) IsSuccess ¶
func (o *CreateProjectTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create project too many requests response has a 2xx status code
func (*CreateProjectTooManyRequests) String ¶
func (o *CreateProjectTooManyRequests) String() string
type CreateProjectTooManyRequestsBody ¶
type CreateProjectTooManyRequestsBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
CreateProjectTooManyRequestsBody create project too many requests body swagger:model CreateProjectTooManyRequestsBody
func (*CreateProjectTooManyRequestsBody) ContextValidate ¶
func (o *CreateProjectTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create project too many requests body based on context it is used
func (*CreateProjectTooManyRequestsBody) MarshalBinary ¶
func (o *CreateProjectTooManyRequestsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateProjectTooManyRequestsBody) UnmarshalBinary ¶
func (o *CreateProjectTooManyRequestsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateProjectUnauthorized ¶
type CreateProjectUnauthorized struct {
}CreateProjectUnauthorized describes a response with status code 401, with default header values.
The API key cannot be authenticated.
func NewCreateProjectUnauthorized ¶
func NewCreateProjectUnauthorized() *CreateProjectUnauthorized
NewCreateProjectUnauthorized creates a CreateProjectUnauthorized with default headers values
func (*CreateProjectUnauthorized) Code ¶
func (o *CreateProjectUnauthorized) Code() int
Code gets the status code for the create project unauthorized response
func (*CreateProjectUnauthorized) Error ¶
func (o *CreateProjectUnauthorized) Error() string
func (*CreateProjectUnauthorized) GetPayload ¶
func (o *CreateProjectUnauthorized) GetPayload() interface{}
func (*CreateProjectUnauthorized) IsClientError ¶
func (o *CreateProjectUnauthorized) IsClientError() bool
IsClientError returns true when this create project unauthorized response has a 4xx status code
func (*CreateProjectUnauthorized) IsCode ¶
func (o *CreateProjectUnauthorized) IsCode(code int) bool
IsCode returns true when this create project unauthorized response a status code equal to that given
func (*CreateProjectUnauthorized) IsRedirect ¶
func (o *CreateProjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this create project unauthorized response has a 3xx status code
func (*CreateProjectUnauthorized) IsServerError ¶
func (o *CreateProjectUnauthorized) IsServerError() bool
IsServerError returns true when this create project unauthorized response has a 5xx status code
func (*CreateProjectUnauthorized) IsSuccess ¶
func (o *CreateProjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this create project unauthorized response has a 2xx status code
func (*CreateProjectUnauthorized) String ¶
func (o *CreateProjectUnauthorized) String() string
type ListProjectsBadRequest ¶
type ListProjectsBadRequest struct {
Payload *ListProjectsBadRequestBody
}
ListProjectsBadRequest describes a response with status code 400, with default header values.
A request field is invalid.
func NewListProjectsBadRequest ¶
func NewListProjectsBadRequest() *ListProjectsBadRequest
NewListProjectsBadRequest creates a ListProjectsBadRequest with default headers values
func (*ListProjectsBadRequest) Code ¶
func (o *ListProjectsBadRequest) Code() int
Code gets the status code for the list projects bad request response
func (*ListProjectsBadRequest) Error ¶
func (o *ListProjectsBadRequest) Error() string
func (*ListProjectsBadRequest) GetPayload ¶
func (o *ListProjectsBadRequest) GetPayload() *ListProjectsBadRequestBody
func (*ListProjectsBadRequest) IsClientError ¶
func (o *ListProjectsBadRequest) IsClientError() bool
IsClientError returns true when this list projects bad request response has a 4xx status code
func (*ListProjectsBadRequest) IsCode ¶
func (o *ListProjectsBadRequest) IsCode(code int) bool
IsCode returns true when this list projects bad request response a status code equal to that given
func (*ListProjectsBadRequest) IsRedirect ¶
func (o *ListProjectsBadRequest) IsRedirect() bool
IsRedirect returns true when this list projects bad request response has a 3xx status code
func (*ListProjectsBadRequest) IsServerError ¶
func (o *ListProjectsBadRequest) IsServerError() bool
IsServerError returns true when this list projects bad request response has a 5xx status code
func (*ListProjectsBadRequest) IsSuccess ¶
func (o *ListProjectsBadRequest) IsSuccess() bool
IsSuccess returns true when this list projects bad request response has a 2xx status code
func (*ListProjectsBadRequest) String ¶
func (o *ListProjectsBadRequest) String() string
type ListProjectsBadRequestBody ¶
type ListProjectsBadRequestBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListProjectsBadRequestBody list projects bad request body swagger:model ListProjectsBadRequestBody
func (*ListProjectsBadRequestBody) ContextValidate ¶
func (o *ListProjectsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list projects bad request body based on context it is used
func (*ListProjectsBadRequestBody) MarshalBinary ¶
func (o *ListProjectsBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProjectsBadRequestBody) UnmarshalBinary ¶
func (o *ListProjectsBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProjectsDefault ¶
type ListProjectsDefault struct { Payload *ListProjectsDefaultBody // contains filtered or unexported fields }
ListProjectsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListProjectsDefault ¶
func NewListProjectsDefault(code int) *ListProjectsDefault
NewListProjectsDefault creates a ListProjectsDefault with default headers values
func (*ListProjectsDefault) Code ¶
func (o *ListProjectsDefault) Code() int
Code gets the status code for the list projects default response
func (*ListProjectsDefault) Error ¶
func (o *ListProjectsDefault) Error() string
func (*ListProjectsDefault) GetPayload ¶
func (o *ListProjectsDefault) GetPayload() *ListProjectsDefaultBody
func (*ListProjectsDefault) IsClientError ¶
func (o *ListProjectsDefault) IsClientError() bool
IsClientError returns true when this list projects default response has a 4xx status code
func (*ListProjectsDefault) IsCode ¶
func (o *ListProjectsDefault) IsCode(code int) bool
IsCode returns true when this list projects default response a status code equal to that given
func (*ListProjectsDefault) IsRedirect ¶
func (o *ListProjectsDefault) IsRedirect() bool
IsRedirect returns true when this list projects default response has a 3xx status code
func (*ListProjectsDefault) IsServerError ¶
func (o *ListProjectsDefault) IsServerError() bool
IsServerError returns true when this list projects default response has a 5xx status code
func (*ListProjectsDefault) IsSuccess ¶
func (o *ListProjectsDefault) IsSuccess() bool
IsSuccess returns true when this list projects default response has a 2xx status code
func (*ListProjectsDefault) String ¶
func (o *ListProjectsDefault) String() string
type ListProjectsDefaultBody ¶
type ListProjectsDefaultBody struct { // code Code int32 `json:"code,omitempty"` // details Details []*ListProjectsDefaultBodyDetailsItems0 `json:"details"` // message Message string `json:"message,omitempty"` }
ListProjectsDefaultBody list projects default body swagger:model ListProjectsDefaultBody
func (*ListProjectsDefaultBody) ContextValidate ¶
func (o *ListProjectsDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list projects default body based on the context it is used
func (*ListProjectsDefaultBody) MarshalBinary ¶
func (o *ListProjectsDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProjectsDefaultBody) UnmarshalBinary ¶
func (o *ListProjectsDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProjectsDefaultBodyDetailsItems0 ¶
type ListProjectsDefaultBodyDetailsItems0 struct { // at type AtType string `json:"@type,omitempty"` }
ListProjectsDefaultBodyDetailsItems0 list projects default body details items0 swagger:model ListProjectsDefaultBodyDetailsItems0
func (*ListProjectsDefaultBodyDetailsItems0) ContextValidate ¶
func (o *ListProjectsDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list projects default body details items0 based on context it is used
func (*ListProjectsDefaultBodyDetailsItems0) MarshalBinary ¶
func (o *ListProjectsDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProjectsDefaultBodyDetailsItems0) UnmarshalBinary ¶
func (o *ListProjectsDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProjectsForbidden ¶
type ListProjectsForbidden struct {
Payload *ListProjectsForbiddenBody
}
ListProjectsForbidden describes a response with status code 403, with default header values.
The API key does not have permission to access the resource.
func NewListProjectsForbidden ¶
func NewListProjectsForbidden() *ListProjectsForbidden
NewListProjectsForbidden creates a ListProjectsForbidden with default headers values
func (*ListProjectsForbidden) Code ¶
func (o *ListProjectsForbidden) Code() int
Code gets the status code for the list projects forbidden response
func (*ListProjectsForbidden) Error ¶
func (o *ListProjectsForbidden) Error() string
func (*ListProjectsForbidden) GetPayload ¶
func (o *ListProjectsForbidden) GetPayload() *ListProjectsForbiddenBody
func (*ListProjectsForbidden) IsClientError ¶
func (o *ListProjectsForbidden) IsClientError() bool
IsClientError returns true when this list projects forbidden response has a 4xx status code
func (*ListProjectsForbidden) IsCode ¶
func (o *ListProjectsForbidden) IsCode(code int) bool
IsCode returns true when this list projects forbidden response a status code equal to that given
func (*ListProjectsForbidden) IsRedirect ¶
func (o *ListProjectsForbidden) IsRedirect() bool
IsRedirect returns true when this list projects forbidden response has a 3xx status code
func (*ListProjectsForbidden) IsServerError ¶
func (o *ListProjectsForbidden) IsServerError() bool
IsServerError returns true when this list projects forbidden response has a 5xx status code
func (*ListProjectsForbidden) IsSuccess ¶
func (o *ListProjectsForbidden) IsSuccess() bool
IsSuccess returns true when this list projects forbidden response has a 2xx status code
func (*ListProjectsForbidden) String ¶
func (o *ListProjectsForbidden) String() string
type ListProjectsForbiddenBody ¶
type ListProjectsForbiddenBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListProjectsForbiddenBody list projects forbidden body swagger:model ListProjectsForbiddenBody
func (*ListProjectsForbiddenBody) ContextValidate ¶
func (o *ListProjectsForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list projects forbidden body based on context it is used
func (*ListProjectsForbiddenBody) MarshalBinary ¶
func (o *ListProjectsForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProjectsForbiddenBody) UnmarshalBinary ¶
func (o *ListProjectsForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProjectsInternalServerError ¶
type ListProjectsInternalServerError struct {
Payload *ListProjectsInternalServerErrorBody
}
ListProjectsInternalServerError describes a response with status code 500, with default header values.
Server error.
func NewListProjectsInternalServerError ¶
func NewListProjectsInternalServerError() *ListProjectsInternalServerError
NewListProjectsInternalServerError creates a ListProjectsInternalServerError with default headers values
func (*ListProjectsInternalServerError) Code ¶
func (o *ListProjectsInternalServerError) Code() int
Code gets the status code for the list projects internal server error response
func (*ListProjectsInternalServerError) Error ¶
func (o *ListProjectsInternalServerError) Error() string
func (*ListProjectsInternalServerError) GetPayload ¶
func (o *ListProjectsInternalServerError) GetPayload() *ListProjectsInternalServerErrorBody
func (*ListProjectsInternalServerError) IsClientError ¶
func (o *ListProjectsInternalServerError) IsClientError() bool
IsClientError returns true when this list projects internal server error response has a 4xx status code
func (*ListProjectsInternalServerError) IsCode ¶
func (o *ListProjectsInternalServerError) IsCode(code int) bool
IsCode returns true when this list projects internal server error response a status code equal to that given
func (*ListProjectsInternalServerError) IsRedirect ¶
func (o *ListProjectsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list projects internal server error response has a 3xx status code
func (*ListProjectsInternalServerError) IsServerError ¶
func (o *ListProjectsInternalServerError) IsServerError() bool
IsServerError returns true when this list projects internal server error response has a 5xx status code
func (*ListProjectsInternalServerError) IsSuccess ¶
func (o *ListProjectsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list projects internal server error response has a 2xx status code
func (*ListProjectsInternalServerError) String ¶
func (o *ListProjectsInternalServerError) String() string
type ListProjectsInternalServerErrorBody ¶
type ListProjectsInternalServerErrorBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListProjectsInternalServerErrorBody list projects internal server error body swagger:model ListProjectsInternalServerErrorBody
func (*ListProjectsInternalServerErrorBody) ContextValidate ¶
func (o *ListProjectsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list projects internal server error body based on context it is used
func (*ListProjectsInternalServerErrorBody) MarshalBinary ¶
func (o *ListProjectsInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProjectsInternalServerErrorBody) UnmarshalBinary ¶
func (o *ListProjectsInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProjectsNotFound ¶
type ListProjectsNotFound struct {
Payload *ListProjectsNotFoundBody
}
ListProjectsNotFound describes a response with status code 404, with default header values.
The requested resource does not exist.
func NewListProjectsNotFound ¶
func NewListProjectsNotFound() *ListProjectsNotFound
NewListProjectsNotFound creates a ListProjectsNotFound with default headers values
func (*ListProjectsNotFound) Code ¶
func (o *ListProjectsNotFound) Code() int
Code gets the status code for the list projects not found response
func (*ListProjectsNotFound) Error ¶
func (o *ListProjectsNotFound) Error() string
func (*ListProjectsNotFound) GetPayload ¶
func (o *ListProjectsNotFound) GetPayload() *ListProjectsNotFoundBody
func (*ListProjectsNotFound) IsClientError ¶
func (o *ListProjectsNotFound) IsClientError() bool
IsClientError returns true when this list projects not found response has a 4xx status code
func (*ListProjectsNotFound) IsCode ¶
func (o *ListProjectsNotFound) IsCode(code int) bool
IsCode returns true when this list projects not found response a status code equal to that given
func (*ListProjectsNotFound) IsRedirect ¶
func (o *ListProjectsNotFound) IsRedirect() bool
IsRedirect returns true when this list projects not found response has a 3xx status code
func (*ListProjectsNotFound) IsServerError ¶
func (o *ListProjectsNotFound) IsServerError() bool
IsServerError returns true when this list projects not found response has a 5xx status code
func (*ListProjectsNotFound) IsSuccess ¶
func (o *ListProjectsNotFound) IsSuccess() bool
IsSuccess returns true when this list projects not found response has a 2xx status code
func (*ListProjectsNotFound) String ¶
func (o *ListProjectsNotFound) String() string
type ListProjectsNotFoundBody ¶
type ListProjectsNotFoundBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListProjectsNotFoundBody list projects not found body swagger:model ListProjectsNotFoundBody
func (*ListProjectsNotFoundBody) ContextValidate ¶
func (o *ListProjectsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list projects not found body based on context it is used
func (*ListProjectsNotFoundBody) MarshalBinary ¶
func (o *ListProjectsNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProjectsNotFoundBody) UnmarshalBinary ¶
func (o *ListProjectsNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProjectsOK ¶
type ListProjectsOK struct {
Payload *ListProjectsOKBody
}
ListProjectsOK describes a response with status code 200, with default header values.
A successful response.
func NewListProjectsOK ¶
func NewListProjectsOK() *ListProjectsOK
NewListProjectsOK creates a ListProjectsOK with default headers values
func (*ListProjectsOK) Code ¶
func (o *ListProjectsOK) Code() int
Code gets the status code for the list projects o k response
func (*ListProjectsOK) Error ¶
func (o *ListProjectsOK) Error() string
func (*ListProjectsOK) GetPayload ¶
func (o *ListProjectsOK) GetPayload() *ListProjectsOKBody
func (*ListProjectsOK) IsClientError ¶
func (o *ListProjectsOK) IsClientError() bool
IsClientError returns true when this list projects o k response has a 4xx status code
func (*ListProjectsOK) IsCode ¶
func (o *ListProjectsOK) IsCode(code int) bool
IsCode returns true when this list projects o k response a status code equal to that given
func (*ListProjectsOK) IsRedirect ¶
func (o *ListProjectsOK) IsRedirect() bool
IsRedirect returns true when this list projects o k response has a 3xx status code
func (*ListProjectsOK) IsServerError ¶
func (o *ListProjectsOK) IsServerError() bool
IsServerError returns true when this list projects o k response has a 5xx status code
func (*ListProjectsOK) IsSuccess ¶
func (o *ListProjectsOK) IsSuccess() bool
IsSuccess returns true when this list projects o k response has a 2xx status code
func (*ListProjectsOK) String ¶
func (o *ListProjectsOK) String() string
type ListProjectsOKBody ¶
type ListProjectsOKBody struct { // The items of accessible projects. // Required: true Items []*ListProjectsOKBodyItemsItems0 `json:"items"` // The total number of accessible projects. // Example: 1 // Required: true Total *int64 `json:"total"` }
ListProjectsOKBody GetProjectsResp // // GetProjectsResp is the response for getting accessible projects. swagger:model ListProjectsOKBody
func (*ListProjectsOKBody) ContextValidate ¶
ContextValidate validate this list projects o k body based on the context it is used
func (*ListProjectsOKBody) MarshalBinary ¶
func (o *ListProjectsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProjectsOKBody) UnmarshalBinary ¶
func (o *ListProjectsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProjectsOKBodyItemsItems0 ¶
type ListProjectsOKBodyItemsItems0 struct { // Flag that indicates whether to enable AWS Customer-Managed Encryption Keys (CMEK). For more information, see [Encryption at Rest using CMEK](https://docs.pingcap.com/tidbcloud/tidb-cloud-encrypt-cmek). // // **Note:** Currently, this feature is only available upon request. If you need to try out this feature, contact [support](https://docs.pingcap.com/tidbcloud/tidb-cloud-support). // Example: false AwsCmekEnabled *bool `json:"aws_cmek_enabled,omitempty"` // The number of TiDB Cloud clusters deployed in the project. // Example: 4 ClusterCount int64 `json:"cluster_count,omitempty"` // The creation time of the cluster in Unix timestamp seconds (epoch time). // Example: 1656991448 CreateTimestamp string `json:"create_timestamp,omitempty"` // The ID of the project. // Example: 1 ID string `json:"id,omitempty"` // The name of the project. // Example: default_project Name string `json:"name,omitempty"` // The ID of the TiDB Cloud organization to which the project belongs. // Example: 1 OrgID string `json:"org_id,omitempty"` // The number of users in the project. // Example: 10 UserCount int64 `json:"user_count,omitempty"` }
ListProjectsOKBodyItemsItems0 ListProjectItem // // ListProjectItem is the item of projects. swagger:model ListProjectsOKBodyItemsItems0
func (*ListProjectsOKBodyItemsItems0) ContextValidate ¶
func (o *ListProjectsOKBodyItemsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list projects o k body items items0 based on context it is used
func (*ListProjectsOKBodyItemsItems0) MarshalBinary ¶
func (o *ListProjectsOKBodyItemsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProjectsOKBodyItemsItems0) UnmarshalBinary ¶
func (o *ListProjectsOKBodyItemsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProjectsParams ¶
type ListProjectsParams struct { /* Page. The number of pages. Format: int64 Default: 1 */ Page *int64 /* PageSize. The size of a page. Format: int64 Default: 10 */ PageSize *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListProjectsParams contains all the parameters to send to the API endpoint
for the list projects operation. Typically these are written to a http.Request.
func NewListProjectsParams ¶
func NewListProjectsParams() *ListProjectsParams
NewListProjectsParams creates a new ListProjectsParams 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 NewListProjectsParamsWithContext ¶
func NewListProjectsParamsWithContext(ctx context.Context) *ListProjectsParams
NewListProjectsParamsWithContext creates a new ListProjectsParams object with the ability to set a context for a request.
func NewListProjectsParamsWithHTTPClient ¶
func NewListProjectsParamsWithHTTPClient(client *http.Client) *ListProjectsParams
NewListProjectsParamsWithHTTPClient creates a new ListProjectsParams object with the ability to set a custom HTTPClient for a request.
func NewListProjectsParamsWithTimeout ¶
func NewListProjectsParamsWithTimeout(timeout time.Duration) *ListProjectsParams
NewListProjectsParamsWithTimeout creates a new ListProjectsParams object with the ability to set a timeout on a request.
func (*ListProjectsParams) SetContext ¶
func (o *ListProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the list projects params
func (*ListProjectsParams) SetDefaults ¶
func (o *ListProjectsParams) SetDefaults()
SetDefaults hydrates default values in the list projects params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectsParams) SetHTTPClient ¶
func (o *ListProjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list projects params
func (*ListProjectsParams) SetPage ¶
func (o *ListProjectsParams) SetPage(page *int64)
SetPage adds the page to the list projects params
func (*ListProjectsParams) SetPageSize ¶
func (o *ListProjectsParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list projects params
func (*ListProjectsParams) SetTimeout ¶
func (o *ListProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list projects params
func (*ListProjectsParams) WithContext ¶
func (o *ListProjectsParams) WithContext(ctx context.Context) *ListProjectsParams
WithContext adds the context to the list projects params
func (*ListProjectsParams) WithDefaults ¶
func (o *ListProjectsParams) WithDefaults() *ListProjectsParams
WithDefaults hydrates default values in the list projects params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectsParams) WithHTTPClient ¶
func (o *ListProjectsParams) WithHTTPClient(client *http.Client) *ListProjectsParams
WithHTTPClient adds the HTTPClient to the list projects params
func (*ListProjectsParams) WithPage ¶
func (o *ListProjectsParams) WithPage(page *int64) *ListProjectsParams
WithPage adds the page to the list projects params
func (*ListProjectsParams) WithPageSize ¶
func (o *ListProjectsParams) WithPageSize(pageSize *int64) *ListProjectsParams
WithPageSize adds the pageSize to the list projects params
func (*ListProjectsParams) WithTimeout ¶
func (o *ListProjectsParams) WithTimeout(timeout time.Duration) *ListProjectsParams
WithTimeout adds the timeout to the list projects params
func (*ListProjectsParams) WriteToRequest ¶
func (o *ListProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListProjectsReader ¶
type ListProjectsReader struct {
// contains filtered or unexported fields
}
ListProjectsReader is a Reader for the ListProjects structure.
func (*ListProjectsReader) ReadResponse ¶
func (o *ListProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListProjectsTooManyRequests ¶
type ListProjectsTooManyRequests struct {
Payload *ListProjectsTooManyRequestsBody
}
ListProjectsTooManyRequests describes a response with status code 429, with default header values.
You have exceed the rate limit.
func NewListProjectsTooManyRequests ¶
func NewListProjectsTooManyRequests() *ListProjectsTooManyRequests
NewListProjectsTooManyRequests creates a ListProjectsTooManyRequests with default headers values
func (*ListProjectsTooManyRequests) Code ¶
func (o *ListProjectsTooManyRequests) Code() int
Code gets the status code for the list projects too many requests response
func (*ListProjectsTooManyRequests) Error ¶
func (o *ListProjectsTooManyRequests) Error() string
func (*ListProjectsTooManyRequests) GetPayload ¶
func (o *ListProjectsTooManyRequests) GetPayload() *ListProjectsTooManyRequestsBody
func (*ListProjectsTooManyRequests) IsClientError ¶
func (o *ListProjectsTooManyRequests) IsClientError() bool
IsClientError returns true when this list projects too many requests response has a 4xx status code
func (*ListProjectsTooManyRequests) IsCode ¶
func (o *ListProjectsTooManyRequests) IsCode(code int) bool
IsCode returns true when this list projects too many requests response a status code equal to that given
func (*ListProjectsTooManyRequests) IsRedirect ¶
func (o *ListProjectsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list projects too many requests response has a 3xx status code
func (*ListProjectsTooManyRequests) IsServerError ¶
func (o *ListProjectsTooManyRequests) IsServerError() bool
IsServerError returns true when this list projects too many requests response has a 5xx status code
func (*ListProjectsTooManyRequests) IsSuccess ¶
func (o *ListProjectsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list projects too many requests response has a 2xx status code
func (*ListProjectsTooManyRequests) String ¶
func (o *ListProjectsTooManyRequests) String() string
type ListProjectsTooManyRequestsBody ¶
type ListProjectsTooManyRequestsBody struct { // code // // Error code returned with this error. Code int64 `json:"code,omitempty"` // details // // Error details returned with this error. Details []string `json:"details"` // message // // Error message returned with this error. Message string `json:"message,omitempty"` }
ListProjectsTooManyRequestsBody list projects too many requests body swagger:model ListProjectsTooManyRequestsBody
func (*ListProjectsTooManyRequestsBody) ContextValidate ¶
func (o *ListProjectsTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list projects too many requests body based on context it is used
func (*ListProjectsTooManyRequestsBody) MarshalBinary ¶
func (o *ListProjectsTooManyRequestsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListProjectsTooManyRequestsBody) UnmarshalBinary ¶
func (o *ListProjectsTooManyRequestsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListProjectsUnauthorized ¶
type ListProjectsUnauthorized struct {
}ListProjectsUnauthorized describes a response with status code 401, with default header values.
The API key cannot be authenticated.
func NewListProjectsUnauthorized ¶
func NewListProjectsUnauthorized() *ListProjectsUnauthorized
NewListProjectsUnauthorized creates a ListProjectsUnauthorized with default headers values
func (*ListProjectsUnauthorized) Code ¶
func (o *ListProjectsUnauthorized) Code() int
Code gets the status code for the list projects unauthorized response
func (*ListProjectsUnauthorized) Error ¶
func (o *ListProjectsUnauthorized) Error() string
func (*ListProjectsUnauthorized) GetPayload ¶
func (o *ListProjectsUnauthorized) GetPayload() interface{}
func (*ListProjectsUnauthorized) IsClientError ¶
func (o *ListProjectsUnauthorized) IsClientError() bool
IsClientError returns true when this list projects unauthorized response has a 4xx status code
func (*ListProjectsUnauthorized) IsCode ¶
func (o *ListProjectsUnauthorized) IsCode(code int) bool
IsCode returns true when this list projects unauthorized response a status code equal to that given
func (*ListProjectsUnauthorized) IsRedirect ¶
func (o *ListProjectsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list projects unauthorized response has a 3xx status code
func (*ListProjectsUnauthorized) IsServerError ¶
func (o *ListProjectsUnauthorized) IsServerError() bool
IsServerError returns true when this list projects unauthorized response has a 5xx status code
func (*ListProjectsUnauthorized) IsSuccess ¶
func (o *ListProjectsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list projects unauthorized response has a 2xx status code
func (*ListProjectsUnauthorized) String ¶
func (o *ListProjectsUnauthorized) String() string